LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-28-2004, 12:09 PM   #1
bahadur
Member
 
Registered: Apr 2004
Distribution: Linux Red Hat
Posts: 141

Rep: Reputation: 15
cannot authenticate users in squid through winbind


ok i have configured squid accurately and it is working

now i want to authenticate users through winbind. first when every i try the ntlm protocol it doesnt recognizes it so i have to use only the basic scheme. plz tell me why is it not recognizing it and what to do about it. then the second problem is

here is my squid.conf



visible_hostname squidserver
cache_peer 10.10.4.65 parent 80 0 no-query default
acl all src 0.0.0.0/0.0.0.0
never_direct allow all
auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic --require-membership-of='LINWIN.EDU.PK/Domain Users'
auth_param basic children 5
auth_param basic realm LINWIN.EDU.PK
auth_param basic credentialsttl 2 hours
acl AuthorizedUsers proxy_auth REQUIRED
http_access allow AuthorizedUsers
http_port 3128
debug_options ALL,1

now i do get a prompt when i try to access a website but it is not letting me authenticate.

i checked the cahce.log file and this is what it tells me

2004/07/29 11:06:40, 0] utils/ntlm_auth.c:get_require_membership_sid(237)
Winbindd lookupname failed to resolve 'LINWIN.EDU.PK/Domain into a SID!

now why is it taking 'LINWIN.EDU.PK/Domain instead of the real 'LINWIN.EDU.PK/Domain Users'

whats wrong and why is it ommiting the word Users. although i have placed it inside the comma.

Last edited by bahadur; 07-28-2004 at 12:11 PM.
 
Old 07-28-2004, 06:51 PM   #2
jhumeston
Member
 
Registered: Mar 2004
Posts: 50

Rep: Reputation: 15
Remember linux doesnt have spaces in group or user names. You will have to add a winbind seperator to your configuration. Im not familiar with squid, but in samba its just the case of adding the line:
winbind seperator=+

then the group domain+users can be used.
 
  


Reply


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
Winbind will not authenticate new 2003 domain users kaiser.jd Linux - Networking 2 04-09-2006 08:48 PM
how to authenticate external users but bypass prompt on local LAN users? taiwf Linux - Security 5 07-13-2005 09:01 AM
unable to authenticate ntlm users using squid tobushan Linux - Networking 1 04-07-2005 02:40 AM
Authenticate to 2k3 PDC with winbind VertigoRay Linux - Networking 12 04-28-2004 10:00 AM
Authenticate to 2k3 PDC with winbind VertigoRay Linux - Software 0 09-27-2003 12:23 PM


All times are GMT -5. The time now is 02:36 PM.

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