|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Network & Security Any network and / or security related questions should be posted in here. |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I'm trying to authenticate to LDAP from squid, I'm testing from command prompt the squid_ldap_auth file with the command:
/usr/sbin/squid_ldap_auth -v3 -b "dc=mydomain" -f (&(objectclass=posixaccount)(uid=*))" myuser mypassword then I get the following error ERR Success I've tried to with these commands, always with the same error: /usr/sbin/squid_ldap_auth -v3 -b "dc=mydomain" -f "(cn=%s)" /usr/sbin/squid_ldap_auth -v3 -b "dc=mydomain" -f "uid=*" /usr/sbin/squid_ldap_auth -v3 -b "dc=mydomain" -f "objectclass=posixaccount" /usr/sbin/squid_ldap_auth -v3 -b "dc=mydomain" -f "(&(objectClass=person)(cn=%s))" WHAT I'M DOING WRONG???? PLEASE YOUR HELP EXPERTS!!!! |
|
|||
|
The solution:
# /usr/sbin/squid_ldap_auth -v 3 -b "dc=mydomain,dc=com" -D "cn=Administrador,dc=mydomain,dc=com" -w "dodgeram" -f "objectclass=posixaccount" -h 127.0.0.1 usertest usertestpassword OK Thank anyway |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|