[Samba] [Samba 4.3.11] Changing GID of "domain users" - wbinfo shows still the old GID

Rowland Penny rpenny at samba.org
Wed Jan 4 12:30:58 UTC 2017


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




More information about the samba mailing list