[Product-Developers] Products.PloneLDAP: adduser with integer required ldap attribute...
SauZheR
sauzher at gmail.com
Wed Apr 13 10:52:25 UTC 2011
Hi there.
These are 7 loc in Products.PloneLDAP/mixin/useradder.py
1 # Evil: grab all schema attributes and will them with a default
2 # text. This is needed to be able to create LDAP entries where
3 # attributes besides uid, login and rdn are required.
4 for (key,name) in acl.getLDAPSchema():
5 if key not in attrs:
6 attrs[key]="unset"
7 res=acl.manage_addUser(kwargs=attrs)
There is an _integer_ ldap attribute in schema definition for which "unset"
is rejected by lower tier cause it is obviously a string.
any suggestions?
--
bye
SauZheR
************************************
l'iterazione è umana...
la ricorsione, Divina!
************************************
reply to: sauzher AT gmail DOT com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20110413/767745e3/attachment-0002.html>
More information about the Product-Developers
mailing list