How / can we have all passwords/login of clients based on the SAMBA server?
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.
How / can we have all passwords/login of clients based on the SAMBA server?
Hello,
I have a box server, running samba and nfs.
the several linux boxes clients are with /etc/fstab mounting /home
the problem is that the chown 100X:100X is based and can change on the machine.
Can we bind the /etc/passwd and /etc/shadow to the samba password/logings for those linux clients?
so that : one unique password everywehere
then whatever users will have same password on anymachine. This means everyone can check his mails on any machines.
Last edited by frenchn00b; 11-21-2009 at 12:17 AM.
You might want to look at centralizing user authentication with LDAP. It works pretty well for me at work. I am not sure if there's any way to do it directly with SAMBA (I think running a domain controller might only be supported in the next version), however SAMBA can authenticate credentials against LDAP.
Long and short, if you need to refer to /etc/passwd you're already toast. What you need to do is configure your system to authenticate against a centralized source (usually LDAP these days). This is easily done by setting up the central service, modifying /etc/nsswitch.conf and (possibly) uysing some NSCD and/or PAM magic to tell programs such as passwd, chsh, etc. about the change.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.