2017-11-13 4 views
0

私はldapsearchの(CentOSの7.4、2.4.44 slapdを)は、Active DirectoryのWindows 2012サーバーに対してコマンドを実行する場合:openldap:dnはdistinguishedNameのエイリアスですか?

[[email protected] ~]# ldapsearch -LLL -x -h openldap.company.com -D "[email protected]" -w mypassword -s sub -b 'dc=company,dc=com' "(cn=Administrator)" 

を私が手:

dn: CN=Administrator,CN=Users,DC=company,DC=com 

しかし、私はSofterra LDAPの等価を実行する場合ブラウザ、私はDNが、distinguishedNameの表示されていない:dnはとりわけだったかどうかを確認するには

distinguishedName: CN=Users,DC=company,DC=com 

をdistinguishedNameのか、その逆のsが、私はOpenLDAPの中で定義を確認し、私はこれを参照してください。

[[email protected] schema]# grep -r 'NAME '"'"'distinguished' /etc/openldap/schema 
./core.ldif:#olcAttributeTypes: (2.5.4.49 NAME 'distinguishedName' 
./core.schema:#attributetype (2.5.4.49 NAME 'distinguishedName' 

をしかし、それらの結果の両方が、とにかくコメントアウトされています

# system schema 
#attributetype (2.5.4.49 NAME 'distinguishedName' 
#  EQUALITY distinguishedNameMatch 
#  SYNTAX 1.3.6.1.4.1.1466.115.121.1.12) 

ので、いくつかの基本的な質問:

  1. なぜdistinguishedNameがコメントアウトされていますか?
  2. dnがどのスキーマでも定義されていない場合、LDIFファイルでdn属性を使用するにはどうすればよいですか?
  3. dnはdistinguishedNameの別名ですか、またはその逆ですか?

答えて

0
  1. なぜdistinguishedNameのがコメントアウトされて?

おそらくサーバーに配線されています。

  1. dnがどのスキーマでも定義されていない場合、LDIFファイルでdn属性を使用するにはどうすればよいですか?

(1)を参照してください。

  1. dnはdistinguishedNameのエイリアスですか、その逆ですか?

両方。

関連する問題