diff options
author | Simo Sorce <idra@samba.org> | 2003-05-01 16:02:55 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2003-05-01 16:02:55 +0000 |
commit | e492cdb4e4deb9bba714272caed8772b8b25e4be (patch) | |
tree | 587cf288d532193477a78af4265f5d75dbb67054 /source3/sam/idmap_util.c | |
parent | 741f18d439fd31920913a0c7d6e3357f245b283b (diff) | |
download | samba-e492cdb4e4deb9bba714272caed8772b8b25e4be.tar.gz samba-e492cdb4e4deb9bba714272caed8772b8b25e4be.tar.bz2 samba-e492cdb4e4deb9bba714272caed8772b8b25e4be.zip |
fix wrong debug messages in idmap_util.c
correctly handle allocated rids in tdbsam
(This used to be commit 7ae6162e1dd668897628c4f7edff508616644d21)
Diffstat (limited to 'source3/sam/idmap_util.c')
-rw-r--r-- | source3/sam/idmap_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/sam/idmap_util.c b/source3/sam/idmap_util.c index 1508523ea6..ff581d91bc 100644 --- a/source3/sam/idmap_util.c +++ b/source3/sam/idmap_util.c @@ -133,7 +133,7 @@ NTSTATUS uid_to_sid(DOM_SID *sid, uid_t uid) id.uid = uid; if (NT_STATUS_IS_ERR(ret = idmap_get_sid_from_id(sid, id, flags))) { - DEBUG(10, ("uid_to_sid: Failed to map sid = [%s]\n", sid_string_static(sid))); + DEBUG(10, ("uid_to_sid: Failed to map uid = [%s]\n", (unsigned int)uid)); if (flags & ID_NOMAP) { sid_copy(sid, get_global_sam_sid()); sid_append_rid(sid, fallback_pdb_uid_to_user_rid(uid)); @@ -170,7 +170,7 @@ NTSTATUS gid_to_sid(DOM_SID *sid, gid_t gid) id.gid = gid; if (NT_STATUS_IS_ERR(ret = idmap_get_sid_from_id(sid, id, flags))) { - DEBUG(10, ("gid_to_sid: Failed to map sid = [%s]\n", sid_string_static(sid))); + DEBUG(10, ("gid_to_sid: Failed to map gid = [%u]\n", (unsigned int)gid)); if (flags & ID_NOMAP) { sid_copy(sid, get_global_sam_sid()); sid_append_rid(sid, pdb_gid_to_group_rid(gid)); |