After upgrades I noticed the 11.1-U1 and U2 didn't serve samba shared directory any longer for me. I have one common share for family, where I let guest account in, and force it to use certain user and certain group. I set it with:
and this fails:
But if I comment out the "force group" option it works. It doesn't matter if I use another user, whose secondary group is asukkaat, it fails the same. And after commenting force user out, it works also. This used to work earlier, some regression.
Reading the samba manuals, the behaviour has changed at some point so that force user sets also the group to the default group of given user. Which in this case is the same, asukkaat.
Well, it works for me now by commenting that out, but sounds like a bug to me. Anyhow, if you run into same, I hope google finds you this thread.
Code:
force group = asukkaat force user = jako create mask = 0666 force create mode = 0666 directory mask = 0777 force directory mode = 0777
and this fails:
Code:
smbclient -W mynet -U jako //freeknas.mynet/ourshare tree connect failed: NT_STATUS_NO_SUCH_GROUP
But if I comment out the "force group" option it works. It doesn't matter if I use another user, whose secondary group is asukkaat, it fails the same. And after commenting force user out, it works also. This used to work earlier, some regression.
Reading the samba manuals, the behaviour has changed at some point so that force user sets also the group to the default group of given user. Which in this case is the same, asukkaat.
Well, it works for me now by commenting that out, but sounds like a bug to me. Anyhow, if you run into same, I hope google finds you this thread.