diff options
Diffstat (limited to 'source4/winbind/wb_server.h')
-rw-r--r-- | source4/winbind/wb_server.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/source4/winbind/wb_server.h b/source4/winbind/wb_server.h index 37debbb5dd..359dcb82e2 100644 --- a/source4/winbind/wb_server.h +++ b/source4/winbind/wb_server.h @@ -23,7 +23,6 @@ #include "nsswitch/winbindd_nss.h" #include "libnet/libnet.h" - #define WINBINDD_SAMBA3_SOCKET "pipe" /* the privileged socket is in smbd_tmp_dir() */ #define WINBINDD_SAMBA3_PRIVILEGED_SOCKET "winbind_pipe" @@ -107,6 +106,20 @@ struct wbsrv_connection { } while(0) /* + state of a pwent query +*/ +struct wbsrv_pwent { + /* Current UserList structure, contains 1+ user structs */ + struct libnet_UserList *user_list; + + /* Index of the next user struct in the current UserList struct */ + uint32_t page_index; + + /* The libnet_ctx to use for the libnet_UserList call */ + struct libnet_context *libnet_ctx; +}; + +/* state of one request NOTE about async replies: |