@@ -1760,7 +1760,7 @@ def _generate_ldap_service(self) -> dict:
1760
1760
1761
1761
ldap_base_dn = ldap_params ["ldapbasedn" ]
1762
1762
ldap_bind_username = ldap_params ["ldapbinddn" ]
1763
- ldap_bing_password = ldap_params ["ldapbindpasswd" ]
1763
+ ldap_bind_password = ldap_params ["ldapbindpasswd" ]
1764
1764
ldap_group_mappings = self .postgresql .build_postgresql_group_map (self .config .ldap_map )
1765
1765
1766
1766
return {
@@ -1773,7 +1773,7 @@ def _generate_ldap_service(self) -> dict:
1773
1773
"LDAP_PORT" : ldap_port ,
1774
1774
"LDAP_BASE_DN" : ldap_base_dn ,
1775
1775
"LDAP_BIND_USERNAME" : ldap_bind_username ,
1776
- "LDAP_BIND_PASSWORD" : ldap_bing_password ,
1776
+ "LDAP_BIND_PASSWORD" : ldap_bind_password ,
1777
1777
"LDAP_GROUP_IDENTITY" : json .dumps (ACCESS_GROUP_IDENTITY ),
1778
1778
"LDAP_GROUP_MAPPINGS" : json .dumps (ldap_group_mappings ),
1779
1779
"POSTGRES_HOST" : "127.0.0.1" ,
@@ -1991,7 +1991,7 @@ def _restart_ldap_sync_service(self) -> None:
1991
1991
1992
1992
if not self .is_primary and sync_service [0 ].is_running ():
1993
1993
logger .debug ("Stopping LDAP sync service. It must only run in the primary" )
1994
- container .stop (self .pg_ldap_sync_service )
1994
+ container .stop (self .ldap_sync_service )
1995
1995
1996
1996
if self .is_primary and not self .is_ldap_enabled :
1997
1997
logger .debug ("Stopping LDAP sync service" )
0 commit comments