[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Name binding



Florence,
try the following to get the RootDSE as well as a list of attributes and
objectclasses. Be aware that SASL mechs only show up if there are valid
passwords for a specific mech.

get RootDSE without SASL
	ldapsearch -x -H ldap://:9999 -b '' -s base -LLL +

get supported attributes from subschema entry
	ldapsearch -x -H ldap://:9999 -b 'cn=Subschema' -s base -LLL \
		objectclass=subschema attributeTypes

get supported objectclasses from subschema entry
	ldapsearch -x -H ldap://:9999 -b 'cn=Subschema' -s base -LLL \
		objectclass=subschema objectClasses

The examples assume a LDAP server listening on port 9999 on the local
host.

Hope this helps,
Thomas

-----------------------------------------------------------------
PGP fingerprint: B1 EE D2 39 2C 82 26 DA  A5 4D E0 50 35 75 9E ED
Phone:           +49 731 50 22464
FAX:             +49 731 50 22471