From 08978cde00b4185df6585c1ccf159fb4afbb4bab Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 2 Jan 2016 20:58:39 +1300 Subject: [PATCH] ldb-samba: Add "secret" as a value to hide in LDIF files This is not secret or encrypted in LDAP, but is sensitive in secrets.ldb Signed-off-by: Andrew Bartlett Reviewed-by: Garming Sam Autobuild-User(master): Garming Sam Autobuild-Date(master): Wed May 11 07:17:38 CEST 2016 on sn-devel-144 BUG: https://bugzilla.samba.org/show_bug.cgi?id=12154 (cherry picked from commit 15f191a2329d08b92111f71e22f8a28c8a39c193) Autobuild-User(v4-3-test): Stefan Metzmacher Autobuild-Date(v4-3-test): Tue Aug 16 13:18:45 CEST 2016 on sn-devel-104 --- lib/ldb-samba/ldif_handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ldb-samba/ldif_handlers.c b/lib/ldb-samba/ldif_handlers.c index 65f1d885759..8f35e8d4e65 100644 --- a/lib/ldb-samba/ldif_handlers.c +++ b/lib/ldb-samba/ldif_handlers.c @@ -1651,7 +1651,7 @@ const struct ldb_schema_syntax *ldb_samba_syntax_by_lDAPDisplayName(struct ldb_c return s; } -static const char *secret_attributes[] = {DSDB_SECRET_ATTRIBUTES, NULL}; +static const char *secret_attributes[] = {DSDB_SECRET_ATTRIBUTES, "secret", NULL}; /* register the samba ldif handlers -- 2.47.2