切换到宽版
  • 26780阅读
  • 14回复

[求助]EX2010上扩展分层通讯簿的Active Directory 架构有问题 [复制链接]

上一主题 下一主题
 
只看楼主 倒序阅读 0楼  发表于: 2011-04-26
关键词: Exchange2010
之前问过斑竹怎么做分树型结构的通讯薄,告诉我做HAB,之后找资料看了N久,但是总也做不成扩展架构,只好再次求助大家,我做扩展,参照的是以下资料:



    单击「开始」,然后单击“运行”。 在“打开”字段中键入 ServerManagerCmd -i RSAT-ADDS,然后单击“确定”。
这一步是正常的可以做。按照提示,我保存了方框内的代码。
并且运行下面提示的命令:
LDIFDE -i -f schema_file.txt -c DC=X #SchemaNamingContext

结果出现如下结果:

我想问下,是不是我做错了,什么,命令说是Windows 2008的运行此命令,但是我们的系统是Windows Server 2008 R2版本的,是不是不可以?如果这样的话,需要怎么做才可以呢?请教请教
分享到
只看该作者 1楼  发表于: 2011-04-26
参考的是这个资料,http:                        //support.             microsoft.com          /kb/973788/
只看该作者 2楼  发表于: 2011-04-27
加入-j 这个参数之后,显示的是:
只看该作者 3楼  发表于: 2011-04-27
使用的编码是:

dn:CN=ms-DS-Phonetic-Display-Name,DC=X
changetype:ntdsSchemaAdd
adminDescription:ms-DS-Phonetic-Display-Name
adminDisplayName:ms-DS-Phonetic-Display-Name
attributeID: 1.2.840.113556.1.4.1946
attributeSecurityGuid::VAGN5Pi80RGHAgDAT7lgUA==
attributeSyntax: 2.5.5.12
isSingleValued:TRUE
lDAPDisplayName:msDS-PhoneticDisplayName
mapiId: 35986
name:ms-DS-Phonetic-Display-Name
oMSyntax: 64
objectCategory:CN=Attribute-Schema,DC=X
objectClass:attributeSchema
rangeLower: 0
rangeUpper: 256
schemaIdGuid::5JQa4mYt5UyzDQ74endv8A==
searchFlags: 5
showInAdvancedViewOnly:TRUE
systemFlags: 16
systemOnly:FALSE


dn:CN=ms-DS-HAB-Seniority-Index,DC=X
changetype:ntdsSchemaAdd
adminDescription:Contains the seniority index as applied by the organization where the person works.
adminDisplayName:ms-DS-HAB-Seniority-Index
attributeID: 1.2.840.113556.1.4.1997
attributeSecurityGuid::VAGN5Pi80RGHAgDAT7lgUA==
attributeSyntax: 2.5.5.9
isMemberOfPartialAttributeSet:TRUE
isSingleValued:TRUE
lDAPDisplayName:msDS-HABSeniorityIndex
mapiId: 36000
name:ms-DS-HAB-Seniority-Index
oMSyntax: 2
objectCategory:CN=Attribute-Schema,DC=X
objectClass:attributeSchema
schemaIdGuid::8Un03jv9RUCYz9lljaeItQ==
searchFlags: 1
showInAdvancedViewOnly:TRUE
systemFlags: 16
systemOnly:FALSE


dn:CN=ms-Exch-HAB-Root-Department-Link,DC=X
changetype:ntdsSchemaAdd
adminDescription:ms-Exch-HAB-Root-Department-Link
adminDisplayName:ms-Exch-HAB-Root-Department-Link
attributeID: 1.2.840.113556.1.4.7000.102.50824
attributeSyntax: 2.5.5.1
isMemberOfPartialAttributeSet:FALSE
isSingleValued:TRUE
lDAPDisplayName:msExchHABRootDepartmentLink
mapiId: 35992
name:ms-Exch-HAB-Root-Department-Link
oMSyntax: 127
oMObjectClass::KwwCh3McAIVK
objectCategory:CN=Attribute-Schema,DC=X
objectClass:attributeSchema
linkID: 1092
schemaIdGuid::f/ewOgOh9UeAbUpAzOY4qg==
searchFlags: 0


dn:CN=ms-Exch-HAB-Root-Department-BL,DC=X
changetype:ntdsSchemaAdd
adminDescription:ms-Exch-HAB-Root-Department-BL
adminDisplayName:ms-Exch-HAB-Root-Department-BL
attributeID: 1.2.840.113556.1.4.7000.102.50826
attributeSyntax: 2.5.5.1
isMemberOfPartialAttributeSet:FALSE
isSingleValued:FALSE
lDAPDisplayName:msExchHABRootDepartmentBL
mapiId: 35995
name:ms-Exch-HAB-Root-Department-BL
oMSyntax: 127
oMObjectClass::KwwCh3McAIVK
objectCategory:CN=Attribute-Schema,DC=X
objectClass:attributeSchema
linkID: 1093
schemaIdGuid::jIKVD70qh0CwJo98xedSpA==
searchFlags: 0


dn:CN=ms-Org-Group-Subtype-Name,DC=X
changetype:ntdsSchemaAdd
adminDescription:ms-Org-Group-Subtype-Name
adminDisplayName:ms-Org-Group-Subtype-Name
attributeID: 1.2.840.113556.1.6.47.2.3
attributeSyntax: 2.5.5.12
isMemberOfPartialAttributeSet:TRUE
isSingleValued:TRUE
lDAPDisplayName:msOrg-GroupSubtypeName
mapiId: 36063
name:ms-Org-Group-Subtype-Name
oMSyntax: 64
objectCategory:CN=Attribute-Schema,DC=X
objectClass:attributeSchema
rangeUpper: 128
schemaIdGuid::RFjt7cOzw0Gp5omEtSt/mA==
searchFlags: 17


dn:CN=ms-Org-Is-Organizational-Group,DC=X
changetype:ntdsSchemaAdd
adminDescription:ms-Org-Is-Organizational-Group
adminDisplayName:ms-Org-Is-Organizational-Group
attributeID: 1.2.840.113556.1.6.47.2.1
attributeSyntax: 2.5.5.8
isMemberOfPartialAttributeSet:TRUE
isSingleValued:TRUE
lDAPDisplayName:msOrg-IsOrganizational
mapiId: 36061
name:ms-Org-Is-Organizational-Group
oMSyntax: 1
objectCategory:CN=Attribute-Schema,DC=X
objectClass:attributeSchema
schemaIdGuid::C1a3SQdHoEqifOF6Cco/lw==
searchFlags: 16


dn:CN=ms-Org-Other-Display-Names,DC=X
changetype:ntdsSchemaAdd
adminDescription:ms-Org-Other-Display-Names
adminDisplayName:ms-Org-Other-Display-Names
attributeID: 1.2.840.113556.1.6.47.2.4
attributeSyntax: 2.5.5.12
isMemberOfPartialAttributeSet:TRUE
isSingleValued:FALSE
lDAPDisplayName:msOrg-OtherDisplayNames
mapiId: 36064
name:ms-Org-Other-Display-Names
oMSyntax: 64
objectCategory:CN=Attribute-Schema,DC=X
objectClass:attributeSchema
rangeUpper: 128
schemaIdGuid::JF+QjxOkWkOO0TU4XsF59w==
searchFlags: 17


dn:CN=ms-Org-Leaders,DC=X
changetype:ntdsSchemaAdd
adminDescription:ms-Org-Leaders
adminDisplayName:ms-Org-Leaders
attributeID: 1.2.840.113556.1.6.47.2.2
attributeSyntax: 2.5.5.1
isMemberOfPartialAttributeSet:TRUE
isSingleValued:FALSE
lDAPDisplayName:msOrg-Leaders
mapiId: 36062
name:ms-Org-Leaders
oMSyntax: 127
oMObjectClass::KwwCh3McAIVK
objectCategory:CN=Attribute-Schema,DC=X
objectClass:attributeSchema
linkID: 1208
schemaIdGuid::kGdb7lgzqEGT8hNM4h84Ew==
searchFlags: 16


dn:CN=ms-Org-Leaders-BL,DC=X
changetype:ntdsSchemaAdd
adminDescription:ms-Org-Leaders-BL
adminDisplayName:ms-Org-Leaders-BL
attributeID: 1.2.840.113556.1.6.47.2.5
attributeSyntax: 2.5.5.1
isMemberOfPartialAttributeSet:FALSE
isSingleValued:FALSE
lDAPDisplayName:msOrg-LeadersBL
mapiId: 36060
name:ms-Org-Leaders-BL
oMSyntax: 127
oMObjectClass::KwwCh3McAIVK
objectCategory:CN=Attribute-Schema,DC=X
objectClass:attributeSchema
linkID: 1209
schemaIdGuid::7Y6lr5imfkGfVvrVQlLF9A==
searchFlags: 0


dn:
changetype:ntdsSchemaModify
replace:schemaUpdateNow
schemaUpdateNow: 1
-


dn:CN=Organizational-Person,DC=X
changetype:ntdsSchemaModify
add:mayContain
mayContain:msDS-HABSeniorityIndex
-


dn:CN=Organizational-Person,DC=X
changetype:ntdsSchemaModify
add:mayContain
mayContain:msDS-PhoneticDisplayName
-


dn:CN=ms-Exch-Organization-Container,DC=X
changetype:ntdsSchemaModify
add:mayContain
mayContain:msExchHABRootDepartmentLink
-


dn:CN=Group,DC=X
changetype:ntdsSchemaModify
add:mayContain
mayContain:location
-


dn:CN=Group,DC=X
changetype:ntdsSchemaModify
add:mayContain
mayContain:thumbnailPhoto
-


dn:CN=Group,DC=X
changetype:ntdsSchemaModify
add:mayContain
mayContain:msDS-HABSeniorityIndex
-


dn:CN=Group,DC=X
changetype:ntdsSchemaModify
add:mayContain
mayContain:msDS-PhoneticDisplayName
-


dn:CN=Group,DC=X
changetype:ntdsSchemaModify
add:mayContain
mayContain:msOrg-GroupSubtypeName
-


dn:CN=Group,DC=X
changetype:ntdsSchemaModify
add:mayContain
mayContain:msOrg-IsOrganizational
-


dn:CN=Group,DC=X
changetype:ntdsSchemaModify
add:mayContain
mayContain:msOrg-Leaders
-


dn:CN=Group,DC=X
changetype:ntdsSchemaModify
add:mayContain
mayContain:msOrg-OtherDisplayNames
-


dn:CN=Mail-Recipient,DC=X
changetype:ntdsSchemaModify
add:mayContain
mayContain:msDS-HABSeniorityIndex
-


dn:CN=Mail-Recipient,DC=X
changetype:ntdsSchemaModify
add:mayContain
mayContain:msDS-PhoneticDisplayName
-


dn:CN=Top,DC=X
changetype:ntdsSchemaModify
add:mayContain
mayContain:msOrg-LeadersBL
-


dn:CN=Top,DC=X
changetype:ntdsSchemaModify
add:mayContain
mayContain:msExchHABRootDepartmentBL
-


dn:
changetype:ntdsSchemaModify
replace:schemaUpdateNow
schemaUpdateNow: 1
-
只看该作者 4楼  发表于: 2011-04-27
请大家帮忙解答,急啊。。。。
只看该作者 5楼  发表于: 2011-04-27
用户已经架构组了。。

只看该作者 6楼  发表于: 2011-05-08
try: LDIFDE -i -f "c:\schema_file.txt "-c "DC=X #SchemaNamingContext"
只看该作者 7楼  发表于: 2011-05-09
试了下,还是不太明白。可否说下具体怎么做呢?

只看该作者 8楼  发表于: 2011-05-09
你不是用ldifde命令来导入一些schema属性嘛,那么我们要确定3点,一是你要有足够的权限,二是命令的格式正确,三是导入的文本格式符合要求,以上命令我们可以保证命令格式正确,其他2点需要你自己确认了

只看该作者 9楼  发表于: 2011-05-09
回 楼主(maque320ai) 的帖子
你的schema_file.txt文件是存放在哪里的?C:\users\administrator下吗?
快速回复
限60 字节
 
上一个 下一个