diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2012-11-09 12:04:48 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2012-11-09 12:04:48 +0100 |
commit | edd14a06a92de3b1275f4aeb377d8fa3852f823e (patch) | |
tree | 64f22a313e0694b6b5431169e4732c2fd707fb39 /src/pam-x2go-children.c | |
parent | 42b8b279e62e6e2f5a7455e30bb0a211763ee187 (diff) | |
download | libpam-x2go-edd14a06a92de3b1275f4aeb377d8fa3852f823e.tar.gz libpam-x2go-edd14a06a92de3b1275f4aeb377d8fa3852f823e.tar.bz2 libpam-x2go-edd14a06a92de3b1275f4aeb377d8fa3852f823e.zip |
Adaptations of the forked original to work with X2Go: Check the authentication token via libssh (ssh login to the remote server).
Diffstat (limited to 'src/pam-x2go-children.c')
-rw-r--r-- | src/pam-x2go-children.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pam-x2go-children.c b/src/pam-x2go-children.c index ea29c14..51cf048 100644 --- a/src/pam-x2go-children.c +++ b/src/pam-x2go-children.c @@ -172,7 +172,7 @@ session_socket_handler (struct passwd * pwdent, int readypipe, const char * ruse memset(&socket_addr, 0, sizeof(struct sockaddr_un)); socket_addr.sun_family = AF_UNIX; strncpy(socket_addr.sun_path, pwdent->pw_dir, sizeof(socket_addr.sun_path) - 1); - strncpy(socket_addr.sun_path + strlen(pwdent->pw_dir), "/.freerdp-socket", (sizeof(socket_addr.sun_path) - strlen(pwdent->pw_dir)) - 1); + strncpy(socket_addr.sun_path + strlen(pwdent->pw_dir), "/.x2go-socket", (sizeof(socket_addr.sun_path) - strlen(pwdent->pw_dir)) - 1); /* We bind the socket before forking so that we ensure that there isn't a race condition to get to it. Things will block |