summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-10-08 18:32:42 +0000
committerGerald Carter <jerry@samba.org>2002-10-08 18:32:42 +0000
commitbfa93735abe52fe07fde1b10ece0c31f5cf73ef8 (patch)
tree8e0c4386faef9eb67bd38cf6230441df134f9088 /source3/rpc_client
parent641dd258adb2a3d265b89b2726d93fac3942e36a (diff)
downloadsamba-bfa93735abe52fe07fde1b10ece0c31f5cf73ef8.tar.gz
samba-bfa93735abe52fe07fde1b10ece0c31f5cf73ef8.tar.bz2
samba-bfa93735abe52fe07fde1b10ece0c31f5cf73ef8.zip
merge from APP_HEAD of winbindd's domain local group fix
(This used to be commit 09c6f6329d6ae9327b7ef06de0ea78d24d805456)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 7e1289edff..71e422f251 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -984,6 +984,22 @@ char* get_pipe_name_from_index( const int pipe_index )
}
/****************************************************************************
+ Check to see if this pipe index points to one of
+ the pipes only supported by Win2k
+ ****************************************************************************/
+
+BOOL is_win2k_pipe( const int pipe_idx )
+{
+ switch ( pipe_idx )
+ {
+ case PI_LSARPC_DS:
+ return True;
+ }
+
+ return False;
+}
+
+/****************************************************************************
check the rpc bind acknowledge response
****************************************************************************/