[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Trying to connect as specific dn through socket
I am trying to connect the root user through the ldapi:// socket as
the admin dn, and I can't make it work.
My cn=config.ldif:
dn: cn=config
objectClass: olcGlobal
cn: config
olcArgsFile: /var/run/slapd/slapd.args
olcLogLevel: none
olcPidFile: /var/run/slapd/slapd.pid
olcToolThreads: 1
olcTLSCertificateFile: /etc/ldap/certs/pdc.scottgrizzard.com.pem.crt
olcTLSCertificateKeyFile: /etc/ldap/certs/pdc.scottgrizzard.com.pem.key
olcTLSCACertificateFile: /etc/ldap/certs/scottgrizzard.com-cacert.pem
olcTLSVerifyClient: never
olcAuthzRegexp: "gidNumber=0\\\
+uidNumber=0,cn=peercred,cn=external,cn=auth"
"cn=admin,dc=scottgrizzard,dc=com"
olcSaslSecProps: minssf=0
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
Thank you for your help,
Scott Grizzard