1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-05 04:23:51 +03:00

r8076: Put name resolution methods into libnet_context. This allows libnet based

application use methods of their own choice and makes it less dependent on
smb.conf parameters.
Use libnet_context in libnet_Lookup functions which is the way to pass
default name resolution methods if caller doesn't want to bother with
specifying them.

rafal
This commit is contained in:
Rafal Szczesniak
2005-07-02 14:32:49 +00:00
committed by Gerald (Jerry) Carter
parent b28d2e9639
commit d0ea136356
3 changed files with 47 additions and 15 deletions

View File

@@ -25,13 +25,16 @@ struct libnet_context {
*/
struct cli_credentials *cred;
/* dcerpc pipes */
struct dcerpc_pipe *samr;
/* pipe */
struct dcerpc_pipe *pipe;
/* opened handles */
struct policy_handle domain_handle;
struct policy_handle user_handle;
/* name resolution methods */
char **name_res_methods;
struct event_context *event_ctx;
};