1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

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
This commit is contained in:
Andreas Schneider 2011-09-15 17:25:52 +02:00 committed by Andreas Schneider
parent 4faad28778
commit a7d2437bc0

View File

@ -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;