Samba Standalone Server - Unix passwords

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

  1. gog

    gog New Member

    Hi,

    I am following this tutorial -> http://www.howtoforge.com/debian_etch_samba_standalone_server_with_tdbsam_backend

    and have everything setup, I just had to change

    to

    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?

    Thanks...
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Hi,

    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