[Kolab-devel] [issue1750] webadmin fails to create new user

Jeremy kolab-issues at intevation.de
Mon May 28 07:21:50 CEST 2007


New submission from Jeremy <jeremy at xehqter.com>:

Using kolabd-2.1 on gentoo (not openpkg) admin/user/user.php errors with.


Warning: ldap_add() [function.ldap-add]: Add: Internal (implementation specific)
error in /var/www/kolab/htdocs/admin/user/user.php on line 729
LDAP Error: could not add object cn=test1234 test1234,dc=example,dc=com:
Internal (implementation specific) error

reverting back user.php v1.17 (from v1.18) fixes the issue.

$ldap_object['objectClass'] = array('top', 'inetOrgPerson','kolabInetOrgPerson');
was moved from line 508 to 499 which breaks $ldap_object

at line 729 $ldap_object is missing the objectClass array and looks like 
Array
(
    [sn] => test1234
    [cn] => test1234 test1234
    [givenName] => test1234
    [userPassword] => {SSHA}ARFDKVfJKlO/jPsEy1hP4RPsUFGICce/
    [mail] => test1234 at example.com
    [uid] => test1234 at example.com
    [kolabHomeServer] => localhost
    [kolabInvitationPolicy] => Array
        (
            [0] => ACT_MANUAL
        )

)

instead of
Array
(
    [objectClass] => Array
        (
            [0] => top
            [1] => inetOrgPerson
            [2] => kolabInetOrgPerson
        )

    [sn] => test1234
    [cn] => test1234 test1234
    [givenName] => test1234
    [userPassword] => {SSHA}ARFDKVfJKlO/jPsEy1hP4RPsUFGICce/
    [mail] => test1234 at example.com
    [uid] => test1234 at example.com
    [kolabHomeServer] => localhost
    [kolabInvitationPolicy] => Array
        (
            [0] => ACT_MANUAL
        )

)

----------
messages: 10621
nosy: xehqter
status: unread
title: webadmin fails to create new user
________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://intevation.de/roundup/kolab/issue1750>
________________________________________________




More information about the devel mailing list