[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
LDAP Alias problem
Hello,
I am trying to implement a simple alias setup in which
cn=Manager,dc=myclient,dc=com is an alias for
uid=bigcheese,ou=People,dc=myclient,dc=com. The purpose is to be able
to retrieve arbitrary attributes of bigcheese by specifying Manager. I
can't seem to accomplish this.
When I do an ldapsearch with scope = one and base = dc=myclient,dc=com
for (cn=Manager) I get the following results:
deref always: no results
deref find: The aliased object, but no bigcheese
deref search: no results
deref never: The aliased object, but no bigcheese
I imagine the error is with my expectations and my understanding of LDAP
aliases, but I thought I'd poll the experts :)
LDIFs follow,
Ryan Hoegg
I have ldapadd'd the following ldifs:
dn: dc=myclient,dc=com
objectclass: dcObject
dc: myclient
dn: ou=People,dc=myclient,dc=com
objectClass: top
objectClass: organizationalUnit
ou: People
dn: uid=bigcheese,ou=People,dc=myclient,dc=com
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: qmailUser
uid: bigcheese
mail: bigcheese@myclient.com
cn: Big Cheese
sn: Cheese
userPassword: isupposeyouexpectedarealpassword
loginShell: /bin/bash
uidNumber: 12345
gidNumber: 123
homeDirectory: /home/bigcheese
gecos: Big Cheese
mailMessageStore: myclient.com/bigcheese
dn: cn=Manager,dc=insertcredit,dc=com
objectClass: alias
objectClass: organizationalRole
cn: Manager
aliasedObjectName: uid=bigcheese,ou=People,dc=myclient,dc=com