Hi list,

After successfully sync openldap with AD, I'm in the struggle to "sync" 
passwords via LTB. I want to LTB to modify OpenLDAP credentials and LTB 
posthook to modify Active Directory through smbpasswd.
As a proof of concept, from command line I tested the command

$ smbpasswd -r ad01 -Uusername
Old SMB password:
New SMB password:
Retype new SMB password:
Password changed for user username on ad01.

It works. So after seeing the example on 
https://ltb-project.org/documentation/self-service-password/1.2/config_posthook
I followed the steps on the documentation: I've uncommented the
$posthook = "/usr/share/self-service-password/posthook.sh";

I first put the very same example I saw on the documentation, gave it 
permissions for execution, gave the ownership to the apache user and... nothing 
happened.
I then simplified the script to put a simply hello world into /tmp/test.txt, 
nothing. That temporary file has a 777 permissions just in case.

How can I debug anything.

Best,
Angel

Nota Legal<http://www.dltec.net/aviso-legal>
_______________________________________________
ltb-users mailing list
[email protected]
https://lists.ltb-project.org/cgi-bin/mailman/listinfo/ltb-users

Reply via email to