Results 1 to 2 of 2

Thread: [SOLVED] Does Sync Samba passwords in 5.0.2_GA fully work?

  1. #1
    Join Date
    Jun 2007
    Location
    Campobello di Mazara, Italy
    Posts
    38
    Rep Power
    8

    Thumbs up [SOLVED] Does Sync Samba passwords in 5.0.2_GA fully work?

    Hello,

    I have a production environment with zimbra 4.5 running on centos and i have successfully solved some month ago the samba password sync issue, as described in my previous thread "A quick and dirty solution to sync samba passwords".

    In these days I'm testing the 5.0.2_GA version (again, with samba) and I have seen that some sync is finally done, but only using the Admin UI, 'cause changing password via the User UI doesn't sync the samba passwords, yet.

    Is that true or I have made some config mistake?

    How can I solve?

    Thanks,
    AM
    Last edited by amessina; 03-09-2008 at 04:28 AM.
    Antonio

  2. #2
    Join Date
    Jun 2007
    Location
    Campobello di Mazara, Italy
    Posts
    38
    Rep Power
    8

    Thumbs up Issue solved, again

    I wrote a new extension to handle the change password process.

    This first release still calls mkntpwd as external program to build the NT and LM hashes, but now it doesn't require rebuild of zimbrastore.jar because it's just an installable extension.

    I followed the hints suggested in the changepasswordlistener.txt and extensions.txt files, found in \ZimbraServer\docs inside the zcs-5.0.2_GA_1975-src source package.

    I'm going to make some other test and then I'll post the results, and the code.

    It seems to work as expected, right now.

    from mailbox.log:

    Code:
    2008-03-09 07:32:23,857 INFO  [main] [] extensions - Initialized extension sambaextension: com.zimbra.samba.SambaExtension@com.zimbra.cs.extension.ZimbraExtensionClassLoader@16daa9

    from audit.log (with '123456' as new password):
    Code:
    2008-03-09 07:50:36,083 INFO  [btpool0-2] [name=zimbra;ip=127.0.0.1;] security - cmd=ModifyConfig; zimbraPasswordChangeListener=samba;
    2008-03-09 07:51:22,972 INFO  [btpool0-0] [ip=127.0.0.1;ua=zclient/5.0.2_GA_1975.RHEL5;] security - cmd=SambaChangePasswordListener.preModify; lmPassword=44EFCE164AB921CAAAD3B435B51404EE;
    2008-03-09 07:51:22,972 INFO  [btpool0-0] [ip=127.0.0.1;ua=zclient/5.0.2_GA_1975.RHEL5;] security - cmd=SambaChangePasswordListener.preModify; ntPassword=32ED87BDB5FDC5E9CBA88547376818D4;
    Antonio

Similar Threads

  1. Replies: 13
    Last Post: 11-20-2008, 11:42 AM
  2. Hangs on "Loading" screen
    By gbr in forum General Questions
    Replies: 16
    Last Post: 06-19-2008, 01:01 PM
  3. Zimbra Mobile fails with Java Exception
    By JasonChase in forum Zimbra Mobile
    Replies: 7
    Last Post: 01-21-2008, 06:25 PM
  4. Zimbra and Samba integration not fully there yet.
    By Franck in forum Administrators
    Replies: 0
    Last Post: 11-29-2007, 07:24 PM
  5. A quick and dirty solution to sync samba passwords
    By amessina in forum Administrators
    Replies: 9
    Last Post: 11-21-2007, 06:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •