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. |
Quote:
|
Quote:
http://yellowprotoss.ye.funpic.org/w...ver_logins.JPG for clarity. is this possible with samba to change the /etc/shadow and /etc/passwd automatically which are located on the server? |
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. |
All times are GMT -5. The time now is 08:11 PM. |