Avoid mass acquistion when editing group gidNumber
Avoid mass acquistion when editing group gidNumber
Requirements
Descriptive title for this enhancement
Actual behavior
When a posix group is deleted or modified ( like modified the gidNumber or name ), Fd check consistency on all people which user the posixAccount feature. By checking consistency of all account and if SINAPS is enabled all account is scanned and corresponding acquisition is sent I see in log ldap request to get all attribute sent to sinaps
Jan 25 10:15:28 mc-pas-test slapd[698]: conn=17763 op=21987 SRCH attr=supannRefId supannEntiteAffectationPrincipale telephoneNumber facsimileTelephoneNumber mail mobi
le dn
for one modification I see 382 request
root@mc-pas-test:/var/cache/fusiondirectory/tmp# grep " SRCH attr=supannRefId supannEntiteAffectationPrincipale" /var/log/syslog |grep 17763 |wc -l
382
which is corresponding to posixuser concerned by the modified group
Expected behavior
Acquisition is sent only when field specified in fdSinapsAcquisitionContactMethodMap are modified
Step by step description of new behaviour
- modify/delete a group
- as this change didn't concern to sinaps information no acquisition should be launched
Benefits
group modification more quick
Possible Drawbacks
code complexity
additional information
It seems that modification launch other actions like mailbox check ( partage for example)