Samba: How to add users

From COSSAN Wiki
Jump to: navigation, search

This page shows how to add a new user to Samba.

Samba authenticates its users through its local database. Since we enabled the encrypted password option in the smb.conf, we need to add the users with encrypted password.

  • Add existing users to samba or create new users and then add them to samba.
# smbpasswd –a new_user
New SMB password: ********
Retype new SMB password:********

Note that "new_user" has to be an existing user in the system!

  • restart samba