I found that machines running CentOS 6.6, kernel 2.6.32 and Samba 4.4 maps UID to values under 16 bits for instance: uid=12112(john) gid=100(users) groups=10102(DomainUsers) however other systems parts of the same AD but running CentOS 7 (kernel 3.10 and Samba 4.7) use different, much larger IDs, for instance: uid=10499212112(john) gid=100(users) groups=10102(DomainUsers) But with a similar "ending". Is it due to the kernel or the Samba release? Thanks, -- ------------------------------------------------------------------------ Emmanuel Florac | Direction technique | Intellique | <eflorac at intellique.com> | +33 1 78 94 84 02 ------------------------------------------------------------------------ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 163 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20181116/d1d6a397/attachment.sig>
On Fri, 16 Nov 2018 13:09:49 +0100 Emmanuel Florac via samba <samba at lists.samba.org> wrote:> > I found that machines running CentOS 6.6, kernel 2.6.32 and Samba 4.4 > maps UID to values under 16 bits for instance: > > uid=12112(john) gid=100(users) groups=10102(DomainUsers) > > however other systems parts of the same AD but running CentOS 7 > (kernel 3.10 and Samba 4.7) use different, much larger IDs, for > instance: > > uid=10499212112(john) gid=100(users) groups=10102(DomainUsers) > > But with a similar "ending". Is it due to the kernel or the Samba > release? > > Thanks,Without seeing your smb.conf files it is a bit hard to say what is causing this, what I can say is, it probably isn't Samba. Samba, using winbind, usually uses either the 'ad' or 'rid' backends, the 'ad' (if set up correctly) backend obtains the ID's from AD, so they should be the same everywhere and the 'rid' backend calculates the ID's from the Windows RID's, so they will be the same. Rowland
Reasonably Related Threads
- Old Samba 3.x server as a Samba 4 AD member.
- wbinfo -i returns the same id for all users, authentication doesn't seem to go through winbind at all
- Moving users from a Samba 3.6 to 4.9 (tdb)
- wbinfo -i returns the same id for all users, authentication doesn't seem to go through winbind at all
- Issues with mounting Samba shares after update