RE: [PHP] ldap_search() question

2003-11-24 Thread Schechter, Ricky
WORKED! You've got it. I had to use the "$attr = "userPassword";" attribute in my case. Thank you very much, Kelly! Ricky -Original Message- From: Kelly Hallman [mailto:[EMAIL PROTECTED] Sent: Sunday, November 23, 2003 12:08 PM To: Schechter, Ricky Cc: '

[PHP] ldap_search() question

2003-11-22 Thread Schechter, Ricky
Do I use ldap_search to authenticate users in LDAP? I can successfully search the LDAP and retrieve user's data based on a search criteria like (cn=something). If I use (password=somepass) or (userPassword=somepass) in the search criteria it comes back with no hits. How should this be done? D