[Samba] Admin UID changed with upgrade to 4.8.2

L.P.H. van Belle belle at bazuin.nl
Wed Jun 13 06:50:00 UTC 2018


Imo, this is a left over of an old bug, just remove the file Registry.po imo, i'll bet its never used. 
The computer looks for Registry.pol not Registry.po. 

> -rwxrwx--- 1 root    users  958 2014-09-13 04:01 Registry.po*
> -rwxrwx--- 1 3000000 users  958 2014-09-13 04:01 Registry.pol*
Look at the date 2014, and i do remember something about this. 

But... What does getfacl say about these files/folders Or get my script: 
https://raw.githubusercontent.com/thctlo/samba4/master/samba-check-set-sysvol.sh 
And see if there is something wrong here in you SID/UID mappins 
The script does not apply settings by default it only check and creates a file with the acl.
So you can review it. 

And post you smb.conf that helps, really. 

You updated from 4.4 to 4.8, thats a big step. 
I have summerices the smb.conf changes, i suggest review it carefully again. 
http://downloads.van-belle.nl/samba4/Upgrade-info.txt
Or 
https://wiki.samba.org/index.php/Samba_Features_added/changed_(by_release)
The complete list. 


Greetz, 

Louis



> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Rowland Penny via samba
> Verzonden: woensdag 13 juni 2018 8:33
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] Admin UID changed with upgrade to 4.8.2
> 
> On Tue, 12 Jun 2018 16:53:30 -0400
> Mark Foley via samba <samba at lists.samba.org> wrote:
> 
> > In order to get help using a more up-to-date version of Samba, I've
> > just upgraded from 4.4.16 to 4.8.2. So far, nothing new seems to be
> > broken, but I still have to track down some issues I've been having.
> > 
> > First off, I notice that something has changed with my
> > BUILTIN\administrators ID. before, I had, e.g.:
> > 
> > > ls -l
> > 
> /var/lib/samba/sysvol/hprs.local/policies/\{B78D19CB-914B-48F4
> -AA63-FD8708A553D7\}/Machine/
> > total 16
> > drwxrwx--- 3 BUILTIN\administrators users 4096 2014-09-13 03:22
> > Microsoft/ -rwxrwx--- 1 root                   users  958 2014-09-13
> > 04:01 Registry.po* -rwxrwx--- 1 BUILTIN\administrators users  958
> > 2014-09-13 04:01 Registry.pol* drwxrwx--- 4 BUILTIN\administrators
> > users 4096 2014-09-13 03:22 Scripts/
> > 
> > Now, with 4.8.2, doing the same ls gives me:
> > 
> > > ls -l
> > 
> /var/lib/samba/sysvol/hprs.local/policies/\{B78D19CB-914B-48F4
> -AA63-FD8708A553D7\}/Machine/
> > total 16
> > drwxrwx--- 3 3000000 users 4096 2014-09-13 03:22 Microsoft/
> > -rwxrwx--- 1 root    users  958 2014-09-13 04:01 Registry.po*
> > -rwxrwx--- 1 3000000 users  958 2014-09-13 04:01 Registry.pol*
> > drwxrwx--- 4 3000000 users 4096 2014-09-13 03:22 Scripts/
> > 
> > Is this a problem? Why would that user now be missing? What should I
> > do about this?
> > 
> > THX --Mark
> > 
> 
> 3000000 is very probably Administrators, has libnss_winbind etc been
> updated ?
> 
> Rowland
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 
> 




More information about the samba mailing list