[Zope] LDAPUserFolder and user management with Organisational Unit...

Gelin Patrick Patrick.Gelin at rpn.ch
Tue Sep 16 10:20:54 EDT 2003


Hi,

I have to use Orgnisational Unit inside Active Directory to manage users
with my LDAPUserFolder. The problem is  I don't know how to filter users
with OU. For exemple I would like to list all users for:

 cn=*,ou=Auvernier,ou=Eprim,ou=Utilisateurs,o=rpn.ch

The modul LDAPUserFolder declare this method:

findUser(self, search_param, search_term, attrs=[])

It seems impossible to use it with OU????

/////////////////////////////////////////////
         MY DIT WITH ACTIVE DIRECTORY
/////////////////////////////////////////////
o=rpn.ch
ou=Utilisateurs    <= root for users
        ou=EPrim    <= school level unit
              ou=Auvernier    <= geographical unit
                    cn=BaderE      <= user
                    cn=BeuretSY   <= user
                       ...
              ou=Bayards    <= geographical unit
              ...
        ou=ESec1    <= school level unit
        ...
/////////////////////////////////////////////

Patrick Gelin 

Chef de projet du portail RPN
Office de la Statistique et de l'Informatique Scolaire (OSIS)
CH-2300 La Chaux-de-Fonds
Telephone: +41 (0)32 919 79 13
Email: patrick.gelin at rpn.ch



More information about the Zope mailing list