diff --git a/tmpl/syspass-config.xml b/tmpl/syspass-config.xml
index a74c6de..5cab704 100644
--- a/tmpl/syspass-config.xml
+++ b/tmpl/syspass-config.xml
@@ -44,14 +44,14 @@
1
0
%%ldap_base_dn
- %%pwdreader("", %%rdap_reader_passfile)
+ %%pwdreader("", %%ldap_reader_passfile)
%%ldap_reader
1
- ldap://%%adress_ip_ldap
+ ldap://%%adresse_ip_ldap
0
1
diff --git a/tmpl/syspass.yml b/tmpl/syspass.yml
index bc30d21..1807abe 100644
--- a/tmpl/syspass.yml
+++ b/tmpl/syspass.yml
@@ -24,7 +24,9 @@ createscript: "/usr/share/eole/db/syspass/gen/0_eole-syspass.sql"
sqlscripts: ["/usr/share/eole/db/syspass/gen/dbstructure.sql"]
updatescripts: []
pwd_files:
- - {file: '%%container_path_web/var/www/html/syspass/app/config/config.php',
- pattern: " 'dbpass' => '",
+ - {file: '%%container_path_web/var/www/html/syspass/app/config/config.xml',
+ type: 'xml',
+ pattern: " ",
+ end_pattern: "",
owner: 'www-data:www-data',
- mod: '540'}
+ mod: '700'}