I have OpenLDAP setup (using the official OpenLDAP Server guide from ubuntu.com). I have added samba.schema and I have working samba authentication from LDAP. However, when a user changes password it doesn't change samba password.
So far I have done:
apt-get install slapd-smbk5pwd
but I have no idea how to add it to the openldap so it starts syncing passwords. I have spend alot of time googling for solution but since OpenLDAP no longer uses slapd.conf all solutions so far are useless for me. Can somebody help me how to load the module and configure smbk5pwd?
Thank you so much!
more information about the configuration: I have a server where I am running OpenLDAP and httpd. Users can change their password with web-interface (uses php-script to change LDAP password). Samba is running on separate server.
If I could change samba-password with commandline command or with some other script, I could implement it the the web-interface and no need for smbk5pwd to sync them. However, I haven't figured out this either. All smb-password changing seems to require samba installed.