summaryrefslogtreecommitdiff
path: root/source4/nsswitch/winbind_client.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-10-24 23:54:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:31 -0500
commit4298624589e2b44d88d703fe7cc0e73957c7652e (patch)
tree25c340c7962ae480e6caa60573c1638c227283c9 /source4/nsswitch/winbind_client.h
parentd164190debf9499ffa6dbf46ee24fa98da36c14f (diff)
downloadsamba-4298624589e2b44d88d703fe7cc0e73957c7652e.tar.gz
samba-4298624589e2b44d88d703fe7cc0e73957c7652e.tar.bz2
samba-4298624589e2b44d88d703fe7cc0e73957c7652e.zip
r3170: Add winbind client support back into Samba4. This is to allow
auth_winbind to work, and to therefore use the new ntlm_auth and GENSEC in an otherwise Samba3 setup. I'm not quite sure what fun-and games my svn cp caused as I merged this from samba_3_0, but anyway... Andrew Bartlett (This used to be commit 5925b94a59da406d7e6b8cc695c99ba112fdfcd6)
Diffstat (limited to 'source4/nsswitch/winbind_client.h')
-rw-r--r--source4/nsswitch/winbind_client.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/source4/nsswitch/winbind_client.h b/source4/nsswitch/winbind_client.h
new file mode 100644
index 0000000000..373d56804a
--- /dev/null
+++ b/source4/nsswitch/winbind_client.h
@@ -0,0 +1,16 @@
+#include "nsswitch/winbind_nss_config.h"
+#include "nsswitch/winbindd_nss.h"
+
+void init_request(struct winbindd_request *req,int rq_type);
+NSS_STATUS winbindd_send_request(int req_type,
+ struct winbindd_request *request);
+NSS_STATUS winbindd_get_response(struct winbindd_response *response);
+NSS_STATUS winbindd_request(int req_type,
+ struct winbindd_request *request,
+ struct winbindd_response *response);
+int winbind_open_pipe_sock(void);
+int write_sock(void *buffer, int count);
+int read_reply(struct winbindd_response *response);
+void close_sock(void);
+void free_response(struct winbindd_response *response);
+