diff options
author | Andreas Schneider <asn@samba.org> | 2011-05-31 13:32:22 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2011-06-01 12:02:15 +0200 |
commit | 9f1b20e971ec0760ec2b3699f72daa54073ce656 (patch) | |
tree | d8b5724206744a52b9ea1ec58e2a1523708da476 /source3/rpc_server | |
parent | 89ced2cc49971557b23b8ae8fb804e16bed8cb6c (diff) | |
download | samba-9f1b20e971ec0760ec2b3699f72daa54073ce656.tar.gz samba-9f1b20e971ec0760ec2b3699f72daa54073ce656.tar.bz2 samba-9f1b20e971ec0760ec2b3699f72daa54073ce656.zip |
s3-rpc_server: Fixed debug messages for rpc_handles.
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/rpc_handles.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/source3/rpc_server/rpc_handles.c b/source3/rpc_server/rpc_handles.c index 1d78af8170..0b302510e0 100644 --- a/source3/rpc_server/rpc_handles.c +++ b/source3/rpc_server/rpc_handles.c @@ -319,9 +319,9 @@ void close_policy_by_pipe(struct pipes_struct *p) */ TALLOC_FREE(p->pipe_handles); - DEBUG(10,("close_policy_by_pipe: deleted handle list for " - "pipe %s\n", - get_pipe_name_from_syntax(talloc_tos(), &p->syntax))); + DEBUG(10,("Deleted handle list for RPC connection %s\n", + get_pipe_name_from_syntax(talloc_tos(), + &p->contexts->syntax))); } } @@ -362,9 +362,10 @@ void *_policy_handle_create(struct pipes_struct *p, struct policy_handle *hnd, void *data; if (p->pipe_handles->count > MAX_OPEN_POLS) { - DEBUG(0, ("policy_handle_create: ERROR: too many handles (%d) " - "on pipe %s.\n", (int)p->pipe_handles->count, - get_pipe_name_from_syntax(talloc_tos(), &p->syntax))); + DEBUG(0, ("ERROR: Too many handles (%d) for RPC connection %s\n", + get_pipe_name_from_syntax(talloc_tos(), + &p->contexts->syntax), + (int) p->pipe_handles->count)); *pstatus = NT_STATUS_INSUFFICIENT_RESOURCES; return NULL; } |