On Thu, 8 Jan 2009, Scott Grizzard wrote:
I am trying to connect the root user through the ldapi:// socket as the admin dn, and I can't make it work.
...
olcAuthzRegexp: "gidNumber=0\+uidNumber=0,cn=peercred,cn=external,cn=auth" "cn=admin,dc=scottgrizzard,dc=com"
...
When I do ldapwhoami -H ldapi:/// as root, I get SASL/DIGEST-MD5 authentication started Please enter your password:
When I do ldapwhoami -H ldapi:/// -x as root, I get anonymous
You want it to use SASL EXTERNAL authentication, so try passing ldapwhomai the option -Y EXTERNAL. ldapwhoami -H ldapi:/// -Y EXTERNAL
Philip Guenther