Re: [squid-users] squid_ldap_auth referral issue

From: Stefano Mason <stefano.mason@dont-contact.us>
Date: Tue, 11 May 2004 11:53:07 +0200

Stefano Mason wrote:
> Some one can inform me where I'm wrong.
>

NO one!

> squid_ldap_auth don't follow referral!
>

May be!

> Version: squid-2.5.STABLE5
> OS: Red Hat Linux release 9
>

squid_ldap_auth have useless -R parameter! With or without is the same!

Thanks!
Cheers.
Stefano

> Test:
>
> [smason@perry LDAP]$ ./squid_ldap_auth -b "o=t-systems,c=it" -f "uid=%s"
> ldap
> myworkroomtest1 livelink
> OK
>
> Issue (holly is another ldap with referral):
> [smason@perry LDAP]$ ./squid_ldap_auth -b "o=t-systems,c=it" -f "uid=%s"
> holly
> myworkroomtest1 livelink
> squid_ldap_auth: WARNING, LDAP search error 'Referral'
> squid_ldap_auth: WARNING, LDAP search error 'Referral'
> ERR
>
> Same test with ldapsearch:
>
> [smason@perry LDAP]$ ldapsearch -x -b "o=t-systems,c=it" -h holly
> uid=myworkroomtest1
> version: 2
>
> #
> # filter: uid=myworkroomtest1
> # requesting: ALL
> #
>
> # search result
> search: 2
> result: 10 Referral
> ref: ldap://ldap.debis.it:389/O%3dT-Systems,C%3dIT
>
> # numResponses: 1
>
> (ldapsearch with -C parameter)
>
> [smason@perry LDAP]$ ldapsearch -C -x -b "o=t-systems,c=it" -h holly
> uid=myworkroomtest1
> version: 2
>
> #
> # filter: uid=myworkroomtest1
> # requesting: ALL
> #
>
> # myworkroomtest1, User, T-Systems, IT
> dn: CN=myworkroomtest1,OU=User,O=T-Systems,C=IT
> mail: myworkroomtest1@t-systems.it
> objectclass: inetOrgPerson
> objectclass: organizationalPerson
> objectclass: person
> objectclass: top
> sn: myworkroomtest1
> uid: myworkroomtest1
> ars: generale
>
> # search result
> search: 2
> result: 0 Success
>
> # numResponses: 2
> # numEntries: 1
>
>
> squid_ldap_auth return 2 time the same error "squid_ldap_auth: WARNING,
> LDAP search error 'Referral'", is possible the second time don't use the
> new ldapurl/host?
>
> Many thanks in advance.
> Best regards.
> Stefano
>
Received on Tue May 11 2004 - 03:53:10 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:01 MDT