Storing uidNumber and gidNumber in GC?

Elia Pinto gitter.spiros at
Sun Jul 22 03:04:16 MDT 2012

It is a possibilty. But not the only, if you want to consider to reuse
deleted account uid number. OTOH, if you care to don't never permit
reuse the same uid number - for policy of object reuse and doing what
windows does for the rid allocation scheme - it is necessary to
archive the dropped uid and never permit to reassign them. windows do
something like this for the rid, iirc.

Best regards

2012/7/21, steve <steve at>:
> On 07/21/2012 06:23 PM, Gémes Géza wrote:
>> Hi,
>> Thinking about Samba4s ability to store posix attributes, especially
>> the ones which needs to be unique, like uidNumber and gidNumber I've
>> came across the idmap_adex (Samba3) idmapping implementation which
>> require to add those attributes to GC. Wouldn't that approach
>> (together with an allocation schema, like do until unique xid=RID,
>> xid++) warrant that those attributes remain unique in the forest. The
>> tricky part is joining an existing domain/forest because this approach
>> would need schema modifications.
>> Thanks for sharing your thoughts on this.
>> Cheers
>> Geza Gemes
> Hi Geza.
> What's GC?
> Is it about how to find the next free uidNumber or gidNumber? If so, how
> about doing a getent and cutting the last uidNumber from the list and
> incrementing that.
> Cheers,
> Steve

Inviato dal mio dispositivo mobile

More information about the samba-technical mailing list