首页 > 科技 > Get LDAP schema

Get LDAP schema

2006年12月13日 12点13分 发表评论 阅读评论

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

分类: 科技 标签:
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.
您必须在 登录 后才能发布评论.