Web lists-archives.com

Re: [Samba] 4.4.14 on solaris, using ads, can't read/write as user

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:

  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
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba