summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_server.h
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2007-08-20 11:38:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:18 -0500
commit01db94b95321c04107982ea211d1521cda862fa4 (patch)
tree93004cf794d6affaadfa75c46e449461547cb3bc /source4/winbind/wb_server.h
parent46435bbcd058d3eaf3676fa5f1852ea4258ec3ff (diff)
downloadsamba-01db94b95321c04107982ea211d1521cda862fa4.tar.gz
samba-01db94b95321c04107982ea211d1521cda862fa4.tar.bz2
samba-01db94b95321c04107982ea211d1521cda862fa4.zip
r24575: Implement setpwent
(This used to be commit 9bbbedac99278853e30a9f81f594ee3144545268)
Diffstat (limited to 'source4/winbind/wb_server.h')
-rw-r--r--source4/winbind/wb_server.h15
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: