coding volunteers needed for msrpc server-side API conversion

Elrond Elrond at
Fri Jan 28 14:42:04 GMT 2000

On Fri, Jan 28, 2000 at 10:32:34PM +1100, Matt Chapman wrote:
> On Fri, Jan 28, 2000 at 06:13:30AM +1100, Elrond wrote:
> > 
> > so there _should_ be a sam_lookup_domainname_for_sid() ?
> Yep.
> SamrLookupDomainInSamServer (SAMR_LOOKUP_DOMAIN in Samba): domain name in,
> SID out.

I know that one. (I actually wrote a wrapper in
msrpc_samr.c for it.)

I'm looking for the other way around:

Domain-SID --> Domain-Name.

something like this would be needed by lsarpcd's
LookupSids, if lsarpcd is _completely_ "stupid" and doesn't
cache _anything_.

If lsarpcd would do caching, it of course could do
sam_enum_domains, followed by sam_lookup_domain and keep
the sids.


More information about the samba-technical mailing list