<div dir="ltr">Hi <span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">Aleksander,</span><div><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">thanks for reply.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">I tried to create a user with the same surname, but webadmin interface raise an </span><font color="#000000" style="background-color:rgb(255,255,255)"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;line-height:20px">Internal error (in log file I have </span><font face="Verdana, Arial, Helvetica, sans-serif"><span style="font-size:12px;line-height:20px">ldap_add(): Add: Already exists....). </span></font></font></div>
<div><font color="#000000" style="background-color:rgb(255,255,255)"><font face="Verdana, Arial, Helvetica, sans-serif"><span style="font-size:12px;line-height:20px">Also, I looking file </span></font></font><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif"><span style="font-size:12px;line-height:20px">/var/log/kolab-webadmin/errors</span></font><span style="font-size:12px;line-height:20px;font-family:Verdana,Arial,Helvetica,sans-serif;color:rgb(0,0,0)">, when i fill the user form I've the following errors:</span></div>
<div><br></div><div><font style="background-color:rgb(255,255,255);font-size:12px;line-height:20px" color="#000000" face="Verdana, Arial, Helvetica, sans-serif"><div>[26-Sep-2013 10:26:25 UTC] PHP Warning: Illegal string offset 'type' in /usr/share/kolab-webadmin/lib/ext/Net/LDAP3.php on line 1348</div>
<div>[26-Sep-2013 10:26:25 UTC] PHP Warning: Illegal string offset 'value' in /usr/share/kolab-webadmin/lib/ext/Net/LDAP3.php on line 1368</div><div>[26-Sep-2013 10:26:25 UTC] PHP Warning: Illegal string offset 'value' in /usr/share/kolab-webadmin/lib/ext/Net/LDAP3.php on line 1377</div>
<div>[26-Sep-2013 10:26:25 UTC] PHP Warning: Illegal string offset 'type' in /usr/share/kolab-webadmin/lib/ext/Net/LDAP3.php on line 1348</div><div>[26-Sep-2013 10:26:25 UTC] PHP Warning: Illegal string offset 'value' in /usr/share/kolab-webadmin/lib/ext/Net/LDAP3.php on line 1368</div>
<div>[26-Sep-2013 10:26:25 UTC] PHP Warning: Illegal string offset 'value' in /usr/share/kolab-webadmin/lib/ext/Net/LDAP3.php on line 1377</div></font></div><div><font color="#000000" style="background-color:rgb(255,255,255)"><font face="Verdana, Arial, Helvetica, sans-serif"><span style="font-size:12px;line-height:20px"><div>
<br></div><div>Any idea?</div></span></font></font></div><div><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">However, I searched for </span><span style="font-family:arial,sans-serif;font-size:13px">policy_uid </span><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">in file </span><font face="arial, sans-serif"><span style="white-space:nowrap">/etc/kolab/kolab.conf, but i didn't find it.</span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">This is my ldap section.</span></font></div><div><br></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap"><div>[ldap]</div><div>ldap_uri = ldap://localhost:389</div><div>base_dn = dc=example,dc=com</div><div>bind_dn = cn=Directory Manager</div><div>bind_pw = xxxxxxxxxxxxxxxxxxxx</div>
<div>service_bind_dn = uid=kolab-service,ou=Special Users,dc=ecample,dc=com</div><div>service_bind_pw = xxxxxxxxxxxxxxxxxx</div><div>user_base_dn = ou=People,%(base_dn)s</div><div>user_scope = sub</div><div>user_filter = (objectclass=inetorgperson)</div>
<div>kolab_user_base_dn = ou=People,%(base_dn)s</div><div>kolab_user_filter = (objectclass=kolabinetorgperson)</div><div>group_base_dn = ou=Groups,%(base_dn)s</div><div>group_filter = (|(objectclass=groupofuniquenames)(objectclass=groupofurls))</div>
<div>group_scope = sub</div><div>kolab_group_filter = (|(objectclass=kolabgroupofuniquenames)(objectclass=kolabgroupofurls))</div><div>sharedfolder_base_dn = ou=Shared Folders,%(base_dn)s</div><div>sharedfolder_filter = (objectclass=kolabsharedfolder)</div>
<div>resource_base_dn = ou=Resources,%(base_dn)s</div><div>resource_filter = (|%(group_filter)s(objectclass=kolabsharedfolder))</div><div>domain_base_dn = cn=kolab,cn=config</div><div>domain_filter = (&(associatedDomain=*))</div>
<div>domain_name_attribute = associateddomain</div><div>domain_rootdn_attribute = inetdomainbasedn</div><div>quota_attribute = mailquota</div><div>unique_attribute = nsuniqueid</div><div>mail_attributes = mail, alias</div>
<div>mailserver_attribute = mailhost</div><div>auth_attributes = mail, alias, uid</div><div><br></div><div><br></div><div>Thanks in advance for your help.</div><div>Antonio.</div></span></font></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/9/26 Aleksander Machniak <span dir="ltr"><<a href="mailto:machniak@kolabsys.com" target="_blank">machniak@kolabsys.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 09/25/2013 04:44 PM, ITADMIN GT wrote:<br>
> Hi all,<br>
> I noticed that UID on my kolab server is generateb only by surname.<br>
> In consequence of that, if I've more user with the same surname I get an<br>
> error.<br>
<br>
</div>Webadmin should add a number to the generated uid if specified uid<br>
already exists. There were some related bugs, already fixed, so I<br>
suppose update should fix your issue.<br>
<br>
btw, there's a setting policy_uid setting in kolab.conf that can be used<br>
to modify default uid generation method, so it will use more/other<br>
attributes.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Aleksander Machniak<br>
Web Developer, Kolab Systems AG<br>
-------------------------------------------------------<br>
PGP:19359DC1 - <a href="http://www.kolabsys.com" target="_blank">http://www.kolabsys.com</a> - <a href="http://alec.pl" target="_blank">http://alec.pl</a><br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.kolab.org">users@lists.kolab.org</a><br>
<a href="https://lists.kolab.org/mailman/listinfo/users" target="_blank">https://lists.kolab.org/mailman/listinfo/users</a><br>
</font></span></blockquote></div><br></div>