[Samba] [CTDB] "use mmap = no" Causes wibind to fail

Rowland penny rpenny at samba.org
Tue Sep 29 12:06:20 UTC 2020


On 29/09/2020 12:32, Ralph Boehme wrote:
> Am 9/29/20 um 1:10 PM schrieb Rowland penny via samba:
>> On 29/09/2020 11:59, Ralph Boehme via samba wrote:
>>> Am 9/29/20 um 12:29 PM schrieb Martin Schwenke:
>>>> Don't we need some sort of ID mapping to ensure that IDs are mapped
>>>> consistently across the cluster?
>>> sure, but iirc idmap_tdb (the default) is clustered.
>>>
>>> -slow
>> Then why does the wikipage have these lines:
>>
>> idmap config * : backend = autorid
>> idmap config * : range = 1000000-1999999
>>
>> Wouldn't it work just as well with:
>>
>> idmap config * : backend = tdb
>> idmap config * : range = 1000000-1999999
> yes.
>
>> My problem with that is, as far as I am aware, tdb is an allocating
>> backend...
> yes ...
>
>> ... and you cannot ensure that users on each member of the cluster
>> will get the same ID.
> ... and no. idmap_tdb is using ctdb for the database, so you get
> clusterwide consistent mappings.
>
> -slow
>
OK, I will buy that, so we don't need these lines in the wiki:

idmap config * : backend = autorid
idmap config * : range = 1000000-1999999

We need these:

idmap config * : backend = tdb
idmap config * : range = 1000000-1999999

Unless you are running CTDB on a Unix domain member.

Rowland





More information about the samba mailing list