[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Aliased rules
- To: <OpenLDAP-software@OpenLDAP.org>
- Subject: Aliased rules
- From: "Naresh Verma" <ixnaresh@gmail.com>
- Date: Thu, 29 Sep 2005 15:02:44 +0530
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:from:to:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=kZoH8D15XoHfyCLHsJaBAOaq9IiGKsB22dJmZr2unnfvhV8JByAUzEqPUQdRiMtiWYtYaXcEDeCRb2czRnvP4QWNgbE7umk3PRCO/OeaQNskqfMElzKJd4sxafHoYviXRcSgGtfJ9vAH+bTC8NzOZ+3R6TP1WqbDDCQYr7LSteU=
Hi,
I have the following LDIF -
**********
dn: o=mycompany,dc=domain,dc=com
description: Company
o: mycompany
objectClass: organization
objectClass: top
dn: c=US,o=mycompany,dc=ixiacom,dc=com
c: US
description: US
objectClass: country
objectClass: top
dn: ou=Staff,c=US,o=mycompany,dc=ixiacom,dc=com
objectClass: organizationalUnit
objectClass: top
ou: Staff
dn: cn=Naresh Verma,ou=Staff,c=US,o=mycompany,dc=domain,dc=com
description: staff member
objectClass: organizationalPerson
objectClass: person
objectClass: top
sn: Verma
cn: Naresh Verma
**********
Now, I am trying to create an alias for Staff as -
**********
dn: ou=staff,dc==domain,dc=com
objectClass: alias
aliasedObjectName: ou=Staff,c=US,o=mycompany,dc=ixiacom,dc=com
**********
With the ldapadd command - " ldapadd -x -D
"cn=Manager,dc=domain,dc=com" -W -f /tmp/aliasstaff " I get the following
error -
ldap_add: Naming violation (64)
additional info: naming attribute 'ou' is not present in entry
But the ou is present in the dn as ou=staff,dc==domain,dc=com. I tried using
cn,uid instead of ou in the alias dn but the same error comes complaining
that the cn,uid are not present respectively.
Any idea what is wrong in my configuration. I am not able to isolate the
problem
Thanks,
Naresh