CVS update: samba/source/nsswitch
Luke Kenneth Casson Leighton
lkcl at samba.org
Fri Feb 11 11:28:50 EST 2000
tim, tim. be careful. again, it's not the job of winbind to make the
decision about whether to map to well-known RIDs or not.
the "BUILTIN" rids are just another domain.
therefore, you need to treat them as such, not hard-code them.
again, i advise you to use a surs algorithm not a hard-coded table or any
other hard-coded decisions.
let the surs algorithm decide whether to map a uid to a SID, _including_
whether to map it to the BUILTIN domain.
when you get the response back, you can do lsa_lookup_sids() on it to get
the NT name.
you don't have to do _any_ special-case hard-coding.
adding a hard-coded "builtin-rid" map is only going to make you life
_more_ complicated, not simpler.
On Fri, 11 Feb 2000, Tim Potter wrote:
>
> Date: Friday February 11, 2000 @ 11:22
> Author: tpot
>
> Update of /data/cvs/samba/source/nsswitch
> In directory samba:/tmp/cvs-serv11197
>
> Modified Files:
> Tag: SAMBA_TNG
> winbindd.c winbindd.h
> Added Files:
> Tag: SAMBA_TNG
> winbindd_group.c winbindd_user.c
> Log Message:
> General cleanup of debugs.
>
> Implemented mapping for well-known RIDs.
>
> Split up into different bits.
>
<a href="mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton </a>
<a href="http://www.cb1.com/~lkcl"> Samba and Network Development </a>
<a href="http://samba.org" > Samba Web site </a>
<a href="http://www.iss.net" > Internet Security Systems, Inc. </a>
<a href="http://mcp.com" > Macmillan Technical Publishing </a>
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals
More information about the samba-cvs
mailing list