winbind UID, GID assignment

abartlet at samba.org abartlet at samba.org
Tue May 14 05:39:03 GMT 2002


On Tue, May 14, 2002 at 07:50:57AM -0400, Mike Gerdts wrote:
> On Mon, 2002-05-13 at 16:51, Andrew Bartlett wrote:
> > The problem is that we may not be able to resolve the SID at this
> > time.   We can't even assume that the DC is even contactable in some
> > situtations, let alone that it is alive and responding to requests in a
> > timely manner.
> 
> Does that mean that the only problem that you have with the approach
> used is that it relies upon knowning the domain and user or group name? 
> If so, would it make more sense to pass the sid to allocate_id() and the
> plug-in would be responsible for allocating a uid/gid based upon that? 
> Presumably in my idmap_files plug-in this would mean that the fields
> would be "sid:id".

Yep, that was may only major objection.  If you can send me a new patch 
(with dummy module for testing etc) I'll give it a lookup and (possibly)
add it to my patch queue.

Andrew Bartlett




More information about the samba-technical mailing list