> you are actually authenticating with the user's DN or distinguished
> name...
> this part of your code builds the DN
> "cn=" + sCn + ",ou=people,dc=mycompany,dc=com"
> if the uid were part of the DN instead
> "dn=" + sUid + ",ou=people,dc=mycompany,dc=com"
> you bind to ldap using the DN and password of the user

For a simple bind, yes.  It is better to configure and use SASL binds.

-- 
Adam Tauno Williams, Network & Systems Administrator
Consultant - http://www.whitemiceconsulting.com
Developer - http://www.opengroupware.org


---
You are currently subscribed to [EMAIL PROTECTED] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to