Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ldap manager password
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pksings
Tux's lil' helper
Tux's lil' helper


Joined: 26 Oct 2003
Posts: 110
Location: Southern California

PostPosted: Thu Feb 10, 2005 4:25 am    Post subject: ldap manager password Reply with quote

I think I have ldap working but cannot login succesfully as manager.

How do I set password for Manager in slapd.conf?
_________________
PK
Back to top
View user's profile Send private message
cselkirk
Apprentice
Apprentice


Joined: 09 Jun 2003
Posts: 199
Location: NL

PostPosted: Sat Feb 12, 2005 3:06 pm    Post subject: Reply with quote

Something like the following:

Code:
slappasswd -h "{SSHA}"


You could also use MD5 as opposed to SSHA.

You would then edit /etc/openldap/slapd.conf and add the string returned from the above command:

Code:
rootpw      {SSHA}lotsofgarbage=


restart slapd and you will then be able to ldapsearch, ldapadd, etc using the password suplied to slappasswd.
_________________
cn=cselkirk,dc=xs4all,dc=nl
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum