[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: setting up admin password on openldap



Ezzel a dátummal: Tuesday 30 October 2007 21.54.49 Naufal Sheikh ezt írta:
> Hi Piotr,
>
> Here is my ldif file.
>
> dn: cn=nsadmin
> changetype: modify
> userpassword: {SHA}R0f182La8UTJewHKUWIr2ltHPXc=
>  and the command I used is:
>
> [root@syru156 bin]# ./ldapmodify -x -v -f /main/backup/nsadmin.ldif
> ldap_initialize( <DEFAULT> )
> replace userpassword:
>         {SHA}R0f182La8UTJewHKUWIr2ltHPXc=
> modifying entry "cn=nsadmin"
> modify complete
> ldap_modify: Strong(er) authentication required (8)
>         additional info: modifications require authentication
>
> and I cannot still connect bind to ldap through credentials. It says
> invalid credentials when I try to connect it through ldap browser.
>
>
You didn't specify what DN you want to connect.  "Use ldapmodify -D 
cn=nsadmin,o=trac -x ...". And use the password you gave in slapd.conf. 
The "rootdn" and "rootpw" have precedence over the one you have in the 
directory.

Bye,
György