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 07-13-2010, 11:57 AM
Junior Member
 
Posts: 6
Default Zimbra with Samba, problem creating accounts with cmd line

Hi,

I've configured a Samba PDC authenticating within Zimbra ldap using the article from zimbra wiki, every thing seems to work fine when adding an account via the Zimbra UI....but.

I need to create many users so I used a shell script with "zmprov ca" commande, I've add uidNumber, gidNumber, sambaDomainName and sambaSID.

the account was created with no errors but, I can't use it on windows to open a session, in the samba log I've this error: WRONG PASSWORD.

I compared two accounts entries from the Zimbra ldap, the first was created with the UI, the second with the cmd, there is some entries missing like sambaNTPassword and sambaLMPassword.

Is there a way to create the accounts with the command line after modifying Zimbra ldap for Samba?

thanks in advance
Reply With Quote
  #2 (permalink)  
Old 07-14-2010, 01:10 AM
Junior Member
 
Posts: 9
Default

You can fill the sambaNTPassword and sambaLMPassword fields by issuing smbpasswd <user> - this will set both LDAP and Samba passwords.
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.