[turba] Add a new ldap contact with TURBA
asiani@wanadoo.fr
asiani at wanadoo.fr
Tue Nov 8 23:53:46 PST 2005
Hello,
I think there is a problem in add function of turba because turba is
able to browse my addressbook :
Here my configuration :
// First we need to get the uid.
$uid = Auth::getBareAuth();
$basedn = 'dc=export,dc=com';
$cfgSources['personal_ldap'] = array(
// 'title' => _("My Address Book"),
'title' => "Personal",
'type' => 'ldap',
'params' => array(
'server' => 'ldap',
'tls' => false,
'root' => 'ou=' . $uid . ',ou=Personal,ou=addressbook, ' . $basedn,
'bind_dn' => 'uid=' . $uid . ',ou=Users,' . $basedn,
'bind_password' => Auth::getCredential('password'),
'dn' => array('cn', 'uid'),
'objectclass' => array('top',
'person',
'inetOrgPerson',
// 'calEntry',
'organizationalPerson'),
'scope' => 'one',
'charset' => 'utf-8',
'version' => 3
),
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:
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
thanks,
Alain
Adam Tauno Williams wrote:
>>I don't understand this 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:
>>cn=TRICOR,uid=20051108113743.3n19gj5thtes at mail,ou=xxx,ou=Personal,ou=addressbook,
>>
>>
>
>Most likely the parent
>"uid=20051108113743.3n19gj5thtes at mail,ou=xxx,ou=Personal,ou=addressbook, ..." of the object you are attempting to create "cn=TRICOR" does not exist. Perhaps you are attempting to create an object with a multivalued DN? (where both CN and uid constitute the RDN?). If so, the DN of the object you want to create is -
>cn=TRICOR+uid=20051108113743.3n19gj5thtes at mail,ou=xxx,ou=Personal....
>
>
>
>>dc=export,dc=com (attributes:
>>[a:4:{s:2:"cn";s:6:"TRICOR";s:2:"sn";s:7:"laurent";s:3:"uid";s:32:"20051108113743.3n19gj5thtes 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
>>
>>
>
>
>
More information about the turba
mailing list