Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Adam on January 22, 2003, 03:09:52 AM

Title: Using an LDAP Editor - only will connect Anonymously
Post by: Adam on January 22, 2003, 03:09:52 AM
Hi all,

trying to use a couple of LDAP editors and am having trouble getting it to login as the admin user so that I can edit entries etc.

Is there a trick to it ?

Basically here's what I using:
Host: 172.xx.xx.xxx (our Internal IP Address)
BaseDN dc=xxxxxx,dc=qld,dc=gov,dc=au (xxxxxx being our domain)
username: admin
password: whatever

Doesn't wanna work. Going in anonymously works fine (read-only) so my settings for the host/BaseDN are OK.

any help would be appreciated,

Adam
Title: Re: Using an LDAP Editor - only will connect Anonymously
Post by: Matt Quelch on January 22, 2003, 03:19:36 PM
Yup there sure is a trick to it!

First the user should be root, not admin, and also the username needs to be

cn=root,dc=xxxx,dc=xxx

That should do the trick, oh and the password will be the long one found in the slapd.conf (/etc/openldap/)

Matt
Title: Re: Using an LDAP Editor - only will connect Anonymously
Post by: Adam on January 23, 2003, 12:46:49 AM
Thanks Matt,

I would never have worked that one out. Works well.

Do you know if it is possible to change that HUGE LDAP password without breaking anything ?

cheers,

Adam
Title: Re: Using an LDAP Editor - only will connect Anonymously
Post by: Matt Quelch on January 23, 2003, 04:38:20 PM
I haven't tried it myself, but I think you can just edit the slapd.conf file, and change the password there. Not 100% though, I'm just grinning and bearing it for the mo!

Matt
Title: Re: Using an LDAP Editor - only will connect Anonymously
Post by: Adam on January 23, 2003, 11:47:57 PM
Thank God for cut-and-paste :)