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