Usernames in the login process is encoded with URL encoding, so "Tomas Palfi" becomes Tomas%20Palfi and "test tp" becomes test%20tp
Regards Henrik fre 2003-02-28 klockan 15.08 skrev Tomas Palfi: > when i test squid_ldap_auth from a command line and i pass it for example test (as > login name) and test (as password) then it replies OK. But when i pass it object > with a space such as test tp with password test it returns ERR. > > The test tp is an example of an object from active directory > domain.somewhere.co.uk/Users/test tp - this is known to active directory as an > object in Users. > > thankyou > > -----Original Message----- > From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] > Sent: 28 February 2003 14:03 > To: Tomas Palfi > Cc: Squid "Mailing Group (E-mail) > Subject: Re: [squid-users] spaces in object names on ldap > > > 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 <[EMAIL PROTECTED]> MARA Systems AB, Sweden
