diff options
author | Andreas Schneider <asn@samba.org> | 2011-09-15 17:25:52 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-09-15 19:23:43 +0200 |
commit | a7d2437bc0b69b8704d9d38fd758599ad840be1d (patch) | |
tree | 3942b6070a8e093ed1282370d5c6300098ea4cdd /source3 | |
parent | 4faad287783f9a7b22f3ff1d40c609e603a66709 (diff) | |
download | samba-a7d2437bc0b69b8704d9d38fd758599ad840be1d.tar.gz samba-a7d2437bc0b69b8704d9d38fd758599ad840be1d.tar.bz2 samba-a7d2437bc0b69b8704d9d38fd758599ad840be1d.zip |
rpc_server: Improve debug message for sys_getpeereid().
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Sep 15 19:23:43 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/rpc_server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/rpc_server.c b/source3/rpc_server/rpc_server.c index 6b95419172..5270b72fbd 100644 --- a/source3/rpc_server/rpc_server.c +++ b/source3/rpc_server/rpc_server.c @@ -1070,7 +1070,8 @@ void dcerpc_ncacn_accept(struct tevent_context *ev_ctx, case NCALRPC: rc = sys_getpeereid(s, &uid); if (rc < 0) { - DEBUG(2, ("Failed to get ncalrpc connecting uid!")); + DEBUG(2, ("Failed to get ncalrpc connecting " + "uid - %s!\n", strerror(errno))); } else { if (uid == sec_initial_uid()) { system_user = true; |