diff options
Diffstat (limited to 'source3/nsswitch/winbindd.h')
-rw-r--r-- | source3/nsswitch/winbindd.h | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/source3/nsswitch/winbindd.h b/source3/nsswitch/winbindd.h index fe25d5ba5e..17282cf131 100644 --- a/source3/nsswitch/winbindd.h +++ b/source3/nsswitch/winbindd.h @@ -68,17 +68,11 @@ struct getpwent_user { /* Server state structure */ struct winbindd_state { - /* Netbios name of PDC */ - fstring controller; - + /* User and group id pool */ + uid_t uid_low, uid_high; /* Range of uids to allocate */ gid_t gid_low, gid_high; /* Range of gids to allocate */ - - /* Cached handle to lsa pipe */ - CLI_POLICY_HND lsa_handle; - BOOL lsa_handle_open; - BOOL pwdb_initialised; }; extern struct winbindd_state server_state; /* Server information */ @@ -90,22 +84,24 @@ struct winbindd_domain { /* Domain information */ fstring name; /* Domain name */ - fstring controller; /* NetBIOS name of DC */ DOM_SID sid; /* SID for this domain */ BOOL got_domain_info; /* Got controller and sid */ /* Cached handles to samr pipe */ - CLI_POLICY_HND sam_handle, sam_dom_handle; - BOOL sam_handle_open, sam_dom_handle_open; - time_t last_check; - struct winbindd_domain *prev, *next; /* Linked list info */ }; extern struct winbindd_domain *domain_list; /* List of domains we know */ +/* Used to glue a policy handle and cli_state together */ + +typedef struct { + struct cli_state *cli; + POLICY_HND pol; +} CLI_POLICY_HND; + #include "winbindd_proto.h" #include "rpc_parse.h" |