Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to follow this guide to configure kerberos on my Ubuntu server. I got up the part where they want to add the new schema to my server user ldapadd I follow the instructions as they say.

I run ldapadd -x -D "cn=admin,cn=config" -W -f /tmp/cn=kerberos.ldif

then I enter my password and it returns

ldap_add: Invalid credentials (49)

so I tried using the admin login that I use for my phpldapadmin webgui (which I thought was the same)

I run ldapadd -x -D "cn=admin,dc=solignis,dc=local" -W -f /tmp/cn=kerberos.ldif

then I enter my password and it returns this time

ldap_add: Insufficient access (50)

I am not really sure where to go from here I am still learning the ropes a bit. I have checked, double checked and triple checked I am entering the password that I set at install.

What am I not doing correct?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

You need to specify your config database. Without it, its trying to add it to your normal database.

ldapadd -H 'ldaps://localhost/cn=config' -x -D "cn=admin,cn=config" -W -f /tmp/cn=kerberos.ldif
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.