You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using 829b9ea and installed the newest commit. Authentication fails for both LDAP and local users on my xpra proxy. I use pam for both TCP_AUTH and AUTH:
...
make_authenticators('tcp', 'USERNAME', ws socket: ::ffff:127.0.0.1, 14500, 0, 0 <- ::ffff:127.0.0.1, 42102, 0, 0) socket options={}
creating authenticators ('pam', <module 'xpra.server.auth.pam_auth' from '/usr/lib/python3.9/site-packages/xpra/server/auth/pam_auth.py'>, <class 'xpra.server.auth.pam_auth.Authenticator'>, {'exec_cwd': >
authenticator 0: pam(USERNAME, {'exec_cwd': '/', 'connection': ws socket: ::ffff:127.0.0.1, 14500, 0, 0 <- ::ffff:127.0.0.1, 42102, 0, 0})=PAM
processing authentication with (PAM,), remaining=(PAM,), digest_modes=(...
authenticator[0]=PAM, requires-challenge=True, challenge-sent=False
get_challenge(...
Authentication required by PAM authenticator module 1
sending challenge for username 'USERNAME' using xor digest
processing authentication with (PAM,), remaining=(PAM,), digest_modes=(...
authenticator[0]=PAM, requires-challenge=True, challenge-sent=True
combined salt...
authenticate_check(...
pam.check(..) pw=pwd.struct_passwd(pw_name='USERNAME', pw_passwd='x', pw_uid=12345, pw_gid=10001, pw_gecos='USER NAME', pw_dir='/home/USERNAME', pw_shell='/bin/bash')
pam check(USERNAME, [..])
check(..)
BufferError: PyBuffer_FillInfo: view==NULL argument is obsolete
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/xpra/server/auth/sys_auth_base.py", line 162, in authenticate_check
ret = self.check(password)
File "/usr/lib/python3.9/site-packages/xpra/server/auth/pam_auth.py", line 48, in check
return check(self.username, password, self.service, self.check_account)
File "/usr/lib/python3.9/site-packages/xpra/server/auth/pam_auth.py", line 23, in check
if not session.start(b(password)):
File "xpra/server/pam.pyx", line 168, in xpra.server.pam.pam_session.start
SystemError: <class 'Exception'> returned a result with an error set
Error: PAM authentication check failed:
<class 'Exception'> returned a result with an error set
Warning: authentication failed
authentication failed
...
I was using 829b9ea and installed the newest commit. Authentication fails for both LDAP and local users on my xpra proxy. I use
pam
for bothTCP_AUTH
andAUTH
:The referenced line:
xpra/xpra/server/pam.pyx
Line 168 in c4d8484
Does someone have any ideas for further debugging?
The text was updated successfully, but these errors were encountered: