Re: [squid-users] ldap_auth and Active Directory

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 4 Sep 2002 18:49:04 +0200

You cannot have arguments with spaces in them in squid.conf. If you need
arguments with spaces then create a small shell script wrapper for supplying
the arguments to the helper.

#!/bin/sh
ldap_auth -b dc=infosoftware,dc=com,dc=br -R -D cn="Proxy
User",cn=Users,dc=infosoftware,dc=com,dc=br -w XXXXXXX -f sAMAccountName=%s
192.168.0.1

and then call this wrapper from squid.conf.

Regards
Henrik

Carlos Emir M Macedo wrote:
>
> authenticate_program /usr/lib/squid/ldap_auth -b
> dc=infosoftware,dc=com,dc=br -R -D cn="Proxy
> User",cn=Users,dc=infosoftware,dc=com,dc=br -w XXXXXXX -f
> sAMAccountName=%s 192.168.0.1
Received on Wed Sep 04 2002 - 10:49:18 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:04 MST