[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: slappasswd
Alejandra Moreno wrote:
>
> Hi all!
>
> I read the manual entry for slappasswd, but I still don't
> understand how can I use it in the slapd.conf file. Any
> suggestions?
Create an encrypted password using the slappasswd utility
and copy and paste the new value
into the slapd.conf file directly below the sample one, but
remember to comment out or delete any older passwd entries
such as "secret" which comes with slapd.conf.
Remember to include the encryption method string with the
encrytped passwd as show below :
{SSHA}^$*838hjdIOED93282>d
the slappasswd utility will default to using the SSHA
encryption method but you can change this to be {CRYPT},
{SHA}, {MD5} etc.
So create the slapd.conf password as follows :
slappasswd -s freddy
and it will generate a string as shown above using SSHA as
the default encryption algorithm.
Now when you go to use ldapadd and you use the -W switch
(this prompts for the user to enter the password on the
command line), you type in "freddy" and it will authenticate
you as the Directory Manager.
Paul
>
> Regards,
> Alejandra
>
> ______________________________________________________________________
> Alejandra Moreno Espinar
> at rete ag
>
> mailto:alejandra.moreno@atrete.ch, http://www.atrete.ch
> snail mail: Oberdorfstrasse 2, P.O. Box 674, 8024 Zurich,
> Switzerland
> voice: +41-1-266 55 55, direct: +41-1-266 55 91, fax:
> +41-1-266 55 88
> _____________________________________________________________________
--
###################################################################
Paul Milazzo
Magellan Technologies
65 Johnston St
Annandale, 2038 NSW, Australia
Tel +61 2 9518 7011
Fax +61 2 9518 7620
Email : paulm@magtech.com.au
Web : http://www.magtech.com.au
In theory, there's no difference between theory and
practice. In practice,
there is. - Unknown.
###################################################################
begin:vcard
n:Milazzo;Paul
tel;fax:(02) 9518 7620
tel;work:(02) 9518 7011
x-mozilla-html:FALSE
url:http://www.magtech.com.au/
org:Magellan Technology
adr:;;65 Johnston St;Annandale;NSW;2038;Australia
version:2.1
email;internet:paulm@magtech.com.au
x-mozilla-cpt:;17408
fn:Paul Milazzo
end:vcard
- References:
- slappasswd
- From: Alejandra Moreno <alejandra.moreno@atrete.ch>