I'm trying to implement an ldap contact list and am having a heck of a time.
I've got the ldap server running and can get a good response with the following command:
[root@grower:/etc/openldap] ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
# extended LDIF
# base <> with scope base
# filter: (objectclass=*)
# requesting: namingContexts
# search result
result: 0 Success
# numResponses: 2
# numEntries: 1
but when I go to add entries into the database I get the following error:
[root@grower:/etc/openldap] ldapadd -D "cn=root"
SASL/GSSAPI authentication started
ldap_sasl_interactive_bind_s: Local error (82)
additional info: SASL(-1): generic failure: GSSAPI Error: Miscellaneous failure (No credentials cache found)
I'm assuming this is an authentication problem with SASL but how do I sort this out. I haven't been able to find any decent documentation on this issue except for setting up ldap as a server authentication method... which is what I don't want. I just want a simple address book!