CVS update: samba/source

Jeremy Allison jallison at whistle.com
Tue Apr 14 17:08:19 GMT 1998


Luke Kenneth Casson Leighton wrote:
> 
> jeremy,
> 
> can we do a getsmbpwnamRID?  this is more important than getsmbpwuid.
> 
> luke

No that's not the right way to do it.

We never store RIDs in the smbpasswd file,
therefor a lookup on RIDs is not useful.

We need rid_to_uid_or_gid, and uid_to_rid
and gid_to_rid functions, but not the one
you mentioned above.

We need to keep the code very clear when
we are deling with RIDs and when we are
dealing with uids and gids and never the
twain shall meet :-).

Jeremy.



-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba-technical mailing list