diff --git a/seed/applicationservice/2022.03.08/openldap-server/dictionaries/21_openldap-server.xml b/seed/applicationservice/2022.03.08/openldap-server/dictionaries/21_openldap-server.xml
index 850791d5..e7750ac2 100644
--- a/seed/applicationservice/2022.03.08/openldap-server/dictionaries/21_openldap-server.xml
+++ b/seed/applicationservice/2022.03.08/openldap-server/dictionaries/21_openldap-server.xml
@@ -8,6 +8,7 @@
/etc/pki/tls/private/openldap.key
/var/lib/ldap/DB_CONFIG
/secrets/users.ldif
+ /secrets/users_mod.ldif
/secrets/config.ldif
/secrets/config_acl.ldif
/secrets/admin_ldap.pwd
diff --git a/seed/applicationservice/2022.03.08/openldap-server/templates/slapd.service b/seed/applicationservice/2022.03.08/openldap-server/templates/slapd.service
index 81a60494..9b4b2539 100644
--- a/seed/applicationservice/2022.03.08/openldap-server/templates/slapd.service
+++ b/seed/applicationservice/2022.03.08/openldap-server/templates/slapd.service
@@ -13,3 +13,4 @@ ExecStart=+/usr/sbin/slapd -u ldap -h ldaps:///
#waiting for ldap server...
ExecStartPost=/usr/bin/timeout 90 sh -c 'while ! 3<> /dev/tcp/localhost/%%ldap_port; do sleep 1; done'
ExecStartPost=-/usr/bin/ldapmodify -D %%ldap_admin_dn -y /usr/local/lib/secrets/admin_ldap.pwd -v -f /usr/local/lib/secrets/config_acl.ldif
+ExecStartPost=-/usr/bin/ldapmodify -D %%ldap_admin_dn -y /usr/local/lib/secrets/admin_ldap.pwd -v -f /usr/local/lib/secrets/users_mod.ldif
diff --git a/seed/applicationservice/2022.03.08/openldap-server/templates/users_mod.ldif b/seed/applicationservice/2022.03.08/openldap-server/templates/users_mod.ldif
new file mode 100644
index 00000000..69089247
--- /dev/null
+++ b/seed/applicationservice/2022.03.08/openldap-server/templates/users_mod.ldif
@@ -0,0 +1,9 @@
+# Remote
+%for %%remote in %%accounts.remotes
+ %set %%name = %%normalize_family(%%remote)
+dn: %%accounts['remote_' + %%name]['dn_' + %%name]
+changetype: modify
+replace: userPassword
+userPassword:: %%ssha_encode(%%accounts['remote_' + %%name]['password_' + %%name])
+
+%end for
diff --git a/seed/applicationservice/2022.03.08/postgresql-server/templates/postgresql.sql b/seed/applicationservice/2022.03.08/postgresql-server/templates/postgresql.sql
index 312b46e0..7f3892ac 100644
--- a/seed/applicationservice/2022.03.08/postgresql-server/templates/postgresql.sql
+++ b/seed/applicationservice/2022.03.08/postgresql-server/templates/postgresql.sql
@@ -2,5 +2,6 @@
%set %%name = %%normalize_family(%%server)
CREATE DATABASE "%%name";
CREATE ROLE "%%name" WITH LOGIN ENCRYPTED PASSWORD '%%accounts["remote_" + %%name]["password_" + %%name]';
+ALTER USER "%%name" PASSWORD '%%accounts["remote_" + %%name]["password_" + %%name]';
GRANT ALL PRIVILEGES ON DATABASE "%%name" TO "%%name";
%end for