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

Re: ldapadd error



On Mon, 2006-04-10 at 14:49 -0500, Adam Williams wrote:
> When I run ldapadd, I am getting the error:
> 
> [root@roark migration]# ldapadd -x -h roark.mdah.state.ms.us -D 
> "cn=adam,dc=mdah,dc=state,dc=ms,dc=us" -w secret -f passwd.LDIF
> adding new entry "uid=root,ou=People,dc=mdah,dc=state,dc=ms,dc=us"
> ldap_add: No such object (32)
> 
> and in slapd.conf I have:
> 
> suffix          "dc=mdah,dc=state,dc=ms,dc=us"
> rootdn          "cn=adam,dc=mdah,dc=state,dc=ms,dc=us"
> rootpw          secret
> 
> I've done a google search but haven't found a solution to the error 32. 
> Any suggestions?

Check that the parent (i.e. "ou=People,dc=mdah,dc=state,dc=ms,dc=us")
exists.

p.




Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------