summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-10-08 18:29:57 +0000
committerGerald Carter <jerry@samba.org>2002-10-08 18:29:57 +0000
commit876afb5d0f60a7c358b7b3023e59093ce192aa6b (patch)
tree1e1245ff78c1ceaf874c684780bd0e88de863fcb /source3/rpc_client
parent5bf57880e7893005bd51a76860dd4752954370d0 (diff)
downloadsamba-876afb5d0f60a7c358b7b3023e59093ce192aa6b.tar.gz
samba-876afb5d0f60a7c358b7b3023e59093ce192aa6b.tar.bz2
samba-876afb5d0f60a7c358b7b3023e59093ce192aa6b.zip
merge from APP_HEAD
* s/driverlocation/comment * detect native mode domain and enumerate local groups Also * Added sendfile stats from SAMBA_2_2 (This used to be commit 764b58e2c0b3179cffe157c0ab58761b156b8423)
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
****************************************************************************/