Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I am using samba on RHEL 5 or 6 for file sharing purpose.
The setings are default. security = user
passdb backend = tdbsam
When I want to add a user with smbpasswd -a it needs the UNIX user created first. So I create accounts this way : # useradd user1
# smbpasswd -a user1
This way each samba account has a matching UNIX account and I can confirm it by running : # pdbedit -L
It shows samba account with corresponding unix UID.
The thing that I don't understand here is the usage of /etc/samba/smbusers.
All of samba users are already mapped. Why do I need this file and how can I test usage of this file?
I am using a Windows 7 as client but it does not matter.
In a simple file sharing with "security=user" and "passdb backend = tdbsam", every user logs in with its own samba user&password and samba users are already mapped with unix users as I mentioned in the first post.My question is : what is the usage of smbusers in this case.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.