2015-06-05 17:57 GMT+02:00 Anderson <[email protected]>:
> Hi,
>
>   It is exactly what I want. Sync only the userPassword.
>
> My objective is to use two tasks:
>
> 1 - Synchronize the attributes
> cn,sn,objectClass,uid,mail,givenName,userPassword from the base A to base B
> - This works perfectly.
> 2 - Synchronize only the B userPassword from de base B to base A - This does
> not work when I change the attribute value in the base B.
>
>
> The details:
>
> I have tested the same configuration on a different server:
>
> Description:    Ubuntu 14.04.1 LTS
>
> java version "1.6.0_33"
> OpenJDK Runtime Environment (IcedTea6 1.13.5) (6b33-1.13.5-1ubuntu0.14.04)
> OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)
>
>
> And it worked:
>
> Jun 05 09:21:11 - DEBUG - In object
> "uid=felipe.silva,ou=test,ou=users,dc=my,dc=corp":  List of attributes
> considered for writing in destination: [userPassword]
> Jun 05 09:21:11 - DEBUG - In object
> "uid=felipe.silva,ou=test,ou=users,dc=my,dc=corp":  Attribute "userPassword"
> is in FORCE status
> Jun 05 09:21:11 - DEBUG - In object
> "uid=felipe.silva,ou=test,ou=users,dc=my,dc=corp":  Replacing attribute
> "userPassword": source values are [[B@64ba3fc1], old values were
> [[B@6e5d9c6d], new values are [[B@64ba3fc1]
> .
> .
> .
> Jun 05 09:21:11 - INFO  - # Updating object
> uid=felipe.silva,ou=test,ou=users,dc=my,dc=corp for rnp2pop
> # Fri Jun 05 09:21:11 BRT 2015
> dn: uid=felipe.silva,ou=test,ou=users,dc=my,dc=corp
> changetype: modify
> replace: userPassword
> userPassword: {ssha}d3VJVsrx56macmFyQv5mLeEvIFWyovnZeOl4LQ==
> -
> .
> .
> .
> Jun 05 09:21:11 - INFO  - All entries: 7, to modify entries: 1, successfully
> modified entries: 1, errors: 0
>
>
>
>
> But does not work in Debian server:
>
> debian_version
> 7.8
>
> $ java -version
> java -version
> java version "1.7.0_79"
> OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-1~deb7u1)
> OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
>
>
> Nothing is synchronized:
>
> 2015/06/05 10:47:22 [lsc] Starting LSC
> Jun 05 10:47:24 - INFO  - Logging configuration successfully loaded from
> /etc/lsc/test/logback.xml
> Jun 05 10:47:24 - INFO  - LSC configuration successfully loaded from
> /etc/lsc/test/
> Jun 05 10:47:24 - INFO  - Connecting to LDAP server
> ldap://ldap.local/dc=my,dc=corp as cn=sync,ou=app,ou=users,dc=my,dc=corp
> Jun 05 10:47:24 - INFO  - Connecting to LDAP server
> ldaps://ldap.remote/ou=EXT,dc=corp,dc=remote as
> uid=app.w,ou=app,ou=EXT,dc=corp,dc=remote
> Jun 05 10:47:26 - INFO  - All entries: 8, to modify entries: 0, successfully
> modified entries: 0, errors: 0
> 2015/06/05 10:47:26 [lsc] LSC finished running
>
>
>
> Any idea?

Could you also activate debug logs on the Debian server?


Clément.
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to