by wintpe » Apr 8th, '15, 16:27
samba servers need a unix user equivalent to the windows user so that it knows what unix id to put on files created
by that user.
so every windows user needs a unix user with the same name.
the samba remap file allows you to have different names where windows names break unix limitations.
you can lock or prevent login in two ways.
1: lock the account, by placing a * in the second feild of the users shadow file entry, or NP or any non md5 string.
note: this feild can only have an md5 or crypt string, for it to be vulnerable to cracking and using.
while there is a string like XX or goaway, in this feild the userid will never be reversible.
2: change the shell to nologin
as long as the userid is reportable with id -a userid the file mapping will work in samba.
regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.