[Kolab-devel] [issue1652] [webadmin] Import users from ldif and LDAP Constraint violation

Alexander Shvayakov kolab-issues at intevation.de
Wed Mar 14 12:40:09 CET 2007


New submission from Alexander Shvayakov <a.shvayakov at btis.by>:

My system Gentoo and kolabd-20070216, kolab-webadmin-20070216, php-5.1.6-r20, 
openldap-2.3.30-r2
If use only webadmin, all OK, but if I import accounts from ldiff and there is 
some particularities...
In this example First Name is absent, but similar problem can appear at 
presence of other particularities
#######
dn: cn=job,dc=btis,dc=by
objectClass: top
objectClass: inetOrgPerson
objectClass: kolabInetOrgPerson
objectClass: hordePerson
cyrus-userquota: 50
uid: job
mail: job at btis.by
sn: job
cn: job
userPassword: {crypt}$2a$10$JIjxrl9Jk9wZxd/RhK6PmuGwOnSyrXlPS/
nMe1CtFzIT30E.s54H.
#######
Change password in webadmin...
Errors:
Required field First Name is empty
I do it(First Name=111), and get message
Errors:
LDAP Error: Could not rename cn=job,dc=btis,dc=by to cn=111 job,dc=btis,dc=by: 
Constraint violation

Go to 
ldapsearch .... uid=job
and get...
#########
dn: cn=x78tb7bqnsd66fnl,dc=btis,dc=by
objectClass: top
objectClass: inetOrgPerson
objectClass: kolabInetOrgPerson
objectClass: hordePerson
cyrus-userquota: 50
uid: job
mail: job at btis.by
sn: job
cn: job
cn: x78tb7bqnsd66fnl
userPassword:: e01ENX1nbnpMRHVxS2NHeE1OS0Zva2ZoT2V3PT0=
#########
Of course - account is broken
And you can see - dn: cn=x78tb7bqnsd66fnl,dc=btis,dc=by
And user.php.diff from https://intevation.de/roundup/kolab/issue1614 not 
corrected this

----------
messages: 9930
nosy: ashv
status: unread
title: [webadmin] Import users from ldif and LDAP Constraint violation
________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://intevation.de/roundup/kolab/issue1652>
________________________________________________




More information about the devel mailing list