thanks, another question, if i have a real entry in 2,000,000 entries, how can i search all of it's aliases quickly?  Do I need to create an index for the aliasedObjectName?

2009/9/30 Howard Chu <hyc@symas.com>
ºÎƼ wrote:
i create two entry:
dn: uid=real,o=test.com <http://test.com>
userPassword=xxxx
....

dn:uid=alias,o=test.com <http://test.com>
objectClass: alias
objectClass: extensibleObject
aliasedObjectName: uid=real,o=test.com <http://test.com>



can i bind real entry by  alias and real's userPassword  ? if so, how to do?

No, aliases only affect Search operations, nothing else.

--
 -- Howard Chu
 CTO, Symas Corp.           http://www.symas.com
 Director, Highland Sun     http://highlandsun.com/hyc/
 Chief Architect, OpenLDAP  http://www.openldap.org/project/