Date: Tue, 14 Apr 1998 10:08:19 -0700 From: Jeremy Allison <jallison@whistle.com> To: Luke Kenneth Casson Leighton <lkcl@regent.push.net> Subject: Re: CVS update: samba/source
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. --------------------------------------------------------