Debian 12 + Squid 5.7 + Ldap
by Renobr from LinuxQuestions.org on (#6DWTZ)
Hello guys, how are you? All good?
I'm having some trouble with the connection of my squid to my AD.
I have the following configuration of the line
Code:/usr/lib/squid/basic_ldap_auth -P -R -d -b "dc=my,dc=domain,dc=com,dc=br" -D "cn=suserldap,ou=Administradores,ou=master,ou=premium,dc=my,dc=domain,dc=com,dc=br" -w "amaterasu" -f sAMAccountName=%s -v 3 -h 192.168.0.22When a user tries to access the internet it asks for the login and password and it shows with debug the following lines:
basic_ldap_auth.cc(702): pid=184272 :user filter 'sAMAccountName=rochaner', searchbase 'dc=praiagrande,dc=sp,dc=gov,dc=br'
basic_ldap_auth.cc(757): pid=184272 :attempting to authenticate user 'CN=Rochane Rocha - RF: 47.750 - SEFIN,CN=Users,DC=praiagrande,DC=sp,DC=gov,DC=br'
ERR Invalid credential
Now, if I add the DC computer to the user so that he/she can log in, it gives the messages:
basic_ldap_auth.cc(702): pid=184272 :user filter 'sAMAccountName=rochaner', searchbase 'dc=praiagrande,dc=sp,dc=gov,dc=br'
basic_ldap_auth.cc(757): pid=184272 :attempting to authenticate user 'CN=Rochane Rocha - RF: 47.750 - SEFIN,CN=Users,DC=praiagrande,DC=sp,DC=gov,DC=br'
OK
I can't let a normal user to have access to our DC, have anyone had this kind of problem?
I'm having some trouble with the connection of my squid to my AD.
I have the following configuration of the line
Code:/usr/lib/squid/basic_ldap_auth -P -R -d -b "dc=my,dc=domain,dc=com,dc=br" -D "cn=suserldap,ou=Administradores,ou=master,ou=premium,dc=my,dc=domain,dc=com,dc=br" -w "amaterasu" -f sAMAccountName=%s -v 3 -h 192.168.0.22When a user tries to access the internet it asks for the login and password and it shows with debug the following lines:
basic_ldap_auth.cc(702): pid=184272 :user filter 'sAMAccountName=rochaner', searchbase 'dc=praiagrande,dc=sp,dc=gov,dc=br'
basic_ldap_auth.cc(757): pid=184272 :attempting to authenticate user 'CN=Rochane Rocha - RF: 47.750 - SEFIN,CN=Users,DC=praiagrande,DC=sp,DC=gov,DC=br'
ERR Invalid credential
Now, if I add the DC computer to the user so that he/she can log in, it gives the messages:
basic_ldap_auth.cc(702): pid=184272 :user filter 'sAMAccountName=rochaner', searchbase 'dc=praiagrande,dc=sp,dc=gov,dc=br'
basic_ldap_auth.cc(757): pid=184272 :attempting to authenticate user 'CN=Rochane Rocha - RF: 47.750 - SEFIN,CN=Users,DC=praiagrande,DC=sp,DC=gov,DC=br'
OK
I can't let a normal user to have access to our DC, have anyone had this kind of problem?