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

Re: Accessing cn=config



I usually add a database in slapd.conf file :

database config
rootdn cn=config
rootpw secret

search : ldapsearch -w secret -x -D cn=config -b cn=config 

----- Original Message ----- 
From: "Dave Horsfall" <daveh@ci.com.au>
To: "OpenLDAP Software List" <openldap-software@OpenLDAP.org>
Sent: Friday, February 17, 2006 9:30 AM
Subject: Accessing cn=config


> Is anyone actually using this?  If so, err, how?
> 
> Specifically (because this is as far as I can get), how did you specify 
> the credentials to e.g. LDAPSEARCH?  I can see the rootDN is "cn=config" 
> (from looking at "olcDatabase={0}config.ldif"), but what would rootPW be?
> 
> It was missing originally, but "-w ''" didn't work; I added "rootPW 
> secret" and that didn't work either.
> 
> So, is anyone actually using it?
> 
> -- 
> Dave Horsfall  DTM  VK2KFU  daveh@ci.com.au  Ph: +61 2 9552-5509 (d) -5500 (sw)
> Corinthian Engrng P/L, Ste 54 Jones Bay Whf, 26-32 Pirrama Rd, Pyrmont 2009, AUÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿá¶Úÿÿ÷'þf¢?ü???ÿ