Search squid archive

Using LDAP and NCSA auth

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

 



Hi there,

i'm currently trying to do authentication against LDAP and NCSA auth -
but it looks like, the user is never checked against NCSA if auth
against LDAP failed (because the user doesn't exist):

> auth_param basic program /usr/lib/squid3/basic_ldap_auth -R -b "dc=COMPANY,dc=int" -D squid@xxxxxxxxxxx -W /etc/squid3/ldappass.txt -f sAMAccountName=%s -h ldap.company.int
> auth_param basic children 100
> auth_param basic realm Internet Proxy
> auth_param basic credentialsttl 5 minute
> 
> auth_param basic program /usr/lib/squid3/basic_ncsa_auth /etc/squid3/passwd
> auth_param basic realm Internet Proxy Basic
> 
> acl auth proxy_auth REQUIRED

If i try ncsa auth manually, it works:

> root@proxy:~# /usr/lib/squid3/basic_ncsa_auth /etc/squid3/passwd
> nikola testla
> OK


The same is true for LDAP auth. But i can't get a fallback working. How
could i solve this?

-- 
Schinken

Backspace e.V.
http://hackerspace-bamberg.de

mail: schinken@xxxxxxxxxxxxxxxxxxxxxx
xmpp: schinken@xxxxxxxxxxx (otr)
GPG: FFB7 E40D B2DD D24C C9B7 B5C5 703C F8B8 882C 871E

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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