[Samba] How to Change UIDs

Rowland penny rpenny at samba.org
Thu Sep 5 16:17:57 UTC 2019

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


More information about the samba mailing list