This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Authentication with MS AD

Hi I've been trying to use authentication with Microsoft Active Directory but couldn't do it... i searched in the forums and reviewed the manual, but nothing.
Here is the aua log of an authentication process when trying to use http proxy:
2004:07:28-16:10:23 (none) aua[2303]: Started ldap_auth for jri, pass, http
2004:07:28-16:10:23 (none) aua[2303]: Rootdn: lveliz@valueweb.cl
2004:07:28-16:10:23 (none) aua[2303]: Basedn: DC=valueweb, DC=cl
2004:07:28-16:10:23 (none) aua[2303]: Filter: samaccountname=jri
2004:07:28-16:10:23 (none) aua[2303]: User: jri
2004:07:28-16:10:23 (none) aua[2303]: Fac: http
2004:07:28-16:10:23 (none) aua[2303]: Profile: 0
2004:07:28-16:10:23 (none) aua[2303]: Memberattrib: memberof
2004:07:28-16:10:23 (none) aua[2303]: Search status: admin
2004:07:28-16:10:23 (none) aua[2303]: Command: ldapsearch -h 192.168.4.1 -p 389 -D "lveliz@valueweb.cl" -w thepassword -b "DC=valueweb, DC=cl" "samaccountname=jri" -x -LLL
2004:07:28-16:10:23 (none) aua[2303]: Values:
2004:07:28-16:10:23 (none) aua[2303]: LDAP method failed U: jri
2004:07:28-16:10:23 (none) aua[2303]: U:jri F:http R[:D]ENY

I started simple, using samaccountname, no authentication by attribute, and in the proxy settings, no content filtering.
What is missing?


This thread was automatically locked due to age.
Parents Reply Children
  • Hi JRI 
    your ldap settings are correct. It looks like that you cannot connect to the MS ADServer. 
    Run ldapsearch -h 192.168.4.1 -p 389 -D "lveliz@valueweb.cl" -w thepassword -b "DC=valueweb, DC=cl" "samaccountname=jri" -x -LLL on the console and tail -f /var/log/packetfilter.log .... 

    Greetings
    michal
  • I made the ldapsearch, which connects and find the user correctly, no packetfilter log entry....
    Also, I've tried with SAM authentication and works OK.

    In the AUA log appears:
    2004:07:29-10:17:48 (none) aua[13979]: Memberattrib: memberof
    2004:07:29-10:17:48 (none) aua[13979]: Search status: admin
    what is that?
  • There must be something wrong with my domain controller.  [:(]

    I set up another windows LDAP server and authentication worked OK.