ca-mlsamba at arditi.pt
2018-Apr-08 11:39 UTC
[Samba] Domain Users group with multiple gid
Hi, I have little knowledge about Samba 4 and I need help. I have a Zentyal 5 server, which is based on Ubuntu 16.04 and Samba4. There are some issues with Samba access to certain shares, because there seems to be 2 different gid for group "Domain Users", gid 1901 and gid 2513. # wbinfo --gid-info 2513 ARDITI\domain users:x:2513: # wbinfo --gid-info 1901 ARDITI\domain users:x:1901: # wbinfo --gid-to-sid=*1901* S-1-5-21-1969551146-1524703261-742246316-513 # wbinfo --gid-to-sid=*2513* S-1-5-21-1969551146-1524703261-742246316-513 # wbinfo --sid-to-gid=S-1-5-21-1969551146-1524703261-742246316-513 *2513* From this last statement it seems that gid 2513 is the correct one. I can I get rid of the incorrect entry? Regards
Hi, I have little knowledge about Samba 4 and I need help. I have a Zentyal 5 server, which is based on Ubuntu 16.04 and Samba4. There are some issues with Samba access to certain shares, because there seems to be 2 different gid for group "Domain Users", gid 1901 and gid 2513. # wbinfo --gid-info 2513 ARDITI\domain users:x:2513: # wbinfo --gid-info 1901 ARDITI\domain users:x:1901: # wbinfo --gid-to-sid=*1901* S-1-5-21-1969551146-1524703261-742246316-513 # wbinfo --gid-to-sid=*2513* S-1-5-21-1969551146-1524703261-742246316-513 # wbinfo --sid-to-gid=S-1-5-21-1969551146-1524703261-742246316-513 *2513* From this last statement it seems that gid 2513 is the correct one. I can I get rid of the incorrect entry? Regards
On Sun, 8 Apr 2018 12:47:25 +0100 Clemente Aguiar via samba <samba at lists.samba.org> wrote:> > Hi, > > I have little knowledge about Samba 4 and I need help. > > I have a Zentyal 5 server, which is based on Ubuntu 16.04 and Samba4. > > There are some issues with Samba access to certain shares, because > there seems to be 2 different gid for group "Domain Users", gid 1901 > and gid 2513. > > # wbinfo --gid-info 2513 > ARDITI\domain users:x:2513: > > # wbinfo --gid-info 1901 > ARDITI\domain users:x:1901: > > # wbinfo --gid-to-sid=*1901* > S-1-5-21-1969551146-1524703261-742246316-513 > # wbinfo --gid-to-sid=*2513* > S-1-5-21-1969551146-1524703261-742246316-513 > > # wbinfo --sid-to-gid=S-1-5-21-1969551146-1524703261-742246316-513 > *2513* > > From this last statement it seems that gid 2513 is the correct one. > > I can I get rid of the incorrect entry? > > Regards >How is Samba being run ? Can you post your smb.conf Rowland