From 1e46d3a46a2556eb3c8704d344f51a013059ba97 Mon Sep 17 00:00:00 2001 From: Rafal Szczesniak Date: Sun, 27 Aug 2006 20:37:23 +0000 Subject: r17856: The two new functions - libnet_LookupName and libnet_UserInfo. These two perform name resolving in SAM database and fetching user account information, respectively. The code is quite rough yet, but it builds and basic tests work. Now, I'm working on cleaning it up... rafal (This used to be commit 4a932255a01d9f1ac91feb9e371494933f1ae74e) --- source4/libnet/libnet_lookup.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'source4/libnet/libnet_lookup.h') diff --git a/source4/libnet/libnet_lookup.h b/source4/libnet/libnet_lookup.h index ca2c506159..52af03bf27 100644 --- a/source4/libnet/libnet_lookup.h +++ b/source4/libnet/libnet_lookup.h @@ -30,6 +30,7 @@ struct libnet_Lookup { } out; }; + struct libnet_LookupDCs { struct { const char *domain_name; @@ -40,3 +41,18 @@ struct libnet_LookupDCs { struct nbt_dc_name *dcs; } out; }; + + +struct libnet_LookupName { + struct { + const char *name; + const char *domain_name; + } in; + struct { + struct dom_sid domain_sid; + int rid; + enum lsa_SidType sid_type; + const char *sidstr; + const char *error_string; + } out; +}; -- cgit