Hi

have you tried a slapcat to make sure the information is actually in the
DB ?


Alex


On Thu, Apr 20, 2006 at 02:36:19PM +1000, Selim Jahangir wrote:
> Hi 
> I have actually added the password just beside 
> Rootpw keyword. In my email the writing may be incorrect.
> -selim
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Gonzalo Servat
> Sent: Thursday, 20 April 2006 2:05 PM
> To: [email protected]
> Subject: Re: [SLUG] Invalid credentials error code 49
> 
> On 4/20/06, Selim Jahangir <[EMAIL PROTECTED]> wrote:
> >
> > Hey
> >
> > I have changed the password by typing following, still having invalid
> > credentials 49.
> [..snip..]
> > slappasswd -s foo >rootpass
> >
> > [EMAIL PROTECTED] ~]# vi rootpass
> > [EMAIL PROTECTED] ~]# cat rootpass>>/etc/openldap/slapd.conf
> > [EMAIL PROTECTED] ~]#
> 
> Selim,
> 
> That's not right. You put the root password on it's own line in
> slapd.conf. Edit slapd.conf, remove the line which contains the
> password on it's own, edit the rootpw line and paste the password
> generated by slappasswd. Alternatively, if you really want to do it
> from command line, remove the rootpw line altogether then save
> slapd.conf, and type something like the following in:
> 
> # echo -e 'rootpw\t\t' `slappasswd -s foo` >> /etc/openldap/slapd.conf
> && service ldap restart
> 
> Cheers,
> Gonzalo.
> -- 
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
> 

Attachment: signature.asc
Description: Digital signature

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to