Samba Standalone Server - Unix passwords

Discussion in 'HOWTO-Related Questions' started by gog, May 1, 2007.

  1. gog

    gog New Member


    I am following this tutorial ->

    and have everything setup, I just had to change


    for users to be able to write files in the shared folder.

    The thing that still bothers me is that for every user on my machine I have to run "smbpasswd -a username" and set theri password for accesing the shared drive.

    How can I force Samba to use their Unix passwords instead?

  2. till

    till Super Moderator Staff Member ISPConfig Developer


    by removing these two lines:

    valid users = @users
    force group = users

    From the configuration, you allow every user to access the shares, not only users that belong to the "users" group.

    As far as I know, you will need a additional password database for samba in any case, as /etc/passwd does not conatain enough informations. If you want to have a unique unix + samba password database, you will have to make a ldap setup, which is much more compliacted.

Share This Page