How to view the schema class or attribute definition you first have to install the Active Directory Schema snap-in

By the jpegPhoto field is created by default in the Active Directory Schema. To view the schema class or attribute definition you first have to install the Active Directory Schema snap-in.

 

To install the Active Directory Schema snap-in

 

1.      Open a Command Prompt.

 

2.      Type:

regsvr32 schmmgmt.dll

 

 

This command will register schmmgmt.dll on your computer.

 

3.      Click Start, click Run, type mmc /a, and then click OK.

 

4.      On the File menu, click Add/Remove Snap-in, and then click Add.

 

5.      Under Snap-in, double-click Active Directory Schema, click Close, and then click OK.

 

6.      To save this console, on the File menu, click Save.

 

7.      In Save in, point to the systemroot/system32 directory.

 

8.      In File name, type schmmgmt.msc, and then click Save.

 

9.      To create a shortcut on your Start menu:

·         Right-click Start, click Open all Users, double-click the Programs folder, and then double-click the Administrative Tools folder.

·         On the File menu, point to New, and then click Shortcut.

·         In the Create Shortcut Wizard, in Type the location of the item, type schmmgmt.msc, and then click Next.

·         On the Select a Title for the Program page, in Type a name for this shortcut, type Active Directory Schema, and then click Finish.

 

Caution: Modifying the schema is an advanced operation best performed by experienced programmers and system administrators. For detailed information about modifying the schema, see the Active Directory Programmer's Guide at the Microsoft Web site. (http://msdn.microsoft.com/)

Notes:

  • To perform this procedure on a domain controller, you must be a member of the Domain Admins group or the Enterprise Admins group in Active Directory, or you must have been delegated the appropriate authority. As a security best practice, consider using Run as to perform this procedure.
  • To open the Active Directory Schema snap-in, click Start, click Control Panel, double-click Administrative Tools, and then double-click Active Directory Schema.
  • You can also run the Active Directory Schema snap-in from a computer running Windows XP Professional. Simply install the Windows Server 2003 Administration Tools Pack on the computer, and then complete step 9 above. For more information about the Administration Tools Pack, see Related Topics.
  • The Windows Server 2003 Administration Tools Pack cannot be installed on computers running Windows 2000 Professional or Windows 2000 Server.

 

 

View the Active Directory Schema in the Active Directory Schema snap-in

 

Select the Active Directory Schema snap-in from Start > All Programs > Administrative Tools > Active Directory Schema option.

 

In the Active Directory Schema snap-in select the Attributes folder under the Active Directory Schema and search for the jpegPhoto field.

 

 

 

For more information (e.g. Add, Modify, etc attributes) please refer to the Help of the Active Directory Users and Computers program in your Active Directory Server.

 

 

To replicate the jpegphoto attribute to the Global  Catalog

 

1.      Click Start, click Run, type schmmgmt.msc, and then click OK and open The Active Directory Schema snap-in.

 

2.      In the console tree, click Attributes. Rright-click the attribute Jpegphoto  and click Properties, and select the Replicate this attribute to the Global Catalog check box.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值