Yoann Gini wrote:
I’m working with OS X Server 10.9 who’s using OpenLDAP to provide directory services.
I’ve a problem with a simple LDAP request who is not consistent depending of the attribute filter requested.
Here are the two commands I’ve used in my CLI:
ldapsearch -x -H ldap://192.168.42.10 -b "cn=passwordserver,cn=config,dc=example,dc=com" "(objectclass=*)"
and
ldapsearch -x -H ldap://192.168.42.10 -b "cn=passwordserver,cn=config,dc=example,dc=com" "(objectclass=*)" apple-xmlplist
Could you please elaborate on what exactly "not consistent" means to you? Seeing the output generated would be good.
Also note that there might be special case where you see an attribute only if you request it explicitly.
If you don't specify an attribute list it means "*" (return all user attributes).
Ciao, Michael.