steffen: server/perl-kolab/Kolab-LDAP LDAP.pm,1.31,1.31.2.1

cvs at intevation.de cvs at intevation.de
Thu Jul 14 23:34:51 CEST 2005


Author: steffen

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

Modified Files:
      Tag: kolab_2_0_branch
	LDAP.pm 
Log Message:
patch for Issue845 applied (groupOfNames cleanup handling)

Index: LDAP.pm
===================================================================
RCS file: /kolabrepository/server/perl-kolab/Kolab-LDAP/LDAP.pm,v
retrieving revision 1.31
retrieving revision 1.31.2.1
diff -u -d -r1.31 -r1.31.2.1
--- LDAP.pm	8 Jun 2005 12:44:35 -0000	1.31
+++ LDAP.pm	14 Jul 2005 21:34:48 -0000	1.31.2.1
@@ -238,6 +238,9 @@
 
     Kolab::log('L', "Kolab::LDAP::createObject() called with obj uid field `$objuidfield' for obj type `$p'", KOLAB_DEBUG);
 
+    # No action for groups
+    return if( $objuidfield eq '' );
+
     my $kolabhomeserver = lc($object->get_value('kolabhomeserver'));
     my $islocal = 1;
     my $del = $object->get_value($Kolab::config{$p . '_field_deleted'}, asref => 1);
@@ -480,6 +483,7 @@
 
     syncBasic($cyrus, 'user', '(uid=*)', 0);
     syncBasic($cyrus, 'sf', '', 1);
+    syncBasic($cyrus, 'group', '', 0);
 
     # Check that all mailboxes correspond to LDAP objects
     Kolab::log('L', 'Synchronising mailboxes');





More information about the commits mailing list