mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s3:rpc_server: Only dump passwords in developer builds
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Jul 26 03:05:01 UTC 2019 on sn-devel-184
This commit is contained in:
parent
93d424528f
commit
1f923e067d
@ -5198,7 +5198,9 @@ NTSTATUS _samr_SetUserInfo(struct pipes_struct *p,
|
||||
break;
|
||||
}
|
||||
|
||||
#ifdef DEBUG_PASSWORD
|
||||
dump_data(100, info->info23.password.data, 516);
|
||||
#endif
|
||||
|
||||
status = set_user_info_23(p->mem_ctx,
|
||||
&info->info23,
|
||||
@ -5219,7 +5221,9 @@ NTSTATUS _samr_SetUserInfo(struct pipes_struct *p,
|
||||
break;
|
||||
}
|
||||
|
||||
#ifdef DEBUG_PASSWORD
|
||||
dump_data(100, info->info24.password.data, 516);
|
||||
#endif
|
||||
|
||||
status = set_user_info_24(p->mem_ctx,
|
||||
rhost,
|
||||
@ -5237,7 +5241,9 @@ NTSTATUS _samr_SetUserInfo(struct pipes_struct *p,
|
||||
break;
|
||||
}
|
||||
|
||||
#ifdef DEBUG_PASSWORD
|
||||
dump_data(100, info->info25.password.data, 532);
|
||||
#endif
|
||||
|
||||
status = set_user_info_25(p->mem_ctx,
|
||||
rhost,
|
||||
@ -5255,7 +5261,9 @@ NTSTATUS _samr_SetUserInfo(struct pipes_struct *p,
|
||||
break;
|
||||
}
|
||||
|
||||
#ifdef DEBUG_PASSWORD
|
||||
dump_data(100, info->info26.password.data, 516);
|
||||
#endif
|
||||
|
||||
status = set_user_info_26(p->mem_ctx,
|
||||
rhost,
|
||||
|
Loading…
x
Reference in New Issue
Block a user