[Zope] ldapfilter and script
Andrew Milton
akm at theinternet.com.au
Tue Nov 16 09:16:18 EST 2004
+-------[ Samuele Giovanni Tonon ]----------------------
| hi to all,
| i have ZLDAPConnection on zope 2.7.
|
[snip]
| however if try to print
| e.objectIds() or e.objectValues()
|
| i get only void list and i can't access to attribute of "e"
|
| any hint ?
You'll only get objectIds/Values if your object has sub-values.
you should be able to access the LDAP attributes by name.
e.g. e.uid, but, the case has to match what the LDAP schema thinks it is;
e.g. e.postalCode not e.postalcode.
Attributes will come back by default as lists, so you will need e.uid[0]
to get a single attribute.
--
Andrew Milton
akm at theinternet.com.au
More information about the Zope
mailing list