[squid-users] squid_ldap_auth and -s sub

This is a discussion on [squid-users] squid_ldap_auth and -s sub within the Squid Users forums, part of the Web Server and Related Forums category; Hello all, I'm having problems with the squid_ldap_auth module from squid-3.0.DEVEL-20030629. It does not seems ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-01-2003
Estevam Viragh Junior
 
Posts: n/a
Default [squid-users] squid_ldap_auth and -s sub

Hello all,

I'm having problems with the squid_ldap_auth module from
squid-3.0.DEVEL-20030629.
It does not seems to work with -s sub option.
(I'm using this version cause I need LDAPv3.)

Every thing works fine if I use:

[root@rhapsody ~/sources]#./squid_ldap_auth -v 3 -b
"ou=accounts,o=sitelbrasil.com.br"
estevam.viragh 123
OK

(LDIF of the matched dn.)
dn: uid=estevam.viragh, ou=accounts, o=sitelbrasil.com.br
givenName: Estevam
accountStatus: active
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: qmailuser
userPassword::#######################
mailMessageStore: estevam.viragh
uid: estevam.viragh
mail: estevam.viragh@sitelbrasil.com.br
cn: Estevam Viragh Junior
mailHost: 127.0.0.1
sn: Viragh

But, If I change the command line to:

[root@rhapsody ~/sources]#./squid_ldap_auth -v 3 -b
"ou=accounts,o=sitelbrasil.com.br" -s sub -f "(uid=%s)"
renato.diniz 123
ERR

It does not find the following dn:

dn: uid=renato.diniz, ou=network, ou=it, ou=accounts,
o=sitelbrasil.com.br
mailMessageStore: renato.diniz
givenName: Renato
sn: Diniz
userPassword:: ##########
mail: renato.diniz@sitelbrasil.com.br
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: qmailuser
uid: renato.diniz
accountStatus: active
mailHost: 127.0.0.1
cn: Renato Rodriguez Diniz

I'm sure the LDAP search is ok cause the ldapsearch as follows is
working fine:

[root@rhapsody ~/sources]#ldapsearch -LLL -v -h localhost -D "MYUSER" -w
MYPASS -s sub -b
"o=sitelbrasil.com.br" "(uid=renato.diniz)"
ldap_init( localhost, 0 )
filter: (uid=renato.diniz)
requesting: ALL
dn: uid=renato.diniz,ou=network,ou=it,ou=accounts,o=si telbrasil.com.br
mailMessageStore: renato.diniz
givenName: Renato
sn: Diniz
userPassword:: #####
mail: renato.diniz@sitelbrasil.com.br
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: qmailuser
uid: renato.diniz
accountStatus: active
mailHost: 127.0.0.1
cn: Renato Rodriguez Diniz

So, What I'm doing wrong ?
Is that so other stable version which supports LDAPv3 ?


rgds,
ESTEVAM VIRAGH JUNIOR
Sitel do Brasil



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.495 / Virus Database: 294 - Release Date: 30/6/2003

Reply With Quote
Reply


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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:00 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0