[Samba] 4.4.14 on solaris, using ads, can't read/write as user
francis picabia
fpicabia at gmail.com
Tue Jul 4 18:26:17 UTC 2017
I've read there can be issues with /tmp so I switched the test to /var/tmp
One file (foo.txt) is made by the shell user, while the other
file (doo.txt) is made by the same user connected over Samba.
bash-3.2$ ls -n doo.txt
-rwxr--r-- 1 3000 3004 29 Jul 4 09:51 doo.txt
bash-3.2$ ls -n foo.txt
-rw-rw---- 1 61001 10 39 Jul 4 09:50 foo.txt
With -l they both seem to have the same user name.
This doesn't happen in 3.6, which is where Solaris was only 3 patches back.
The ID mapping seems to be the problem.
The share is currently set like this:
[tmp]
path = /var/tmp
public = no
browseable = no
read only = no
force user = %U
%U is going with UID 3000 rather than 61001 we see on Samba 3.6.25 on
Solaris.
More information about the samba
mailing list