LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 10-24-2007, 07:35 AM   #1
moochachiro
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Rep: Reputation: 0
why squid authen ldap is not work? what i do wrong? (need help)


dear all
this is my first time posting here. and i hope i will find someone to help me solve some problem.
the problem is I tried to use squid_auth_ldap.
so i wrote the configuration file like below

auth_param basic program /usr/lib/squid/squid_ldap_auth -b "<my user base dn>" -f "uid=%s" -h <my host>

and i tested the correctness with command

/usr/lib/squid/squid_ldap_auth -b "<my user base dn>" -f "uid=%s" -h <my host>
and follow by <username> (1 write space) <password>
it appeared "OK".

So I deployed on testing machine. It's work. then i deploy on real server with 1500 users, It's not work. it appeared box to input username and password 3 times and told "access denial".
i don't know what i do wrong? or are there some option of command missing?
if you can give me some suggestion please help me.
thanks a lot
chan
 
Old 10-25-2007, 08:28 AM   #2
lsteacke
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 99

Rep: Reputation: 16
When you say a box appeared for the username and password, what account was this supposed to be for? Is the LDAP server a windows box running AD? The command line looks to be correct, and my first thought is that the problem has to do with the 1500 user accounts existing and squid basically not being able to validate against them.
 
Old 10-26-2007, 05:09 AM   #3
moochachiro
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Original Poster
Rep: Reputation: 0
thanks

thanks for your interested.
the ldap server and the proxy server both are linux os (redhat). and the account that i use, i use the inetOrganize object class to store the personal data (uid, userpassword, mail, sn).
 
  


Reply



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
squid + ldap or squidguard + ldap or both ?? hackintosh Linux - Server 0 09-18-2007 04:36 AM
something wrong with ldap yuboking199 Red Hat 0 08-08-2007 04:30 AM
Authen in LDAP with samba u4113072 Linux - Networking 1 06-25-2003 09:51 PM
Authen in LDAP with samba and squid u4113072 Linux - Software 0 06-03-2003 01:33 AM
squid with ldap aqoliveira Linux - Software 0 11-18-2002 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:18 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration