I want to make users in samba but not in the system. how can i make them.
i have only one system user called userA and i want to make 3 different users can access samba shared folders
i don't know if it is still valid with newer versions of samba, but you can create a file in
the format of the file is so:
so remoteuser will have access to localuser's files, etc.
for example, if you set up one system samba user, and had a directory shared through samba as that user, you could have X remote users with their own passwords to map that drive, etc.
if that doesn't work, there's the option of created local users, and then locking the user accounts so they cannot log in. this can be accomplished by creating the user with
you can also do
once you're done with that, it's as easy as
Create the user on the system (adduser), then simply add them using smbpasswd -a username.As long as we are talking of a samba with local user and not an external authentication schemas (OpenLDAP for instance), it will work fine.
Search "samba user" in any search engine.