Reading groups from LDAP

Melita Mihaljevic melita.mihaljevic at gmail.com
Wed Jun 18 18:06:12 CEST 2008


On Wed, Jun 18, 2008 at 5:58 PM, Michael Ströder <michael at stroeder.com>
wrote:

> Michael Ströder wrote:
>
>> Melita Mihaljevic wrote:
>>
>>>
>>> My search filter is (it's all in one line):
>>> search_filter =
>>> '(|(&(objectClass=groupOfUniqueNames)(uniqueMember=uid=usera*))
>>> (&(objectClass=groupOfNames)(member=uid=usera*))
>>> (&(objectClass=posixGroup)(memberUid=usera*)))'
>>>
>>
>> Why do you want to do wildcard searches? This is not guaranteed to work
>> since some of the member attributes might not even have a SUBSTR matching
>> rule assigned.
>
> Because I know only uid and don't now the other user informations

>
>>
> And note that user-IDs might not always be in the attribute 'uid'. It's
> perfectly valid that a user enters his e-mail address into the login form
> and you first have to search for the user's entry which might not have
> attribute 'uid' set at all.

Because in the MoinMoin I search only groups with uid in it,only those are
important for me.

Mel



-- 
Melita MIhaljevic|melita.mihaljevic at gmail.com| melita.mihaljevic at
fer.hr
ICQ: 201278527 | Gtalk: melita.mihaljevic |
http://mihaljevicmelita.blogspot.com/
PGP: 0xDB17A80C | http://fly.srk.fer.hr/~gizmo
http://www.last.fm/user/maligizmo/ | http://www.linkedin.com/in/mmihaljevic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20080618/b0fa822a/attachment.html>


More information about the python-ldap mailing list