summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_sid.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-07-22 06:52:39 +0000
committerTim Potter <tpot@samba.org>2003-07-22 06:52:39 +0000
commitc9bc4b27b71f6baaa9dde1722061f3d59d8554bc (patch)
treeb91c28fc192f0053fdf9f7e511f1e7511d677627 /source3/nsswitch/winbindd_sid.c
parent80c1f1d865b13a63c7a60876b63458119566e044 (diff)
downloadsamba-c9bc4b27b71f6baaa9dde1722061f3d59d8554bc.tar.gz
samba-c9bc4b27b71f6baaa9dde1722061f3d59d8554bc.tar.bz2
samba-c9bc4b27b71f6baaa9dde1722061f3d59d8554bc.zip
Another round of uid/gid/pid format string changes I missed the
first time. (This used to be commit 6616485dbad74dab7506609c6bfd183fc9c1f93c)
Diffstat (limited to 'source3/nsswitch/winbindd_sid.c')
-rw-r--r--source3/nsswitch/winbindd_sid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd_sid.c b/source3/nsswitch/winbindd_sid.c
index 0c944b2f16..98a6fce24b 100644
--- a/source3/nsswitch/winbindd_sid.c
+++ b/source3/nsswitch/winbindd_sid.c
@@ -159,7 +159,7 @@ enum winbindd_result winbindd_sid_to_gid(struct winbindd_cli_state *state)
/* Ensure null termination */
state->request.data.sid[sizeof(state->request.data.sid)-1]='\0';
- DEBUG(3, ("[%5d]: sid to gid %s\n", state->pid,
+ DEBUG(3, ("[%5lu]: sid to gid %s\n", (unsigned long)state->pid,
state->request.data.sid));
if (!string_to_sid(&sid, state->request.data.sid)) {
@@ -192,8 +192,8 @@ enum winbindd_result winbindd_uid_to_sid(struct winbindd_cli_state *state)
return WINBINDD_ERROR;
}
- DEBUG(3, ("[%5lu]: uid to sid %d\n", (unsigned long)state->pid,
- state->request.data.uid));
+ DEBUG(3, ("[%5lu]: uid to sid %lu\n", (unsigned long)state->pid,
+ (unsigned long)state->request.data.uid));
/* Lookup rid for this uid */
if (!NT_STATUS_IS_OK(idmap_uid_to_sid(&sid, state->request.data.uid))) {