diff options
author | Jeremy Allison <jra@samba.org> | 2001-12-21 22:27:20 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-12-21 22:27:20 +0000 |
commit | 5829284a07463aa560527b38b69570444160e019 (patch) | |
tree | 089699b735555ca499ba7f8ed03f0a96bf5b74d6 /source3/rpc_server/srv_samr_nt.c | |
parent | 52d50bac7a46e0a7d1f9d5933b1e12f4116e9bf4 (diff) | |
download | samba-5829284a07463aa560527b38b69570444160e019.tar.gz samba-5829284a07463aa560527b38b69570444160e019.tar.bz2 samba-5829284a07463aa560527b38b69570444160e019.zip |
Fixup some DEBUG statements (0 -> 10).
Jeremy.
(This used to be commit bf65331cb49299189d35ad5834167ec24b3a1ecb)
Diffstat (limited to 'source3/rpc_server/srv_samr_nt.c')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 6 |
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 c3d4f826d4..5af797f1cb 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -124,7 +124,7 @@ static NTSTATUS load_sampwd_entries(struct samr_info *info, uint16 acb_mask) } if (!pdb_setsampwent(False)) { - DEBUG(0, ("get_sampwd_entries: Unable to open passdb.\n")); + DEBUG(0, ("load_sampwd_entries: Unable to open passdb.\n")); return NT_STATUS_ACCESS_DENIED; } @@ -142,7 +142,7 @@ static NTSTATUS load_sampwd_entries(struct samr_info *info, uint16 acb_mask) /* Realloc some memory for the array of ptr to the SAM_ACCOUNT structs */ if (info->disp_info.num_account % MAX_SAM_ENTRIES == 0) { - DEBUG(0,("load_sampwd_entries: allocating more memory\n")); + DEBUG(10,("load_sampwd_entries: allocating more memory\n")); pwd_array=(DISP_USER_INFO *)Realloc(info->disp_info.disp_user_info, @@ -172,7 +172,7 @@ static NTSTATUS load_sampwd_entries(struct samr_info *info, uint16 acb_mask) * note: the size calculated are smaller than the size sent on the wire * we add the SAM_ENTRY_x size later */ - DEBUG(0,("load_sampwd_entries: entry: %d size: %d total: %d\n", info->disp_info.num_account, info->disp_info.disp_user_info[info->disp_info.num_account].size,info->disp_info.total_size)); + DEBUG(10,("load_sampwd_entries: entry: %d size: %d total: %d\n", info->disp_info.num_account, info->disp_info.disp_user_info[info->disp_info.num_account].size,info->disp_info.total_size)); info->disp_info.num_account++; } |