Issue #725 has been reported by Ronan Lanore.
----------------------------------------
Bug #725: Big entry and executableLdifSourceServiceSettings
http://tools.lsc-project.org/issues/725
Author: Ronan Lanore
Status: New
Priority: Normal
Assigned to:
Category:
Target version:
Problem in version:
Hi,
I want to sync some posix group from DB to my openLDAP.
I think there are max size of ldif entry. My process work for 2 memberUid (test
work with 2719 members) by group. But in production we have more than 5000
members by group.
here a test script
# Test max member
my @testMember ;
for my $seq ( '0000' .. '2000') {
push(@testMember,"rlanore-$seq") ;
}
my $entryOutput = Net::LDAP::Entry->new;
$entryOutput->dn($product_dn) ;
$entryOutput->add( cn => $product,
objectclass => [ "top","posixGroup" ],
description => "Product from CRM by LSC",
gidNumber => "7134",
memberUid => \@testMember
);
print $entryOutput->ldif() ;
exit 0 ;
LSC configuration:
<name>crmRelationship</name>
<bean>org.lsc.beans.SimpleBean</bean>
<pluginSourceService
implementationClass="org.lsc.plugins.connectors.executable.ExecutableLdifSourceService">
<name>user-src-relationship</name>
<connection reference="exec-group-user" />
<exec:executableLdifSourceServiceSettings>
<name>user-src-service-exec</name>
<connection reference="exec-group-user" />
<exec:listScript>/usr/local/sbin/lsc/listRelation.pl</exec:listScript>
<exec:getScript>/usr/local/sbin/lsc/t.sh</exec:getScript>
</exec:executableLdifSourceServiceSettings>
</pluginSourceService>
I have doing some test with 34 group and max memberUid is 2719.
Probleme is with 2720 memberUid
LSC stop wroking afert group number 32 with:
Sep 18 15:31:41 - DEBUG - Entry "cn=group32,ou=groups,ou=cls,o=domain,c=fr"
will not be written to the destination
Sep 18 15:31:41 - DEBUG - Lauching '/usr/local/sbin/lsc/getRelation.pl
cn=near-real-blacksea-alongtrack,ou=duacs,ou=chaines,ou=clientsedr,ou=apps,ou=cls,o=clsgroup,c=fr
'
Sep 18 15:31:41 - DEBUG - Writing to STDIN cn: near-real-blacksea-alongtrack
Sep 18 15:31:41 - DEBUG - Waiting for command to stop ...
and wait wait wait
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev