16 Nov
2004
16 Nov
'04
2:16 p.m.
+-------[ 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@theinternet.com.au