summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_pipe.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-01-25 13:26:10 +0100
committerGünther Deschner <gd@samba.org>2008-01-25 15:30:43 +0100
commit05ff7fd46e19d9c1aab8524495c9b926290927c7 (patch)
treecefccdc4f1dda8569a704899dac8377ba0fe26ac /source3/rpc_client/cli_pipe.c
parentd7d4f1c132cfa24a96b07ec812c0235b69dacfaa (diff)
downloadsamba-05ff7fd46e19d9c1aab8524495c9b926290927c7.tar.gz
samba-05ff7fd46e19d9c1aab8524495c9b926290927c7.tar.bz2
samba-05ff7fd46e19d9c1aab8524495c9b926290927c7.zip
Use generated DSSETUP client & server rpc functions and remove the hand-written ones.
Guenther (This used to be commit d5ebfccebb1f1b56b45673a506fcdb414103c43b)
Diffstat (limited to 'source3/rpc_client/cli_pipe.c')
-rw-r--r--source3/rpc_client/cli_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 81b2ea5d68..40d0ac5da9 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -2263,7 +2263,7 @@ struct rpc_pipe_client *cli_rpc_pipe_open_noauth(struct cli_state *cli, int pipe
*perr = rpc_pipe_bind(result, PIPE_AUTH_TYPE_NONE, PIPE_AUTH_LEVEL_NONE);
if (!NT_STATUS_IS_OK(*perr)) {
int lvl = 0;
- if (pipe_idx == PI_LSARPC_DS) {
+ if (pipe_idx == PI_DSSETUP) {
/* non AD domains just don't have this pipe, avoid
* level 0 statement in that case - gd */
lvl = 3;