steffen: server/perl-kolab/Kolab-LDAP LDAP.pm,1.31.2.7,1.31.2.8

cvs at intevation.de cvs at intevation.de
Fri Sep 30 23:01:43 CEST 2005


Author: steffen

Update of /kolabrepository/server/perl-kolab/Kolab-LDAP
In directory doto:/tmp/cvs-serv7149/Kolab-LDAP

Modified Files:
      Tag: kolab_2_0_branch
	LDAP.pm 
Log Message:
Fix for Issue882, take two (mailbox creation for external users). First attemtp reverted because it had ill sideeffects

Index: LDAP.pm
===================================================================
RCS file: /kolabrepository/server/perl-kolab/Kolab-LDAP/LDAP.pm,v
retrieving revision 1.31.2.7
retrieving revision 1.31.2.8
diff -u -d -r1.31.2.7 -r1.31.2.8
--- LDAP.pm	30 Sep 2005 11:11:48 -0000	1.31.2.7
+++ LDAP.pm	30 Sep 2005 21:01:41 -0000	1.31.2.8
@@ -242,6 +242,7 @@
     return if( $objuidfield eq '' );
     my $uid = lc(trim($object->get_value($objuidfield))) || 0;
     return unless $uid;
+    return if( $objuidfield eq 'mail' && !$object->get_value('uid') );
 
     my $kolabhomeserver = lc($object->get_value('kolabhomeserver'));
     my $islocal = 1;
@@ -483,7 +484,7 @@
     }
     %newuid_db = ();
 
-    syncBasic($cyrus, 'user', '(uid=*)', 0);
+    syncBasic($cyrus, 'user', '', 0);
     syncBasic($cyrus, 'sf', '', 1);
     syncBasic($cyrus, 'group', '', 0);
 





More information about the commits mailing list