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

Re: SSL/TLS testing





OK, it's work, i have a fonctionnal slapd.d/cn=config folder, but i don't understand why i can't access to openldap with cn=admin,dc=parisgeo,dc=cnrs,dc=fr and good password generated by


My slapd.conf before conversion contain the SSHA password generated by slappasswd for rootDn :
-----

database        bdb
suffix          "dc=parisgeo,dc=cnrs,dc=fr"
rootdn          "cn=admin,dc=parisgeo,dc=cnrs,dc=fr"
rootpw          {SSHA}xxxxxxxxxxxxxxxxxxxxx

----
I try this : root@xxxxx:/usr/local/etc/openldap/slapd.d# ldapsearch -D cn=admin,dc=parisgeo,dc=cnrs,dc=fr -W -x 'userName=*'
Enter LDAP Password: ldap_bind: Invalid credentials (49)

Bizarre ...
Perhaps i can try to redefine the rootdn, because it disapear with conversion ?
Do you have an idea about this ?

Thanks,
SR.

>Use slapadd. Again, RTFM. Everything you've asked in the past week or so has been documented in the manpages and the Admin Guide. Read and learn.

Yes right, @rey rtfm, and ask your question again, if you're sure your point is not in the OpenLDAP manual.
But i'm sure you will find your answer there.



>Please trim irrelevant text from your emails. Please update your Subject line to something relevant to the actual discussion topic.
@Howard, please say that to the guy who ask questions, and not me^^


Raffael Sahli wrote:
On 14.12.2011 16:54, rey sebastien wrote:
Le 13/12/2011 16:48, Raffael Sahli a Ãcrit :

Hi!
It's not easy to start with zero configuration with cn=config new
openldap administration ..
I create my bd.ldif based on the slapd.ldif example in the
/usr/local/etc/openldap directory.
But how can i insert this ldif with

ldapadd -Y EXTERNAL -H ldapi:/// -f myldiffile.ldif

if i cannot run slapd without configuration ?
How do you start a fresh install of openldap in this case? there is an
option to run slapd without zero configuration?
Thanks a lot,

Use slapadd. Again, RTFM. Everything you've asked in the past week or so has been documented in the manpages and the Admin Guide. Read and learn.


--
Raffael Sahli
public@raffaelsahli.com
Switzerland