瀏覽代碼

audit log does not log unhashed password: enabled, by default.

Noriko Hosoi 13 年之前
父節點
當前提交
df5293373d
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      ldap/servers/slapd/auditlog.c
  2. 1 1
      ldap/servers/slapd/libglobs.c

+ 1 - 1
ldap/servers/slapd/auditlog.c

@@ -55,7 +55,7 @@ char	*attr_changetype	= ATTR_CHANGETYPE;
 char	*attr_newrdn		= ATTR_NEWRDN;
 char	*attr_deleteoldrdn	= ATTR_DELETEOLDRDN;
 char	*attr_modifiersname = ATTR_MODIFIERSNAME;
-static int hide_unhashed_pw = 0;
+static int hide_unhashed_pw = 1;
 
 /* Forward Declarations */
 static void write_audit_file( int optype, const char *dn, void *change, int flag, time_t curtime );

+ 1 - 1
ldap/servers/slapd/libglobs.c

@@ -1080,7 +1080,7 @@ FrontendConfig_init () {
   cfg->auditlog_minfreespace = 5;
   cfg->auditlog_exptime = 1;
   cfg->auditlog_exptimeunit = slapi_ch_strdup("month");
-  cfg->auditlog_logging_hide_unhashed_pw = LDAP_OFF;
+  cfg->auditlog_logging_hide_unhashed_pw = LDAP_ON;
 
   cfg->entryusn_global = LDAP_OFF; 
   cfg->entryusn_import_init = slapi_ch_strdup("0");