[Date Prev][Date Next]
Sv: >ldap_bind: Invalid credentials
Eww, you have to put some initial data in your LDAP database first
for it to work -- as far as I recall slapd will not create the
database files on it's own, though it will happily edit them.
I use Redhat, which comes with the system flatfile migration tools in
/usr/share/openldap/migration. Cd to that directory (or wherever you
download Migration-Tools to) and:
edit migrate_common.ph, edit DEFAULT_MAIL_DOMAIN and DEFAULT_BASE
Now your database is populated and you can happily play around with
Of course, you could also create your own LDIF and use ldfi2ldbm to
create the initial database.
>>>>> "Morten" == Morten Christensen <email@example.com> writes:
Morten> ----- Original Message ----- From: <firstname.lastname@example.org> To:
Morten> Morten Christensen Monday, November 29, 1999 1:32 AM
Morten> Subject: >ldap_bind: Invalid credentials
>> I think you should use"/usr/bin/ldapadd -D "cn=root,o=krl,c=dk"
>> -w rootpassword -f myldif.ldif" ,if "cn=root,o=krl,c=dk"
>> existed in you directory tree.
Morten> Nothing exists in my directory tree.
Morten> I have done 3 things:
Morten> Edited /etc/openldap/slapd.conf Startet slapd Tried to
Morten> enter an initial entry
Morten> Please note, that I understand absolutely zero of LDAP!!
Morten> greetings... Morten Christensen form Denmark, explaining
Morten> the bad language