zimbraSambaPassword v0.1
------------------------

Author: Antonio Messina <amessina@orcom.it>


Release Notes
-------------

v0.1		10 march 2008		This first release



Description
-----------

This package implements a change password listener to compute the samba NT and
LM hashes and keep them in sync with the user password when it is changed.



Installation
------------

Run the install.sh script:

	# sh install.sh -i

or proceed with manual installation:

	1) sudo -u zimbra zmcontrol stop
	2) unpack mkntpwd.tar.gz, make the binary, and copy it into /opt/zimbra/bin
	3) mkdir /opt/zimbra/lib/ext/sambapassword
	4) cp sambapassword.jar /opt/zimbra/lib/ext/sambapassword/
	5) sudo -u zimbra zmcontrol start
	6) sudo -u zimbra zmprov modifyConfig zimbraPasswordChangeListener sambapassword
	7) sudo -u zimbra zmcontrol start



Verify
------

In mailbox.log you should see that the new extension is loaded.

The output of "zmprov gcf zimbraPasswordChangeListener" should be:
zimbraPasswordChangeListener: sambapassword

Check the alert.log to see the LM and NT hashes printed when a user change his
password.



References
----------

"A quick and dirty solution to sync samba passwords"
http://www.zimbra.com/forums/administrators/9401-quick-dirty-solution-sync-samba-passwords.html

"Does Sync Samba passwords in 5.0.2_GA fully work?"
http://www.zimbra.com/forums/administrators/16069-does-sync-samba-passwords-5-0-2_ga-fully-work.html

"Bug 17321 - Support change password listeners in provisioning and support Samba change password in the samba admin extension"
http://bugzilla.zimbra.com/show_bug.cgi?id=17321

ZimbraServer\docs\extensions.txt and ZimbraServer\docs\changepasswordlistener.txt
zcs-5.0.2_GA_1975-src



To Do
-----

*) Pure java version of the package, removing mkntpwd and calls to external
   binaries
