On 1/7/04 6:40 am, news.hinet.net <[EMAIL PROTECTED]> wrote: > When search an entry that have attribute(objectclass:alias) i got the error > message: > a problem while attempting to dereference an alias > > How to search an entry that have attribute(objectclass:alias) ? > > > dn: uid=alaistest,ou=test,ou=people,dc=pduke,dc=com,dc=tw > objectClass: top > objectClass: shadowAccount > objectClass: alias > uid: luke > aliasedObjectName: uid=happy5,ou=week1,ou=people,dc=pduke,dc=com,dc=tw
The search method has a 'deref' parameter (see the Net::LDAP documentation), which should let you control how the server processes aliases during the search. Cheers, Chris
