Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-06-2008, 01:18 AM
Junior Member
 
Posts: 9
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
__________________
Antonio Messina
RHCE5, OCP10g

iKnow di Messina Antonio
Campobello di Mazara, Italy

http://www.iknowconsulting.it

Last edited by amessina; 03-09-2008 at 05:28 AM..
Reply With Quote
  #2 (permalink)  
Old 03-09-2008, 12:20 AM
Junior Member
 
Posts: 9
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 Messina
RHCE5, OCP10g

iKnow di Messina Antonio
Campobello di Mazara, Italy

http://www.iknowconsulting.it
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.