Search squid archive

Re: Problems with ldap authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I changed the parameter, but I received the following error:

basic_ldap_auth: WARNING, LDAP search error 'Operations error'
ERR Success

The command line used:

/usr/lib/squid3/basic_ldap_auth \
    -b 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"

My Samba4 Structure is:

empresa.com.br
    Users
    Computers
    Builtin
    Domain Controllers
    ForeignSecurityPrincipals
    EMPRESA
        IT
            Users
        Sales
            Users

...

2015-12-08 16:16 GMT-02:00 Kinkie <gkinkie@xxxxxxxxx>:
On Tue, Dec 8, 2015 at 6:14 PM, Marcio Demetrio Bacci
<marciobacci@xxxxxxxxx> 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

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux