Openldap log & "parent does not exist"

Nils O. Selåsdal nos at utel.no
Mon Jan 5 11:59:42 UTC 2004


On Mon, 2004-01-05 at 12:18, Mako Gabor wrote:
> Hi!
> 
> How can I set the openldap log file? Where does it log?
> 
> What is the problem with this?:
> ldapadd -f /etc/openldap/ldap.txt -D "cn=root,o=domain,c=hu" -x -W
> Enter LDAP Password:
> adding new entry "ou=People,o=domain,c=hu"
> ldapadd: update failed: ou=People,o=domain,c=hu
> ldap_add: No such object (32)
>         additional info: parent does not exist
> 
> The ldap.txt file:
> dn: ou=People,o=domain,c=hu
> objectClass: top
> objectClass: organizationalUnit
> ou: People
> 
> dn: ou=Group,o=domain,c=hu
> objectClass: top
> objectClass: organizationalUnit
> ou: Group
> 
> dn: cn=root,ou=People,o=domain,c=hu
> objectClass: top
> objectClass: account
> objectClass: posixAccount
> objectClass: shadowAccount
> cn: root
> uid: root
> uidNumber: 1
> gidNumber: 1
> gecos: Root
> loginShell: /bin/bash
> homeDirectory: /root/
> userPassword: secret
> 
> dn: cn=root,ou=Group,o=domain,c=hu
> objectClass: top
> objectClass: posixGroup
> gidNumber: 1
> cn: root
> memberUid: root
You have to define the o=domain,c=hu also.

-- 
Vennlig hilsen/Best Regards
Nils Olav Selåsdal
System Engineer
UtelSystems a/s
Tlf: 370 45 431
Mob: 943 01 380
w w w . u t e l s y s t e m s . c o m









More information about the fedora-devel-list mailing list