Re: [Zope-PAS] how to specify a filter for ldap userfolder?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24 Apr 2007, at 14:27, robert rottermann wrote: Hi there, how can I specify a filter like the following: (&(sAMAccountType=805306368) (!(sAMAccountName=_*)) (! (sAMAccountName=~*)) (sn=*) (!(givenName="")) (givenName=*) ) to retrieve users when using LDAPUserfolder? You can't. P.S.: This is off-topic on this list. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGLptURAx5nvEhZLIRAl4MAJ9eHNqg8rWafX3yopAi58fGmIsCYQCfYUkf nhRqBM4A+i5MwZWSg0AUyQM= =bq+e -END PGP SIGNATURE- ___ Zope-PAS mailing list Zope-PAS@zope.org http://mail.zope.org/mailman/listinfo/zope-pas
[Zope-PAS] how to specify a filter for ldap userfolder?
Hi there, how can I specify a filter like the following: (&(sAMAccountType=805306368) (!(sAMAccountName=_*)) (!(sAMAccountName=~*)) (sn=*) (!(givenName="")) (givenName=*) ) to retrieve users when using LDAPUserfolder? I have the impression, that I can only define "positive" matches and not negative ones like !(sAMAccountName=~*) thanks robert begin:vcard fn:robert rottermann n:rottermann;robert email;internet:[EMAIL PROTECTED] tel;work:031 333 10 20 tel;fax:031 333 10 23 tel;home:031 333 36 03 x-mozilla-html:FALSE version:2.1 end:vcard ___ Zope-PAS mailing list Zope-PAS@zope.org http://mail.zope.org/mailman/listinfo/zope-pas
[Zope-PAS] how??
i am doing a plugin for pas, i did this method but it donĀ“t work: security.declarePrivate('authenticateCredentials') def authenticateCredentials(self, credentials): """ Authentication Part login = credentials.get( 'login' ) password = credentials.get( 'password' ) if login is None or password is None: return None return login, login what wrong??? ___ Zope-PAS mailing list Zope-PAS@zope.org http://mail.zope.org/mailman/listinfo/zope-pas