1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

ldb: removing prior secret from logs

priorSecret, like secret, can contain a machine account password
(for secrets.ldb) and so should not be printed in a debug
trace.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13353

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
This commit is contained in:
Aaron Haslett 2018-05-01 11:10:40 +12:00 committed by Andrew Bartlett
parent b9d01fddc6
commit 6a09162df6

View File

@ -1706,7 +1706,8 @@ const struct ldb_schema_syntax *ldb_samba_syntax_by_lDAPDisplayName(struct ldb_c
return s;
}
static const char *secret_attributes[] = {DSDB_SECRET_ATTRIBUTES, "secret", NULL};
static const char *secret_attributes[] = {DSDB_SECRET_ATTRIBUTES, "secret",
"priorSecret", NULL};
/*
register the samba ldif handlers