Vitality,<br>Thanks for your support.<br><br>actually, an user adder plugin is what I&#39;ve done... and it is also what I didn&#39;t want to do :P<br><br>after all this is better. Now I have a full control over the registration process.<br>

<br>PloneFormController... you&#39;ll be always in my heart. RIP ;)<br><br>bye<br><br><br><div class="gmail_quote">2011/4/14 Vitaliy Podoba <span dir="ltr">&lt;<a href="mailto:vitaliypodoba@gmail.com" target="_blank">vitaliypodoba@gmail.com</a>&gt;</span><br>






<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In article &lt;BANLkTikc1ZzRGcQjyAQawjTirO=<a href="mailto:hdf047w@mail.gmail.com" target="_blank">hdf047w@mail.gmail.com</a>&gt;,<br>







<div> SauZheR &lt;<a href="mailto:sauzher@gmail.com" target="_blank">sauzher@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi there.<br>
&gt; These are 7 loc in Products.PloneLDAP/mixin/useradder.py<br>
&gt;<br>
&gt; 1   # Evil: grab all schema attributes and will them with a default<br>
&gt; 2   # text. This is needed to be able to create LDAP entries where<br>
&gt; 3   # attributes besides uid, login and rdn are required.<br>
&gt; 4   for (key,name) in acl.getLDAPSchema():<br>
&gt; 5       if key not in attrs:<br>
&gt; 6           attrs[key]=&quot;unset&quot;<br>
&gt; 7   res=acl.manage_addUser(kwargs=attrs)<br>
&gt;<br>
&gt; There is an _integer_ ldap attribute in schema definition for which &quot;unset&quot;<br>
&gt; is rejected by lower tier cause it is obviously a string.<br>
&gt;<br>
&gt; any suggestions?<br>
<br>
</div>Hi,<br>
<br>
While doing client&#39;s project I had the same issue as had to maintain<br>
users with a bunch of extra ldap properties of different data types. For<br>
this I developed enhanced ldap plugin which did all data type conversion<br>
between python data types and ldap attribute syntaxes.<br>
<br>
Here is just a quick extraction of that client project&#39;s code I made a<br>
while ago. Not sure if it&#39;ll work w/o any issues for you. At least it&#39;ll<br>
give you an idea on how to do data type conversions.<br>
<br>
Actually I&#39;m planning to make a full-featured release of these<br>
enhancements. But it won&#39;t be within the next couple of months<br>
unfortunately as I don&#39;t have enough time for this yet.<br>
<br>
Another option could be bda.ldap approach to integrate ldap with plone,<br>
but I&#39;m not sure about it&#39;s state. Half a year ago it was in a<br>
development mode yet.<br>
<br>
Cheers,<br>
Vitaliy Podoba<br>
<br>
_______________________________________________<br>
Product-Developers mailing list<br>
<a href="mailto:Product-Developers@lists.plone.org" target="_blank">Product-Developers@lists.plone.org</a><br>
<a href="https://lists.plone.org/mailman/listinfo/product-developers" target="_blank">https://lists.plone.org/mailman/listinfo/product-developers</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>  bye<br>SauZheR<br>************************************<br>l&#39;iterazione č umana...<br>la ricorsione, Divina!<br>************************************<br>reply to: sauzher AT gmail DOT com<br>







<div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div>
<div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">

</div>