diff --git a/confluent_server/confluent/auth.py b/confluent_server/confluent/auth.py index 5a1479c9..383086dd 100644 --- a/confluent_server/confluent/auth.py +++ b/confluent_server/confluent/auth.py @@ -269,7 +269,7 @@ def check_user_passphrase(name, passphrase, operation=None, element=None, tenant return authorize(user, element, tenant, operation) if pam: pammy = pam.pam() - usergood = pammy.authenticate(user, passphrase, service='confluent') + usergood = pammy.authenticate(user, passphrase, service=_pamservice) del pammy if usergood: _passcache[(user, tenant)] = hashlib.sha256(passphrase).digest()