summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_pipe.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-03-24 18:38:59 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-03-24 18:38:59 +0000
commitf2c1d6895fc50526b9be9a703a76d15dd79d3185 (patch)
tree1d58809ad2eb0c6c960e1f5895ee7bdb9cfe2d95 /source3/rpc_server/srv_pipe.c
parentacffe03f936268357b61c48631a8842c4c2e623e (diff)
downloadsamba-f2c1d6895fc50526b9be9a703a76d15dd79d3185.tar.gz
samba-f2c1d6895fc50526b9be9a703a76d15dd79d3185.tar.bz2
samba-f2c1d6895fc50526b9be9a703a76d15dd79d3185.zip
Give error message when module doesn't seem to contain
pipe functions (This used to be commit 4dd16790436d18f5ac5868538309128e3f8ad1cc)
Diffstat (limited to 'source3/rpc_server/srv_pipe.c')
-rw-r--r--source3/rpc_server/srv_pipe.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index d6b774c566..2ab554f122 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -810,6 +810,11 @@ BOOL api_pipe_bind_req(pipes_struct *p, prs_struct *rpc_in_p)
break;
}
}
+
+ if (i == rpc_lookup_size) {
+ DEBUG(0, ("module %s doesn't provide functions for pipe %s!\m", p->name, p->name));
+ return False;
+ }
}
/* decode the bind request */