summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_nss.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nsswitch/winbindd_nss.h')
-rw-r--r--source3/nsswitch/winbindd_nss.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_nss.h b/source3/nsswitch/winbindd_nss.h
index 476dc71ab2..023d72306b 100644
--- a/source3/nsswitch/winbindd_nss.h
+++ b/source3/nsswitch/winbindd_nss.h
@@ -94,6 +94,11 @@ enum winbindd_cmd {
WINBINDD_SHOW_SEQUENCE, /* display sequence numbers of domains */
+ /* WINS commands */
+
+ WINBINDD_WINS_BYIP,
+ WINBINDD_WINS_BYNAME,
+
/* Placeholder for end of cmd list */
WINBINDD_NUM_CMDS
@@ -107,6 +112,7 @@ struct winbindd_request {
pid_t pid; /* pid of calling process */
union {
+ fstring winsreq; /* WINS request */
fstring username; /* getpwnam */
fstring groupname; /* getgrnam */
uid_t uid; /* getpwuid, uid_to_sid */
@@ -160,6 +166,8 @@ struct winbindd_response {
union {
int interface_version; /* Try to ensure this is always in the same spot... */
+ fstring winsresp; /* WINS response */
+
/* getpwnam, getpwuid */
struct winbindd_pw {