Re: [squid-users] Configuring authentication with ldap_auth and two domains?

2005-04-18 Thread Matthias Dettling
D E Radel schrieb: The second problem was the way of reading the input from stdin. I have here a complete script which should also work at your site. --- #!/bin/sh # read from stdin until EOF is received while read INP; do DOMAIN1=`echo $INP |

Re: [squid-users] Configuring authentication with ldap_auth and two domains?

2005-04-16 Thread Matthias Dettling
Hello grolschie, i now have tested the script in a working environment. At my site the script didn't work also. The first problem was the string compare. I only glanced at the script, so I didn't see the mistake. In the future you should do string compares always in this way: if [ $DOMAIN1 == OK

Re: [squid-users] Configuring authentication with ldap_auth and two domains?

2005-04-13 Thread Matthias Dettling
D E Radel schrieb: Matthias Dettling wrote: Hello grolschie, as I know %s isn't a variable that is passed to /usr/lib/squid/ldap_auth, instead it is a variable from that program, which tells it, that %s must be replaced with the username. By the way parameters of a shell script can be found

Re: [squid-users] Configuring authentication with ldap_auth and two domains?

2005-04-11 Thread Matthias Dettling
D E Radel schrieb: Matthias Dettling wrote: grolschie wrote: Repost, as the first never came through at my end. Sorry if it's a dupe. --- Hi y'all. I have searched through the docs, and cannot find alot on ldap_auth. I use Squid + LDAP instead of SMB to authenticate against our 2003 Server

Re: [squid-users] Configuring authentication with ldap_auth and two domains?

2005-04-11 Thread Matthias Dettling
D E Radel schrieb: Matthias Dettling wrote: Hello grolschie, as I know %s isn't a variable that is passed to /usr/lib/squid/ldap_auth, instead it is a variable from that program, which tells it, that %s must be replaced with the username. By the way parameters of a shell script can be found

Re: [squid-users] Configuring authentication with ldap_auth and two domains?

2005-04-09 Thread Matthias Dettling
grolschie wrote: Repost, as the first never came through at my end. Sorry if it's a dupe. --- Hi y'all. I have searched through the docs, and cannot find alot on ldap_auth. I use Squid + LDAP instead of SMB to authenticate against our 2003 Server. The problem is that we have two domains that I

[squid-users] Problem with squid_ldap_auth and squid.conf

2005-02-12 Thread Matthias Dettling
I have a problem with the following configuration line: authenticate_program /usr/lib/squid/squid_ldap_auth -u CN -b CN=Users,DC=xyz,DC=local -D CN=Administrator,CN=Users,DC=xyz,DC=local -w PASSWORD -s sub -f memberOf=CN=Internet,CN=Users,DC=xyz,DC=local IP-ADRESS The strange thing is, that