[Kolab-devel] [issue4678] LDAP.pm: Kolab co-existing with other ldap entries

Neil Price issues at kolab.org
Tue Dec 14 10:19:18 CET 2010


Kolab creates mailboxes at the drop of a hat. If you use your ldap for other
entries you can easily find yourself with unwanted mailboxes.

LDAP.pm uses the uid as way of determining whether it is an external address
entry which works if you only add addresses through the admin interface. I
suggest we rather use kolabHomeServer as a non-Kolab ldap entry will not have
this (but it could have a uid)

Around line 451 of LDAP.pm:
-    return if( $objuidfield eq 'mail' && !$object->get_value('uid') );
+    return if( $objuidfield eq 'mail' && !$object->get_value('kolabHomeServer') );

----------
messages: 27321
nosy: AncientGeek
priority: wish
status: unread
title: LDAP.pm: Kolab co-existing with other ldap entries

______________________________________
Kolab issue tracker <issues at kolab.org>
<https://issues.kolab.org/issue4678>
______________________________________




More information about the devel mailing list