openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Network & Security » Desperado! Please Help With Squid + Ldap

Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Network & Security
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Network & Security Any network and / or security related questions should be posted in here.

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 18-Apr-2008, 13:47
edortizq
Guest
 
Posts: n/a
Default

I'm trying to authenticate to LDAP from squid, I'm testing from command prompt the squid_ldap_auth file with the command:

/usr/sbin/squid_ldap_auth -v3 -b "dc=mydomain" -f (&(objectclass=posixaccount)(uid=*))"

myuser mypassword

then I get the following error

ERR Success


I've tried to with these commands, always with the same error:

/usr/sbin/squid_ldap_auth -v3 -b "dc=mydomain" -f "(cn=%s)"

/usr/sbin/squid_ldap_auth -v3 -b "dc=mydomain" -f "uid=*"

/usr/sbin/squid_ldap_auth -v3 -b "dc=mydomain" -f "objectclass=posixaccount"

/usr/sbin/squid_ldap_auth -v3 -b "dc=mydomain" -f "(&(objectClass=person)(cn=%s))"


WHAT I'M DOING WRONG???? PLEASE YOUR HELP EXPERTS!!!!
  #2 (permalink)  
Old 18-Apr-2008, 15:44
edortizq
Guest
 
Posts: n/a
Default

The solution:
# /usr/sbin/squid_ldap_auth -v 3 -b "dc=mydomain,dc=com" -D "cn=Administrador,dc=mydomain,dc=com" -w "dodgeram" -f "objectclass=posixaccount" -h 127.0.0.1
usertest usertestpassword
OK

Thank anyway
  #3 (permalink)  
Old 18-Apr-2008, 20:38
init7
Guest
 
Posts: n/a
Default

Glad it solved, sorry you have to solve it yourself.
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2