[Samba] ID Mapping

Rowland penny rpenny at samba.org
Tue Nov 3 12:12:57 UTC 2020


On 03/11/2020 12:05, O'Connor, Daniel via samba wrote:
>
>> On 3 Nov 2020, at 19:24, Stefan Kania via samba <samba at lists.samba.org> wrote:
>> Am 03.11.20 um 05:38 schrieb O'Connor, Daniel via samba:
>>> Hi,
>>> I have a Samba 4.11.8 system running as an AD and a file server and I am wondering what sort of ID mapping is done in this situation.
>>>
>>> I have uidNumber on each user set to use UIDs in the 1000 range but I find that they end up in the 3000000 range instead.
>>>
>>> Is this a fixable problem, or a result of having the file server and DC as the same machine?
>>>
>>> Thanks.
>> On an DC the mapping starts allway with 3.000.000 you cant change it.
>> That's the reason why you should not use a DC as fileserver
> OK, it would be nice if that was documented.
>
> IMHO just saying "don't do it!" without providing the details of the downsides does make it difficult to make an informed decision about a deployment.
>
We do not say "don't do it", we just don't recommend doing it, for 
various reasons, some of which are listed here:

https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller#Using_the_Domain_Controller_as_a_File_Server

Rowland





More information about the samba mailing list