Results 1 to 2 of 2

Thread: Zimbra with Samba, problem creating accounts with cmd line

  1. #1
    Join Date
    May 2009
    Rep Power

    Default Zimbra with Samba, problem creating accounts with cmd line


    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

  2. #2
    Join Date
    Feb 2010
    Rep Power


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

Similar Threads

  1. Replies: 5
    Last Post: 08-18-2011, 10:15 PM
  2. Recover the mail after the crash HDD
    By MrSnaKe in forum Administrators
    Replies: 3
    Last Post: 12-02-2009, 03:38 AM
  3. zmperditionctl start asking for password
    By k7sle in forum Administrators
    Replies: 32
    Last Post: 02-20-2008, 10:13 AM
  4. dspam logrotate errors
    By michaeln in forum Users
    Replies: 7
    Last Post: 02-19-2007, 11:45 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 06:38 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