Re: [squid-users] spaces in object names on ldap

From: Henrik Nordstrom <[email protected]>
Date: 28 Feb 2003 15:03:24 +0100

Not entirely sure on your question.. usernames is never passed on the
commandline.

There is a patch for Squid-2.5 to allow command line arguments with
spaces. See http://www.squid-cache.org/Versions/v2/2.5/bugs/. For
earlier versions you need to put the arguments in a small shell script
wrapper calling the helper with the correct arguments.

Usernames in the login process is encoded with URL encoding, so "Tomas
Palfi" becomes Tomas%20Palfi, but this does not apply to command line
arguments.

Regards
Henrik

fre 2003-02-28 klockan 13.51 skrev Tomas Palfi:
> to all,
>
> when testing from a command line, i can only authenticate user's login name against active directory that has no space in the object, however when authenticating user who's login name is one string only, but object name includes space (ie. first last) will not be authenticated.
>
> how do i escape the space on a command line or when running squid_ldap_auth from squid.conf?
> thankyou
>
> --
> tp
>
>
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star Internet. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ________________________________________________________________________

-- 
Henrik Nordstrom <hno@squid-cache.org>
MARA Systems AB, Sweden
Received on Fri Feb 28 2003 - 07:03:34 MST

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