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

2005-04-18 Thread D & E Radel
From: "Henrik Nordstrom" <[EMAIL PROTECTED]> To: "D & E Radel" <[EMAIL PROTECTED]> Cc: "Matthias Dettling" <[EMAIL PROTECTED]>; Sent: Tuesday, April 19, 2005 8:52 AM Subject: Re: [squid-users] Configuring authentication with ldap_auth and two d

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

2005-04-18 Thread Henrik Nordstrom
On Mon, 18 Apr 2005, D & E Radel wrote: Do you know anything about the squid_ldap_group program? I have tried so many things but cannot get an "OK" from it. Do you have any samples that work? It shares a lot of the configuration syntax with squid_ldap_auth. The pieces needed is a) User search fi

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

2005-04-18 Thread D & E Radel
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 | /usr/lib/squid/ldap_

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-17 Thread D & E Radel
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 | /usr/lib/squid/ldap_

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

2005-04-16 Thread D & E Radel
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" == "O

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 D & E Radel
> > Hi Matthias (and anyone else reading this) > > > > I have tried the solution and cannot get it > > working. I replaced this line: > > auth_param basic program > > /usr/lib/squid/ldap_auth .. > > with reference to my script: > > "auth_param basic program > > /etc/squid/multi_domains

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 i

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

2005-04-12 Thread D & E Radel
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 paramete

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 in $

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

2005-04-11 Thread D & E Radel
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 in $1, $2, .

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. The

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

2005-04-09 Thread D & E Radel
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

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 wish

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

2005-04-09 Thread D & E Radel
Repost. I have posted many times, but it never turns up. Does this list block gmail? Anyways, here's my question: --- 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 ha

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

2005-04-09 Thread grolschie
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 wish to authenticat

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

2005-04-08 Thread grolschie
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 wish to authenticat

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

2005-04-08 Thread grolschie
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 wish to authenticate against. Is it possible to do this with Squid and LDAP? Here is my current