I have a pc running Linux and Samba, then I export HDD to
NT machines. Here is output of ls in NT:
C:\> ls -l U:/home/yan/a.c
-rwxrwxrwa 1 <unavail> <unavail> 85 Sep 16 19:28 u:/home/yan/a.c
But if I use the same command (ls.exe) for other files in NT machines, the <unavail> field will be filled by owner's name and group.
My question is how to set Samba to let it give same result
The background for my question:
I am using NuTCracker (a simulation of UNIX?) in my NT machine, so I have ls.exe, chmod.exe and so on.
I want to use RCS for files in Samba harddisk, but RCS
gives an error when it tries to call chmod() system call.
chmod.exe also give same error message as chmod() if the
file is located on Samba harddisk:
Error: The request for network is not supported.
But if the file is on NT harddisk (local or remote), chmod.exe
works well as well as RCS.
By invistigate the reason, I found the security attribute
of samba files is different from that of NT files.
So I think if I can change some setting in samba, then I can get same result as from NT harddisk.
Please give me some ideas.