Benutzen Sie den Parameter -a "*" und den Parameter -f mit dem Befehl pdm_ldap_test, um zu entscheiden, welche Attribute für LDAP-Benutzer- oder Gruppen-Datensätze definiert werden. Diese Prüfung ist nützlich, um zu bestimmen, ob LDAP-Attribute vorhanden sind, die Kontaktattributen zugeordnet werden sollen. Außerdem können Sie damit prüfen, ob ein bestimmtes Attribut einen Wert hat und verfügbar sein soll, wenn Kontaktdatensätze erstellt oder aktualisiert werden.
Das folgende Beispiel zeigt die Ausgabe aus einem iPlanet-Verzeichnis:
pdm_ldap_test -a "*" -f sn=Account_1000001
2 LDAP records found...
DN: cn=Account_1000001,ou=200K_Plus,o=SmartLabs
sn(15)(0): Account_1000001 objectClass(13)(0): inetOrgPerson objectClass(20)(1): organizationalPerson objectClass(6)(2): Person objectClass(18)(3): ndsLoginProperties objectClass(3)(4): Top
DN: cn=Account_1000001,ou=2_Plus,o=SmartLabs
mail(28)(0): ThisIsTheMailingAddressField uid(13)(0): Login_1000001 givenName(17)(0): GivenNameOfPerson sn(15)(0): Account_1000001 objectClass(13)(0): inetOrgPerson objectClass(20)(1): organizationalPerson objectClass(6)(2): Person objectClass(18)(3): ndsLoginProperties objectClass(3)(4): Top
Das folgende Beispiel zeigt die Ausgabe aus Active Directory:
Ldap_test -a “*” -f (&(sn=Brown)(initials=A))”
1 LDAP records found...
DN: CN=John A. Smith,CN=Users,DC=mycontroller,DC=xyz,DC=com
objectClass(3)(0): top objectClass(6)(1): person objectClass(20)(2): organizationalPerson objectClass(4)(3): user cn(16)(0): John A. Smith sn(5)(0): Brown givenName(7)(0): John initials(1)(0): A distinguishedName(55)(0): CN=John A. Smith,CN=Users,DC=mycontroller,DC=xyz,DC=com displayName(16)(0): John A. Smith memberOf(52)(0): CN=Domain Admins,CN=Users,DC=mycontroller,DC=xyz,DC=com sAMAccountName(7)(0): smijo04 userPrincipalName(25)(0): smijo04@mydomain.xyz.com objectCategory(63)(0): CN=Person,CN=Schema,CN=Configuration,DC=mycontroller,DC=xyz,DC=com
| Copyright © 2012 CA. Alle Rechte vorbehalten. | Senden Sie CA Technologies eine E-Mail zu diesem Thema. |