[Samba] How to Change UIDs

Roy Eastwood spindles7 at gmail.com
Thu Sep 5 21:45:05 UTC 2019

I must be missing something here.  Why can't the OP set the UID in ADUC to match that required in the other system?  The Samba
Domain member can use the ad backend, (rather than the rid), and no doubt file permissions will have to be readjusted accordingly,
but at least the UID's will match the other system.   The Windows DC doesn't care about the RFC2307 attributes, so that shouldn't be


> -----Original Message-----
> From: samba [mailto:samba-bounces at lists.samba.org] On Behalf Of Rowland penny via samba
> Sent: 05 September 2019 17:18
> To: sambalist
> Subject: Re: [Samba] How to Change UIDs
> On 05/09/2019 15:47, Tyrus Shivers wrote:
> > Understood.
> >
> > Just to confirm there is no way to change the UID of users or manually
> > assign them? When I do id "user", I get just a UID and several group
> > IDs, I do not get anything that starts with a S. I do understand the
> > SID from Windows is tied somehow to the UID
> The winbind 'rid' backend takes the SID, removes the RID and calculates
> the 'UID' from this, it will be a unique number because all RIDs are unique.
> >
> > I cannot setup a trust on my end. The remote share is managed by a
> > different set of admins, their only option for me to connect is to
> > have the UIDs that match their database of UIDs. It is a closed
> > network and the UIDs they have for users is tied to a different
> > authentication resource than our network.
> Then you are at an impasse
> 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