how to write filter argumnt for search function of LDAPObject class

2008-03-09 Thread Yang Cheng Fu
Hi guys, I am trying to access windows Active directory by using python-ldap, but I do not know how to write filter argument for search function. search(base, scope [,filterstr='(objectClass=*)' [, attrlist=None [, attrsonly=0]]]). For example: A filter sting which based on RFC4515 (htt

RE: how to write filter argumnt for search function of LDAPObject class

2008-03-09 Thread Yang Cheng Fu
information, just ask. Thanks a lot --- YANG ChengFu Unix Administrator Gameloft -- Global Network Services (GNS) * mailto:[EMAIL PROTECTED] * +86(10)8260-7783 ext.8221 From: Chaos Eternal [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2008 12:36 PM To:

RE: how to write filter argumnt for search function of LDAPObject class

2008-03-09 Thread Yang Cheng Fu
To: Yang Cheng Fu Cc: [email protected] Subject: Re: how to write filter argumnt for search function of LDAPObject class ##here comes the translation: I'm using python-ldap to access Windows Active Directory, but I don't know howto write the 'filter&#x

RE: how to write filter argumnt for search function of LDAPObject class

2008-03-10 Thread Yang Cheng Fu
: Yang Cheng Fu Cc: [email protected] Subject: Re: how to write filter argumnt for search function of LDAPObject class Yang Cheng Fu wrote: > > I am trying to access windows Active directory by using python-ldap, but > I do not know how to write filter argument for search