2014-11-24 18:27 GMT+01:00 FOUCHET, Alexandre <
[email protected]>:
> Thanks for your anwser.
>
>
>
> I have implemented memberOf overlay on my central openLDAP server. (thanks
> for the tip, seems great)
>
>
>
> I can now do searches like :
>
> ldapsearch "(uid=fr.toto.test)" memberOf
>
> which brings the correct membership for that user.
>
>
>
> I can now filter my users on the proper community, thanks!
>
>
>
> So I still have to make update and delete work with synchronization. Maybe
> I’m just using LSC wrong …
>
> I use lsc as a service, so in my mind, when I do “service lsc start”, I
> activate the synchronization. While synchronization is activated, objects
> on dest LDAP should be created, updated and deleted upon
> modification/creation on the source LDAP.
>
> As previously stated, I have :
>
> <conditions>
>
> <create>true</create>
>
> <update>true</update>
>
> <delete>true</delete>
>
> <changeId>false</changeId>
>
> </conditions>
>
> I do not know if I absolutely need to define a dataset for each of the
> attributes of my user object. I would say this is not necessary, but I
> tried it nonetheless on a few attributes; making sure that <policy> was on
> FORCE. In <forceValues> I enter :
>
> <string><![CDATA[srcBean.getDatasetFirstValueById("givenName")]]></string>
>
> But when I update the attribute givenName of a user, it is not updated on
> the synchronized server. Is it necessary to have a dataset per attribute I
> wish to update?
>
>
>
> It might be an openLDAP version problem ? I’m on slapd 2.4.23 on all of my
> LDAP servers.
>
> Any idea on what this no update / no delete behavior could come from ?
>
Are you using asyncLdapSourceService? If yes, is your OpenLDAP server
configured as a Syncrepl provider?
And have you configured /etc/default/lsc to point to your LSC
configuration? Can you check in /var/log/lsc/ if all is ok?
Clément.
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users