Le 26 avril 2012 15:12, Ivaylo Mitev <[email protected]> a écrit :
> Hi all,
>
> I have a silly problem. We are using your distro of openLDAP and for some
> reason the syncrepl replication is not working properly. It works correctly
> only when changes are made on one of the servers by the admin user. We are
> also using the password changing web interface so users can change their own
> passwords. So hare is what is happening.
>
> When I change the password on one of the servers all works fine.
>  It makes a note of the fields:
> pwdChangedTime: 20120426120303Z
> modifiersName: cn=administrator,dc=home,dc=com
>
> And the whole thing gets replicated.
>
> When the user is using the Password changing interface. On one of the
> servers (the one the pass changing interface is connected to):
>
> pwdChangedTime: 20120426115847Z
> modifiersName: uid=johnsmith,ou=People,dc=home,dc=com
>
> And it is all fine on that server but that password change does not get
> replicated to the other servers at all. I have tested replication with a
> creation and deletion of a new account and it all works fine and still the
> password change does not get across to the other servers. It is like
> OpenLdap thinks that this change is not worthy of replication.
>
> I have noticed that there is a log file here:
>
> /usr/local/openldap/var/openldap-data/log.0000000001
>
> But when I open it I get some gibberish ( that I can not copy and paste even
> see pic attached) and my computer starts working very slow.
>
> Do you have any ideas why the password would not replicate?
>
> Syncrepl is configured to use the administrator user for replication:
>
> syncrepl rid=001
>  provider=ldap://172.16.2.3:389
>  type=refreshAndPersist
>  retry="60 +"
>  schemachecking=on
>  searchbase="dc=home,dc=com"
>  attrs="*,+"
>  bindmethod=simple
>  binddn="cn=administrator,dc=home,dc=com"
>  credentials=xxxxxxxxxxx

You are watching the wrong log. Try to read /var/log/openldap.log

Clément.
_______________________________________________
ltb-users mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-users

Reply via email to