[Samba] Mapping UIDs on Linux to same UID as AD-bound Mac is mapping to

Brett Randall
Tue, 16 Feb 2016 20:52:56 -0000

> On Tue, Feb 16, 2016 at 08:32:52PM +1100, Brett Randall wrote:
> > Has anyone done this? Surely it's a simple formula to generate the
> > same UID on Linux, but how would one make Samba use this? I've
looked
> > at the idmap attributes in smb.conf(5) and can't figure out where
to start.
>
> this would require a new idmap backend. I've looked into this before,
but
> lacking customer demand never got to do it. And there's one thing that
is
> broken by design in this mapping scheme: collisions.
>
> -Ralph

Thanks Ralph. Is the collisions you're talking about the risk of two GUIDs
sharing the same two first 32 bytes? I wondered if this were possible/likely
when I read that.

Brett.