
On 4/7/2012 9:30 AM, HG wrote:
Hi!
Stumbled across this about SAMBA authentication and windows
On Thu, Mar 15, 2012 at 7:39 PM, jsa <jsamyth@gmail.com> wrote:
If you set your windows login and password the same as your Linux log in and password Samba and windows just takes care if it automatically. �If not you have to set up samba passwords for every user. In the time it takes to ask about setting up an insecure network you could have done it the secure way with yast.
Yes, if you have the same user name as in windows and same password, you will not need to enter them in windows even once I think, as Windows will try those by default.
However, what has been nagging me always is why is the SAMBA authentication separate from the general linux authentication (I don't know the correct word, sorry)? Why not have that synced, so that when user changes her password on the linux server, also the samba password changes. And even earlier on, why not have that linked with samba-users group or something, so that the users who are in that group would be able to use samba (same way as ssh)? Yes, I know all this can be done! But it is really, really hard. Ok, I'm still on 11.3 so I'm not sure if this has changed :-) But it has at least been really hard. Why not make this easy for openSUSE home users? This is really the worst parts of setting up a home server. Have user click "Enable Samba" somewhere in YaST and it would do all this. Would be excellent. Any real good reason why not to do this?
The reason this isn't automated from the Linux side like you suggest is because that is not the normal use case for Samba. The normal use for Samba is to allow your Linux machine to be a file/print server for windows machines, in many (i dare say Most) case those windows users don't even have an account on the linux machine. The simply use data folders that are shared with other windows users and which are managed by the Samba software. If fact, sharing the same file structures with linux users can be problematic and you have to think about and plan your file-ownership and permissions, because files created by Linux users may not be available for Windows users, if user/group and permissions are not taken into account. So SAMBA approached via the other end. That is, when your users change their Windows Password, you can set up samba to change their samba passwords at the same time, and all you have to do as administrator is make sure there is an entry in the samba password file for each windows user. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org