rawi
2017-Jan-04 11:40 UTC
[Samba] [Samba 4.3.11] Changing GID of "domain users" - wbinfo shows still the old GID
Hi working on Ubuntu server 16.04.1 with Samba Version 4.3.11-Ubuntu I have an AD-DC and a Domain Member for file sharing All tests are OK. Loggon with remote profiles works. Today I changed (ldbedit) the GID of the Domain Users from 5000 to 10001 (No files will be generated with this GID. It is here only for wbinfo to work). The change was accepted. ldbsearch on the AD-DC shows the new GID of "Domain Users" But wbinfo shows stubborn still the old GID; both on the AD-DC and the Domain Member. I restarted samba and winbind on both machines. winbind cache time = 300: I waited and hoped a long time but no change. I found recommendations to delete different cache files, but I'm not sure which ones and don't want to damage a long time configuration, learning by doing. What should I do? Thanks and best regards rawi -- View this message in context: http://samba.2283325.n4.nabble.com/Samba-4-3-11-Changing-GID-of-domain-users-wbinfo-shows-still-the-old-GID-tp4712996.html Sent from the Samba - General mailing list archive at Nabble.com.
rawi
2017-Jan-04 12:22 UTC
[Samba] [Solved] Changing GID of "domain users" - wbinfo shows still the old GID
net cache flush and restart gave me the new GID (gidNumber) Thank you very much! -- View this message in context: http://samba.2283325.n4.nabble.com/Samba-4-3-11-Changing-GID-of-domain-users-wbinfo-shows-still-the-old-GID-tp4712996p4713000.html Sent from the Samba - General mailing list archive at Nabble.com.
L.P.H. van Belle
2017-Jan-04 12:28 UTC
[Samba] [Samba 4.3.11] Changing GID of "domain users" - wbinfo shows still the old GID
Run : net cache flush then on both servers and restart samba/winbind and test again. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens rawi via samba > Verzonden: woensdag 4 januari 2017 12:40 > Aan: samba at lists.samba.org > Onderwerp: [Samba] [Samba 4.3.11] Changing GID of "domain users" - wbinfo > shows still the old GID > > Hi > > working on Ubuntu server 16.04.1 with Samba Version 4.3.11-Ubuntu > > I have an AD-DC and a Domain Member for file sharing > All tests are OK. Loggon with remote profiles works. > > Today I changed (ldbedit) the GID of the Domain Users from 5000 to 10001 > (No > files will be generated with this GID. It is here only for wbinfo to > work). > The change was accepted. ldbsearch on the AD-DC shows the new GID of > "Domain > Users" > > But wbinfo shows stubborn still the old GID; both on the AD-DC and the > Domain Member. > > I restarted samba and winbind on both machines. > > winbind cache time = 300: I waited and hoped a long time but no change. > > I found recommendations to delete different cache files, but I'm not sure > which ones and don't want to damage a long time configuration, learning by > doing. > > What should I do? > > Thanks and best regards > rawi > > > > -- > View this message in context: http://samba.2283325.n4.nabble.com/Samba-4- > 3-11-Changing-GID-of-domain-users-wbinfo-shows-still-the-old-GID- > tp4712996.html > Sent from the Samba - General mailing list archive at Nabble.com. > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Rowland Penny
2017-Jan-04 12:30 UTC
[Samba] [Samba 4.3.11] Changing GID of "domain users" - wbinfo shows still the old GID
On Wed, 4 Jan 2017 03:40:23 -0800 (PST) rawi via samba <samba at lists.samba.org> wrote:> Hi > > working on Ubuntu server 16.04.1 with Samba Version 4.3.11-Ubuntu > > I have an AD-DC and a Domain Member for file sharing > All tests are OK. Loggon with remote profiles works. > > Today I changed (ldbedit) the GID of the Domain Users from 5000 to > 10001 (No files will be generated with this GID. It is here only for > wbinfo to work). The change was accepted. ldbsearch on the AD-DC > shows the new GID of "Domain Users"I take it you mean 'gidNumber' when you say GID and you have changed the 'gidNumber' attribute of the Domain Users to '10001'> > But wbinfo shows stubborn still the old GID; both on the AD-DC and the > Domain Member. > > I restarted samba and winbind on both machines. > > winbind cache time = 300: I waited and hoped a long time but no > change. > > I found recommendations to delete different cache files, but I'm not > sure which ones and don't want to damage a long time configuration, > learning by doing. > > What should I do?There should be no need to delete any caches, try 'net cache flush' Rowland
Apparently Analagous Threads
- [Samba 4.3.11] Changing GID of "domain users" - wbinfo shows still the old GID
- [4.3.11-Ubuntu] SMBD keeps Locks on NTUSER.DAT and ntuser.ini after logout
- SOLVED(I hope): Difficulties with Windows XP: failed to find cifs/fileserver.y.z@Y.Z in keytab (arcfour-hmac-md5)
- Ntconfig.pol policies not applied immediatly after been read
- user auth and then rejection