Get LDAP schema
To get the OpenLDAP schema entries:
# ldapsearch -x -D “cn=root,dc=plasmon,dc=sit” -w hello123 -b cn=subschema -s base + -H ldap://192.168.123.33:389
In OpenLDAP slapd.conf, it was set as “cn=subschema”, while in Iplanet, it is “cn=schema”.
To get the Iplanet schema entries:
# ldapsearch -x -b cn=schema -s base+ -H ldap://192.168.123.33:389
Assume that do not know the LDAP server type, issue the following command to find it is “cn=schema” or “cn=subschema”:
# ldapsearch -x -H ldap://192.168.123.33:389 -s base -b “” “objectclass=*” subschemaSubentry
Iplanet history: Iplanet 4.0 — Iplanet 5.0 — Sun One Directory Service — Sun Java System Directory Service 5.2
分类: 科技