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 11-23-2009, 07:20 AM
Intermediate Member
 
Posts: 18
Default ZCS 6 + Samba - password change issues

I have followed UNIX and Windows Accounts in Zimbra LDAP and Zimbra Admin UI 6.0 - Zimbra :: Wiki somewhat (some changes needed because Samba in my case is running under OpenSolaris, so LDAP client configuration is handled differently from the way it's handled under Linux) and have the following situation:

From the Zimbra Admin interface (off port 7071), if an admin changes a user's password, it correctly applies to both ZWC and Samba logins.

When a user is logged into ZWC and changes their password, it only changes for ZWC but not for Samba. I'm not sure where to look for debugging information on this. Since the admin interface works correctly to change the Windows password, I'd really like the ZWC to work correctly as well.

When a user initiates password change from a Windows workstation attached to the Samba PDC, it correctly changes the Samba/Windows password, but fails to change the LDAP password and gives a misleading error to the user, making them think the password change failed when it didn't. Capturing the LDAP traffic between the Samba server and the Zimbra LDAP server and looking at it with Wireshark, when Samba (bound as 'uid=zmposixroot,cn=appaccts,cn=zimbra') attempts to do the passwdModifyOID against the correct userIdentity (in this case, uid=test_ts,ou=people,dc=ledgertranscript,dc=com), it gets back the ldap error 'insufficientAccessRights'.

Does anyone know which step in the wiki entry for integrating Samba and ZCS6 is supposed to grant zmposixroot the right to change ldap user's password?
Reply With Quote
  #2 (permalink)  
Old 11-24-2009, 03:47 PM
Moderator
 
Posts: 1,147
Default

The issue of ZWC not changing the Samba password is addressed in this bug: Bug 17321 - Support change password listeners in provisioning and support Samba change password in the samba admin extension

As for the ACL rights, it should be handled in the last section of part 1.
Reply With Quote
  #3 (permalink)  
Old 11-25-2009, 06:28 AM
Intermediate Member
 
Posts: 18
Default

Quote:
Originally Posted by ArcaneMagus View Post
The zimlet referenced at the end of this bug says it is for 5.x - should it (in theory) also work for 6?

Quote:
Originally Posted by ArcaneMagus View Post
As for the ACL rights, it should be handled in the last section of part 1.
This is what ldapsearch tells me:

ldapsearch -x -H ldapi:/// -D cn=config -W -b cn=config olcDatabase={2}hdb

Code:
olcAccess: {9}to attrs=entry  by dn.children="cn=admins,cn=zimbra" write  by d
 n.exact="uid=zmposixroot,cn=appaccts,cn=zimbra" write  by * read
olcAccess: {10}to dn.subtree="dc=ledgertranscript,dc=com" by dn.children="cn=a
 dmins,cn=zimbra" write by dn.exact="uid=zmposixroot,cn=appaccts,cn=zimbra" wr
 ite by dn.exact="uid=zmposix,cn=appaccts,cn=zimbra" read by * none
olcAccess: {11}to dn.subtree="ou=machines,dc=ledgertranscript,dc=com" by dn.ch
 ildren="cn=admins,cn=zimbra" write by dn.exact="uid=zmposixroot,cn=appaccts,c
 n=zimbra" write by dn.exact="uid=zmposix,cn=appaccts,cn=zimbra" read by * non
 e
olcAccess: {12}to dn.subtree="ou=groups,dc=ledgertranscript,dc=com" by dn.chil
 dren="cn=admins,cn=zimbra" write by dn.exact="uid=zmposixroot,cn=appaccts,cn=
 zimbra" write by dn.exact="uid=zmposix,cn=appaccts,cn=zimbra" read by * none
olcAccess: {13}to dn.subtree="ou=people,dc=ledgertranscript,dc=com" by dn.chil
 dren="cn=admins,cn=zimbra" write by dn.exact="uid=zmposixroot,cn=appaccts,cn=
 zimbra" write by dn.exact="uid=zmposix,cn=appaccts,cn=zimbra" read by * none
So I've applied something, but I'm not entirely comfortable with LDAP syntax, so I could easily have messed up the syntax.
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.