Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-15-2015, 12:37 AM   #1
Registered: Sep 2010
Posts: 58

Rep: Reputation: 0
Squid LDAP Auth: there is a space in user name

Hi genius,

I am trying to set up a Squid service with LDAP auth. All tests are passed, but I find I cannot get it work if the user name passed to the auth helper contains a space.

Here is a example:
/usr/lib64/squid/basic_ldap_auth -R -D "scan@apac.tld" -W /etc/squid/adpw -b "dc=apac,dc=tld" -f "sAMAccountName=%s" x.x.x.x
scan password
name surname password
ERR Success
I've also tried:
name\ surname password
"name surname" password
"name surname" "password"
'name surname' password
'name surname' 'password'
But none of them work!

Do you have any idea to pass user name containing a space to the squid auth helper?

Many thanks!

Last edited by lesca; 02-15-2015 at 12:39 AM.
Old 02-15-2015, 12:48 AM   #2
Registered: Sep 2010
Posts: 58

Original Poster
Rep: Reputation: 0
After a min I posted this thread, I found a solution:
user%20name password


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LDAP -how to disable ldap auth from client side unibox Linux - Server 3 02-07-2012 07:43 AM
Squid User Auth Encrypt? Sevensins Linux - Security 2 05-14-2010 01:21 PM
Squid & SquidGuard user auth Phreedom Linux - Security 1 01-08-2009 11:29 AM
Squid proxy LDAP auth: finding one user noir911 Linux - Server 1 09-15-2008 06:42 PM
Squid Ldap Auth & Active Directory password prompt in browser ali247 Linux - Networking 3 05-06-2006 12:08 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration