Martin Schwenke
2020-Sep-29 10:29 UTC
[Samba] [CTDB] "use mmap = no" Causes wibind to fail
On Tue, 29 Sep 2020 11:22:08 +0200, Ralph Boehme via samba <samba at lists.samba.org> wrote:> Am 9/29/20 um 10:33 AM schrieb Rowland penny: > > Ralph, the wikipage, that Christian referred to, says to use: > > > > netbios name = something > > clustering = yes > > idmap config *?: backend = autorid > > idmap config *?: range = 1000000-1999999 > > > > My understanding is that autorid is meant to be used with multiple > > domains, yet Christian's smb.conf is definitely for a standalone server, > > so does he need the idmap config lines ? > > autorid can be used in a standalone setup as well, but it might be > confusing to have this in the wiki in that place as it might make it > look like autorid might be required for some reason which it is not, the > default tdb would work just fine. > > *scratches head*Don't we need some sort of ID mapping to ensure that IDs are mapped consistently across the cluster? peace & happiness, martin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20200929/6277c8d5/attachment.sig>
On 29/09/2020 11:29, Martin Schwenke via samba wrote:> On Tue, 29 Sep 2020 11:22:08 +0200, Ralph Boehme via samba > <samba at lists.samba.org> wrote: > >> Am 9/29/20 um 10:33 AM schrieb Rowland penny: >>> Ralph, the wikipage, that Christian referred to, says to use: >>> >>> netbios name = something >>> clustering = yes >>> idmap config *?: backend = autorid >>> idmap config *?: range = 1000000-1999999 >>> >>> My understanding is that autorid is meant to be used with multiple >>> domains, yet Christian's smb.conf is definitely for a standalone server, >>> so does he need the idmap config lines ? >> autorid can be used in a standalone setup as well, but it might be >> confusing to have this in the wiki in that place as it might make it >> look like autorid might be required for some reason which it is not, the >> default tdb would work just fine. >> >> *scratches head* > Don't we need some sort of ID mapping to ensure that IDs are mapped > consistently across the cluster? > > peace & happiness, > martinI thought that, but was confused because the OP's smb.conf is for a standalone server and you do not normally run winbind on a standalone server. Rowland
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 -- Ralph Boehme, Samba Team https://samba.org/ Samba Developer, SerNet GmbH https://sernet.de/en/samba/ GPG-Fingerprint FAE2C6088A24252051C559E4AA1E9B7126399E46 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20200929/2b499d4f/signature.sig>
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. > > -slowThen 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 My problem with that is, as far as I am aware, tdb is an allocating backend and you cannot ensure that users on each member of the cluster will get the same ID. Rowland