Results 1 to 2 of 2

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

  1. #1
    wodel is offline Junior Member
    Join Date
    May 2009
    Posts
    6
    Rep Power
    5

    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

  2. #2
    ddrazyk is offline Junior Member
    Join Date
    Feb 2010
    Location
    Warsaw
    Posts
    9
    Rep Power
    5

    Default

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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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, 04:38 AM
  3. zmperditionctl start asking for password
    By k7sle in forum Administrators
    Replies: 32
    Last Post: 02-20-2008, 11:13 AM
  4. dspam logrotate errors
    By michaeln in forum Users
    Replies: 7
    Last Post: 02-19-2007, 12:45 PM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07: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
  •