[squid-users] Problems with ldap authentication
Kinkie
gkinkie at gmail.com
Tue Dec 8 18:16:54 UTC 2015
On Tue, Dec 8, 2015 at 6:14 PM, Marcio Demetrio Bacci
<marciobacci at gmail.com> wrote:
> Hi
>
> In the Squid Server, I want only basic authentication.
>
> The command:
>
> /usr/lib/squid3/basic_ldap_auth \
> -b cn=users,dc=empresa,dc=com,dc=br \
> -D cn=proxy,cn=users,dc=empresa,dc=com,dc=br -w test_12345 \
> -h 192.168.0.25 -p 389 -s sub -v 3 -f "sAMAccountName=%s"
>
> shows "Success" to authenticate only the users in Organization Unity (OU)
> "Users", but in my domain I have many OU that has users as TI, Financial,
> Sales..
>
> How I get authenticate the users in others OU?
Since you are using "sub" as search scope, you simply have to move up
one level in the base-DN tree.
Change the parameter
-b cn=users,dc=empresa,dc=com,dc=br
to
-b dc=empresa,dc=com,dc=br
Francesco Chemolli
More information about the squid-users
mailing list