Re: [squid-users] Authentification against DominoNotes LDAP

From: <Stefan.Vogel@dont-contact.us>
Date: Wed, 2 Apr 2003 15:43:57 +0200

I have used your syntax with the changed groupname:

squid_ldap_group -b "o=cag" -f "
(&(cn=CAS_NU_Internetuser)(objectClass=groupOfNames)(member=%u))" -F "
(&(uid=%s)(objectClass=Person))" 172.25.0.19

Of cource I have tried ldapsearch on my Server, with:
ldapsearch -h 172.25.0.19 -p 389 uid="vogels" cn="CAS_NU_Internetuser"
as result I get:
CN=Stefan Vogel,OU=nu,OU=eu,OU=au,O=cag
what is correct for my name. The result is the entry that is in the
"member-field" of the group
Tests with other users are resulting in their names, even if they are not
in the group.

May be I do not completely understand ldap :-(

Regards
Stefan

                                                                           
             Henrik Nordstrom
             <hno@squid-cache.
             org> To
                                       Stefan.Vogel@temic.com
             02.04.2003 14:27 cc
                                       squid-users@squid-cache.org
                                                                   Subject
                                       Re: [squid-users] Authentification
                                       against DominoNotes LDAP
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           

Exacly what are you using now?

Have you tried using the ldapsearch tool to gain an understanding of the
LDAP structure of your server?

Regards
Henrik

ons 2003-04-02 klockan 13.53 skrev Stefan.Vogel@temic.com:
> Hello,
>
> I have checked your syntax, but it still does not work.
>
> I have now renamed the group to "CAS_NU_Internetuser", so it now does not
> have any spaces anymore, but this is not still not working.
>
> When I start the script on the shell, I enter the Shortname (vogels) and
> the goupname (cas_nu_internetuser) seperated by a blank. As result I
> always get ERR.
>
> Any more ideas?
> Is there a way to see more detailed results, but ERR?
>
> Regards
> Stefan
>
>
>
>

> Henrik Nordstrom

> <hno@squid-cache.

> org>
To
> Stefan.Vogel@temic.com

> 02.04.2003 11:45
cc
> squid-users@squid-cache.org

>
Subject
> Re: [squid-users] Authentification

> against DominoNotes LDAP

>

>

>

>

>

>

>
>
>
>
> ons 2003-04-02 klockan 09.56 skrev Stefan.Vogel@temic.com:
> > Thanks, it didn't install correctly, but now I found it in the
> > sourcedirectory.
> >
> > Nevertheless I did not get it working.
> > I have a group called "Internetuser NU" and a basedn "o=cag"
> > I have tried
> > squid_ldap_group -b "o=cag" -f "Internetuser NU" -F uid=%s 172.25.0.19
>
>
> The above -f argument is not a valid LDAP filter specification...
>
> Try this
>
> squid_ldap_group -b "o=cag" -f "(&(cn=Internetuser
> NU)(objectClass=groupOfNames)(member=%u))" -F
> "(&(uid=%s)(objectClass=Person))" 172.25.0.19
>
>
> --
> Henrik Nordstrom <hno@squid-cache.org>
> MARA Systems AB, Sweden
>
>

--
Henrik Nordstrom <hno@squid-cache.org>
MARA Systems AB, Sweden
Received on Wed Apr 02 2003 - 06:44:07 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:36 MST