diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-03-24 18:38:59 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-03-24 18:38:59 +0000 |
commit | f2c1d6895fc50526b9be9a703a76d15dd79d3185 (patch) | |
tree | 1d58809ad2eb0c6c960e1f5895ee7bdb9cfe2d95 /source3/rpc_server/srv_pipe.c | |
parent | acffe03f936268357b61c48631a8842c4c2e623e (diff) | |
download | samba-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.c | 5 |
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 */ |