Hi Ted,
On Fr 01 Nov 2013 14:04:49 CET, Ted Barnes wrote:
[...]
The problem is your authentication service's socket file...
x2gobroker and x2gobroker-authservice do talk to each other.
x2gobroker sends username + password to the authservice via a socket
and receives True or False back from the auth service.
The socket file on Debian wheezy normall is in
/var/run/x2gobroker/x2gobroker-authservice.socket, on wheezy it is in
/run/x2gobroker/x2gobroker-authservice.
The path of the authservice must be configured in
/etc/defaults/python-x2gobroker. The configuration you make there does
apply to all parts of the x2gobroker code.
However, obviously you found a bug here. See below...
*authservice.log 2013-11-01 08:25:13,324 - authservice - INFO - X2Go Session Broker
(0.0.3.0), written by Mike Gabriel (X2Go Project)
<mike.gabriel@das-netzwerkteam.de> 2013-11-01 08:25:13,325 - authservice - INFO - Setting up the PAM
authentication service's environment... 2013-11-01 08:25:13,325 - authservice - INFO - X2GOBROKER_DEBUG: False 2013-11-01 08:25:13,326 - authservice - INFO -
here... vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
X2GOBROKER_AUTHSERVICE_SOCKET:
/var/run/x2gobroker/x2gobroker-authservice.socket
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*broker.log 2013-11-01 08:26:41,081 - broker - INFO - X2Go Session Broker (0.0.3.0), 2013-11-01 08:26:41,086 - broker - INFO - written by Mike Gabriel
(X2Go Project) <mike.gabriel@das-netzwerkteam.de> 2013-11-01 08:26:41,086 - broker - INFO - Setting up the broker's
environment... 2013-11-01 08:26:41,086 - broker - INFO - X2GOBROKER_DEBUG: False 2013-11-01 08:26:41,086 - broker - INFO - X2GOBROKER_CONFIG:
/etc/x2go/x2gobroker.conf 2013-11-01 08:26:41,086 - broker - INFO - X2GOBROKER_AGENT_CMD:
/usr/lib/x2go/x2gobroker-agent 2013-11-01 08:26:41,087 - broker - INFO -
and here... vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
X2GOBROKER_AUTHSERVICE_SOCKET: /run/x2gobroker/x2gobroker-authservice.socket ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2013-11-01 08:26:41,087 - broker - INFO -
X2GOBROKER_DEFAULT_BACKEND: zeroconf 2013-11-01 08:26:41,087 - broker - INFO - X2GOBROKER_SSL_CERTFILE: 2013-11-01 08:26:41,087 - broker - INFO - X2GOBROKER_SSL_KEYFILE: 2013-11-01 08:26:42,543 - broker - INFO - client address is xxx.xxx.xxx.xxx 2013-11-01 08:26:42,544 - broker - DEBUG - username: user, password:
XXXXX, task: listsessions, profile_id: , cookie: 2013-11-01 08:26:42,544 - broker - DEBUG -
base_broker.X2GoBroker.get_authentication_mechanism(): found
default-auth-mech in global config section: pam 2013-11-01 08:26:42,882 - broker - DEBUG -
base_broker.X2GoBroker._do_authenticate(): authenticating user=user
with password=<hidden> against backend=inifile. 2013-11-01 08:26:42,882 - broker - DEBUG - connecting to
authentication service socket
/run/x2gobroker/x2gobroker-authservice.socket 2013-11-01 08:26:44,842 - broker - DEBUG -
base_broker.X2GoBroker.check_access(): result of authentication
check is: False
[...]
- wsgi.log wsgilog.log: Fri, 01 Nov 2013 08:26:44 ERROR Server got itself in trouble Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/wsgilog/__init__.py", line
179, in __call__ return self.application(environ, start_response) File "/usr/bin/x2gobroker", line 243, in _application return _tornado_application(environ, start_response) File "/usr/lib/python2.6/dist-packages/tornado/wsgi.py", line 94,
in __call__ assert handler._finished AssertionError
I am not sure about this one above, yet...
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...