[turba] Add a new ldap contact with TURBA

Adam Tauno Williams adam at morrison-ind.com
Wed Nov 9 03:14:17 PST 2005


> I think there is a problem in add function of turba because turba is 
> able to browse my addressbook :

Nope, it works great.  And has for years.

You're root is -
>         'root' => 'ou=' . $uid . ',ou=Personal,ou=addressbook, ' . $basedn,
> And the error : :)
> Une erreur est survenue lors de l'ajout de ce contact. Contactez votre 
> administrateur système pour plus d'information.Failed to add an object: 
> [32] "No such object" DN: 

This makes perfect sense.

> cn=X,uid=20051109082611.gesxmsby45s at mail,ou=xxx,ou=Personal,ou=addressbook, 
> dc=export,dc=com (attributes: 
> [a:4:{s:2:"cn";s:1:"X";s:2:"sn";s:1:"Y";s:3:"uid";s:31:"20051109082611.gesxmsby45s at mail";s:11:"objectclass";a:4:{i:0;s:3:"top";i:1;s:6:"person";i:2;s:13:"inetOrgPerson";i:3;s:20:"organizationalPerson";}}]).Charset:UTF-8

You are attempting to create the object "cn=X", as a child of
"uid=20051109082611.gesxmsby45s at mail,ou=xxx,ou=Personal,ou=addressbook,...".  Does "uid=20051109082611.gesxmsby45s at mail,ou=xxx,ou=Personal,ou=addressbook,... exist?  From your base I'd expect the new object to be "cn=X",ou=20051109082611.gesxmsby45s at mail,ou=Personal,ou=addressbook,...   Or maybe what you want (like I said yesterday) is "cn=X+uid=20051109082611.gesxmsby45s at mail,ou=xxx,ou=Personal,ou=addressbook,.."  Please notice the "+" instead of a "," between the RDN components.  If you do not know what an RDN is then consult an LDAP text, and also see "multivalued RDN".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.horde.org/archives/turba/attachments/20051109/7f31f838/attachment.bin


More information about the turba mailing list