Hi, thanks for the quick answer.
I’m using <ldapDestinationService> & <ldapSourceService>
Here are my filters for sourceService :
<getAllFilter>(&(objectClass=jPortalUser)(memberOf=cn=com1,dmdName=communities,dmdName=groups,dmdName=portal,dmdName=applications,dc=cap,dc=ad,dc=appli,dc=fr))</getAllFilter>
<getOneFilter>(&(objectClass=jPortalUser)(uid={uid}))</getOneFilter>
<cleanFilter>(&(objectClass=jPortalUser)(memberOf=cn=com1,dmdName=communities,dmdName=groups,dmdName=portal,dmdName=applications,dc=cap,dc=ad,dc=appli,dc=fr)(uid={uid}))</cleanFilter>
LDAP configuration is close to default apart from the activation of the
memberOf overlay.
De : Clément OUDOT [mailto:[email protected]]
Envoyé : vendredi 19 décembre 2014 11:54
À : FOUCHET, Alexandre
Cc : lsc-userslsc-users
Objet : Re: [lsc-users] LSC sometimes doesn't notice new users
2014-12-19 11:48 GMT+01:00 FOUCHET, Alexandre
<[email protected]<mailto:[email protected]>>:
Hi,
I have a tiny problem with LSC :
I’ve configured LSC so that it would synchronize my LDAP users depending on
their membership to a cn. I have a java application adding users to my source
LDAP server.
The behavior I am facing is as follows :
1 - I create user1 on my java app, it is added to the proper cn as a member
attribute.
2 - A few seconds later, it is still not synchronized on dest LDAP.
3 – I create user2 on my java app.
4 – A few seconds later, user1 is synchronized on dest LDAP.
5 – I create user3 on my java app.
6 - A few seconds later, user2 is synchronized on dest LDAP.
My java app creates an attribute for the member inside the cn. It is equal to
the full DN of my user and is correct.
I modified my java app so that when I create a new user, it inserts this
membership attribute, then delete it, then create it again. With this code, LSC
properly detects every new user.
Has anyone faced the same behavior ? Does anyone know why it’s doing that ? I
don’t really want to have my Java code do weird stuff like what I had to do
there.
Hard to say without knowing your LSC configuration and your LDAP configuration.
Are you using asyncLdapSourceService?
Clément.
This message contains information that may be privileged or confidential and is
the property of the Capgemini Group. It is intended only for the person to whom
it is addressed. If you are not the intended recipient, you are not authorized
to read, print, retain, copy, disseminate, distribute, or use this message or
any part thereof. If you receive this message in error, please notify the
sender immediately and delete all copies of this message.
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users