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

RE: Entry addition conflict



Well, sort of :-P.  I did have an entry ou=Groups,dc=personal-pc,dc=com.
When you asked that, I went to copy the entry to send to you, and realized
that it was Groups and the group entries were trying to add to Group, which
I realized were not compatible.  So, I deleted the entry and added it as
ou=Group,dc=personal-pc,dc=com, and then I added my group.ldif file.  Now it
works, thanks a lot.

-----Original Message-----
From: Dave Lewney [mailto:D.M.Lewney@sussex.ac.uk]
Sent: Thursday, June 10, 2004 10:31 AM
To: Wesley Hobbie
Cc: openldap-software@OpenLDAP.org
Subject: Re: Entry addition conflict


Wesley Hobbie wrote:
> So far I only migrated the /etc/passwd file into the LDAP server, now I
> want to migrate the /etc/group file.
> However, I created the group.ldif file, but when I tried to added it I
> get the following error:
>
> ldapadd -x -D "cn=Manager,dc=personal-pc,dc=com" -W -f
> /etc/openldap/group.ldif
> Enter LDAP Password:
> adding new entry "cn=root,ou=Group,dc=personal-pc,dc=com"
> ldapadd: update failed: cn=root,ou=Group,dc=personal-pc,dc=com
> ldap_add: No such object (32)
>         matched DN: dc=personal-pc,dc=com
>
> cn=root,ou=Group,dc=personal-pc,dc=com LDIF entry:
> dn: cn=root,ou=Group,dc=personal-pc,dc=com
> objectClass: posixGroup
> objectClass: top
> cn: root
> userPassword: {crypt}x
> gidNumber: 0
> memberUid: wslyhbb
>
> dc=personal-pc,dc=com entry:
> dn: dc=personal-pc,dc=com
> objectClass: dcObject
> objectClass: organization
> objectClass: top
> o: PersonalPC
> dc: personal-pc
> description: PersonalPC
>
> What is wrong and how can I fix it?

Does an entry exist for    ou=Group,dc=personal-pc,dc=com  ?

--
Dave
--
Dave Lewney
Principal Systems Programmer, IT Services
University of Sussex, Brighton BN1 9QJ. Tel: 01273 678354 Fax: 01273 271956