Ronald Chan said:
> Anyone has successfully implemented migrating their /etc/passwd to LDAP?
>
> here is my slapd.conf
>
>
> include         /etc/openldap/schema/nis.schema
> #include         /etc/openldap/schema/misc.schema
> i#nclude         /etc/openldap/schema/inetorgperson.schema

Is this right? I think it should be #include .

>
> ldapadd -f passwd.ldif
> Suse:~ # ldapadd -f passwd.ldif -W
> Enter LDAP Password:
> adding new entry uid=root,ou=People,dc=rnd,dc=abc,dc=com
> ldap_add: No such object
> ldap_add: matched: dc=rnd,dc=abc,dc=com
> ldap_add: additional info: parent does not exist
>

That means you have no container for ou=People. Try:

ldaplist -l passwd

and see if it complains about no object found. There is no container
probably because you miss the #include for inetorgperson.schema

rowel


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to