Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help for a newbie -ldapadd 1

Status
Not open for further replies.

cmoloney

Technical User
Aug 18, 2002
22
0
0
AU
I'm really at the beginning of an ldap learning journey. Hope someone can explain this error and suggest how I can fix it:

ldapserver:/# /usr/lib/openldap/slapd
ldapserver:/# /usr/bin/ldapadd -x -D "cn=root,dc=office, dc=local" -W
Enter LDAP Password: secret
ldap_bind: Invalid credentials: (49)

Not sure what the -x does but gather its something to do with the access levels. When I drop it I get:

ldapserver:/# /usr/lib/openldap/slapd
ldapserver:/# /usr/bin/ldapadd -D "cn=root,dc=office, dc=local" -W
Enter LDAP Password: secret
ldap_sasl_interactive_bind-s: No such attribute (16)
Thanks for all help
Christy
 
-x means use simple authentication - without it you are attempting a SASL bind. You should just toss the password into the command (-w instead of -W) until you have uploaded a few entries

-Chris Larivee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top