ldb-samba: Add "secret" as a value to hide in LDIF files v4-2-test
authorAndrew Bartlett <abartlet@samba.org>
Sat, 2 Jan 2016 07:58:39 +0000 (20:58 +1300)
committerStefan Metzmacher <metze@samba.org>
Mon, 15 Aug 2016 13:46:11 +0000 (15:46 +0200)
This is not secret or encrypted in LDAP, but is sensitive in secrets.ldb

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Autobuild-User(master): Garming Sam <garming@samba.org>
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-2-test): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(v4-2-test): Mon Aug 15 15:46:12 CEST 2016 on sn-devel-104

lib/ldb-samba/ldif_handlers.c

index d9d799ccb8ca09844c3ba04d949757b7d843f3b6..08602adf19111525b9268f5c17d665610bfabba4 100644 (file)
@@ -1560,7 +1560,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