UID is generated only by surname.

Antonio Straziota devgioiatech at gmail.com
Thu Sep 26 14:27:48 CEST 2013


I forgot to specify my environment:
It is a Kolab 3.0 on Debian 7, installed from repository
http://mirror.kolabsys.com/pub/debian/kolab-3.0/

Is there an updated repo to execute an update?

A.


2013/9/26 ITADMIN GT <devgioiatech a gmail.com>

> Hi Aleksander,
> thanks for reply.
>
> I tried to create a user with the same surname, but webadmin interface
> raise an Internal error (in log file I have ldap_add(): Add: Already
> exists....).
> Also, I looking file /var/log/kolab-webadmin/errors, when i fill the user
> form I've the following errors:
>
> [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
> [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
> [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
> [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
> [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
> [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
>
> Any idea?
>
> However, I searched for policy_uid in file /etc/kolab/kolab.conf, but i
> didn't find it.
>
> This is my ldap section.
>
> [ldap]
> ldap_uri = ldap://localhost:389
> base_dn = dc=example,dc=com
> bind_dn = cn=Directory Manager
> bind_pw = xxxxxxxxxxxxxxxxxxxx
> service_bind_dn = uid=kolab-service,ou=Special Users,dc=ecample,dc=com
> service_bind_pw = xxxxxxxxxxxxxxxxxx
> user_base_dn = ou=People,%(base_dn)s
> user_scope = sub
> user_filter = (objectclass=inetorgperson)
> kolab_user_base_dn = ou=People,%(base_dn)s
> kolab_user_filter = (objectclass=kolabinetorgperson)
> group_base_dn = ou=Groups,%(base_dn)s
> group_filter = (|(objectclass=groupofuniquenames)(objectclass=groupofurls))
> group_scope = sub
> kolab_group_filter =
> (|(objectclass=kolabgroupofuniquenames)(objectclass=kolabgroupofurls))
> sharedfolder_base_dn = ou=Shared Folders,%(base_dn)s
> sharedfolder_filter = (objectclass=kolabsharedfolder)
> resource_base_dn = ou=Resources,%(base_dn)s
> resource_filter = (|%(group_filter)s(objectclass=kolabsharedfolder))
> domain_base_dn = cn=kolab,cn=config
> domain_filter = (&(associatedDomain=*))
> domain_name_attribute = associateddomain
> domain_rootdn_attribute = inetdomainbasedn
> quota_attribute = mailquota
> unique_attribute = nsuniqueid
> mail_attributes = mail, alias
> mailserver_attribute = mailhost
> auth_attributes = mail, alias, uid
>
>
> Thanks in advance for your help.
> Antonio.
>
>
> 2013/9/26 Aleksander Machniak <machniak a kolabsys.com>
>
>> On 09/25/2013 04:44 PM, ITADMIN GT wrote:
>> > Hi all,
>> > I noticed that UID on my kolab server is generateb only by surname.
>> > In consequence of that, if I've more user with the same surname I get an
>> > error.
>>
>> Webadmin should add a number to the generated uid if specified uid
>> already exists. There were some related bugs, already fixed, so I
>> suppose update should fix your issue.
>>
>> btw, there's a setting policy_uid setting in kolab.conf that can be used
>> to modify default uid generation method, so it will use more/other
>> attributes.
>>
>> --
>> Aleksander Machniak
>> Web Developer, Kolab Systems AG
>> -------------------------------------------------------
>> PGP:19359DC1 - http://www.kolabsys.com - http://alec.pl
>> _______________________________________________
>> users mailing list
>> users a lists.kolab.org
>> https://lists.kolab.org/mailman/listinfo/users
>>
>
>
-------------- parte successiva --------------
Un allegato HTML ? stato rimosso...
URL: <http://lists.kolab.org/pipermail/users/attachments/20130926/d851ba10/attachment-0001.html>


More information about the users mailing list