[PATCH] Check if the idmap_hash range is big enough
Andreas Schneider
asn at samba.org
Mon Feb 20 12:40:06 UTC 2017
On Monday, 20 February 2017 11:51:15 CET Andreas Schneider wrote:
> On Friday, 17 February 2017 18:44:34 CET Michael Adam wrote:
> > > - idmap config * : range = 1000-4000000000
> > > + idmap config * : range = 100000-4000000000
> >
> > If you want to catch as much as possible of a domain
> > that gets hashed to 0, then the lower bound needs to
> > be as low as possible, hence the 1000. But then,
> > the first 1000 rids in a domain will be used as well,
> > and hence why not skip this first range entirely
> > and start at 500000 ? ;-)
>
> Ok, lets start there. I think we should suggest 525000 that is big enough
> and easy to deal with for our users.
>
> > So:
> >
> > - the idmap hash module, when used for "idmap config *",
> >
> > ideally should have the full range of
> > 0 - 2147483648 which is not quite possible (at the low
> > end at least)...
>
> The best is to start with 500000. 1000 is normally the start for local
> users.
>
>
> See attached patchset.
>
>
> Andreas
Ups, somthing wrong while creating patches. Here is the latest version.
Andreas
--
Andreas Schneider GPG-ID: CC014E3D
Samba Team asn at samba.org
www.samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: idmap_hash_v4.patch
Type: text/x-patch
Size: 2541 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170220/82ccc6ab/idmap_hash_v4.bin>
More information about the samba-technical
mailing list