anchor.diff:          mkdir -p /run/slapd
           chown -R "${cfg.user}:${cfg.group}" /run/slapd
   
  -        mkdir -p ${configDir} ${lib.escapeShellArgs (lib.attrValues dataDirs)}
  -        chown "${cfg.user}:${cfg.group}" ${configDir} ${lib.escapeShellArgs (lib.attrValues dataDirs)}
  +        mkdir -p ${lib.escapeShellArg configDir} ${lib.escapeShellArgs (lib.attrValues dataDirs)}
  +        chown "${cfg.user}:${cfg.group}" ${lib.escapeShellArg configDir} ${lib.escapeShellArgs (lib.attrValues dataDirs)}
   
           ${lib.optionalString (cfg.configDir == null) (
             if (cfg.extraConfig != "" || cfg.extraDatabaseConfig != "") then ''
  
positive.code:       };
  
        logLevel = mkOption {
          type = types.nullOr (types.listOf types.str);
          default = null;
          example = literalExample "[ \"acl\" \"trace\" ]";
          description = "The log level.";
  
negative.code:     ${if cfg.extraDatabaseConfig != null then cfg.extraDatabaseConfig else ""}
    '');
  
    configDir = if cfg.configDir != null then cfg.configDir else "/etc/openldap/slapd.d";
  
    ldapValueType = let
      singleLdapValueType = types.either types.str (types.submodule {
  