summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_ccache_access.c
diff options
context:
space:
mode:
authorbubulle <bubulle@alioth.debian.org>2009-06-03 18:15:49 +0000
committerbubulle <bubulle@alioth.debian.org>2009-06-03 18:15:49 +0000
commitdc27fc0a93fc4784f9f4720a8e6f0cae43954330 (patch)
tree36dc6b40331bac1d9648df1afa9bf8b2512b7868 /source3/winbindd/winbindd_ccache_access.c
parent361efbcbe5a2f0c5bd58ec9b09108590dc38174c (diff)
downloadsamba-dc27fc0a93fc4784f9f4720a8e6f0cae43954330.tar.gz
merge upstream 3.4.0~pre2
git-svn-id: svn://svn.debian.org/svn/pkg-samba/branches/samba/experimental@2806 fc4039ab-9d04-0410-8cac-899223bdd6b0
Diffstat (limited to 'source3/winbindd/winbindd_ccache_access.c')
-rw-r--r--source3/winbindd/winbindd_ccache_access.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/source3/winbindd/winbindd_ccache_access.c b/source3/winbindd/winbindd_ccache_access.c
index a696db1031..dd6d352960 100644
--- a/source3/winbindd/winbindd_ccache_access.c
+++ b/source3/winbindd/winbindd_ccache_access.c
@@ -31,11 +31,12 @@ static bool client_can_access_ccache_entry(uid_t client_uid,
struct WINBINDD_MEMORY_CREDS *entry)
{
if (client_uid == entry->uid || client_uid == 0) {
- DEBUG(10, ("Access granted to uid %d\n", client_uid));
+ DEBUG(10, ("Access granted to uid %u\n", (unsigned int)client_uid));
return True;
}
- DEBUG(1, ("Access denied to uid %d (expected %d)\n", client_uid, entry->uid));
+ DEBUG(1, ("Access denied to uid %u (expected %u)\n",
+ (unsigned int)client_uid, (unsigned int)entry->uid));
return False;
}
@@ -137,9 +138,9 @@ static bool check_client_uid(struct winbindd_cli_state *state, uid_t uid)
}
if (uid != ret_uid) {
- DEBUG(1, ("check_client_uid: Client lied about its uid: said %d, "
- "actually was %d; denying access\n",
- uid, ret_uid));
+ DEBUG(1, ("check_client_uid: Client lied about its uid: said %u, "
+ "actually was %u; denying access\n",
+ (unsigned int)uid, (unsigned int)ret_uid));
return False;
}