summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-12-18 05:00:07 +0000
committerTim Potter <tpot@samba.org>2001-12-18 05:00:07 +0000
commit140f1ccf1f70f795bb8c208426ed507b06b1f32d (patch)
tree85734031f7e63267cf569fe0493c343966fc678f /source3
parent5d3b81dede7afe92976e7d798e5b85151d3b56a2 (diff)
downloadsamba-140f1ccf1f70f795bb8c208426ed507b06b1f32d.tar.gz
samba-140f1ccf1f70f795bb8c208426ed507b06b1f32d.tar.bz2
samba-140f1ccf1f70f795bb8c208426ed507b06b1f32d.zip
Fixed bad args to debug statements.
(This used to be commit 5e0f0716ca9826de110fd9eeaf231970e7c19b42)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_samr_nt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index 042978495a..78535e4c2b 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -3014,7 +3014,7 @@ NTSTATUS _samr_del_aliasmem(pipes_struct *p, SAMR_Q_DEL_ALIASMEM *q_u, SAMR_R_DE
/* check if the user exists before trying to remove it from the group */
pdb_init_sam(&sam_pass);
if(!pdb_getsampwrid(sam_pass, rid)) {
- DEBUG(5,("_samr_del_aliasmem:User %d doesn't exist.\n", sam_pass->username));
+ DEBUG(5,("_samr_del_aliasmem:User %s doesn't exist.\n", sam_pass->username));
pdb_free_sam(&sam_pass);
return NT_STATUS_NO_SUCH_USER;
}
@@ -3133,7 +3133,7 @@ NTSTATUS _samr_del_groupmem(pipes_struct *p, SAMR_Q_DEL_GROUPMEM *q_u, SAMR_R_DE
/* check if the user exists before trying to remove it from the group */
pdb_init_sam(&sam_pass);
if(!pdb_getsampwrid(sam_pass, rid)) {
- DEBUG(5,("User %d doesn't exist.\n", sam_pass->username));
+ DEBUG(5,("User %s doesn't exist.\n", sam_pass->username));
pdb_free_sam(&sam_pass);
return NT_STATUS_NO_SUCH_USER;
}
@@ -3181,7 +3181,7 @@ NTSTATUS _samr_delete_dom_user(pipes_struct *p, SAMR_Q_DELETE_DOM_USER *q_u, SAM
/* check if the user exists before trying to delete */
pdb_init_sam(&sam_pass);
if(!pdb_getsampwrid(sam_pass, rid)) {
- DEBUG(5,("_samr_delete_dom_user:User %d doesn't exist.\n", sam_pass->username));
+ DEBUG(5,("_samr_delete_dom_user:User %s doesn't exist.\n", sam_pass->username));
pdb_free_sam(&sam_pass);
return NT_STATUS_NO_SUCH_USER;
}