I'm just stumped and could use some seasoned eyes and minds to review why I'm getting "ldap_bind: Invalid credentials (49)" error when I attempt
ldapmodify -v -x -D "cn=someuser,dc=iqonq,dc=com" -W
Prior to entering the above I used
slappasswd to create a new password and entered it into my /etc/openldap/slapd.conf file. Here's an example of my slapd.conf (that's not the real rootpw):
Code:
# Allow LDAPv2 client connections. This is NOT the default.
allow bind_v2
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
access to dn.base=""
by * read
access to attr=sambaPasswordHistory
by self write
by * auth
access to attr=sambaLMPassword
by self write
by * auth
access to attr=sambaNTPassword
by self write
by * auth
access to attr=userPassword
by self write
by * auth
access to attr=shadowLastChange
by self write
by * auth
access to *
by * read
#######################################################################
# BDB database definitions
#######################################################################
database bdb
suffix "dc=iqonq,dc=com"
rootdn "cn=Manager,dc=iqonq,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw {SSHA}95WxN9j4BwXpxqavygLzjb8quzrfC87J
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /var/lib/ldap
# Indices to maintain
index objectClass eq
After entering the SSHA password into the slapd.conf file I restart the ldap service:
Code:
service ldap restart
Which returns:
Code:
Stopping slapd: [ OK ]
Checking configuration files for slapd: config file testing succeeded
[ OK ]
Starting slapd: [ OK ]
Finally at this point I issue the command
Code:
ldapmodify -v -x -D "cn=someuser,dc=iqonq,dc=com" -W
and enter the password I just defined when I ran the slappasswd command. What I get in return is:
Code:
ldap_bind: Invalid credentials (49)
This is driving me crazy! Can someone help me pick through this?
Many advTHANKSance!!!