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

Re: OU under OU



Quoting jawed abbasi <jabbasi@yahoo.com>:

> I am trying created sub group under an OU, but I am getting error as
> under. Basically we have 3 groups and I want to create 3 OUs and 
> keep One OU specific stuff under that OU,
>
> is this possible?

Naturaly :)

> this is my ldif file
>
> dn: ou=Group,ou=rep , dc=navtechinc,dc=com
> ou: rep
> objectClass: organizationalUnit
> description: Samba groups  database

The second line should read:

ou: Group

> [root@pcnavykfsupp2 openldap]# ldapadd  -x -D "cn=Manager,dc=navtechinc,dc=com" -f OUentry  -w secret
> adding new entry "ou=Group,ou=rep , dc=navtechinc,dc=com"
> ldap_add: No such object
>         matched DN: "dc=navtechinc,dc=com"
>         additional info: parent does not exist

You must first create the object 'ou=rep , dc=navtechinc,dc=com',
like this:

----- s n i p -----
dn: ou=rep,dc=navtechinc,dc=com
ou: rep
objectClass: organizationalUnit
description: REP organization description

dn: ou=Group,ou=rep,dc=navtechinc,dc=com
ou: Group
objectClass: organizationalUnit
description: Samba groups  database
----- s n i p -----