remote-logon-service-1.0.2.0/AUTHORS0000644000000000000000000000015313265071040013650 0ustar # Generated by Makefile. Do not edit. Albert Astals Albert Astals Cid Michael Terry Tarmac Ted Gould remote-logon-service-1.0.2.0/AUTHORS.Canonical0000644000000000000000000000010413265071040015532 0ustar Albert Astals Albert Astals Cid Michael Terry Tarmac Ted Gould remote-logon-service-1.0.2.0/ChangeLog0000644000000000000000000002207713265071040014363 0ustar 2018-04-16 11:51:00 +0200 Mike Gabriel (bb85ace) * release 1.0.2.0 (HEAD -> master, tag: 1.0.2.0) 2018-04-16 11:47:55 +0200 Mike Gabriel (6e61c30) * White-space clean-up at EOLs. 2018-04-16 11:45:39 +0200 Mike Gabriel (dc1016e) * Adopt changes from official Debian packaging. 2018-04-16 11:14:43 +0200 Mike Gabriel (c28749e) * Properly initialize Libgcrypt. 2018-04-16 11:04:02 +0200 Mike Gabriel (e122428) * data/remote-logon-service.conf.in: Can't localize the name field. Not supported by parser. 2018-04-16 11:01:11 +0200 Mike Gabriel (29cfcec) * Port to libnm (from libnm-glib). 2017-10-07 20:21:12 +0000 Kristjan Räts (660d57b) * Translated using Weblate (Estonian) 2017-09-29 18:09:46 +0000 Anders Jonsson (798adaa) * Translated using Weblate (Swedish) 2017-09-27 17:21:11 +0000 Isaac Larsen (c02140d) * Translated using Weblate (Norwegian Bokmål) 2017-09-04 15:15:05 +0000 Gaman Gabriel (325886e) * Translated using Weblate (Romanian) 2017-08-29 11:34:48 +0000 Jan Poulsen (b01443a) * Translated using Weblate (Danish) 2017-08-20 00:49:08 +0000 Arturo La Spada (7913e18) * Translated using Weblate (Italian) 2017-08-19 09:06:33 +0000 Володимир Бриняк (df68ce5) * Translated using Weblate (Ukrainian) 2017-08-15 21:43:51 +0000 Viktar Vauchkevich (ae3b855) * Translated using Weblate (Belarusian) 2017-08-12 15:25:56 +0000 Mike Gabriel (c34bbfc) * Translated using Weblate (German) 2017-11-29 13:39:06 +0100 Mike Gabriel (3e641e2) * update-po(t).sh: Update to some latest version (as used in other projects, too). 2017-10-25 22:03:22 +0200 Mike Gabriel (0e1e16b) * src/uccs-server.c: Revert back to soup_session_queue_message(). Noting that the behaviour has changed compared to the same function from SoupSessionSync (the request is run in the MainLoop thread rather than in a separate thread). 2017-10-25 21:31:24 +0200 Mike Gabriel (807c22e) * Fix for previous commit. 2017-10-25 21:22:38 +0200 Mike Gabriel (7c6dc20) * src/uccs-server.c: Use soup synchronously. 2017-10-25 21:11:16 +0200 Mike Gabriel (7c499da) * Test-wise revert "uccs-server.c: Replace deprecated soup_session_sync_new() by soup_session_new()." 2017-10-25 19:59:31 +0200 Mike Gabriel (366e6b4) * debian/control: Promote remote-logon-config-agent from Recommends: to Depends:. If the script is not present, RLS will fail. 2017-07-21 16:30:22 +0200 Mike Gabriel (528df45) * po/: Generate .po files from LINGUAS file via msginit. 2017-07-21 16:27:27 +0200 Mike Gabriel (8286bf0) * po/: Add LINGUAS file. 2017-07-21 16:27:00 +0200 Mike Gabriel (6598b72) * update-po.sh: Add simple script to update po/*.po files. 2017-07-21 16:26:46 +0200 Mike Gabriel (18148c2) * po/remote-logon-service.pot: Create file. 2017-05-21 22:50:58 +0200 Mike Gabriel (16cd2d5) * debian/{control,compat}: Revert to DH level 9, so that we continue Debian 9 support. 2017-05-21 22:21:02 +0200 Mike Gabriel (0b09776) * debian/*: Adopt various packaging changes from official Debian package. 2017-05-21 22:17:34 +0200 Mike Gabriel (73b0093) * src/uccs-server.c: Fix g_warning() message. 2017-04-29 23:15:00 +0000 Mike Gabriel (48e91e4) * release 1.0.1.1 (tag: 1.0.1.1) 2017-04-29 23:11:35 +0000 Mike Gabriel (ee2a35c) * debian/control: Bump Standards: to 3.9.8. No changes needed. 2017-04-29 23:07:55 +0000 Mike Gabriel (385e783) * Avoid crash during test runs. Don't initialize new NMClient instance during unit tests. 2017-04-29 23:46:13 +0200 Mike Gabriel (9c4e4c0) * debian/rules: Don't touch upstream ChangeLog. 2017-04-29 23:45:37 +0200 Mike Gabriel (82b8f8a) * debian/rules: Don't remove manually maintained upstream ChangeLog. 2017-04-29 23:44:11 +0200 Mike Gabriel (a5d4b47) * ChangeLog creation handled manually... 2017-04-29 21:41:43 +0000 Mike Gabriel (a38d3b5) * post-release fix-up of debian/changelog 2017-04-29 22:36:32 +0200 Mike Gabriel (d0cd516) * release 1.0.1.0 (tag: 1.0.1.0) 2016-09-14 14:23:12 +0200 Mike Gabriel (98592ae) * Use remote-logon-config-agent instead of thin-client-config-agent. 2016-08-26 11:57:57 +0000 Mike Gabriel (7777d20) * uccs-server.c: Replace deprecated soup_session_sync_new() by soup_session_new(). 2016-02-23 08:34:45 +0100 Mike Gabriel (ec74c02) * po/POTFILES.in: Update to current list of available .c files. 2016-02-23 08:34:18 +0100 Mike Gabriel (a82fa07) * Transifex: Add .tx/config configuration file. 2016-02-23 08:33:51 +0100 Mike Gabriel (c968593) * po: Add helper script update-pot.sh. 2016-02-19 11:09:39 +0100 Mike Gabriel (c4b7de2) * README(.md): Improve README(.md), rename file (-> .md), maintain README as symlink. 2015-09-22 09:40:12 +0200 David Barth (71e55e0) * ensure that the availability of a server gets signaled, even in the absence of an exec line 2015-09-19 13:22:31 +0200 Mike Gabriel (56462d6) * debian/control: Update Homepage: and Vcs-*: fields. Remove all Breaks:/Replaces: lines. 2015-09-19 10:55:07 +0200 Mike Gabriel (e99bbfd) * debian/rules: Fake a user's HOME directory while running tests. 2015-09-19 09:39:09 +0200 Mike Gabriel (a436b0f) * update debian/changelog 2015-09-19 09:01:17 +0200 Mike Gabriel (231a745) * Adapt creation of upstream ChangeLog to using Git, same for AUTHORS file. Keep orginal authors in AUTHORS.Canonical. 2015-09-19 08:51:33 +0200 Mike Gabriel (c371bc9) * debian/copyright: Update copyright holders and years. 2015-09-19 08:50:43 +0200 Mike Gabriel (72e5d85) * Add ArcticaProject as copyright holders. 2015-09-19 08:44:07 +0200 Mike Gabriel (7e5e097) * debian/changelog: Wrap too-long-line. 2015-09-19 08:42:43 +0200 Mike Gabriel (01e7d78) * debian/rules: Fix missing call of dh_auto_clean in override_dh_auto_clean. 2015-09-18 22:15:09 +0200 Mike Gabriel (41c204c) * fork remote-login-service as remote-logon-service 2014-11-28 16:11:23 +0100 Mike Gabriel (567d358) * remote-login-service.conf.in: No https for localhost connections. 2014-11-28 16:10:08 +0100 Mike Gabriel (9952149) * whitespace fix in configure.ac 2014-11-12 05:26:30 +0100 Mike Gabriel (d326cda) * debian/copyright: Fix upstream source URL. 2014-11-03 13:04:35 +0100 Mike Gabriel (55aa7c0) * remove cruft from current changelog 2014-11-03 14:20:07 +0100 Mike Gabriel (ba2fc09) * Remove dummy ChangeLog file after build if empty. 2014-11-03 13:04:18 +0100 Mike Gabriel (6876758) * Make sure we have an empty upstream ChangeLog file when building from Git. 2014-11-03 12:57:23 +0100 Mike Gabriel (2ce52cc) * remote-login-service.conf.in: Add URLs for default X2Go Session Broker installation. 2014-11-03 12:56:41 +0100 Mike Gabriel (fcb994d) * Update README file. Inform about RLS fork by X2Go. 2014-11-03 12:55:53 +0100 Mike Gabriel (ee1668e) * fix version number and project name 2014-11-03 12:48:10 +0100 Mike Gabriel (eeefe7a) * drop all patches, that we now applied to our forked RLS 2014-11-03 12:47:16 +0100 Mike Gabriel (831b108) * Apply 03_x2go+rls.patch. Provide support for X2Go remote logins. 2014-11-03 12:46:27 +0100 Mike Gabriel (ecb6bd2) * Apply 02_server-name.patch. Provide support for non-Canonical UCCS servers. 2014-11-03 12:45:31 +0100 Mike Gabriel (4739ebb) * Apply patch glib-deprecated.diff. Provide support for old GLib versions. 2014-11-03 12:41:08 +0100 Mike Gabriel (1261f34) * Apply patch 01_clear_servers.patch. 2014-11-03 12:38:41 +0100 Mike Gabriel (be5a910) * debian/copyright: Add Upstream-Contract: field. Add myself as copyright holder (in earlier commit). 2014-11-03 12:37:11 +0100 Mike Gabriel (2e1a704) * Bump Standards: to 3.9.6. No changes needed. 2014-11-03 12:36:20 +0100 Mike Gabriel (4c83f8c) * debian/source/format: Switch back to source format 1.0. 2014-11-03 12:19:12 +0100 Mike Gabriel (4b921d8) * fork rls as remote-login-service-x2go 2014-11-03 12:08:32 +0100 Mike Gabriel (eb0fe46) * upload to ppa:x2go/stable+ppa (ubuntu/1.0.0-0ubuntu3+x2go2~0ubuntu14.04.1) 2014-11-03 12:07:53 +0100 Mike Gabriel (a2a7c3a) * Attempt (1) to fix FTBFS... 2014-11-02 21:37:22 +0100 Mike Gabriel (0f96f0a) * upload to ppa:x2go/stable+ppa (ubuntu/1.0.0+x2go1-0ubuntu3+x2go1) 2014-11-02 21:36:19 +0100 Mike Gabriel (4591aa6) * Merge tag 'upstream/1.0.0+x2go1' 2014-11-02 21:36:12 +0100 Mike Gabriel (2883f8a) * Imported Upstream version 1.0.0+x2go1 (tag: upstream/1.0.0+x2go1) 2014-11-02 21:35:44 +0100 Mike Gabriel (6e20a0d) * add required X2Go patches 2014-11-02 21:35:32 +0100 Mike Gabriel (905fb5f) * set package to UNRELEASED 2014-11-02 21:31:43 +0100 Mike Gabriel (53f8a5f) * Revert "upload to ppa:x2go/stable+ppa (ubuntu/1.0.0-0ubuntu3+x2go1~0ubuntu14.04.1)" 2014-11-02 20:45:23 +0100 Mike Gabriel (d8d094d) * upload to ppa:x2go/stable+ppa (ubuntu/1.0.0-0ubuntu3+x2go1~0ubuntu14.04.1) 2013-02-26 10:40:57 +0100 Matthias Klose (b9ad4d7) * Imported Debian patch 1.0.0-0ubuntu3 (tag: debian/1.0.0-0ubuntu3) 2014-11-02 20:44:45 +0100 Mike Gabriel (fdc3950) * Imported Upstream version 1.0.0 (tag: upstream/1.0.0) remote-logon-service-1.0.2.0/ChangeLog.until-1.0.00000644000000000000000000006067713265071040016157 0ustar # Generated by Makefile. Do not edit. 2012-09-20 Ted Gould 1.0.0 2012-09-20 Albert Astals Cid Handle the SetLastUsedServer calls The data is saved in a file that is encrypted with the password and whose name is the hash of the username to provide as much privacy/security possible 2012-09-20 Albert Astals Use the correct function pointer check 2012-09-17 Albert Astals Merge lp:remote-login-service 2012-09-14 Albert Astals Merge lp:remote-login-service 2012-09-14 Albert Astals Do not assume AES data won't have 0 and we can use strlen, etc on it 2012-09-14 Albert Astals Merge lp:remote-login-service 2012-09-14 Albert Astals Remove printf 2012-09-13 Albert Astals Keep the last server_used around 2012-09-14 Ted Gould 0.7.0 2012-09-14 Ted Gould Enable the allow cache variable 2012-09-14 Ted Gould Handle caching and multiple logins much better.. Approved by Albert Astals Cid. 2012-09-14 Ted Gould Clear the cache if we don't want to use it. 2012-09-14 Ted Gould Merge in the allow cache branch 2012-09-14 Albert Astals Merge lp:remote-login-service 2012-09-14 Albert Astals Move the if up 2012-09-14 Albert Astals Do not use the cache if we are told not to use it 2012-09-14 Ted Gould Make sure that if we're changing the username and password we unblock any queued lookup 2012-09-14 Ted Gould Pulling the clear JSON task stuff into its own function 2012-09-14 Ted Gould Only reset the user name and password if they've changed 2012-09-14 Ted Gould Remove the confusing 'if' statement and clear the username/pass 2012-09-14 Albert Astals Merge lp:remote-login-service 2012-09-14 Albert Astals Match proper signature 2012-09-14 Albert Astals Change the if line so the previously added test passes Not sure i fully understand what this line is trying to do 2012-09-14 Albert Astals Add test that proves that if you try to login twice, the second one is failed 2012-09-14 Albert Astals Actually use -Wall -Werror when compiling. Approved by Ted Gould. 2012-09-14 Albert Astals Merge lp:remote-login-service 2012-09-14 Albert Astals Also make the checks compile 2012-09-14 Albert Astals Compile with -Wall -Werror 2012-09-14 Albert Astals Set AM_CPPFLAGS to be AM_CFLAGS too Since it seems we are compiling in CPP mode 2012-09-14 Ted Gould Protect NM code from systems without NM running. Approved by Albert Astals Cid. 2012-09-14 Ted Gould Get teh locale.h change 2012-09-13 Ted Gould Don't let warnings kill object creation either 2012-09-13 Ted Gould Make sure that warnings are not fatal 2012-09-13 Ted Gould Protect against NM Client being NULL and also check to see if it's connected 2012-09-14 Ted Gould Add locale.h for unoptimized builds. Approved by Albert Astals Cid, jenkins. 2012-09-14 Ted Gould Add locale.h 2012-09-13 Ted Gould 0.6.0 2012-09-13 Ted Gould Add translatable strings 2012-09-13 Ted Gould Hard code the help message because gettext doesn't like the string concat and fixing it is too difficult for too little gain 2012-09-12 Ted Gould Initialize Libtool 2012-09-12 Ted Gould Move the internationalization stuff so that it gets the define path stuff 2012-09-12 Ted Gould Setting up locale stuff 2012-09-12 Ted Gould Looking up the names in the translation database 2012-09-12 Ted Gould Switching over the conf file over to being translated 2012-09-12 Ted Gould Adding source files to POTFILES.in 2012-09-12 Ted Gould Making user visible strings translatable 2012-09-13 Albert Astals Parse the default server property of the json and map it to the last_used server property. Fixes: https://bugs.launchpad.net/bugs/1045838. Approved by Ted Gould, jenkins. 2012-09-13 Albert Astals Parse the DefaultServer property 2012-09-13 Albert Astals Add a test that fails regarding default/last_used server Make the default property of the servers map to the last_used on in rls speak 2012-09-12 Ted Gould Verify the server is available before displaying 2012-09-11 Ted Gould Attaching the bug 2012-09-11 Ted Gould Make sure after verifying we revaluate the state 2012-09-11 Ted Gould Don't start a message if we don't have a URL 2012-09-11 Ted Gould Checking the return code and verifying the server based on it 2012-09-11 Ted Gould Queuing up a message to get the HEADer using soup 2012-09-11 Ted Gould Setting us up to verify the server's existance 2012-09-11 Ted Gould Have a variable to track whether we've verified the server 2012-09-11 Ted Gould Property to verify the server's existance or not 2012-09-11 Ted Gould Gettin' some soup! 2012-09-11 Ted Gould Make sure we have networking first 2012-09-12 Ted Gould Check to ensure the network is available 2012-09-12 Ted Gould Forgot an 'else' 2012-09-12 Ted Gould Make sure there is only one nm-client allocated for all the UCCS servers 2012-09-11 Ted Gould Getting fix for network builders 2012-09-11 Ted Gould When the state changes update our cache and re-evaluate our status 2012-09-11 Ted Gould Start providing the mechanism to track NM state 2012-09-11 Ted Gould Making sure to evaluate state at the end as well 2012-09-11 Ted Gould Disabling the network check on these 2012-09-11 Ted Gould Making sure to disable the network checks 2012-09-11 Ted Gould Wrong key to use 2012-09-11 Ted Gould Adding a parameter to the keyfile to remove network checking 2012-09-11 Ted Gould Splitting out the state evaluation into a helper function 2012-09-11 Ted Gould Setting up variables to track networking and to see where we are 2012-09-10 Ted Gould Grabbing libnm-glib 2012-09-10 Ted Gould Grab some signalling 2012-09-12 Ted Gould Add a state to the servers to know if they're configured. Fixes: https://bugs.launchpad.net/bugs/1047939. Approved by Albert Astals Cid, jenkins. 2012-09-11 Ted Gould Attaching bug 2012-09-11 Ted Gould Add an executable for the build system that don't have thin-client-config-agent 2012-09-10 Ted Gould Don't need a tuple there apparently 2012-09-10 Ted Gould Add a test to ensure we signaled updates 2012-09-10 Ted Gould Pulling out the set_exec code so that we can test the signal stuff 2012-09-10 Ted Gould When the server list changes emit the dbus signal 2012-09-10 Ted Gould Handle a race with an extra DBus message 2012-09-10 Ted Gould Moving where the config file is parsed to the servers aren't created until we've connected to DBus 2012-09-10 Ted Gould Watching for servers updating themselves 2012-09-10 Ted Gould Better handle the case of zero all good servers 2012-09-10 Ted Gould Updating to trunk 2012-09-10 Ted Gould Make sure to clear the builder if we don't use it 2012-09-10 Ted Gould Make the signal get emitted when we change the state 2012-08-29 Ted Gould Adding a state changed signal 2012-08-29 Ted Gould Make it so that we can be ready or not based on whether the exec is found 2012-08-29 Ted Gould Only UCCS servers that are all good as well 2012-08-29 Ted Gould Making sure we only return all good servers 2012-08-29 Ted Gould Adding a server state variable 2012-09-10 Ted Gould Parse username and password info from JSON info. Fixes: https://bugs.launchpad.net/bugs/1045836. Approved by Albert Astals Cid, jenkins. 2012-09-08 Ted Gould Attach bug number 2012-09-07 Ted Gould Check for usernames, passwords and domains 2012-09-07 Ted Gould Oops, wrong builder 2012-09-07 Ted Gould Doing the same thing on the citrix side of the house 2012-09-07 Ted Gould Parse additional values from the JSON for the RDP server 2012-09-07 Ted Gould Use the username/password/domain values in the DBus response 2012-09-07 Ted Gould Adding some variables to the server 2012-09-07 Ted Gould Adding more JSON defines 2012-09-10 Ted Gould Exit gracefully on name lost. Fixes: https://bugs.launchpad.net/bugs/1041338. Approved by Albert Astals Cid, jenkins. 2012-09-08 Ted Gould Exit gracefully on name lost 2012-08-30 Ted Gould Cleanup keyfile/json object stuff. Approved by Albert Astals Cid, jenkins. 2012-08-29 Ted Gould Switching the tests over to using the new config file format 2012-08-29 Ted Gould Fixing up the config file to match the changes 2012-08-29 Ted Gould Dropping the per-server type defines 2012-08-29 Ted Gould Switching to having a single list of servers 2012-08-29 Ted Gould Use the new function in the server object 2012-08-29 Ted Gould Fleshing out new from json 2012-08-29 Ted Gould Fleshing out the new from keyfile function 2012-08-29 Ted Gould Adding two new new functions 2012-08-29 Ted Gould 0.5.0 2012-08-29 Ted Gould Recurse through domain cache checks 2012-08-27 Ted Gould Have UCCS servers look at their subservers for servers as well 2012-08-27 Ted Gould Look through all the lists 2012-08-27 Ted Gould Oops 2012-08-27 Ted Gould Switch to using the find_uri function in the server 2012-08-27 Ted Gould Adding a function to match a URI that is subclassable 2012-08-27 Ted Gould Pushing up to Server instead of UCCS 2012-08-27 Ted Gould Moving the cached domains function up into the server object 2012-08-27 Ted Gould Pulling the list handling out into a helper function 2012-08-27 Ted Gould Looking in path for execs and being more tollerant of protocol names. Approved by jenkins, Albert Astals Cid. 2012-08-24 Ted Gould Changing to be proper 'ls' path 2012-08-24 Ted Gould Look in the paths for the executables 2012-08-24 Ted Gould Being more tollerant of protocol names 2012-08-27 Ted Gould Making sure the string is the same one LightDM uses. Approved by Albert Astals Cid. 2012-08-27 Ted Gould Fixing tests to new string 2012-08-27 Ted Gould Making sure the string is the same one LightDM uses 2012-08-27 Ted Gould If we can't find the server just return a NULL list for now. Approved by Albert Astals Cid. 2012-08-24 Ted Gould Returning a NULL list of domains 2012-08-21 Ted Gould 0.4.0 2012-08-21 Ted Gould Changing the bin name of the TCCA to be correct. Approved by Ted Gould. 2012-08-21 Ted Gould Fixing the name of the tcca 2012-08-21 Ted Gould Making login error a boolean on the return. Approved by jenkins, Albert Astals Cid. 2012-08-21 Ted Gould Making slmock return error on error 2012-08-21 Ted Gould Adding a test for the login failure case 2012-08-21 Ted Gould Changing the test to the new prototype 2012-08-21 Ted Gould Return the boolean to say whether we got logged in 2012-08-21 Ted Gould Adding a boolean to say where it is successful 2012-08-21 Ted Gould Implementation of getting cached domains.. Approved by Albert Astals Cid, jenkins. 2012-08-20 Ted Gould Add a test for CachedDomains interface 2012-08-20 Ted Gould Add a test to make sure the proper structure comes back 2012-08-20 Ted Gould Return the value of the function 2012-08-20 Ted Gould Adding a function in UCCS to get the cached domains 2012-08-20 Ted Gould Add a handler for getting the cached domains 2012-08-21 Ted Gould Fix strlen warning. Approved by Albert Astals Cid, jenkins. 2012-08-20 Ted Gould Include header for strlen 2012-08-20 Michael Terry Convert slmock to Python 3. Approved by Ted Gould. 2012-08-20 Michael Terry convert slmock to python3 2012-08-20 Ted Gould 0.3.0 2012-08-20 Ted Gould Small fixes left over from async-command-line branch landing.. Approved by Ted Gould. 2012-08-20 Ted Gould Explicitly setting the inital value for the streams 2012-08-20 Ted Gould make json_waiters_notify static 2012-08-20 Ted Gould Changing the command line calls to be async. Approved by Antti Kaijanmäki, jenkins. 2012-08-17 Ted Gould Make sure to clear up the spawned PID if we destroy before it completes 2012-08-17 Ted Gould Make sure to respond to all the DBus messages if the object is destroyed 2012-08-17 Ted Gould Only use strdup for the password 2012-08-16 Ted Gould Merging trunk to resolve conflicts 2012-08-16 Ted Gould Dropping the unused get_json function 2012-08-16 Ted Gould Dropping the helper-script 2012-08-16 Ted Gould Switching to Async I/O for the call to the external process 2012-08-16 Ted Gould Restructuring the code so that we're kinda queuing things 2012-08-16 Ted Gould Switch around 'unlock' so that it has a callback 2012-08-17 Ted Gould Handle the case of no servers available with the correct variant type. Also add a test for it.. Approved by Albert Astals Cid, jenkins. 2012-08-16 Ted Gould Add a test to make sure lack of servers doesn't kill us 2012-08-16 Ted Gould Fix the return in the no servers case 2012-08-17 Ted Gould Create dictionaries with _parse instead of with _new to avoid vararg errors. Approved by Albert Astals Cid, jenkins. 2012-08-16 Ted Gould Switching to using parse so we don't have to create a bunch of false objects 2012-08-17 Ted Gould Add copyright headers to source files. Approved by Albert Astals Cid, jenkins. 2012-08-16 Ted Gould Adding copyright headers on the top of the source files 2012-08-16 Michael Terry Switch from libexecdir to pkglibexecdir. Approved by Ted Gould, jenkins. 2012-08-15 Michael Terry install into pkglibexecdir not libexecdir 2012-08-15 Ted Gould 0.2.0 2012-08-14 Ted Gould Adds SLMock tests to the test suite 2012-08-14 Ted Gould Adding more servers for tests 2012-08-14 Ted Gould Adding the other Citrix servers 2012-08-14 Ted Gould Copy, paste, and adjust. The last step is super important. 2012-08-14 Ted Gould Adding to lovers 2012-08-14 Ted Gould Passing the right username/password to slmock 2012-08-14 Ted Gould Passing the username/password to the object 2012-08-14 Ted Gould Adding in code to do the JSON parsing, let's see if it can pass our test 2012-08-10 Ted Gould Check for the server in the list 2012-08-10 Ted Gould Adding a login test 2012-08-10 Ted Gould Dbus test fixes 2012-08-10 Ted Gould Adding the basic wrapper for all the slmock tests 2012-08-10 Ted Gould Making slmock executable 2012-08-10 Ted Gould Adding a configuration file for slmock 2012-08-10 Ted Gould Grabbing slmock from the Maza team 2012-08-14 Ted Gould First pass at JSON parsing and exec. Uses a helper script, and needs async. But works. 2012-08-14 Ted Gould Signalling when we loose connections or are being destroyed 2012-08-14 Ted Gould Making sure to mark the address as authorized if it is 2012-08-14 Ted Gould Setting the username and password in the object 2012-08-14 Ted Gould Distribute the script 2012-08-14 Ted Gould Adding in the helper 2012-08-14 Ted Gould Using a helper script just for now 2012-08-13 Ted Gould Building the variant objects from the GList of servers 2012-08-13 Ted Gould Keep an array of all the sub servers we have 2012-08-13 Ted Gould Fleshing out some object JSON stuff 2012-08-13 Ted Gould Calling into the objects so they can build themselves 2012-08-13 Ted Gould Parsing the array entries and starting to build the server objects. 2012-08-13 Ted Gould Handling the top level of the JSON file and getting out the array of servers. 2012-08-13 Ted Gould Adding some JSON lovin' 2012-08-13 Ted Gould Flesh out the flow that is needed for the unlocking of the UCCS server 2012-08-10 Ted Gould Adding the new member variables 2012-08-10 Ted Gould Handle the cases brought out by GetServersFromLogin 2012-08-10 Ted Gould Adding a couple fun little calls to get this party started! 2012-08-10 Ted Gould Fixing exec parsing 2012-08-10 Ted Gould Adding a test for exec 2012-08-10 Ted Gould Adding an 'Exec' to the config file 2012-08-10 Ted Gould Adding an exec property 2012-08-10 Ted Gould Fixes to have multiple connections 2012-08-10 Ted Gould Making sure to close the session 2012-08-10 Ted Gould White space 2012-08-10 Ted Gould Adding a test for the dbus interface 2012-08-10 Ted Gould Cleaning up the Make file to ensure we don't check coverage of the generated files 2012-08-10 Ted Gould Fixing coverage linking so it happens in the lib 2012-08-10 Ted Gould Adding a real test to look at the dbus interface 2012-08-10 Ted Gould Adding in a dummy test 2012-08-10 Ted Gould Grab ourselves some dbus test libs 2012-08-10 Ted Gould Cut and paste error 2012-08-10 Ted Gould Add a property for read only domains. 2012-08-09 Ted Gould Abstracting out server objects 2012-08-09 Ted Gould Adding a variant test 2012-08-09 Ted Gould Adding a test for keyfile handling 2012-08-08 Ted Gould Cleaning these up to make these functions work a bit easier. 2012-08-08 Ted Gould Making the test more real and actually checking something 2012-08-08 Ted Gould Adding a first test with all of the fun that brings 2012-08-08 Ted Gould Adding in a tests directory 2012-08-08 Ted Gould Moving all the new server code into it's own library so that we can test it easier. 2012-08-08 Ted Gould Create the objects from the config file and use them to build the variants 2012-08-08 Ted Gould Put in a function to build each of the servers from a Keyfile 2012-08-08 Ted Gould Adding some properties for that UCCS server 2012-08-08 Ted Gould We need a UCCS server type as well 2012-08-08 Ted Gould Hmm, put those in quite the wrong place 2012-08-08 Ted Gould Adding some generic get_properties functions 2012-08-08 Ted Gould Clean up the strings 2012-08-08 Ted Gould Restructuring things slightly so that the object type determines the type and the server class takes care of the base tuple building 2012-08-08 Ted Gould Adding some generic properties to the super class 2012-08-08 Ted Gould Adding an RDP server class 2012-08-08 Ted Gould Adding a Citrix subclass 2012-08-08 Ted Gould Adding a server base class 2012-08-09 Ted Gould Noting that there may be some optional fields 2012-08-09 Ted Gould Adding in a usage overview diagram 2012-08-08 Ted Gould Adding the application list, even if blank today 2012-08-08 Ted Gould Adding a function to set the last used server 2012-08-08 Ted Gould Adding an application list to the server information and a function to set it 2012-08-08 Ted Gould Adding a function for a cached domain 2012-08-08 Ted Gould Adding a boolean to know which server was last 2012-08-08 Ted Gould Adding the URI to the server login API 2012-07-30 Ted Gould Remove the network UCCS server 2012-07-30 Ted Gould 0.0.1 2012-07-30 Ted Gould Adding in the service file 2012-07-30 Ted Gould Adding in a config file 2012-07-30 Ted Gould Adding in a data directory 2012-07-30 Ted Gould Adding e-mail to UCCS and removing domain 2012-07-30 Ted Gould Adding support for UCCS servers 2012-07-30 Ted Gould Add the 'uccs' server type 2012-07-30 Ted Gould Handling the get servers request so that we can dump dem servers 2012-07-30 Ted Gould Parsing the config file to get a list of servers 2012-07-29 Ted Gould Checking and bringing up config file 2012-07-29 Ted Gould Make sure that we get into our function 2012-07-29 Ted Gould Build up some command line parsing 2012-07-29 Ted Gould Grabbing a default configuration file from the automake dirs 2012-07-29 Ted Gould Going in, getting the name, and handling the errors 2012-07-27 Ted Gould Putting the object on the bus 2012-07-27 Ted Gould Now we can effectively wait forever 2012-07-27 Ted Gould Ignoring the tarball 2012-07-27 Ted Gould Now with a binary 2012-07-27 Ted Gould Fleshing out the Makefiles 2012-07-27 Ted Gould Basic build system 2012-07-27 Ted Gould Server URL added 2012-07-27 Ted Gould First pass at a DBus interface 2012-07-23 Ted Gould A small diagram describing our place in the world 2012-07-23 Ted Gould What are we trying to do? remote-logon-service-1.0.2.0/configure.ac0000644000000000000000000000512013265071040015065 0ustar AC_INIT(remote-logon-service, 1.0.2.0) AC_PREREQ(2.53) AM_INIT_AUTOMAKE([]) AC_PROG_CC AC_PROG_INSTALL AC_PROG_LIBTOOL AM_PROG_CC_C_O AM_SILENT_RULES([yes]) AC_CONFIG_MACRO_DIR([m4]) # Initialize libtool LT_PREREQ([2.2]) LT_INIT([disable-static]) AC_CONFIG_HEADER(config.h) AC_CONFIG_FILES([ Makefile src/Makefile data/Makefile po/Makefile.in tests/Makefile ]) PKG_CHECK_MODULES(SERVICE, glib-2.0 gio-2.0 gio-unix-2.0 json-glib-1.0 libnm libsoup-2.4) PKG_CHECK_MODULES(TEST, dbustest-1) AC_CHECK_LIB(gcrypt, gcry_cipher_get_algo_keylen, GCRYPT_LIBS="-lgcrypt") if test x"$GCRYPT_LIBS" = x ; then echo "You need libgcrypt to compile remote-logon-service"; exit fi ########################### # Local Install ########################### with_localinstall="no" AC_ARG_ENABLE(localinstall, AS_HELP_STRING([--enable-localinstall], [install all files locally (for distcheck)]), with_localinstall=$enableval, with_localinstall=no) ############################## # Custom Junk ############################## AC_DEFUN([AC_DEFINE_PATH], [ test "x$prefix" = xNONE && prefix="$ac_default_prefix" test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' ac_define_path=`eval echo [$]$2` ac_define_path=`eval echo [$]ac_define_path` $1="$ac_define_path" AC_SUBST($1) ifelse($3, , AC_DEFINE_UNQUOTED($1, "$ac_define_path"), AC_DEFINE_UNQUOTED($1, "$ac_define_path", $3)) ]) ########################### # DBus Service Info ########################### if test "x$with_localinstall" = "xyes"; then DBUSSERVICEDIR="${datadir}/dbus-1/services/" else DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1` fi AC_SUBST(DBUSSERVICEDIR) ########################### # gcov coverage reporting ########################### m4_include([m4/gcov.m4]) AC_TDD_GCOV AM_CONDITIONAL([HAVE_GCOV], [test "x$ac_cv_check_gcov" = xyes]) AM_CONDITIONAL([HAVE_LCOV], [test "x$ac_cv_check_lcov" = xyes]) AM_CONDITIONAL([HAVE_GCOVR], [test "x$ac_cv_check_gcovr" = xyes]) AC_SUBST(COVERAGE_CFLAGS) AC_SUBST(COVERAGE_LDFLAGS) AC_SUBST(GCRYPT_LIBS) ########################### # Internationalization ########################### IT_PROG_INTLTOOL([0.35.0]) GETTEXT_PACKAGE=remote-logon-service AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [gettext package]) AC_DEFINE_PATH(LOCALEDIR, "${datadir}/locale", [locale directory]) AM_GLIB_GNU_GETTEXT ########################### # Flags ########################### AC_SUBST(AM_CFLAGS, "-Wall -Werror") AC_SUBST(AM_CPPFLAGS, $AM_CFLAGS) AC_OUTPUT remote-logon-service-1.0.2.0/COPYING0000644000000000000000000010451313265071040013640 0ustar GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . remote-logon-service-1.0.2.0/data/Makefile.am0000644000000000000000000000113213265071040015543 0ustar config_file_DATA = \ remote-logon-service.conf config_filedir = $(sysconfdir) dbus_servicesdir = $(DBUSSERVICEDIR) dbus_services_DATA = org.ArcticaProject.RemoteLogon.service %.service: %.service.in sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@ %.conf: %.conf.in $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ EXTRA_DIST = \ org.ArcticaProject.RemoteLogon.service.in \ remote-logon-service.conf.in CLEANFILES = \ org.ArcticaProject.RemoteLogon.service \ remote-logon-service.conf remote-logon-service-1.0.2.0/data/org.ArcticaProject.RemoteLogon.service.in0000644000000000000000000000013613265071040023415 0ustar [D-BUS Service] Name=org.ArcticaProject.RemoteLogon Exec=@pkglibexecdir@/remote-logon-service remote-logon-service-1.0.2.0/data/remote-logon-service.conf.in0000644000000000000000000000020113265071040021024 0ustar [Remote Logon Service] Servers=Session Broker [Server Session Broker] Name=Remote Logon URI=http://localhost:8080/uccs/inifile/ remote-logon-service-1.0.2.0/m4/gcov.m40000644000000000000000000000470313265071040014325 0ustar # Checks for existence of coverage tools: # * gcov # * lcov # * genhtml # * gcovr # # Sets ac_cv_check_gcov to yes if tooling is present # and reports the executables to the variables LCOV, GCOVR and GENHTML. AC_DEFUN([AC_TDD_GCOV], [ AC_ARG_ENABLE(gcov, AS_HELP_STRING([--enable-gcov], [enable coverage testing with gcov]), [use_gcov=$enableval], [use_gcov=no]) if test "x$use_gcov" = "xyes"; then # we need gcc: if test "$GCC" != "yes"; then AC_MSG_ERROR([GCC is required for --enable-gcov]) fi # Check if ccache is being used AC_CHECK_PROG(SHTOOL, shtool, shtool) case `$SHTOOL path $CC` in *ccache*[)] gcc_ccache=yes;; *[)] gcc_ccache=no;; esac if test "$gcc_ccache" = "yes" && (test -z "$CCACHE_DISABLE" || test "$CCACHE_DISABLE" != "1"); then AC_MSG_ERROR([ccache must be disabled when --enable-gcov option is used. You can disable ccache by setting environment variable CCACHE_DISABLE=1.]) fi lcov_version_list="1.6 1.7 1.8 1.9" AC_CHECK_PROG(LCOV, lcov, lcov) AC_CHECK_PROG(GENHTML, genhtml, genhtml) if test "$LCOV"; then AC_CACHE_CHECK([for lcov version], glib_cv_lcov_version, [ glib_cv_lcov_version=invalid lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'` for lcov_check_version in $lcov_version_list; do if test "$lcov_version" = "$lcov_check_version"; then glib_cv_lcov_version="$lcov_check_version (ok)" fi done ]) else lcov_msg="To enable code coverage reporting you must have one of the following lcov versions installed: $lcov_version_list" AC_MSG_ERROR([$lcov_msg]) fi case $glib_cv_lcov_version in ""|invalid[)] lcov_msg="You must have one of the following versions of lcov: $lcov_version_list (found: $lcov_version)." AC_MSG_ERROR([$lcov_msg]) LCOV="exit 0;" ;; esac if test -z "$GENHTML"; then AC_MSG_ERROR([Could not find genhtml from the lcov package]) fi ac_cv_check_gcov=yes ac_cv_check_lcov=yes # Remove all optimization flags from CFLAGS changequote({,}) CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'` changequote([,]) # Add the special gcc flags COVERAGE_CFLAGS="-O0 -fprofile-arcs -ftest-coverage" COVERAGE_CXXFLAGS="-O0 -fprofile-arcs -ftest-coverage" COVERAGE_LDFLAGS="-lgcov" # Check availability of gcovr AC_CHECK_PROG(GCOVR, gcovr, gcovr) if test -z "$GCOVR"; then ac_cv_check_gcovr=no else ac_cv_check_gcovr=yes fi fi ]) # AC_TDD_GCOV remote-logon-service-1.0.2.0/Makefile.am0000644000000000000000000000120713265071040014635 0ustar SUBDIRS = \ src \ data \ po \ tests DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall dist-hook: @if test -d "$(top_srcdir)/.git"; \ then \ echo Creating AUTHORS && \ ( cd "$(top_srcdir)" && \ echo '# Generated by Makefile. Do not edit.'; echo; \ $(top_srcdir)/missing --run git log | grep -e "^Author:" -e "Committer:" | cut -d ":" -f 2 | cut -d "<" -f 1 | sort -u) > AUTHORS.tmp \ && mv -f AUTHORS.tmp $(top_distdir)/AUTHORS \ || (rm -f AUTHORS.tmp; \ echo Failed to generate AUTHORS >&2 ); \ else \ echo Failed to generate AUTHORS: not a branch >&2; \ fi include $(top_srcdir)/Makefile.am.coverage remote-logon-service-1.0.2.0/Makefile.am.coverage0000644000000000000000000000247513265071040016437 0ustar # Coverage targets .PHONY: clean-gcno clean-gcda \ coverage-html generate-coverage-html clean-coverage-html \ coverage-gcovr generate-coverage-gcovr clean-coverage-gcovr clean-local: clean-gcno clean-coverage-html clean-coverage-gcovr if HAVE_GCOV clean-gcno: @echo Removing old coverage instrumentation -find -name '*.gcno' -print | xargs -r rm clean-gcda: @echo Removing old coverage results -find -name '*.gcda' -print | xargs -r rm coverage-html: clean-gcda -$(MAKE) $(AM_MAKEFLAGS) -k check $(MAKE) $(AM_MAKEFLAGS) generate-coverage-html generate-coverage-html: @echo Collecting coverage data $(LCOV) --directory $(top_builddir) --capture --output-file coverage.info --no-checksum --compat-libtool LANG=C $(GENHTML) --prefix $(top_builddir) --output-directory coveragereport --title "Code Coverage" --legend --show-details coverage.info clean-coverage-html: clean-gcda -$(LCOV) --directory $(top_builddir) -z -rm -rf coverage.info coveragereport if HAVE_GCOVR coverage-gcovr: clean-gcda -$(MAKE) $(AM_MAKEFLAGS) -k check $(MAKE) $(AM_MAKEFLAGS) generate-coverage-gcovr generate-coverage-gcovr: @echo Generating coverage GCOVR report $(GCOVR) -x -r $(top_builddir) -o $(top_builddir)/coverage.xml clean-coverage-gcovr: clean-gcda -rm -rf $(top_builddir)/coverage.xml endif # HAVE_GCOVR endif # HAVE_GCOV remote-logon-service-1.0.2.0/NEWS0000644000000000000000000000004213265071040013274 0ustar All the news that's fit to print. remote-logon-service-1.0.2.0/po/af.po0000644000000000000000000000201513265071040014143 0ustar # Afrikaans translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Afrikaans\n" "Language: af\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/am.po0000644000000000000000000000201113265071040014146 0ustar # Amharic translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Amharic\n" "Language: am\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/an.po0000644000000000000000000000201513265071040014153 0ustar # Aragonese translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Aragonese\n" "Language: an\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ar.po0000644000000000000000000000200713265071040014160 0ustar # Arabic translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Arabic\n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ast.po0000644000000000000000000000201413265071040014343 0ustar # Asturian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Asturian\n" "Language: ast\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/az.po0000644000000000000000000000202113265071040014164 0ustar # Azerbaijani translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Azerbaijani\n" "Language: az\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/bem.po0000644000000000000000000000200613265071040014320 0ustar # Bemba translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Bemba\n" "Language: bem\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/be.po0000644000000000000000000000305413265071040014147 0ustar # Belarusian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-08-15 21:46+0000\n" "Last-Translator: Viktar Vauchkevich \n" "Language-Team: Belarusian \n" "Language: be\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=" "4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 2.17-dev\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "Аддалены ўваход" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" "Канфігурацыйны файл сервісу аддаленага ўваходу. Агаданы '/etc/remote-logon-" "service.conf'." #: ../src/main.c:390 msgid "key_file" msgstr "key_file" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "- Вызначыць аддаленыя серверы, якія могуць выкарыстаныя для ўваходу" remote-logon-service-1.0.2.0/po/bg.po0000644000000000000000000000207413265071040014152 0ustar # Bulgarian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Bulgarian\n" "Language: bg\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/bn.po0000644000000000000000000000201113265071040014150 0ustar # Bengali translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Bengali\n" "Language: bn\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/bo.po0000644000000000000000000000201113265071040014151 0ustar # Tibetan translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Tibetan\n" "Language: bo\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/br.po0000644000000000000000000000200713265071040014161 0ustar # Breton translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Breton\n" "Language: br\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/bs.po0000644000000000000000000000201113265071040014155 0ustar # Bosnian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Bosnian\n" "Language: bs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ca.po0000644000000000000000000000201113265071040014134 0ustar # Catalan translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Catalan\n" "Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ca@valencia.po0000644000000000000000000000202213265071040015741 0ustar # Catalan translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Catalan\n" "Language: ca@valencia\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ce.po0000644000000000000000000000201113265071040014140 0ustar # Chechen translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Chechen\n" "Language: ce\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ckb.po0000644000000000000000000000202413265071040014314 0ustar # Language ckb translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Language ckb\n" "Language: ckb\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/co.po0000644000000000000000000000201313265071040014154 0ustar # Corsican translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Corsican\n" "Language: co\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/crh.po0000644000000000000000000000202613265071040014333 0ustar # Crimean Tatar translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Crimean Tatar\n" "Language: crh\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/cs.po0000644000000000000000000000211713265071040014165 0ustar # Czech translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Czech\n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/cv.po0000644000000000000000000000201113265071040014161 0ustar # Chuvash translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Chuvash\n" "Language: cv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/cy.po0000644000000000000000000000200513265071040014167 0ustar # Welsh translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Welsh\n" "Language: cy\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/da.po0000644000000000000000000000250113265071040014141 0ustar # Danish translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-08-29 11:37+0000\n" "Last-Translator: Jan Poulsen \n" "Language-Team: Danish \n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 2.17-dev\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "Fjern-login" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" "Konfigurations fil til fjern-login servicen. Som standart '/etc/remote-logon-" "service.conf'." #: ../src/main.c:390 msgid "key_file" msgstr "nøgle_fil" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "- Bestem hvilke fjern-servere der kan logges ind på" remote-logon-service-1.0.2.0/po/de.po0000644000000000000000000000255713265071040014160 0ustar # German translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-08-12 15:26+0000\n" "Last-Translator: Mike Gabriel \n" "Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 2.16\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "Remote Anmeldung" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" "Konfigurationsdate für den Remote Logon Service. Standardmäßig auf '/etc" "/remote-logon-service.conf' gesetzt." #: ../src/main.c:390 msgid "key_file" msgstr "key_file" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "- Ermittle entfernte Server, an denen man sich anmelden kann" remote-logon-service-1.0.2.0/po/el.po0000644000000000000000000000206413265071040014161 0ustar # Greek translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Greek\n" "Language: el\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/en_AU.po0000644000000000000000000000235213265071040014550 0ustar # English translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: English\n" "Language: en_AU\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "Remote Logon" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." #: ../src/main.c:390 msgid "key_file" msgstr "key_file" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "- Determine the remote servers that can be logged into" remote-logon-service-1.0.2.0/po/en_CA.po0000644000000000000000000000235213265071040014526 0ustar # English translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: English\n" "Language: en_CA\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "Remote Logon" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." #: ../src/main.c:390 msgid "key_file" msgstr "key_file" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "- Determine the remote servers that can be logged into" remote-logon-service-1.0.2.0/po/en_GB.po0000644000000000000000000000236413265071040014536 0ustar # English translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: English (British)\n" "Language: en_GB\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "Remote Logon" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." #: ../src/main.c:390 msgid "key_file" msgstr "key_file" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "- Determine the remote servers that can be logged into" remote-logon-service-1.0.2.0/po/eo.po0000644000000000000000000000207413265071040014165 0ustar # Esperanto translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Esperanto\n" "Language: eo\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/es.po0000644000000000000000000000207013265071040014165 0ustar # Spanish translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Spanish\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/et.po0000644000000000000000000000250613265071040014172 0ustar # Estonian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-10-07 20:21+0000\n" "Last-Translator: Kristjan Räts \n" "Language-Team: Estonian \n" "Language: et\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 2.17-dev\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "Kaugmeldimine" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" "Kaugmeldimise teenuse häälestusfail, vaikimisi '/etc/remote-logon-" "service.conf'." #: ../src/main.c:390 msgid "key_file" msgstr "key_file" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "- Määrab kaugserverid, millesse saab sissemeldida" remote-logon-service-1.0.2.0/po/eu.po0000644000000000000000000000200713265071040014167 0ustar # Basque translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Basque\n" "Language: eu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/fa.po0000644000000000000000000000201113265071040014137 0ustar # Persian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:27+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Persian\n" "Language: fa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/fil.po0000644000000000000000000000201413265071040014326 0ustar # Filipino translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Filipino\n" "Language: fil\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/fi.po0000644000000000000000000000207013265071040014154 0ustar # Finnish translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Finnish\n" "Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/fo.po0000644000000000000000000000207013265071040014162 0ustar # Faroese translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Faroese\n" "Language: fo\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/fr_CA.po0000644000000000000000000000207013265071040014530 0ustar # French translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: French\n" "Language: fr_CA\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/fr.po0000644000000000000000000000206513265071040014171 0ustar # French translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: French\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/frp.po0000644000000000000000000000202413265071040014344 0ustar # Language frp translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Language frp\n" "Language: frp\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/fy.po0000644000000000000000000000203113265071040014171 0ustar # Western Frisian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Western Frisian\n" "Language: fy\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ga.po0000644000000000000000000000210313265071040014142 0ustar # Irish translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Irish\n" "Language: ga\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n==2 ? 1 : 2;\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/gd.po0000644000000000000000000000203113265071040014145 0ustar # Scottish Gaelic translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Scottish Gaelic\n" "Language: gd\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/gl.po0000644000000000000000000000201313265071040014155 0ustar # Galician translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Galician\n" "Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/gu.po0000644000000000000000000000201313265071040014166 0ustar # Gujarati translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Gujarati\n" "Language: gu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/he.po0000644000000000000000000000206613265071040014157 0ustar # Hebrew translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Hebrew\n" "Language: he\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/hi.po0000644000000000000000000000200513265071040014154 0ustar # Hindi translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Hindi\n" "Language: hi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/hr.po0000644000000000000000000000220713265071040014171 0ustar # Croatian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Croatian\n" "Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ht.po0000644000000000000000000000201113265071040014164 0ustar # Haitian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Haitian\n" "Language: ht\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/hu.po0000644000000000000000000000207413265071040014176 0ustar # Hungarian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Hungarian\n" "Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/hy.po0000644000000000000000000000201313265071040014173 0ustar # Armenian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Armenian\n" "Language: hy\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ia.po0000644000000000000000000000202113265071040014143 0ustar # Interlingua translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Interlingua\n" "Language: ia\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/id.po0000644000000000000000000000201713265071040014153 0ustar # Indonesian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Indonesian\n" "Language: id\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/is.po0000644000000000000000000000201513265071040014170 0ustar # Icelandic translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Icelandic\n" "Language: is\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/it.po0000644000000000000000000000244013265071040014173 0ustar # Italian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-08-21 01:47+0000\n" "Last-Translator: Arturo La Spada \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 2.17-dev\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "Accesso remoto" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" "File di configurazione per il servizio di accesso remoto. Default in '/etc" "/remote-logon-service.conf'." #: ../src/main.c:390 msgid "key_file" msgstr "key_file" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ja.po0000644000000000000000000000206313265071040014152 0ustar # Japanese translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Japanese\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ka.po0000644000000000000000000000201313265071040014146 0ustar # Georgian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Georgian\n" "Language: ka\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/kk.po0000644000000000000000000000200713265071040014163 0ustar # Kazakh translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Kazakh\n" "Language: kk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/kl.po0000644000000000000000000000202113265071040014160 0ustar # Kalaallisut translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Kalaallisut\n" "Language: kl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/km.po0000644000000000000000000000202513265071040014165 0ustar # Central Khmer translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Central Khmer\n" "Language: km\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/kn.po0000644000000000000000000000201113265071040014161 0ustar # Kannada translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Kannada\n" "Language: kn\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ko.po0000644000000000000000000000205713265071040014174 0ustar # Korean translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Korean\n" "Language: ko\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ku.po0000644000000000000000000000201113265071040014170 0ustar # Kurdish translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Kurdish\n" "Language: ku\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/kw.po0000644000000000000000000000201113265071040014172 0ustar # Cornish translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Cornish\n" "Language: kw\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ky.po0000644000000000000000000000201113265071040014174 0ustar # Kirghiz translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Kirghiz\n" "Language: ky\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/la.po0000644000000000000000000000200513265071040014150 0ustar # Latin translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Latin\n" "Language: la\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/lb.po0000644000000000000000000000202513265071040014153 0ustar # Letzeburgesch translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Letzeburgesch\n" "Language: lb\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/LINGUAS0000644000000000000000000000061213265071040014243 0ustar af am an ar ast az bem be bg bn bo br bs ca ca@valencia ce ckb co crh cs cv cy da de el en_AU en_CA en_GB eo es et eu fa fil fi fo fr_CA fr frp fy ga gd gl gu he hi hr ht hu hy ia id is it ja ka kk kl km kn ko ku kw ky la lb lo lt lv mg mhr mi ml mr ms my nb ne nl nn oc os pa pl ps pt_BR pt ro ru sa sc sd se shn si sk sl sq sr sv sw szl ta te tg th ti tr ug uk ur uz vi wae zh_CN zh_HK zh_TW remote-logon-service-1.0.2.0/po/lo.po0000644000000000000000000000201113265071040014163 0ustar # Laotian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Laotian\n" "Language: lo\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/lt.po0000644000000000000000000000220013265071040014170 0ustar # Lithuanian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Lithuanian\n" "Language: lt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" "%100<10 || n%100>=20) ? 1 : 2);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/lv.po0000644000000000000000000000213613265071040014202 0ustar # Latvian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Latvian\n" "Language: lv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " "2);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/Makefile.in.in0000644000000000000000000001604613265071040015700 0ustar # Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper # Copyright (C) 2004-2008 Rodney Dawes # # This file may be copied and used freely without restrictions. It may # be used in projects which are not available under a GNU Public License, # but which still want to provide support for the GNU gettext functionality. # # - Modified by Owen Taylor to use GETTEXT_PACKAGE # instead of PACKAGE and to look for po2tbl in ./ not in intl/ # # - Modified by jacob berkman to install # Makefile.in.in and po2tbl.sed.in for use with glib-gettextize # # - Modified by Rodney Dawes for use with intltool # # We have the following line for use by intltoolize: # INTLTOOL_MAKEFILE GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datadir = @datadir@ datarootdir = @datarootdir@ libdir = @libdir@ DATADIRNAME = @DATADIRNAME@ itlocaledir = $(prefix)/$(DATADIRNAME)/locale subdir = po install_sh = @install_sh@ # Automake >= 1.8 provides @mkdir_p@. # Until it can be supposed, use the safe fallback: mkdir_p = $(install_sh) -d INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ GMSGFMT = @GMSGFMT@ MSGFMT = @MSGFMT@ XGETTEXT = @XGETTEXT@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ MSGMERGE = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist GENPOT = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot ALL_LINGUAS = @ALL_LINGUAS@ PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) DISTFILES = Makefile.in.in POTFILES.in $(POFILES) EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS POTFILES = \ # This comment gets stripped out CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) .SUFFIXES: .SUFFIXES: .po .pox .gmo .mo .msg .cat AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ INTLTOOL_V_MSGFMT = $(INTLTOOL__v_MSGFMT_$(V)) INTLTOOL__v_MSGFMT_= $(INTLTOOL__v_MSGFMT_$(AM_DEFAULT_VERBOSITY)) INTLTOOL__v_MSGFMT_0 = @echo " MSGFMT" $@; .po.pox: $(MAKE) $(GETTEXT_PACKAGE).pot $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox .po.mo: $(INTLTOOL_V_MSGFMT)$(MSGFMT) -o $@ $< .po.gmo: $(INTLTOOL_V_MSGFMT)file=`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -o $$file $< .po.cat: sed -f ../intl/po2msg.sed < $< > $*.msg \ && rm -f $@ && gencat $@ $*.msg all: all-@USE_NLS@ all-yes: $(CATALOGS) all-no: $(GETTEXT_PACKAGE).pot: $(POTFILES) $(GENPOT) install: install-data install-data: install-data-@USE_NLS@ install-data-no: all install-data-yes: all linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $$dir; \ if test -r $$lang.gmo; then \ $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ else \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $(srcdir)/$$lang.gmo as" \ "$$dir/$(GETTEXT_PACKAGE).mo"; \ fi; \ if test -r $$lang.gmo.m; then \ $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ if test -r $(srcdir)/$$lang.gmo.m ; then \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \ $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $(srcdir)/$$lang.gmo.m as" \ "$$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ true; \ fi; \ fi; \ done # Empty stubs to satisfy archaic automake needs dvi info ctags tags CTAGS TAGS ID: # Define this as empty until I found a useful application. install-exec installcheck: uninstall: linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ done check: all $(GETTEXT_PACKAGE).pot rm -f missing notexist srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m if [ -r missing -o -r notexist ]; then \ exit 1; \ fi mostlyclean: rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp rm -f .intltool-merge-cache clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES stamp-it rm -f *.mo *.msg *.cat *.cat.m *.gmo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f Makefile.in.in distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(DISTFILES) dists="$(DISTFILES)"; \ extra_dists="$(EXTRA_DISTFILES)"; \ for file in $$extra_dists; do \ test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \ done; \ for file in $$dists; do \ test -f $$file || file="$(srcdir)/$$file"; \ ln $$file $(distdir) 2> /dev/null \ || cp -p $$file $(distdir); \ done update-po: Makefile $(MAKE) $(GETTEXT_PACKAGE).pot tmpdir=`pwd`; \ linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ echo "$$lang:"; \ result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \ if $$result; then \ if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.gmo failed!"; \ rm -f $$tmpdir/$$lang.new.po; \ fi; \ done Makefile POTFILES: stamp-it @if test ! -f $@; then \ rm -f stamp-it; \ $(MAKE) stamp-it; \ fi stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \ $(SHELL) ./config.status # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: remote-logon-service-1.0.2.0/po/mg.po0000644000000000000000000000201313265071040014156 0ustar # Malagasy translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Malagasy\n" "Language: mg\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/mhr.po0000644000000000000000000000202413265071040014343 0ustar # Language mhr translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Language mhr\n" "Language: mhr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/mi.po0000644000000000000000000000200513265071040014161 0ustar # Maori translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Maori\n" "Language: mi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ml.po0000644000000000000000000000201513265071040014165 0ustar # Malayalam translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Malayalam\n" "Language: ml\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/mr.po0000644000000000000000000000201113265071040014167 0ustar # Marathi translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Marathi\n" "Language: mr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ms.po0000644000000000000000000000200513265071040014173 0ustar # Malay translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Malay\n" "Language: ms\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/my.po0000644000000000000000000000201113265071040014176 0ustar # Burmese translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Burmese\n" "Language: my\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/nb.po0000644000000000000000000000256213265071040014163 0ustar # Norwegian Bokmal translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-09-27 17:22+0000\n" "Last-Translator: Isaac Larsen <22-isaacl@stu.aischool.no>\n" "Language-Team: Norwegian Bokmål \n" "Language: nb\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 2.17-dev\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "Ekstern Pålogging" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" "Konfigurasjonsfilen for tjenesten ekstern pålogging. Som standard blir <>." #: ../src/main.c:390 msgid "key_file" msgstr "hoved_filen" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "Angi de eksterne serverne som kan logges på" remote-logon-service-1.0.2.0/po/ne.po0000644000000000000000000000200713265071040014160 0ustar # Nepali translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Nepali\n" "Language: ne\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/nl.po0000644000000000000000000000206413265071040014172 0ustar # Dutch translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Dutch\n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/nn.po0000644000000000000000000000211413265071040014170 0ustar # Norwegian Nynorsk translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Norwegian Nynorsk\n" "Language: nn\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/oc.po0000644000000000000000000000201113265071040014152 0ustar # Occitan translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Occitan\n" "Language: oc\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/os.po0000644000000000000000000000201313265071040014174 0ustar # Ossetian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Ossetian\n" "Language: os\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/pa.po0000644000000000000000000000201113265071040014151 0ustar # Punjabi translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Punjabi\n" "Language: pa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/pl.po0000644000000000000000000000216313265071040014174 0ustar # Polish translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Polish\n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/POTFILES.in0000644000000000000000000000024313265071040014773 0ustar [type: gettext/ini] data/remote-logon-service.conf.in src/crypt.c src/server.c src/rdp-server.c src/citrix-server.c src/x2go-server.c src/main.c src/uccs-server.c remote-logon-service-1.0.2.0/po/ps.po0000644000000000000000000000200713265071040014200 0ustar # Pashto translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Pashto\n" "Language: ps\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/pt_BR.po0000644000000000000000000000211213265071040014561 0ustar # Portuguese translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Brazilian Portuguese\n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/pt.po0000644000000000000000000000207613265071040014207 0ustar # Portuguese translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Portuguese\n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ro.po0000644000000000000000000000265013265071040014202 0ustar # Romanian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-09-04 15:15+0000\n" "Last-Translator: Gaman Gabriel \n" "Language-Team: Romanian \n" "Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " "20)) ? 1 : 2;\n" "X-Generator: Weblate 2.17-dev\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "Logare la distanță" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" "Fișierul de configurare pentru serviciul de logare la distanță. Prestabilit " "la '/etc/remote-logon-service.conf'." #: ../src/main.c:390 msgid "key_file" msgstr "key_file" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "- Determină serverele la distanță în care se poate loga" remote-logon-service-1.0.2.0/po/ru.po0000644000000000000000000000220513265071040014204 0ustar # Russian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Russian\n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/sa.po0000644000000000000000000000201313265071040014156 0ustar # Sanskrit translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Sanskrit\n" "Language: sa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/sc.po0000644000000000000000000000201513265071040014162 0ustar # Sardinian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Sardinian\n" "Language: sc\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/sd.po0000644000000000000000000000200713265071040014164 0ustar # Sindhi translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Sindhi\n" "Language: sd\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/se.po0000644000000000000000000000202513265071040014165 0ustar # Northern Sami translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Northern Sami\n" "Language: se\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/shn.po0000644000000000000000000000200413265071040014343 0ustar # Shan translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Shan\n" "Language: shn\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/si.po0000644000000000000000000000201113265071040014164 0ustar # Sinhala translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Sinhala\n" "Language: si\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/sk.po0000644000000000000000000000212113265071040014170 0ustar # Slovak translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Slovak\n" "Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/sl.po0000644000000000000000000000216313265071040014177 0ustar # Slovenian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Slovenian\n" "Language: sl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" "%100==4 ? 2 : 3);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/sq.po0000644000000000000000000000201313265071040014176 0ustar # Albanian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Albanian\n" "Language: sq\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/sr.po0000644000000000000000000000220513265071040014202 0ustar # Serbian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Serbian\n" "Language: sr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/sv.po0000644000000000000000000000254013265071040014210 0ustar # Swedish translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-09-30 19:48+0000\n" "Last-Translator: Anders Jonsson \n" "Language-Team: Swedish \n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 2.17-dev\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "Fjärrinloggning" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" "Konfigurationsfil för fjärrinloggningstjänsten. Standardvärdet är '/etc" "/remote-logon-service.conf'." #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "- Avgör fjärrservrarna som det går att logga in på" remote-logon-service-1.0.2.0/po/sw.po0000644000000000000000000000201113265071040014202 0ustar # Swahili translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Swahili\n" "Language: sw\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/szl.po0000644000000000000000000000202413265071040014365 0ustar # Language szl translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Language szl\n" "Language: szl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ta.po0000644000000000000000000000200513265071040014160 0ustar # Tamil translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Tamil\n" "Language: ta\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/te.po0000644000000000000000000000200713265071040014166 0ustar # Telugu translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Telugu\n" "Language: te\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/tg.po0000644000000000000000000000200513265071040014166 0ustar # Tajik translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Tajik\n" "Language: tg\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/th.po0000644000000000000000000000200313265071040014165 0ustar # Thai translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Thai\n" "Language: th\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ti.po0000644000000000000000000000201313265071040014167 0ustar # Tigrinya translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:28+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Tigrinya\n" "Language: ti\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/tr.po0000644000000000000000000000207013265071040014203 0ustar # Turkish translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:29+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Turkish\n" "Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/ug.po0000644000000000000000000000200713265071040014171 0ustar # Uighur translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:29+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Uighur\n" "Language: ug\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/uk.po0000644000000000000000000000307113265071040014177 0ustar # Ukrainian translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-08-19 09:08+0000\n" "Last-Translator: Володимир Бриняк \n" "Language-Team: Ukrainian \n" "Language: uk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=" "4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 2.17-dev\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "Віддалений вхід" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" "Файл конфігурації служби віддаленого входу. За умовчанням '/etc/remote-" "logon-service.conf'." #: ../src/main.c:390 msgid "key_file" msgstr "key_file" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "- Визначити віддалені сервери, які можуть використовуватися для входу" remote-logon-service-1.0.2.0/po/ur.po0000644000000000000000000000200313265071040014200 0ustar # Urdu translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:29+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Urdu\n" "Language: ur\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/uz.po0000644000000000000000000000200513265071040014212 0ustar # Uzbek translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:29+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Uzbek\n" "Language: uz\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/vi.po0000644000000000000000000000206713265071040014202 0ustar # Vietnamese translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:29+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Vietnamese\n" "Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/wae.po0000644000000000000000000000202413265071040014331 0ustar # Language wae translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:29+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Language wae\n" "Language: wae\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/zh_CN.po0000644000000000000000000000203113265071040014554 0ustar # Chinese translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:29+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Chinese (simplified)\n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/zh_HK.po0000644000000000000000000000203013265071040014555 0ustar # Chinese translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:29+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Chinese (Hong Kong)\n" "Language: zh_HK\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/po/zh_TW.po0000644000000000000000000000203213265071040014607 0ustar # Chinese translations for remote-logon-service package. # Copyright (C) 2017 THE remote-logon-service'S COPYRIGHT HOLDER # This file is distributed under the same license as the remote-logon-service package. # Mike Gabriel , 2017. # msgid "" msgstr "" "Project-Id-Version: remote-logon-service 1.0.2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 16:29+0200\n" "PO-Revision-Date: 2017-07-21 16:29+0200\n" "Last-Translator: Mike Gabriel \n" "Language-Team: Chinese (traditional)\n" "Language: zh_TW\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/remote-logon-service.conf.in.h:1 msgid "Remote Logon" msgstr "" #: ../src/main.c:390 msgid "" "Configuration file for the remote logon service. Defaults to '/etc/remote-" "logon-service.conf'." msgstr "" #: ../src/main.c:390 msgid "key_file" msgstr "" #: ../src/main.c:415 msgid "- Determine the remote servers that can be logged into" msgstr "" remote-logon-service-1.0.2.0/README.md0000644000000000000000000000301713265071040014061 0ustar # Remote Logon Service ## Introduction A small service to grab various remote login possibilities from the local network configuration, network servers that provide them, and present them to the user to log into for both applications and full desktop posibilities. This project has been forked from Ubuntu's remote-login-service project [1] by the X2Go/Arctica Project to support Remote Login against Linux machines via X2Go. ## Configuring the Remote Logon Service The service's configuration file is located in ``` /etc/remote-logon-service.conf ``` Adapt the default configuration to your needs. ### Using Arctica Session Broker as service backend This backend is not available, yet. ### Using an X2Go Session Broker as service backend When using an X2Go Session Broker as service backend, adapt the service configuration file like this: ``` [Remote Login Service] Servers=MyUCCSTest [Server MyUCCSTest] Name=Remote Login URI=http://x2gobroker.localdomain:8080/uccs/inifile/ ``` ## Testing the service After you have installed and configured the Remote Logon Service, you can query the remote logon service manually using the ´´dbus-send´´ command: ``` dbus-send --session --print-reply --dest="org.ArcticaProject.RemoteLogon" \ /org/ArcticaProject/RemoteLogon org.ArcticaProject.RemoteLogon.GetServersForLogin \ string:'http://x2gobroker.localdomain:8080/uccs/inifile/' \ string:'' \ string:'' \ boolean:true ``` [1] https://launchpad.net/remote-login-service remote-logon-service-1.0.2.0/src/citrix-server.c0000644000000000000000000001721413265071040016347 0ustar /* * Copyright © 2012 Canonical Ltd. * Copyright © 2015 The Arctica Project * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: Ted Gould * Mike Gabriel */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include "citrix-server.h" #include "defines.h" static void citrix_server_class_init (CitrixServerClass *klass); static void citrix_server_init (CitrixServer *self); static void citrix_server_dispose (GObject *object); static void citrix_server_finalize (GObject *object); static GVariant * get_properties (Server * server); G_DEFINE_TYPE (CitrixServer, citrix_server, SERVER_TYPE); static void citrix_server_class_init (CitrixServerClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); object_class->dispose = citrix_server_dispose; object_class->finalize = citrix_server_finalize; ServerClass * server_class = SERVER_CLASS(klass); server_class->get_properties = get_properties; return; } static void citrix_server_init (CitrixServer *self) { self->username = NULL; self->password = NULL; self->domain = NULL; self->domain_required = FALSE; return; } static void citrix_server_dispose (GObject *object) { G_OBJECT_CLASS (citrix_server_parent_class)->dispose (object); return; } /* Unlocks the memory before freeing */ static void password_clear (gpointer data) { char * pass = (char *)data; munlock(pass, strlen(pass)); g_free(pass); return; } static void citrix_server_finalize (GObject *object) { CitrixServer * server = CITRIX_SERVER(object); g_clear_pointer(&server->username, g_free); g_clear_pointer(&server->password, password_clear); g_clear_pointer(&server->domain, g_free); G_OBJECT_CLASS (citrix_server_parent_class)->finalize (object); return; } static GVariant * get_properties (Server * server) { CitrixServer * cserver = CITRIX_SERVER(server); GVariantBuilder propbuilder; g_variant_builder_init(&propbuilder, G_VARIANT_TYPE_ARRAY); GVariantBuilder namebuilder; g_variant_builder_init(&namebuilder, G_VARIANT_TYPE_TUPLE); g_variant_builder_add_value(&namebuilder, g_variant_new_string("username")); g_variant_builder_add_value(&namebuilder, g_variant_new_boolean(TRUE)); if (cserver->username == NULL) { g_variant_builder_add_value(&namebuilder, g_variant_new_variant(g_variant_new_string(""))); } else { g_variant_builder_add_value(&namebuilder, g_variant_new_variant(g_variant_new_string(cserver->username))); } g_variant_builder_add_value(&namebuilder, g_variant_parse(G_VARIANT_TYPE_VARDICT, "{}", NULL, NULL, NULL)); g_variant_builder_add_value(&propbuilder, g_variant_builder_end(&namebuilder)); GVariantBuilder passbuilder; g_variant_builder_init(&passbuilder, G_VARIANT_TYPE_TUPLE); g_variant_builder_add_value(&passbuilder, g_variant_new_string("password")); g_variant_builder_add_value(&passbuilder, g_variant_new_boolean(TRUE)); if (cserver->password == NULL) { g_variant_builder_add_value(&passbuilder, g_variant_new_variant(g_variant_new_string(""))); } else { g_variant_builder_add_value(&passbuilder, g_variant_new_variant(g_variant_new_string(cserver->password))); } g_variant_builder_add_value(&passbuilder, g_variant_parse(G_VARIANT_TYPE_VARDICT, "{}", NULL, NULL, NULL)); g_variant_builder_add_value(&propbuilder, g_variant_builder_end(&passbuilder)); GVariantBuilder domainbuilder; g_variant_builder_init(&domainbuilder, G_VARIANT_TYPE_TUPLE); g_variant_builder_add_value(&domainbuilder, g_variant_new_string("domain")); g_variant_builder_add_value(&domainbuilder, g_variant_new_boolean(cserver->domain_required)); if (cserver->domain == NULL) { g_variant_builder_add_value(&domainbuilder, g_variant_new_variant(g_variant_new_string(""))); } else { g_variant_builder_add_value(&domainbuilder, g_variant_new_variant(g_variant_new_string(cserver->domain))); } g_variant_builder_add_value(&domainbuilder, g_variant_parse(G_VARIANT_TYPE_VARDICT, "{}", NULL, NULL, NULL)); g_variant_builder_add_value(&propbuilder, g_variant_builder_end(&domainbuilder)); return g_variant_builder_end(&propbuilder); } Server * citrix_server_new_from_keyfile (GKeyFile * keyfile, const gchar * groupname) { g_return_val_if_fail(keyfile != NULL, NULL); /* NOTE: No way to check if that's really a keyfile :-( */ g_return_val_if_fail(groupname != NULL, NULL); if (!g_key_file_has_group(keyfile, groupname)) { g_warning("Server specified but group '%s' was not found", groupname); return NULL; } CitrixServer * server = g_object_new(CITRIX_SERVER_TYPE, NULL); if (g_key_file_has_key(keyfile, groupname, CONFIG_SERVER_NAME, NULL)) { gchar * keyname = g_key_file_get_string(keyfile, groupname, CONFIG_SERVER_NAME, NULL); server->parent.name = g_strdup(_(keyname)); g_free(keyname); } if (g_key_file_has_key(keyfile, groupname, CONFIG_SERVER_URI, NULL)) { server->parent.uri = g_key_file_get_string(keyfile, groupname, CONFIG_SERVER_URI, NULL); } return SERVER(server); } /* Build the Citrix server from information in the JSON object */ Server * citrix_server_new_from_json (JsonObject * object) { CitrixServer * server = g_object_new(CITRIX_SERVER_TYPE, NULL); if (json_object_has_member(object, JSON_SERVER_NAME)) { JsonNode * node = json_object_get_member(object, JSON_SERVER_NAME); if (JSON_NODE_TYPE(node) == JSON_NODE_VALUE && json_node_get_value_type(node) == G_TYPE_STRING) { const gchar * name = json_node_get_string(node); server->parent.name = g_strdup(name); } } if (json_object_has_member(object, JSON_URI)) { JsonNode * node = json_object_get_member(object, JSON_URI); if (JSON_NODE_TYPE(node) == JSON_NODE_VALUE && json_node_get_value_type(node) == G_TYPE_STRING) { const gchar * uri = json_node_get_string(node); server->parent.uri = g_strdup(uri); } } if (json_object_has_member(object, JSON_USERNAME)) { JsonNode * node = json_object_get_member(object, JSON_USERNAME); if (JSON_NODE_TYPE(node) == JSON_NODE_VALUE && json_node_get_value_type(node) == G_TYPE_STRING) { const gchar * username = json_node_get_string(node); server->username = g_strdup(username); } } if (json_object_has_member(object, JSON_PASSWORD)) { JsonNode * node = json_object_get_member(object, JSON_PASSWORD); if (JSON_NODE_TYPE(node) == JSON_NODE_VALUE && json_node_get_value_type(node) == G_TYPE_STRING) { const gchar * password = json_node_get_string(node); server->password = g_strdup(password); mlock(server->password, strlen(server->password)); } } if (json_object_has_member(object, JSON_DOMAIN)) { JsonNode * node = json_object_get_member(object, JSON_DOMAIN); if (JSON_NODE_TYPE(node) == JSON_NODE_VALUE && json_node_get_value_type(node) == G_TYPE_STRING) { const gchar * domain = json_node_get_string(node); server->domain = g_strdup(domain); } } if (json_object_has_member(object, JSON_DOMAIN_REQ)) { JsonNode * node = json_object_get_member(object, JSON_DOMAIN_REQ); if (JSON_NODE_TYPE(node) == JSON_NODE_VALUE && json_node_get_value_type(node) == G_TYPE_BOOLEAN) { server->domain_required = json_node_get_boolean(node); } } return SERVER(server); } remote-logon-service-1.0.2.0/src/citrix-server.h0000644000000000000000000000375513265071040016361 0ustar /* * Copyright © 2012 Canonical Ltd. * Copyright © 2015 The Arctica Project * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: Ted Gould * Mike Gabriel */ #ifndef __CITRIX_SERVER_H__ #define __CITRIX_SERVER_H__ #include #include #include "server.h" G_BEGIN_DECLS #define CITRIX_SERVER_TYPE (citrix_server_get_type ()) #define CITRIX_SERVER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CITRIX_SERVER_TYPE, CitrixServer)) #define CITRIX_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CITRIX_SERVER_TYPE, CitrixServerClass)) #define IS_CITRIX_SERVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CITRIX_SERVER_TYPE)) #define IS_CITRIX_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CITRIX_SERVER_TYPE)) #define CITRIX_SERVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CITRIX_SERVER_TYPE, CitrixServerClass)) typedef struct _CitrixServer CitrixServer; typedef struct _CitrixServerClass CitrixServerClass; struct _CitrixServerClass { ServerClass parent_class; }; struct _CitrixServer { Server parent; gchar * username; gchar * password; gchar * domain; gboolean domain_required; }; GType citrix_server_get_type (void); Server * citrix_server_new_from_keyfile (GKeyFile * keyfile, const gchar * name); Server * citrix_server_new_from_json (JsonObject * object); G_END_DECLS #endif remote-logon-service-1.0.2.0/src/crypt.c0000644000000000000000000001135113265071040014676 0ustar /* * Copyright © 2012 Canonical Ltd. * Copyright © 2015 The Arctica Project * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * */ #include #include #include #include "crypt.h" static gcry_cipher_hd_t setup_cipher (const gchar * password) { gcry_error_t gcryError; gcry_cipher_hd_t gcryHandle; const size_t keyLength = gcry_cipher_get_algo_keylen(GCRY_CIPHER_AES); const size_t blkLength = gcry_cipher_get_algo_blklen(GCRY_CIPHER_AES); // We are assuming keyLength and blkLength are the same, check it if (keyLength != blkLength) return NULL; char * aesSymKey = malloc(blkLength); const size_t passwordLength = strlen(password); strncpy(aesSymKey, password, blkLength); size_t i; for (i = passwordLength; i < blkLength; ++i) aesSymKey[i] = 0; gcryError = gcry_cipher_open(&gcryHandle, GCRY_CIPHER_AES, GCRY_CIPHER_MODE_CBC, 0); if (gcryError) { g_warning("gcry_cipher_open failed: %s/%s\n", gcry_strsource(gcryError), gcry_strerror(gcryError)); return NULL; } gcryError = gcry_cipher_setkey(gcryHandle, aesSymKey, keyLength); if (gcryError) { g_warning("gcry_cipher_setkey failed: %s/%s\n", gcry_strsource(gcryError), gcry_strerror(gcryError)); gcry_cipher_close(gcryHandle); return NULL; } // Use the key as IV too gcryError = gcry_cipher_setiv(gcryHandle, aesSymKey, blkLength); if (gcryError) { g_warning("gcry_cipher_setiv failed: %s/%s\n", gcry_strsource(gcryError), gcry_strerror(gcryError)); gcry_cipher_close(gcryHandle); return NULL; } return gcryHandle; } /** * do_aes_encrypt: * @origBuffer: text to encrypt. Needs to be null terminated * @password: password to use. Will be cut/padded with 0 if it exceeds/does not reach the needed length * @outBufferLength: (out) On success contains the length of the returned buffer * * Returns the AES encrypted version of the text. It is responsability of the caller to free it */ gchar * do_aes_encrypt(const gchar *origBuffer, const gchar * password, size_t *outBufferLength) { gcry_error_t gcryError; gcry_cipher_hd_t gcryHandle; gcryHandle = setup_cipher (password); if (gcryHandle == NULL) { return NULL; } const size_t blkLength = gcry_cipher_get_algo_blklen(GCRY_CIPHER_AES); const size_t origBufferLength = strlen(origBuffer); const size_t bufferLength = ceil((double)origBufferLength / blkLength) * blkLength; gchar *buffer = malloc(bufferLength); memcpy(buffer, origBuffer, origBufferLength); int i; for (i = origBufferLength; i < bufferLength; ++i) buffer[i] = 0; char * encBuffer = malloc(bufferLength); size_t lengthDone = 0; while (lengthDone < bufferLength) { gcryError = gcry_cipher_encrypt(gcryHandle, &encBuffer[lengthDone], blkLength, &buffer[lengthDone], blkLength); if (gcryError) { g_warning("gcry_cipher_encrypt failed: %s/%s\n", gcry_strsource(gcryError), gcry_strerror(gcryError)); gcry_cipher_close(gcryHandle); free(encBuffer); return NULL; } lengthDone += blkLength; } gcry_cipher_close(gcryHandle); *outBufferLength = bufferLength; return encBuffer; } /** * do_aes_encrypt: * @encBuffer: encrypted data * @password: password to use. Will be cut/padded with 0 if it exceeds/does not reach the needed length * @encBufferLength: Length of encBuffer * * Returns the AES decrypted version of the data. It is null terminated. It is responsability of the caller to free it */ gchar * do_aes_decrypt(const gchar *encBuffer, const gchar * password, const size_t encBufferLength) { gcry_error_t gcryError; gcry_cipher_hd_t gcryHandle; gcryHandle = setup_cipher (password); if (gcryHandle == NULL) { return NULL; } const size_t blkLength = gcry_cipher_get_algo_blklen(GCRY_CIPHER_AES128); const size_t bufferLength = encBufferLength; char * outBuffer = malloc(bufferLength); size_t lengthDone = 0; while (lengthDone < bufferLength) { gcryError = gcry_cipher_decrypt(gcryHandle, &outBuffer[lengthDone], 16, &encBuffer[lengthDone], 16); if (gcryError) { g_warning("gcry_cipher_decrypt failed: %s/%s\n", gcry_strsource(gcryError), gcry_strerror(gcryError)); return NULL; } lengthDone += blkLength; } gcry_cipher_close(gcryHandle); char *result = g_strndup(outBuffer, bufferLength); free(outBuffer); return result; } remote-logon-service-1.0.2.0/src/crypt.h0000644000000000000000000000166113265071040014706 0ustar /* * Copyright © 2012 Canonical Ltd. * Copyright © 2015 The Arctica Project * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * */ #ifndef __CRYPT_H__ #define __CRYPT_H__ gchar * do_aes_encrypt(const gchar * buffer, const gchar * password, size_t *outBufferLength); gchar * do_aes_decrypt(const gchar * encBuffer, const gchar * password, const size_t encBufferLength); #endif remote-logon-service-1.0.2.0/src/defines.h0000644000000000000000000000351113265071040015156 0ustar /* * Copyright © 2012 Canonical Ltd. * Copyright © 2015 The Arctica Project * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: Ted Gould * Mike Gabriel */ #ifndef __DEFINES_H__ #define __DEFINES_H__ #define CONFIG_MAIN_GROUP "Remote Logon Service" #define CONFIG_MAIN_SERVERS "Servers" #define CONFIG_SERVER_PREFIX "Server" #define CONFIG_SERVER_NAME "Name" #define CONFIG_SERVER_URI "URI" #define CONFIG_UCCS_EXEC "Exec" #define CONFIG_UCCS_NETWORK "NetworkRequired" #define CONFIG_UCCS_NETWORK_NONE "None" #define CONFIG_UCCS_NETWORK_GLOBAL "Global" #define CONFIG_UCCS_VERIFY "VerifyServer" #define CONFIG_SERVER_TYPE "Type" #define CONFIG_SERVER_TYPE_RDP "RDP" #define CONFIG_SERVER_TYPE_ICA "ICA" #define CONFIG_SERVER_TYPE_X2GO "X2GO" #define CONFIG_SERVER_TYPE_UCCS "UCCS" #define JSON_PROTOCOL "Protocol" #define JSON_SERVER_NAME "Name" #define JSON_URI "URL" #define JSON_USERNAME "Username" #define JSON_PASSWORD "Password" #define JSON_DOMAIN_REQ "DomainRequired" #define JSON_DOMAIN "WindowsDomain" #define JSON_SESSIONTYPE "SessionType" #define JSON_SESSIONTYPE_REQ "SessionTypeRequired" #endif /* __DEFINES_H__ */ remote-logon-service-1.0.2.0/src/main.c0000644000000000000000000003334213265071040014465 0ustar /* * Copyright © 2012 Canonical Ltd. * Copyright © 2015 The Arctica Project * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: Ted Gould * Mike Gabriel */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include /* NOTE: Required to build without optimizations */ #include #include "remote-logon.h" #include "defines.h" #include "server.h" #include "rdp-server.h" #include "citrix-server.h" #include "uccs-server.h" #include "x2go-server.h" #include "crypt.h" gint server_list_to_array (GVariantBuilder * builder, GList * items); enum { ERROR_SERVER_URI, ERROR_LOGIN }; GList * config_file_servers = NULL; /* Get the error domain for this module */ static GQuark error_domain (void) { static GQuark value = 0; if (value == 0) { value = g_quark_from_static_string("remote-logon-service"); } return value; } /* When one of the state changes on the server emit that so that everone knows there might be a new server available. */ static void server_status_updated (Server * server, ServerState newstate, RemoteLogon * rl) { GVariant * array = NULL; GVariantBuilder builder; g_variant_builder_init(&builder, G_VARIANT_TYPE_ARRAY); gint servers = server_list_to_array(&builder, config_file_servers); if (servers > 0) { array = g_variant_builder_end(&builder); } else { g_variant_builder_clear(&builder); array = g_variant_new_array(G_VARIANT_TYPE("(sssba(sbva{sv})a(si))"), NULL, 0); } g_debug ("%d server(s) available", servers); g_debug ("Signalling state change to: %d", newstate); remote_logon_emit_servers_updated(rl, array); return; } /* Looks for the config file and does some basic parsing to pull out the UCCS servers that are configured in it */ static void find_config_file (GKeyFile * parsed, const gchar * cmnd_line, RemoteLogon * rl) { GError * error = NULL; const gchar * file = DEFAULT_CONFIG_FILE; if (cmnd_line != NULL) { file = cmnd_line; } if (!g_key_file_load_from_file(parsed, file, G_KEY_FILE_NONE, &error)) { g_warning("Unable to parse config file '%s': %s", file, error->message); g_error_free(error); return; } if (!g_key_file_has_group(parsed, CONFIG_MAIN_GROUP)) { g_warning("Config file '%s' doesn't have group '" CONFIG_MAIN_GROUP "'", file); /* Probably should clear the keyfile, but there doesn't seem to be a way to do that */ return; } if (g_key_file_has_key(parsed, CONFIG_MAIN_GROUP, CONFIG_MAIN_SERVERS, NULL)) { gchar ** grouplist = g_key_file_get_string_list(parsed, CONFIG_MAIN_GROUP, CONFIG_MAIN_SERVERS, NULL, NULL); int i = 0; gchar * groupsuffix; for (groupsuffix = grouplist[0], i = 0; groupsuffix != NULL; groupsuffix = grouplist[++i]) { gchar * groupname = g_strdup_printf("%s %s", CONFIG_SERVER_PREFIX, groupsuffix); Server * server = server_new_from_keyfile(parsed, groupname); g_free(groupname); if (server == NULL) { /* Assume a relevant error is printed above */ continue; } config_file_servers = g_list_append(config_file_servers, server); g_signal_connect(server, SERVER_SIGNAL_STATE_CHANGED, G_CALLBACK(server_status_updated), rl); } g_strfreev(grouplist); } /* Signal the list of servers so that we're sure everyone's got them. This is to solve a possible race where someone could ask while we're configuring these. */ server_status_updated(NULL, SERVER_STATE_ALLGOOD, rl); return; } gint server_list_to_array (GVariantBuilder * builder, GList * items) { gint servercnt = 0; GList * head = NULL; for (head = items; head != NULL; head = g_list_next(head)) { Server * server = SERVER(head->data); /* We only want servers that are all good */ if (server->state != SERVER_STATE_ALLGOOD) { continue; } servercnt++; GVariant * variant = server_get_variant(server); g_variant_builder_add_value(builder, variant); } return servercnt; } static gboolean handle_get_servers (RemoteLogon * rl, GDBusMethodInvocation * invocation, gpointer user_data) { GVariant * array = NULL; GVariantBuilder builder; g_variant_builder_init(&builder, G_VARIANT_TYPE_ARRAY); if (server_list_to_array(&builder, config_file_servers) > 0) { array = g_variant_builder_end(&builder); } else { g_variant_builder_clear(&builder); array = g_variant_new_array(G_VARIANT_TYPE("(sssba(sbva{sv})a(si))"), NULL, 0); } g_debug ("handle_get_servers: returning %s", g_variant_print (array, FALSE)); g_dbus_method_invocation_return_value(invocation, g_variant_new_tuple(&array, 1)); return TRUE; } /* Handle the situation of whether we unlock or not and respond over DBus with either an error or the list of servers. */ static void handle_get_servers_login_cb (UccsServer * server, gboolean unlocked, gpointer user_data) { GDBusMethodInvocation * invocation = (GDBusMethodInvocation *)user_data; const gchar * sender = g_dbus_method_invocation_get_sender(invocation); GVariantBuilder builder; g_variant_builder_init(&builder, G_VARIANT_TYPE_TUPLE); /* Signal whether we're unlocked */ g_variant_builder_add_value(&builder, g_variant_new_boolean(unlocked)); /* Only network, no caching yet */ g_variant_builder_add_value(&builder, g_variant_new_string("network")); /* Get the array of servers */ GVariant * array = uccs_server_get_servers(server, sender); g_variant_builder_add_value(&builder, array); g_dbus_method_invocation_return_value(invocation, g_variant_builder_end(&builder)); return; } /* Handle the GetServerForLogin DBus call */ static gboolean handle_get_servers_login (RemoteLogon * rl, GDBusMethodInvocation * invocation, gpointer user_data) { GVariant * params = g_dbus_method_invocation_get_parameters(invocation); const gchar * sender = g_dbus_method_invocation_get_sender(invocation); GVariant * child = NULL; const gchar * uri = NULL; child = g_variant_get_child_value(params, 0); uri = g_variant_get_string(child, NULL); g_variant_unref(child); /* fine as we know params is still ref'd */ GList * lserver = NULL; Server * server = NULL; for (lserver = config_file_servers; lserver != NULL; lserver = g_list_next(lserver)) { server = SERVER(lserver->data); if (server == NULL) { continue; } if (!IS_UCCS_SERVER(server)) { continue; } if (g_strcmp0(server->uri, uri) == 0) { break; } } if (lserver == NULL) { /* Couldn't find something with that URI, we're done, thanks. */ g_dbus_method_invocation_return_error(invocation, error_domain(), ERROR_SERVER_URI, "Unable to find a server with the URI: '%s'", uri); return TRUE; } /* Unlock the Server */ const gchar * username = NULL; const gchar * password = NULL; gboolean allowcache = FALSE; child = g_variant_get_child_value(params, 1); username = g_variant_get_string(child, NULL); g_variant_unref(child); /* fine as we know params is still ref'd */ child = g_variant_get_child_value(params, 2); password = g_variant_get_string(child, NULL); g_variant_unref(child); /* fine as we know params is still ref'd */ child = g_variant_get_child_value(params, 3); allowcache = g_variant_get_boolean(child); g_variant_unref(child); /* Try to login and mark us as servicing the message */ uccs_server_unlock(UCCS_SERVER(server), sender, username, password, allowcache, handle_get_servers_login_cb, invocation); return TRUE; } /* Look through a list of servers to see if one matches a URL */ static Server * handle_get_domains_list_helper (GList * list, const gchar * uri) { if (list == NULL) return NULL; Server * inserver = SERVER(list->data); if (inserver == NULL) { return handle_get_domains_list_helper(g_list_next(list), uri); } Server * outserver = server_find_uri(inserver, uri); if (outserver != NULL) { return outserver; } return handle_get_domains_list_helper(g_list_next(list), uri); } /* Get the cached domains for a server */ static gboolean handle_get_domains (RemoteLogon * rl, GDBusMethodInvocation * invocation, gpointer user_data) { GVariant * params = g_dbus_method_invocation_get_parameters(invocation); GVariant * child = NULL; const gchar * uri = NULL; child = g_variant_get_child_value(params, 0); uri = g_variant_get_string(child, NULL); g_variant_unref(child); /* fine as we know params is still ref'd */ Server * server = handle_get_domains_list_helper(config_file_servers, uri); GVariant * domains = NULL; if (server != NULL) { domains = server_cached_domains(server); } else { domains = g_variant_new_array(G_VARIANT_TYPE_STRING, NULL, 0); } if (domains == NULL) { /* Couldn't find something with that URI, we're done, thanks. */ g_dbus_method_invocation_return_error(invocation, error_domain(), ERROR_SERVER_URI, "Unable to find a server with the URI: '%s'", uri); return TRUE; } g_dbus_method_invocation_return_value(invocation, g_variant_new_tuple(&domains, 1)); return TRUE; } /* Set a given server as last used */ static gboolean handle_set_last_used_server (RemoteLogon * rl, GDBusMethodInvocation * invocation, gpointer user_data) { GVariant * params = g_dbus_method_invocation_get_parameters(invocation); GVariant * child = NULL; const gchar * uccsUri = NULL; const gchar * serverUri = NULL; child = g_variant_get_child_value(params, 0); uccsUri = g_variant_get_string(child, NULL); g_variant_unref(child); /* fine as we know params is still ref'd */ child = g_variant_get_child_value(params, 1); serverUri = g_variant_get_string(child, NULL); g_variant_unref(child); /* fine as we know params is still ref'd */ GList * lserver = NULL; Server * server = NULL; for (lserver = config_file_servers; lserver != NULL; lserver = g_list_next(lserver)) { server = SERVER(lserver->data); if (server == NULL) { continue; } if (!IS_UCCS_SERVER(server)) { continue; } if (g_strcmp0(server->uri, uccsUri) == 0) { break; } } if (server != NULL) { server_set_last_used_server (server, serverUri); } g_dbus_method_invocation_return_value(invocation, NULL); return TRUE; } /* If we loose the name, tell the world and there's not much we can do */ static void name_lost (GDBusConnection * connection, const gchar * name, gpointer user_data) { GMainLoop * mainloop = (GMainLoop *)user_data; g_warning("Unable to get name '%s'. Exiting.", name); g_main_loop_quit(mainloop); return; } static gchar * cmnd_line_config = NULL; static GOptionEntry general_options[] = { {"config-file", 'c', 0, G_OPTION_ARG_FILENAME, &cmnd_line_config, N_("Configuration file for the remote logon service. Defaults to '/etc/remote-logon-service.conf'."), N_("key_file")}, {NULL} }; int main (int argc, char * argv[]) { GError * error = NULL; #if !GLIB_CHECK_VERSION (2, 35, 1) /* Init the GTypes */ g_type_init(); #endif /* Setup i18n */ setlocale (LC_ALL, ""); bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); textdomain (GETTEXT_PACKAGE); /* Create our global variables */ GKeyFile * config = g_key_file_new(); GMainLoop * mainloop = g_main_loop_new(NULL, FALSE); /* Handle command line parameters */ GOptionContext * context; context = g_option_context_new(_("- Determine the remote servers that can be logged into")); g_option_context_add_main_entries(context, general_options, "remote-logon-service"); if (!g_option_context_parse(context, &argc, &argv, &error)) { g_print("option parsing failed: %s\n", error->message); g_error_free(error); return 1; } /* Start up D' Bus */ GDBusConnection * session_bus = g_bus_get_sync(G_BUS_TYPE_SESSION, NULL /* cancel */, &error); if (error != NULL) { g_error("Unable to get session bus: %s", error->message); g_error_free(error); return -1; } /* Build Dbus Interface */ RemoteLogon * skel = remote_logon_skeleton_new(); /* Export it */ g_dbus_interface_skeleton_export(G_DBUS_INTERFACE_SKELETON(skel), session_bus, "/org/ArcticaProject/RemoteLogon", NULL); g_signal_connect(skel, "handle-get-servers", G_CALLBACK(handle_get_servers), NULL); g_signal_connect(skel, "handle-get-servers-for-login", G_CALLBACK(handle_get_servers_login), NULL); g_signal_connect(skel, "handle-get-cached-domains-for-server", G_CALLBACK(handle_get_domains), NULL); g_signal_connect(skel, "handle-set-last-used-server", G_CALLBACK(handle_set_last_used_server), NULL); g_bus_own_name_on_connection(session_bus, "org.ArcticaProject.RemoteLogon", G_BUS_NAME_OWNER_FLAGS_NONE, NULL, /* aquired handler */ name_lost, mainloop, NULL); /* mainloop free */ /* Parse config file */ find_config_file(config, cmnd_line_config, skel); if(!gcry_check_version(NULL)) { return -1; } gcry_control(GCRYCTL_DISABLE_SECMEM, 0); gcry_control(GCRYCTL_INITIALIZATION_FINISHED, 0); /* Loop forever */ g_main_loop_run(mainloop); g_main_loop_unref(mainloop); g_object_unref(config); g_free(cmnd_line_config); return 0; } remote-logon-service-1.0.2.0/src/Makefile.am0000644000000000000000000000273713265071040015435 0ustar pkglibexec_PROGRAMS = \ remote-logon-service EXTRA_DIST = \ org.ArcticaProject.RemoteLogon.xml noinst_LTLIBRARIES = \ libservers.la \ libgenerated.la ################################ # libgenerated ################################ libgenerated_la_SOURCES = \ remote-logon.c \ remote-logon.h libgenerated_la_CFLAGS = \ $(SERVICE_CFLAGS) $(libgenerated_la_SOURCES): org.ArcticaProject.RemoteLogon.xml gdbus-codegen \ --interface-prefix org.ArcticaProject \ --generate-c remote-logon \ $^ BUILT_SOURCES = $(libgenerated_la_SOURCES) CLEANFILES = $(BUILT_SOURCES) ################################ # libservers ################################ libservers_la_SOURCES = \ citrix-server.c \ citrix-server.h \ rdp-server.c \ rdp-server.h \ x2go-server.c \ x2go-server.h \ uccs-server.c \ uccs-server.h \ defines.h \ server.c \ server.h \ crypt.c \ crypt.h libservers_la_CFLAGS = \ -DUCCS_QUERY_TOOL="\"remote-logon-config-agent\"" \ $(SERVICE_CFLAGS) \ $(COVERAGE_CFLAGS) libservers_la_LDFLAGS = \ $(COVERAGE_LDFLAGS) $(GCRYPT_LIBS) -lm ################################ # remote-logon-service ################################ remote_logon_service_CFLAGS = \ -DDEFAULT_CONFIG_FILE="\"$(sysconfdir)/remote-logon-service.conf\"" \ $(SERVICE_CFLAGS) \ $(COVERAGE_CFLAGS) remote_logon_service_LDADD = \ $(builddir)/libservers.la \ $(builddir)/libgenerated.la \ $(SERVICE_LIBS) remote_logon_service_LDFLAGS = \ $(COVERAGE_LDFLAGS) remote_logon_service_SOURCES = \ main.c remote-logon-service-1.0.2.0/src/org.ArcticaProject.RemoteLogon.xml0000644000000000000000000000624513265071040022035 0ustar remote-logon-service-1.0.2.0/src/rdp-server.c0000644000000000000000000001706213265071040015633 0ustar /* * Copyright © 2012 Canonical Ltd. * Copyright © 2015 The Arctica Project * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: Ted Gould * Mike Gabriel */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include "rdp-server.h" #include "defines.h" static void rdp_server_class_init (RdpServerClass *klass); static void rdp_server_init (RdpServer *self); static void rdp_server_dispose (GObject *object); static void rdp_server_finalize (GObject *object); static GVariant * get_properties (Server * server); G_DEFINE_TYPE (RdpServer, rdp_server, SERVER_TYPE); static void rdp_server_class_init (RdpServerClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); object_class->dispose = rdp_server_dispose; object_class->finalize = rdp_server_finalize; ServerClass * server_class = SERVER_CLASS(klass); server_class->get_properties = get_properties; return; } static void rdp_server_init (RdpServer *self) { self->username = NULL; self->password = NULL; self->domain = NULL; self->domain_required = FALSE; return; } static void rdp_server_dispose (GObject *object) { G_OBJECT_CLASS (rdp_server_parent_class)->dispose (object); return; } /* Unlocks the memory before freeing */ static void password_clear (gpointer data) { char * pass = (char *)data; munlock(pass, strlen(pass)); g_free(pass); return; } static void rdp_server_finalize (GObject *object) { RdpServer * server = RDP_SERVER(object); g_clear_pointer(&server->username, g_free); g_clear_pointer(&server->password, password_clear); g_clear_pointer(&server->domain, g_free); G_OBJECT_CLASS (rdp_server_parent_class)->finalize (object); return; } static GVariant * get_properties (Server * server) { RdpServer * rserver = RDP_SERVER(server); GVariantBuilder propbuilder; g_variant_builder_init(&propbuilder, G_VARIANT_TYPE_ARRAY); GVariantBuilder namebuilder; g_variant_builder_init(&namebuilder, G_VARIANT_TYPE_TUPLE); g_variant_builder_add_value(&namebuilder, g_variant_new_string("username")); g_variant_builder_add_value(&namebuilder, g_variant_new_boolean(TRUE)); if (rserver->username == NULL) { g_variant_builder_add_value(&namebuilder, g_variant_new_variant(g_variant_new_string(""))); } else { g_variant_builder_add_value(&namebuilder, g_variant_new_variant(g_variant_new_string(rserver->username))); } g_variant_builder_add_value(&namebuilder, g_variant_parse(G_VARIANT_TYPE_VARDICT, "{}", NULL, NULL, NULL)); g_variant_builder_add_value(&propbuilder, g_variant_builder_end(&namebuilder)); GVariantBuilder passbuilder; g_variant_builder_init(&passbuilder, G_VARIANT_TYPE_TUPLE); g_variant_builder_add_value(&passbuilder, g_variant_new_string("password")); g_variant_builder_add_value(&passbuilder, g_variant_new_boolean(TRUE)); if (rserver->password == NULL) { g_variant_builder_add_value(&passbuilder, g_variant_new_variant(g_variant_new_string(""))); } else { g_variant_builder_add_value(&passbuilder, g_variant_new_variant(g_variant_new_string(rserver->password))); } g_variant_builder_add_value(&passbuilder, g_variant_parse(G_VARIANT_TYPE_VARDICT, "{}", NULL, NULL, NULL)); g_variant_builder_add_value(&propbuilder, g_variant_builder_end(&passbuilder)); GVariantBuilder domainbuilder; g_variant_builder_init(&domainbuilder, G_VARIANT_TYPE_TUPLE); g_variant_builder_add_value(&domainbuilder, g_variant_new_string("domain")); g_variant_builder_add_value(&domainbuilder, g_variant_new_boolean(rserver->domain_required)); if (rserver->domain == NULL) { g_variant_builder_add_value(&domainbuilder, g_variant_new_variant(g_variant_new_string(""))); } else { g_variant_builder_add_value(&domainbuilder, g_variant_new_variant(g_variant_new_string(rserver->domain))); } g_variant_builder_add_value(&domainbuilder, g_variant_parse(G_VARIANT_TYPE_VARDICT, "{}", NULL, NULL, NULL)); g_variant_builder_add_value(&propbuilder, g_variant_builder_end(&domainbuilder)); return g_variant_builder_end(&propbuilder); } Server * rdp_server_new_from_keyfile (GKeyFile * keyfile, const gchar * groupname) { g_return_val_if_fail(keyfile != NULL, NULL); /* NOTE: No way to check if that's really a keyfile :-( */ g_return_val_if_fail(groupname != NULL, NULL); if (!g_key_file_has_group(keyfile, groupname)) { g_warning("Server specified but group '%s' was not found", groupname); return NULL; } RdpServer * server = g_object_new(RDP_SERVER_TYPE, NULL); if (g_key_file_has_key(keyfile, groupname, CONFIG_SERVER_NAME, NULL)) { gchar * keyname = g_key_file_get_string(keyfile, groupname, CONFIG_SERVER_NAME, NULL); server->parent.name = g_strdup(_(keyname)); g_free(keyname); } if (g_key_file_has_key(keyfile, groupname, CONFIG_SERVER_URI, NULL)) { server->parent.uri = g_key_file_get_string(keyfile, groupname, CONFIG_SERVER_URI, NULL); } return SERVER(server); } /* Build the RDP server from information in the JSON object */ Server * rdp_server_new_from_json (JsonObject * object) { RdpServer * server = g_object_new(RDP_SERVER_TYPE, NULL); if (json_object_has_member(object, JSON_SERVER_NAME)) { JsonNode * node = json_object_get_member(object, JSON_SERVER_NAME); if (JSON_NODE_TYPE(node) == JSON_NODE_VALUE && json_node_get_value_type(node) == G_TYPE_STRING) { const gchar * name = json_node_get_string(node); server->parent.name = g_strdup(name); } } if (json_object_has_member(object, JSON_URI)) { JsonNode * node = json_object_get_member(object, JSON_URI); if (JSON_NODE_TYPE(node) == JSON_NODE_VALUE && json_node_get_value_type(node) == G_TYPE_STRING) { const gchar * uri = json_node_get_string(node); server->parent.uri = g_strdup(uri); } } if (json_object_has_member(object, JSON_USERNAME)) { JsonNode * node = json_object_get_member(object, JSON_USERNAME); if (JSON_NODE_TYPE(node) == JSON_NODE_VALUE && json_node_get_value_type(node) == G_TYPE_STRING) { const gchar * username = json_node_get_string(node); server->username = g_strdup(username); } } if (json_object_has_member(object, JSON_PASSWORD)) { JsonNode * node = json_object_get_member(object, JSON_PASSWORD); if (JSON_NODE_TYPE(node) == JSON_NODE_VALUE && json_node_get_value_type(node) == G_TYPE_STRING) { const gchar * password = json_node_get_string(node); server->password = g_strdup(password); mlock(server->password, strlen(server->password)); } } if (json_object_has_member(object, JSON_DOMAIN)) { JsonNode * node = json_object_get_member(object, JSON_DOMAIN); if (JSON_NODE_TYPE(node) == JSON_NODE_VALUE && json_node_get_value_type(node) == G_TYPE_STRING) { const gchar * domain = json_node_get_string(node); server->domain = g_strdup(domain); } } if (json_object_has_member(object, JSON_DOMAIN_REQ)) { JsonNode * node = json_object_get_member(object, JSON_DOMAIN_REQ); if (JSON_NODE_TYPE(node) == JSON_NODE_VALUE && json_node_get_value_type(node) == G_TYPE_BOOLEAN) { server->domain_required = json_node_get_boolean(node); } } return SERVER(server); } remote-logon-service-1.0.2.0/src/rdp-server.h0000644000000000000000000000363713265071040015643 0ustar /* * Copyright © 2012 Canonical Ltd. * Copyright © 2015 The Arctica Project * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: Ted Gould * Mike Gabriel */ #ifndef __RDP_SERVER_H__ #define __RDP_SERVER_H__ #include #include #include "server.h" G_BEGIN_DECLS #define RDP_SERVER_TYPE (rdp_server_get_type ()) #define RDP_SERVER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RDP_SERVER_TYPE, RdpServer)) #define RDP_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), RDP_SERVER_TYPE, RdpServerClass)) #define IS_RDP_SERVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), RDP_SERVER_TYPE)) #define IS_RDP_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), RDP_SERVER_TYPE)) #define RDP_SERVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), RDP_SERVER_TYPE, RdpServerClass)) typedef struct _RdpServer RdpServer; typedef struct _RdpServerClass RdpServerClass; struct _RdpServerClass { ServerClass parent_class; }; struct _RdpServer { Server parent; gchar * username; gchar * password; gchar * domain; gboolean domain_required; }; GType rdp_server_get_type (void); Server * rdp_server_new_from_keyfile (GKeyFile * keyfile, const gchar * name); Server * rdp_server_new_from_json (JsonObject * object); G_END_DECLS #endif remote-logon-service-1.0.2.0/src/server.c0000644000000000000000000002014513265071040015044 0ustar /* * Copyright © 2012 Canonical Ltd. * Copyright © 2015 The Arctica Project * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: Ted Gould * Mike Gabriel */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "server.h" #include "defines.h" #include "citrix-server.h" #include "rdp-server.h" #include "uccs-server.h" #include "x2go-server.h" static void server_class_init (ServerClass *klass); static void server_init (Server *self); static void server_dispose (GObject *object); static void server_finalize (GObject *object); /* Signals */ enum { STATE_CHANGED, LAST_SIGNAL }; G_DEFINE_TYPE (Server, server, G_TYPE_OBJECT); static guint signals[LAST_SIGNAL] = { 0 }; static void server_class_init (ServerClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); object_class->dispose = server_dispose; object_class->finalize = server_finalize; signals[STATE_CHANGED] = g_signal_new(SERVER_SIGNAL_STATE_CHANGED, G_TYPE_FROM_CLASS(klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET(ServerClass, state_changed), NULL, NULL, g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT, G_TYPE_NONE); return; } static void server_init (Server *self) { self->name = NULL; self->uri = NULL; self->last_used = FALSE; self->state = SERVER_STATE_ALLGOOD; return; } static void server_dispose (GObject *object) { G_OBJECT_CLASS (server_parent_class)->dispose (object); return; } static void server_finalize (GObject *object) { Server * server = SERVER(object); g_free(server->name); g_free(server->uri); G_OBJECT_CLASS (server_parent_class)->finalize (object); return; } /** * server_new_from_keyfile: * @keyfile: The keyfile with the @group in it to define the server * @group: Group name for this server * * Looks at a group within the keyfile and builds a server based on * it's type. Mostly works with a subclass based on the type. * * Return value: A new Server object or NULL if error */ Server * server_new_from_keyfile (GKeyFile * keyfile, const gchar * group) { g_return_val_if_fail(keyfile != NULL, NULL); g_return_val_if_fail(group != NULL, NULL); if (!g_key_file_has_group(keyfile, group)) { return NULL; } gchar * type = NULL; if (g_key_file_has_key(keyfile, group, CONFIG_SERVER_TYPE, NULL)) { type = g_key_file_get_string(keyfile, group, CONFIG_SERVER_TYPE, NULL); } if (g_strcmp0(type, CONFIG_SERVER_TYPE_RDP) == 0) { return SERVER(rdp_server_new_from_keyfile(keyfile, group)); } else if (g_strcmp0(type, CONFIG_SERVER_TYPE_ICA) == 0) { return SERVER(citrix_server_new_from_keyfile(keyfile, group)); } else { return SERVER(uccs_server_new_from_keyfile(keyfile, group)); } return NULL; } /** * server_new_from_json: * @object: JSON object with server definition * * Looks at the type and then uses a subclassed function to build the * server. * * Return value: A new Server object or NULL if error */ Server * server_new_from_json (JsonObject * object) { g_return_val_if_fail(object != NULL, NULL); if (!json_object_has_member(object, "Protocol")) { return NULL; } JsonNode * proto_node = json_object_get_member(object, "Protocol"); if (JSON_NODE_TYPE(proto_node) != JSON_NODE_VALUE) { return NULL; } if (json_node_get_value_type(proto_node) != G_TYPE_STRING) { return NULL; } const gchar * proto = json_node_get_string(proto_node); Server * newserver = NULL; if (g_strcmp0(proto, "ICA") == 0 || g_strcmp0(proto, "ica") == 0) { newserver = citrix_server_new_from_json(object); } else if (g_strcmp0(proto, "freerdp") == 0 || g_strcmp0(proto, "rdp") == 0 || g_strcmp0(proto, "RDP") == 0 || g_strcmp0(proto, "FreeRDP") == 0) { newserver = rdp_server_new_from_json(object); } else if (g_strcmp0(proto, "x2go") == 0 || g_strcmp0(proto, "X2go") == 0 || g_strcmp0(proto, "X2Go") == 0 || g_strcmp0(proto, "X2GO") == 0 || g_strcmp0(proto, "x2GO") == 0 || g_strcmp0(proto, "x2gO") == 0) { newserver = x2go_server_new_from_json(object); } return newserver; } GVariant * server_get_variant (Server * server) { /* Okay, this doesn't do anything useful, but it will generate an error which could be a good thing */ g_return_val_if_fail(IS_SERVER(server), NULL); ServerClass * klass = SERVER_GET_CLASS(server); if (klass->get_properties != NULL) { GVariantBuilder tuple; g_variant_builder_init(&tuple, G_VARIANT_TYPE_TUPLE); if (IS_CITRIX_SERVER(server)) { g_variant_builder_add_value(&tuple, g_variant_new_string("ica")); } else if (IS_RDP_SERVER(server)) { g_variant_builder_add_value(&tuple, g_variant_new_string("freerdp")); } else if (IS_UCCS_SERVER(server)) { g_variant_builder_add_value(&tuple, g_variant_new_string("uccs")); } else if (IS_X2GO_SERVER(server)) { g_variant_builder_add_value(&tuple, g_variant_new_string("x2go")); } else { g_assert_not_reached(); } if (server->name != NULL) { g_variant_builder_add_value(&tuple, g_variant_new_string(server->name)); } else { g_warning("Server has no name"); g_variant_builder_add_value(&tuple, g_variant_new_string("")); } if (server->uri != NULL) { g_variant_builder_add_value(&tuple, g_variant_new_string(server->uri)); } else { g_warning("Server has no URI"); g_variant_builder_add_value(&tuple, g_variant_new_string("")); } g_variant_builder_add_value(&tuple, g_variant_new_boolean(server->last_used)); GVariant * props = klass->get_properties(server); g_variant_builder_add_value(&tuple, props); if (klass->get_applications != NULL) { GVariant * array = klass->get_applications(server); g_variant_builder_add_value(&tuple, array); } else { /* NULL array of applications */ g_variant_builder_add_value(&tuple, g_variant_new_array(G_VARIANT_TYPE("(si)"), NULL, 0)); } return g_variant_builder_end(&tuple); } return NULL; } /** * server_cached_domains: * @server: Where should we find those domains? * * Gets a list of cached domains for a particular server, if this function * isn't overriden, then a null array is returned. */ GVariant * server_cached_domains (Server * server) { g_return_val_if_fail(IS_SERVER(server), NULL); ServerClass * klass = SERVER_GET_CLASS(server); if (klass->get_domains != NULL) { return klass->get_domains(server); } return g_variant_new_array(G_VARIANT_TYPE_STRING, NULL, 0); } /** * server_find_uri: * @server: Server to look in * @uri: URI to search for * * Checks the URI of this server to see if it matches, and then look * to see if subclasses have a way to match it another way. */ Server * server_find_uri (Server * server, const gchar * uri) { g_return_val_if_fail(IS_SERVER(server), NULL); if (g_strcmp0(server->uri, uri) == 0) { return server; } ServerClass * klass = SERVER_GET_CLASS(server); if (klass->find_uri != NULL) { return klass->find_uri(server, uri); } return NULL; } /** * server_set_last_used: * @server: Server to look in * @uri: URI to set as last used * * Checks the URI of this server to see if it matches, and then look * to see if subclasses have a way to match it another way. */ void server_set_last_used_server (Server * server, const gchar * uri) { g_return_if_fail(IS_SERVER(server)); if (g_strcmp0(server->uri, uri) == 0) { server->last_used = TRUE; } else { ServerClass * klass = SERVER_GET_CLASS(server); if (klass->set_last_used_server != NULL) { klass->set_last_used_server(server, uri); } } } remote-logon-service-1.0.2.0/src/server.h0000644000000000000000000000505513265071040015054 0ustar /* * Copyright © 2012 Canonical Ltd. * Copyright © 2015 The Arctica Project * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: Ted Gould * Mike Gabriel */ #ifndef __SERVER_H__ #define __SERVER_H__ #include #include G_BEGIN_DECLS #define SERVER_TYPE (server_get_type ()) #define SERVER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SERVER_TYPE, Server)) #define SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SERVER_TYPE, ServerClass)) #define IS_SERVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SERVER_TYPE)) #define IS_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SERVER_TYPE)) #define SERVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SERVER_TYPE, ServerClass)) #define SERVER_SIGNAL_STATE_CHANGED "state-changed" typedef struct _Server Server; typedef struct _ServerClass ServerClass; typedef enum _ServerState ServerState; enum _ServerState { SERVER_STATE_ALLGOOD, SERVER_STATE_UNAVAILABLE }; struct _ServerClass { GObjectClass parent_class; GVariant * (*get_properties) (Server * server); GVariant * (*get_applications) (Server * server); GVariant * (*get_domains) (Server * server); Server * (*find_uri) (Server * server, const gchar * uri); void (*set_last_used_server) (Server * server, const gchar * uri); /* signals */ void (*state_changed) (Server * server, ServerState newstate, gpointer user_data); }; struct _Server { GObject parent; gchar * name; gchar * uri; gboolean last_used; ServerState state; }; GType server_get_type (void); Server * server_new_from_keyfile (GKeyFile * keyfile, const gchar * group); Server * server_new_from_json (JsonObject * object); GVariant * server_get_variant (Server * server); GVariant * server_cached_domains (Server * server); Server * server_find_uri (Server * server, const gchar * uri); void server_set_last_used_server (Server * server, const gchar * uri); G_END_DECLS #endif remote-logon-service-1.0.2.0/src/uccs-server.c0000644000000000000000000007015113265071040016001 0ustar /* * Copyright © 2012 Canonical Ltd. * Copyright © 2015 The Arctica Project * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: Ted Gould * Mike Gabriel */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include #include #include #include "uccs-server.h" #include "defines.h" #include "rdp-server.h" #include "citrix-server.h" #include "crypt.h" static void uccs_server_class_init (UccsServerClass *klass); static void uccs_server_init (UccsServer *self); static void uccs_server_dispose (GObject *object); static void uccs_server_finalize (GObject *object); static GVariant * get_properties (Server * server); static void json_waiters_notify (UccsServer * server, gboolean unlocked); static GVariant * get_cached_domains (Server * server); static Server * find_uri (Server * server, const gchar * uri); static void set_last_used_server (Server * server, const gchar * uri); static void nm_state_changed (NMClient *client, const GParamSpec *pspec, gpointer user_data); typedef struct _json_callback_t json_callback_t; struct _json_callback_t { gchar * sender; void (*callback) (UccsServer * server, gboolean unlocked, gpointer user_data); gpointer userdata; }; G_DEFINE_TYPE (UccsServer, uccs_server, SERVER_TYPE); /* Static global client so we don't keep reallocating them. We only need one really */ static NMClient * global_client = NULL; static void uccs_server_class_init (UccsServerClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); object_class->dispose = uccs_server_dispose; object_class->finalize = uccs_server_finalize; ServerClass * server_class = SERVER_CLASS(klass); server_class->get_properties = get_properties; /* UCCS can't have applications */ server_class->get_applications = NULL; server_class->get_domains = get_cached_domains; server_class->find_uri = find_uri; server_class->set_last_used_server = set_last_used_server; return; } static void uccs_server_init (UccsServer *self) { self->exec = g_find_program_in_path(UCCS_QUERY_TOOL); self->username = NULL; self->password = NULL; self->lovers = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL); self->subservers = NULL; self->json_waiters = NULL; self->json_watch = 0; self->json_pid = 0; self->json_stream = NULL; self->pass_stream = NULL; self->min_network = NM_STATE_CONNECTED_GLOBAL; self->last_network = NM_STATE_DISCONNECTED; self->nm_client = NULL; self->nm_signal = 0; /* Start as unavailable */ self->parent.state = SERVER_STATE_UNAVAILABLE; if (g_strcmp0(g_getenv("DBUS_TEST_RUNNER"), "1")) { if (global_client == NULL) { global_client = nm_client_new(NULL, NULL); if (global_client != NULL) { g_object_add_weak_pointer(G_OBJECT(global_client), (gpointer *)&global_client); self->nm_client = global_client; } } else { self->nm_client = g_object_ref(global_client); } if (self->nm_client != NULL) { self->nm_signal = g_signal_connect(self->nm_client, "notify::" NM_CLIENT_STATE, G_CALLBACK(nm_state_changed), self); } } self->verify_server = TRUE; self->verified_server = FALSE; self->session = NULL; /* Need the soup session before the state changed */ self->session = soup_session_new(); nm_state_changed(self->nm_client, NULL, self); uccs_notify_state_change(self); return; } /* Small function to try and figure out the state of the server and notify of status changes appropriately */ void uccs_notify_state_change (UccsServer * server) { ServerState tempstate = SERVER_STATE_ALLGOOD; if (server->last_network < server->min_network) { tempstate = SERVER_STATE_UNAVAILABLE; } if (server->verify_server && !server->verified_server && server->min_network > NM_STATE_DISCONNECTED) { tempstate = SERVER_STATE_UNAVAILABLE; } if (tempstate != server->parent.state) { server->parent.state = tempstate; g_signal_emit_by_name(server, SERVER_SIGNAL_STATE_CHANGED, server->parent.state); } return; } struct _hash_helper { GVariant * params; GDBusConnection * session; }; /* GHashTable foreach item */ static gboolean clear_hash_helper (gpointer key, gpointer value, gpointer user_data) { struct _hash_helper * helper = (struct _hash_helper *)user_data; GError * error = NULL; g_dbus_connection_emit_signal(helper->session, (const gchar *)key, /* dest */ "/org/ArcticaProject/RemoteLogon", /* object path */ "org.ArcticaProject.RemoteLogon", /* interface name */ "org.ArcticaProject.RemoteLogon.LoginChanged", /* signal name */ helper->params, /* params */ &error); if (error != NULL) { g_warning("Unable to signal UCCS server shutdown: %s", error->message); g_error_free(error); } return TRUE; } /* Clear the hash table by going through it and signaling */ static void clear_hash (UccsServer * server) { if (g_hash_table_size(server->lovers) == 0) { return; } g_return_if_fail(server->parent.uri != NULL); g_return_if_fail(server->username != NULL); GDBusConnection * session = g_bus_get_sync(G_BUS_TYPE_SESSION, NULL, NULL); /* Shouldn't block, we should have it */ GVariant * param = g_variant_new("(ss)", server->parent.uri, server->username); /* params */ g_variant_ref_sink(param); struct _hash_helper helper; helper.params = param; helper.session = session; g_hash_table_foreach_remove(server->lovers, clear_hash_helper, &helper); g_object_unref(session); g_variant_unref(param); return; } /* Clear the JSON task and waiters */ static void clear_json (UccsServer * self) { if (self->json_watch != 0) { g_source_remove(self->json_watch); self->json_watch = 0; } if (self->json_pid != 0) { g_spawn_close_pid(self->json_pid); self->json_pid = 0; } if (self->json_stream != NULL) { g_input_stream_close(self->json_stream, NULL, NULL); g_object_unref(self->json_stream); self->json_stream = NULL; } if (self->pass_stream != NULL) { g_output_stream_close(self->pass_stream, NULL, NULL); g_object_unref(self->pass_stream); self->pass_stream = NULL; } json_waiters_notify(self, FALSE); return; } /* Clean up references */ static void uccs_server_dispose (GObject *object) { UccsServer * self = UCCS_SERVER(object); g_clear_object(&self->session); if (self->nm_signal != 0) { g_signal_handler_disconnect(self->nm_client, self->nm_signal); self->nm_signal = 0; } g_clear_object(&self->nm_client); clear_json(self); if (self->lovers != NULL) { clear_hash(self); } g_list_free_full(self->subservers, g_object_unref); self->subservers = NULL; /* Ironically the free function is the only GList function that doesn't return a new pointer by itself */ G_OBJECT_CLASS (uccs_server_parent_class)->dispose (object); return; } /* Clean up memory */ static void uccs_server_finalize (GObject *object) { UccsServer * self = UCCS_SERVER(object); g_free(self->exec); self->exec = NULL; g_free(self->username); self->username = NULL; g_free(self->password); self->password = NULL; if (self->lovers != NULL) { g_hash_table_unref(self->lovers); self->lovers = NULL; } G_OBJECT_CLASS (uccs_server_parent_class)->finalize (object); return; } /* Callback from the message getting complete */ static void verify_server_cb (SoupSession * session, SoupMessage * message, gpointer user_data) { UccsServer * server = UCCS_SERVER(user_data); guint statuscode = 404; g_object_get(G_OBJECT(message), SOUP_MESSAGE_STATUS_CODE, &statuscode, NULL); g_debug("Verification came back with status: %d", statuscode); if (statuscode == 200) { server->verified_server = TRUE; } else { server->verified_server = FALSE; } uccs_notify_state_change(server); return; } /* Set up the process to verify the server */ static void verify_server (UccsServer * server) { g_return_if_fail(server->session != NULL); if (server->parent.uri == NULL) { return; } SoupMessage * message = soup_message_new("HEAD", server->parent.uri); soup_session_queue_message(server->session, message, verify_server_cb, server); g_debug("Getting HEAD from: %s", server->parent.uri); return; } /* Callback for when the Network Manger state changes */ static void nm_state_changed (NMClient *client, const GParamSpec *pspec, gpointer user_data) { g_return_if_fail(IS_UCCS_SERVER(user_data)); UccsServer * server = UCCS_SERVER(user_data); if (server->nm_client == NULL || !nm_client_get_nm_running(server->nm_client)) { server->last_network = NM_STATE_DISCONNECTED; } else { server->last_network = nm_client_get_state(server->nm_client); } if (server->last_network == NM_STATE_DISCONNECTED) { server->verified_server = FALSE; soup_session_abort(server->session); } if (server->last_network == NM_STATE_CONNECTED_GLOBAL && server->verify_server && !server->verified_server) { verify_server(server); } uccs_notify_state_change(server); return; } /* Get the properties that can be sent by the greeter for this server */ static GVariant * get_properties (Server * server) { GVariantBuilder propbuilder; g_variant_builder_init(&propbuilder, G_VARIANT_TYPE_ARRAY); GVariantBuilder namebuilder; g_variant_builder_init(&namebuilder, G_VARIANT_TYPE_TUPLE); g_variant_builder_add_value(&namebuilder, g_variant_new_string("email")); g_variant_builder_add_value(&namebuilder, g_variant_new_boolean(TRUE)); g_variant_builder_add_value(&namebuilder, g_variant_new_variant(g_variant_new_string(""))); g_variant_builder_add_value(&namebuilder, g_variant_parse(G_VARIANT_TYPE_VARDICT, "{}", NULL, NULL, NULL)); g_variant_builder_add_value(&propbuilder, g_variant_builder_end(&namebuilder)); GVariantBuilder passbuilder; g_variant_builder_init(&passbuilder, G_VARIANT_TYPE_TUPLE); g_variant_builder_add_value(&passbuilder, g_variant_new_string("password")); g_variant_builder_add_value(&passbuilder, g_variant_new_boolean(TRUE)); g_variant_builder_add_value(&passbuilder, g_variant_new_variant(g_variant_new_string(""))); g_variant_builder_add_value(&passbuilder, g_variant_parse(G_VARIANT_TYPE_VARDICT, "{}", NULL, NULL, NULL)); g_variant_builder_add_value(&propbuilder, g_variant_builder_end(&passbuilder)); return g_variant_builder_end(&propbuilder); } /* Set the exec value for the server */ const gchar * uccs_server_set_exec (UccsServer * server, const gchar * exec) { g_return_val_if_fail(IS_UCCS_SERVER(server), NULL); g_clear_pointer(&server->exec, g_free); server->exec = g_find_program_in_path(exec); if (server->exec == NULL) { g_warning ("unable to find program %s", exec); } return server->exec; } /* Build a new uccs server from a keyfile and a group in it */ Server * uccs_server_new_from_keyfile (GKeyFile * keyfile, const gchar * groupname) { g_return_val_if_fail(keyfile != NULL, NULL); /* NOTE: No way to check if that's really a keyfile :-( */ g_return_val_if_fail(groupname != NULL, NULL); if (!g_key_file_has_group(keyfile, groupname)) { g_warning("Server specified but group '%s' was not found", groupname); return NULL; } UccsServer * server = g_object_new(UCCS_SERVER_TYPE, NULL); if (g_key_file_has_key(keyfile, groupname, CONFIG_SERVER_NAME, NULL)) { gchar * keyname = g_key_file_get_string(keyfile, groupname, CONFIG_SERVER_NAME, NULL); server->parent.name = g_strdup(_(keyname)); g_free(keyname); } if (g_key_file_has_key(keyfile, groupname, CONFIG_SERVER_URI, NULL)) { server->parent.uri = g_key_file_get_string(keyfile, groupname, CONFIG_SERVER_URI, NULL); } if (g_key_file_has_key(keyfile, groupname, CONFIG_UCCS_EXEC, NULL)) { gchar * key = g_key_file_get_string(keyfile, groupname, CONFIG_UCCS_EXEC, NULL); uccs_server_set_exec(server, key); g_free(key); } if (g_key_file_has_key(keyfile, groupname, CONFIG_UCCS_NETWORK, NULL)) { gchar * key = g_key_file_get_string(keyfile, groupname, CONFIG_UCCS_NETWORK, NULL); if (g_strcmp0(key, CONFIG_UCCS_NETWORK_NONE) == 0) { server->min_network = NM_STATE_DISCONNECTED; } else if (g_strcmp0(key, CONFIG_UCCS_NETWORK_GLOBAL) == 0) { server->min_network = NM_STATE_CONNECTED_GLOBAL; } /* NOTE: There is a possibility for other network types to be added here, but they can be tricky to test. Feel free to patch it, but please include those tests :-) */ g_free(key); } if (g_key_file_has_key(keyfile, groupname, CONFIG_UCCS_VERIFY, NULL)) { server->verify_server = g_key_file_get_boolean(keyfile, groupname, CONFIG_UCCS_VERIFY, NULL); } uccs_notify_state_change(server); return SERVER(server); } /* Look at the array of RLS data and build a server for each entry in the array */ static gboolean parse_rds_array (UccsServer * server, JsonArray * array) { // Got a new set of servers, delete the old one g_list_free_full(server->subservers, g_object_unref); server->subservers = NULL; int i; for (i = 0; i < json_array_get_length(array); i++) { JsonNode * node = json_array_get_element(array, i); if (JSON_NODE_TYPE(node) != JSON_NODE_OBJECT) { continue; } JsonObject * object = json_node_get_object(node); Server * newserver = server_new_from_json(object); if (newserver != NULL) { server->subservers = g_list_append(server->subservers, newserver); } } return TRUE; } /* Parse the JSON content and allocate servers based on that */ static gboolean parse_json (UccsServer * server, GInputStream * json) { if (json == NULL) return FALSE; /* Shouldn't happen, but let's just handle it */ gboolean passed = TRUE; JsonParser * parser = json_parser_new(); GError * error = NULL; if (!json_parser_load_from_stream(parser, json, NULL, &error)) { g_warning("Unable to parse JSON data: %s", error->message); g_error_free(error); error = NULL; passed = FALSE; } /* Make sure we have a sane root node */ JsonNode * root_node = NULL; if (passed) { root_node = json_parser_get_root(parser); #if 0 JsonGenerator * gen = json_generator_new(); json_generator_set_root(gen, root_node); gchar * data = json_generator_to_data(gen, NULL); g_debug("%s", data); g_free(data); g_object_unref(G_OBJECT(gen)); #endif } if (root_node != NULL && JSON_NODE_TYPE(root_node) != JSON_NODE_OBJECT) { g_warning("Root node of JSON data is not an object. It is: %s", json_node_type_name(root_node)); passed = FALSE; } /* Take our object and see if it has the property that we need */ JsonObject * root_object = NULL; if (passed) { root_object = json_node_get_object(root_node); } if (root_object != NULL && json_object_has_member(root_object, "RemoteDesktopServers")) { /* This shows that we have some. It's okay if there aren't any. Seems a bit silly, but we're not bitching too much. */ JsonNode * rds_node = json_object_get_member(root_object, "RemoteDesktopServers"); if (JSON_NODE_TYPE(rds_node) == JSON_NODE_ARRAY) { JsonArray * rds_array = json_node_get_array(rds_node); passed = parse_rds_array(server, rds_array); } else { /* Okay we're a little bit angrier about this one */ g_warning("Malformed 'RemoteDesktopServer' entry. Not an array but a: %s", json_node_type_name(rds_node)); passed = FALSE; } if (json_object_has_member(root_object, "DefaultServer")) { JsonNode * ds_node = json_object_get_member(root_object, "DefaultServer"); if (JSON_NODE_TYPE(ds_node) == JSON_NODE_VALUE && json_node_get_value_type(ds_node) == G_TYPE_STRING) { const gchar * default_server_name = json_node_get_string(ds_node); if (default_server_name != NULL) { GList * lserver; for (lserver = server->subservers; lserver != NULL; lserver = g_list_next(lserver)) { Server * serv = SERVER(lserver->data); if (g_strcmp0(serv->name, default_server_name) == 0) { serv->last_used = TRUE; break; } } if (lserver == NULL && strlen(default_server_name) > 0) { g_warning("Could not find the 'DefaultServer' server."); passed = FALSE; } } } else { g_warning("Malformed 'DefaultServer' entry. Not a string value"); passed = FALSE; } } } else { g_debug("No 'RemoteDesktopServers' found"); } g_object_unref(parser); return passed; } /* Go through the waiters and notify them of the status */ static void json_waiters_notify (UccsServer * server, gboolean unlocked) { /* NOTE: Taking the list as the call back might add themselves to the list so we don't want to have it corrupted in the middle of the execution of this function */ GList * waiters = server->json_waiters; server->json_waiters = NULL; while (waiters != NULL) { json_callback_t * json_callback = (json_callback_t *)waiters->data; if (unlocked) { g_hash_table_insert(server->lovers, g_strdup(json_callback->sender), GINT_TO_POINTER(TRUE)); } if (json_callback->callback != NULL) { json_callback->callback(server, unlocked, json_callback->userdata); } g_free(json_callback->sender); g_free(json_callback); waiters = g_list_delete_link(waiters, waiters); } return; } /* Callback from when we know that we've got all the JSON we're gonna get */ static void json_grab_cb (GPid pid, gint status, gpointer user_data) { UccsServer * server = UCCS_SERVER(user_data); server->json_pid = 0; server->json_watch = 0; if (status == 0) { gboolean parser = parse_json(server, server->json_stream); json_waiters_notify(server, parser); } else { g_free(server->username); server->username = NULL; g_free(server->password); server->password = NULL; json_waiters_notify(server, FALSE); } /* Drop the Streams -- NOTE: DO NOT CROSS THE STREAMS */ g_output_stream_close(server->pass_stream, NULL, NULL); g_object_unref(server->pass_stream); server->pass_stream = NULL; g_input_stream_close(server->json_stream, NULL, NULL); g_object_unref(server->json_stream); server->json_stream = NULL; g_spawn_close_pid(pid); return; } /* This is the callback for writing the password, it mostly exists to free the buffer, but we'll print some info as well just because we can */ static void password_write_cb (GObject * src_obj, GAsyncResult * res, gpointer user_data) { /* Kill the buffer */ g_free(user_data); GError * error = NULL; g_output_stream_write_finish(G_OUTPUT_STREAM(src_obj), res, &error); if (error != NULL) { g_warning("Unable to write password to UCCS process: %s", error->message); g_error_free(error); } else { g_debug("Wrote password to UCCS process"); g_output_stream_close(G_OUTPUT_STREAM(src_obj), NULL, NULL); } return; } /** * uccs_server_unlock: * @server: The server to unlock * @address: DBus address of the person unlocking us * @username: Username for the UCCS * @password: (allow-none) Password to use * @allowcache: If using cache is allowed * @callback: Function to call when we have an answer * @user_data: Data for the callback * * Unlocks the UCCS server making servers available either from the * cache or from the network. */ void uccs_server_unlock (UccsServer * server, const gchar * address, const gchar * username, const gchar * password, gboolean allowcache, void (*callback) (UccsServer * server, gboolean unlocked, gpointer user_data), gpointer user_data) { g_return_if_fail(IS_UCCS_SERVER(server)); g_return_if_fail(username != NULL); g_return_if_fail(address != NULL); /* Check the current values we have, they might be NULL, which in that case they won't match */ if (allowcache && g_strcmp0(username, server->username) == 0 && g_strcmp0(password, server->password) == 0) { g_hash_table_insert(server->lovers, g_strdup(address), GINT_TO_POINTER(TRUE)); if (callback != NULL) { callback(server, TRUE, user_data); } return; } g_return_if_fail(server->exec != NULL); /* Shouldn't happen, but I'd feel safer if we checked */ /* If we're not going to allow the cache, just clear it right away */ if (!allowcache) { clear_hash(server); } /* We're changing the username and password, if there were other people who had it, they need to know we're different now */ if (g_strcmp0(username, server->username) != 0 || g_strcmp0(password, server->password) != 0) { clear_hash(server); clear_json(server); g_clear_pointer(&server->username, g_free); g_clear_pointer(&server->password, g_free); server->username = g_strdup(username); server->password = g_strdup(password); } /* Add ourselves to the queue */ json_callback_t * json_callback = g_new0(json_callback_t, 1); json_callback->sender = g_strdup(address); json_callback->callback = callback; json_callback->userdata = user_data; server->json_waiters = g_list_append(server->json_waiters, json_callback); if (server->json_pid == 0) { gint std_in, std_out; GError * error = NULL; const gchar * argv[3]; argv[0] = server->exec; argv[1] = server->username; argv[2] = NULL; g_setenv("SERVER_ROOT", server->parent.uri, TRUE); g_spawn_async_with_pipes(NULL, /* pwd */ (gchar **)argv, NULL, /* env */ G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, /* child setup */ &server->json_pid, &std_in, &std_out, NULL, /* stderr */ &error); /* error */ if (error != NULL) { g_warning("Unable to start UCCS process: %s", error->message); g_error_free(error); server->json_pid = 0; /* really shouldn't get changed, but since we're using it to detect if it's running, let's double check, eh? */ json_waiters_notify(server, FALSE); } else { /* Watch for when it's done */ server->json_watch = g_child_watch_add(server->json_pid, json_grab_cb, server); /* Set up I/O streams */ server->json_stream = g_unix_input_stream_new(std_out, TRUE); server->pass_stream = g_unix_output_stream_new(std_in, TRUE); gchar * pass = g_strdup(server->password); g_output_stream_write_async(server->pass_stream, pass, strlen(pass), /* number of bytes */ G_PRIORITY_DEFAULT, /* priority */ NULL, /* cancellable */ password_write_cb, pass); } } return; } /* A little quickie function to handle the null server array */ inline static GVariant * null_server_array (void) { return g_variant_new_array(G_VARIANT_TYPE("(sssba(sbva{sv})a(si))"), NULL, 0); } /** * uccs_server_get_servers: * @server: Server to get our list from * @address: Who's asking * * Will get a valid variant with servers. If the asker hasn't unlocked us * then the list will always be empty. * * Return value: A variant array */ GVariant * uccs_server_get_servers (UccsServer * server, const gchar * address) { g_return_val_if_fail(IS_UCCS_SERVER(server), null_server_array()); g_return_val_if_fail(address != NULL, null_server_array()); if (!GPOINTER_TO_INT(g_hash_table_lookup(server->lovers, address))) { g_warning("Address '%s' is not authorized", address); return null_server_array(); } gchar *last_used_server_name = NULL; if (server->username != NULL && server->password != NULL) { gchar *username_sha = g_compute_checksum_for_string (G_CHECKSUM_SHA256, server->username, -1); gchar *file_path = g_build_path ("/", g_get_user_cache_dir(), "remote-logon-service", "cache", username_sha, NULL); gchar *encryptedContents; gsize encryptedContentsLength; if (g_file_get_contents (file_path, &encryptedContents, &encryptedContentsLength, NULL)) { gchar *file_contents = do_aes_decrypt(encryptedContents, server->password, encryptedContentsLength); g_free (encryptedContents); if (file_contents != NULL) { GKeyFile * key_file = g_key_file_new(); if (g_key_file_load_from_data (key_file, file_contents, strlen (file_contents), G_KEY_FILE_NONE, NULL)) { last_used_server_name = g_key_file_get_string (key_file, server->parent.name, "last_used", NULL); } g_key_file_free (key_file); g_free (file_contents); } } g_free (username_sha); g_free (file_path); } GVariantBuilder array; g_variant_builder_init(&array, G_VARIANT_TYPE_ARRAY); GList * lserver; gint servercnt = 0; Server * last_used_server = NULL; if (last_used_server_name != NULL) { for (lserver = server->subservers; last_used_server == NULL && lserver != NULL; lserver = g_list_next(lserver)) { Server * serv = SERVER(lserver->data); /* We only want servers that are all good */ if (serv->state != SERVER_STATE_ALLGOOD) { continue; } if (g_strcmp0(serv->name, last_used_server_name) == 0) last_used_server = serv; } } g_free (last_used_server_name); for (lserver = server->subservers; lserver != NULL; lserver = g_list_next(lserver)) { Server * serv = SERVER(lserver->data); /* We only want servers that are all good */ if (serv->state != SERVER_STATE_ALLGOOD) { continue; } if (last_used_server != NULL) serv->last_used = last_used_server == serv; servercnt++; g_variant_builder_add_value(&array, server_get_variant(serv)); } if (servercnt == 0) { g_variant_builder_clear(&array); return null_server_array(); } return g_variant_builder_end(&array); } /* Returns the cached domains as an array. Not currently with any of this cached currently, so it's a NULL array. */ static GVariant * get_cached_domains (Server * server) { g_return_val_if_fail(IS_UCCS_SERVER(server), NULL); return g_variant_new_array(G_VARIANT_TYPE_STRING, NULL, 0); } /* Tail recursive function to look at a list entry and see if that server matches a URI, or go down the list */ static Server * find_uri_helper (GList * list, const gchar * uri) { if (list == NULL) return NULL; Server * inserver = SERVER(list->data); if (inserver == NULL) { return find_uri_helper(g_list_next(list), uri); } Server * outserver = server_find_uri(inserver, uri); if (outserver != NULL) { return outserver; } return find_uri_helper(g_list_next(list), uri); } /* Look through our subservers to see if any of them match this URI either */ static Server * find_uri (Server * server, const gchar * uri) { g_return_val_if_fail(IS_UCCS_SERVER(server), NULL); /* If it is this server that's handled by the super class */ return find_uri_helper(UCCS_SERVER(server)->subservers, uri); } /* Look through our subservers to see if any of them match this URI and set as used */ static void set_last_used_server (Server * server, const gchar * uri) { Server * subserver = server_find_uri(server, uri); if (subserver != NULL) { subserver->last_used = TRUE; /* Write to disk */ if (UCCS_SERVER(server)->username != NULL && UCCS_SERVER(server)->password) { GKeyFile * key_file = g_key_file_new(); g_key_file_set_string (key_file, server->name, "last_used", subserver->name); gsize data_length; gchar *data = g_key_file_to_data (key_file, &data_length, NULL); g_key_file_free (key_file); size_t enc_data_length; gchar *enc_data = do_aes_encrypt(data, UCCS_SERVER(server)->password, &enc_data_length); g_free (data); gchar *dir_path = g_build_path ("/", g_get_user_cache_dir(), "remote-logon-service", "cache", NULL); gint status = g_mkdir_with_parents (dir_path, 0700); if (status == 0) { gchar *username_sha = g_compute_checksum_for_string (G_CHECKSUM_SHA256, UCCS_SERVER(server)->username, -1); gchar *path = g_build_path ("/", dir_path, username_sha, NULL); gboolean success = g_file_set_contents (path, enc_data, enc_data_length, NULL); if (!success) { g_warning("Failed writing cache data to '%s'.", path); } g_free (username_sha); g_free (path); } else { g_warning("Failed to create '%s'.", dir_path); } g_free (enc_data); g_free (dir_path); } } } remote-logon-service-1.0.2.0/src/uccs-server.h0000644000000000000000000000521013265071040016000 0ustar /* * Copyright © 2012 Canonical Ltd. * Copyright © 2015 The Arctica Project * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: Ted Gould * Mike Gabriel */ #ifndef __UCCS_SERVER_H__ #define __UCCS_SERVER_H__ #include #include #include #include "server.h" G_BEGIN_DECLS #define UCCS_SERVER_TYPE (uccs_server_get_type ()) #define UCCS_SERVER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UCCS_SERVER_TYPE, UccsServer)) #define UCCS_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UCCS_SERVER_TYPE, UccsServerClass)) #define IS_UCCS_SERVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UCCS_SERVER_TYPE)) #define IS_UCCS_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UCCS_SERVER_TYPE)) #define UCCS_SERVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UCCS_SERVER_TYPE, UccsServerClass)) typedef struct _UccsServer UccsServer; typedef struct _UccsServerClass UccsServerClass; struct _UccsServerClass { ServerClass parent_class; }; struct _UccsServer { Server parent; gchar * exec; gchar * username; gchar * password; GHashTable * lovers; GList * subservers; GList * json_waiters; guint json_watch; GPid json_pid; GInputStream * json_stream; GOutputStream * pass_stream; NMState min_network; NMState last_network; NMClient * nm_client; gulong nm_signal; gboolean verify_server; gboolean verified_server; SoupSession * session; }; GType uccs_server_get_type (void); Server * uccs_server_new_from_keyfile (GKeyFile * keyfile, const gchar * name); void uccs_server_unlock (UccsServer * server, const gchar * address, const gchar * username, const gchar * password, gboolean allowcache, void (*callback) (UccsServer * server, gboolean unlocked, gpointer user_data), gpointer user_data); GVariant * uccs_server_get_servers (UccsServer * server, const gchar * address); const gchar *uccs_server_set_exec (UccsServer * server, const gchar * exec); void uccs_notify_state_change (UccsServer * server); G_END_DECLS #endif remote-logon-service-1.0.2.0/src/x2go-server.c0000644000000000000000000002152213265071040015721 0ustar /* * Copyright © 2012 Canonical Ltd. * Copyright © 2013 Mike Gabriel * Copyright © 2015 The Arctica Project * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: Ted Gould * Mike Gabriel */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include "x2go-server.h" #include "defines.h" static void x2go_server_class_init (X2GoServerClass *klass); static void x2go_server_init (X2GoServer *self); static void x2go_server_dispose (GObject *object); static void x2go_server_finalize (GObject *object); static GVariant * get_properties (Server * server); G_DEFINE_TYPE (X2GoServer, x2go_server, SERVER_TYPE); static void x2go_server_class_init (X2GoServerClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); object_class->dispose = x2go_server_dispose; object_class->finalize = x2go_server_finalize; ServerClass * server_class = SERVER_CLASS(klass); server_class->get_properties = get_properties; return; } static void x2go_server_init (X2GoServer *self) { self->username = NULL; self->password = NULL; self->sessiontype = NULL; self->sessiontype_required = FALSE; return; } static void x2go_server_dispose (GObject *object) { G_OBJECT_CLASS (x2go_server_parent_class)->dispose (object); return; } /* Unlocks the memory before freeing */ static void password_clear (gpointer data) { char * pass = (char *)data; munlock(pass, strlen(pass)); g_free(pass); return; } static void x2go_server_finalize (GObject *object) { X2GoServer * server = X2GO_SERVER(object); g_clear_pointer(&server->username, g_free); g_clear_pointer(&server->password, password_clear); g_clear_pointer(&server->sessiontype, g_free); G_OBJECT_CLASS (x2go_server_parent_class)->finalize (object); return; } static GVariant * get_properties (Server * server) { X2GoServer * rserver = X2GO_SERVER(server); GVariantBuilder propbuilder; g_variant_builder_init(&propbuilder, G_VARIANT_TYPE_ARRAY); GVariantBuilder namebuilder; g_variant_builder_init(&namebuilder, G_VARIANT_TYPE_TUPLE); g_variant_builder_add_value(&namebuilder, g_variant_new_string("username")); g_variant_builder_add_value(&namebuilder, g_variant_new_boolean(TRUE)); if (rserver->username == NULL) { g_variant_builder_add_value(&namebuilder, g_variant_new_variant(g_variant_new_string(""))); } else { g_variant_builder_add_value(&namebuilder, g_variant_new_variant(g_variant_new_string(rserver->username))); } g_variant_builder_add_value(&namebuilder, g_variant_parse(G_VARIANT_TYPE_VARDICT, "{}", NULL, NULL, NULL)); g_variant_builder_add_value(&propbuilder, g_variant_builder_end(&namebuilder)); GVariantBuilder passbuilder; g_variant_builder_init(&passbuilder, G_VARIANT_TYPE_TUPLE); g_variant_builder_add_value(&passbuilder, g_variant_new_string("password")); g_variant_builder_add_value(&passbuilder, g_variant_new_boolean(TRUE)); if (rserver->password == NULL) { g_variant_builder_add_value(&passbuilder, g_variant_new_variant(g_variant_new_string(""))); } else { g_variant_builder_add_value(&passbuilder, g_variant_new_variant(g_variant_new_string(rserver->password))); } g_variant_builder_add_value(&passbuilder, g_variant_parse(G_VARIANT_TYPE_VARDICT, "{}", NULL, NULL, NULL)); g_variant_builder_add_value(&propbuilder, g_variant_builder_end(&passbuilder)); GVariantBuilder sessiontypebuilder; g_variant_builder_init(&sessiontypebuilder, G_VARIANT_TYPE_TUPLE); g_variant_builder_add_value(&sessiontypebuilder, g_variant_new_string("x2gosession")); g_variant_builder_add_value(&sessiontypebuilder, g_variant_new_boolean(rserver->sessiontype_required)); if (rserver->sessiontype == NULL) { g_variant_builder_add_value(&sessiontypebuilder, g_variant_new_variant(g_variant_new_string(""))); } else { g_variant_builder_add_value(&sessiontypebuilder, g_variant_new_variant(g_variant_new_string(rserver->sessiontype))); } g_variant_builder_add_value(&sessiontypebuilder, g_variant_parse(G_VARIANT_TYPE_VARDICT, "{}", NULL, NULL, NULL)); g_variant_builder_add_value(&propbuilder, g_variant_builder_end(&sessiontypebuilder)); return g_variant_builder_end(&propbuilder); } Server * x2go_server_new_from_keyfile (GKeyFile * keyfile, const gchar * groupname) { g_return_val_if_fail(keyfile != NULL, NULL); /* NOTE: No way to check if that's really a keyfile :-( */ g_return_val_if_fail(groupname != NULL, NULL); if (!g_key_file_has_group(keyfile, groupname)) { g_warning("Server specified but group '%s' was not found", groupname); return NULL; } X2GoServer * server = g_object_new(X2GO_SERVER_TYPE, NULL); if (g_key_file_has_key(keyfile, groupname, CONFIG_SERVER_NAME, NULL)) { gchar * keyname = g_key_file_get_string(keyfile, groupname, CONFIG_SERVER_NAME, NULL); server->parent.name = g_strdup(_(keyname)); g_free(keyname); } if (g_key_file_has_key(keyfile, groupname, CONFIG_SERVER_URI, NULL)) { server->parent.uri = g_key_file_get_string(keyfile, groupname, CONFIG_SERVER_URI, NULL); } return SERVER(server); } /* Build the X2Go server from information in the JSON object */ Server * x2go_server_new_from_json (JsonObject * object) { X2GoServer * server = g_object_new(X2GO_SERVER_TYPE, NULL); if (json_object_has_member(object, JSON_SERVER_NAME)) { JsonNode * node = json_object_get_member(object, JSON_SERVER_NAME); if (JSON_NODE_TYPE(node) == JSON_NODE_VALUE && json_node_get_value_type(node) == G_TYPE_STRING) { const gchar * name = json_node_get_string(node); server->parent.name = g_strdup(name); } } if (json_object_has_member(object, JSON_URI)) { JsonNode * node = json_object_get_member(object, JSON_URI); if (JSON_NODE_TYPE(node) == JSON_NODE_VALUE && json_node_get_value_type(node) == G_TYPE_STRING) { const gchar * uri = json_node_get_string(node); server->parent.uri = g_strdup(uri); } } if (json_object_has_member(object, JSON_USERNAME)) { JsonNode * node = json_object_get_member(object, JSON_USERNAME); if (JSON_NODE_TYPE(node) == JSON_NODE_VALUE && json_node_get_value_type(node) == G_TYPE_STRING) { const gchar * username = json_node_get_string(node); server->username = g_strdup(username); } } if (json_object_has_member(object, JSON_PASSWORD)) { JsonNode * node = json_object_get_member(object, JSON_PASSWORD); if (JSON_NODE_TYPE(node) == JSON_NODE_VALUE && json_node_get_value_type(node) == G_TYPE_STRING) { const gchar * password = json_node_get_string(node); server->password = g_strdup(password); mlock(server->password, strlen(server->password)); } } if (json_object_has_member(object, JSON_SESSIONTYPE)) { JsonNode * node = json_object_get_member(object, JSON_SESSIONTYPE); if (JSON_NODE_TYPE(node) == JSON_NODE_VALUE && json_node_get_value_type(node) == G_TYPE_STRING) { const gchar * sessiontype = json_node_get_string(node); server->sessiontype = g_strdup(sessiontype); } } if (json_object_has_member(object, JSON_SESSIONTYPE_REQ)) { JsonNode * node = json_object_get_member(object, JSON_SESSIONTYPE_REQ); if (JSON_NODE_TYPE(node) == JSON_NODE_VALUE && json_node_get_value_type(node) == G_TYPE_BOOLEAN) { server->sessiontype_required = json_node_get_boolean(node); } } return SERVER(server); } remote-logon-service-1.0.2.0/src/x2go-server.h0000644000000000000000000000405413265071040015727 0ustar /* * Copyright © 2012 Canonical Ltd. * Copyright © 2013 Mike Gabriel * Copyright © 2015 The Arctica Project * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranties of * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * * Authors: Ted Gould * Mike Gabriel */ #ifndef __X2GO_SERVER_H__ #define __X2GO_SERVER_H__ #include #include #include "server.h" G_BEGIN_DECLS #define X2GO_SERVER_TYPE (x2go_server_get_type ()) #define X2GO_SERVER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), X2GO_SERVER_TYPE, X2GoServer)) #define X2GO_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), X2GO_SERVER_TYPE, X2GoServerClass)) #define IS_X2GO_SERVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), X2GO_SERVER_TYPE)) #define IS_X2GO_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), X2GO_SERVER_TYPE)) #define X2GO_SERVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), X2GO_SERVER_TYPE, X2GoServerClass)) typedef struct _X2GoServer X2GoServer; typedef struct _X2GoServerClass X2GoServerClass; struct _X2GoServerClass { ServerClass parent_class; }; struct _X2GoServer { Server parent; gchar * username; gchar * password; gchar * sessiontype; gboolean sessiontype_required; }; GType x2go_server_get_type (void); Server * x2go_server_new_from_keyfile (GKeyFile * keyfile, const gchar * name); Server * x2go_server_new_from_json (JsonObject * object); G_END_DECLS #endif remote-logon-service-1.0.2.0/tests/dbus-interface.c0000644000000000000000000005070213265071040017006 0ustar #include #include #include typedef struct _slmock_table_t slmock_table_t; typedef struct _slmock_server_t slmock_server_t; struct _slmock_table_t { const gchar * username; const gchar * password; slmock_server_t * servers; }; struct _slmock_server_t { const gchar * name; const gchar * uri; const gchar * type; gboolean last_used; const gchar * username; const gchar * password; const gchar * domain; }; slmock_server_t citrix_server_table[] = { {"Citrix USA", "107.21.17.35", "ica", FALSE, "useradmin1", "", "IP-0A00001E"}, {"Citrix 2", "107.21.17.35", "ica", FALSE, "useradmin2", "", "IP-0A00001E"}, {"Citrix 3", "107.21.17.35", "ica", FALSE, "useradmin3", "", "IP-0A00001E"}, {"Citrix 4", "107.21.17.35", "ica", FALSE, "useradmin4", "userpass", "IP-0A00001E"}, {NULL, NULL, NULL} }; slmock_server_t freerdp_server_table[] = { {"FreeRDP US", "23.21.151.133", "freerdp", TRUE, "Administrator", "", ""}, {"FreeRDP Asia", "46.137.222.181", "freerdp", FALSE, "Administrator", "", ""}, {"FreeRDP UK", "46.137.189.194", "freerdp", FALSE, "Administrator", "", ""}, {NULL, NULL, NULL} }; slmock_server_t freerdp_server_table_after_set_last_used[] = { {"FreeRDP US", "23.21.151.133", "freerdp", FALSE, "Administrator", "", ""}, {"FreeRDP Asia", "46.137.222.181", "freerdp", TRUE, "Administrator", "", ""}, {"FreeRDP UK", "46.137.189.194", "freerdp", FALSE, "Administrator", "", ""}, {NULL, NULL, NULL} }; slmock_server_t big_server_table[] = { {"XenServer", "107.21.17.35", "ica", FALSE, "", "", "ASIA"}, {"Citrix2", "http://1.2.3.4", "ica", FALSE, "fakeuser", "fakepassword", "DOMAIN1"}, {"Accenture", "10.21.17.35", "freerdp", FALSE, "fakeuser", "", "EUROPE"}, {"Accenture 2", "https://4.5.6.7", "freerdp", TRUE, "", "", "domain2"}, {NULL, NULL, NULL} }; slmock_table_t slmock_table[] = { {"c", "c", citrix_server_table}, {"f", "f", freerdp_server_table}, {"b", "b", big_server_table}, {"f", "f", freerdp_server_table_after_set_last_used} }; static gboolean find_server (GVariant * varray, slmock_server_t * server) { int ichild; for (ichild = 0; ichild < g_variant_n_children(varray); ichild++) { GVariant * child = g_variant_get_child_value(varray, ichild); gboolean test = FALSE; GVariant * type = g_variant_get_child_value(child, 0); test = g_strcmp0(g_variant_get_string(type, NULL), server->type) == 0; g_variant_unref(type); if (!test) { g_variant_unref(child); continue; } GVariant * name = g_variant_get_child_value(child, 1); test = g_strcmp0(g_variant_get_string(name, NULL), server->name) == 0; g_variant_unref(name); if (!test) { g_variant_unref(child); continue; } GVariant * uri = g_variant_get_child_value(child, 2); test = g_strcmp0(g_variant_get_string(uri, NULL), server->uri) == 0; g_variant_unref(uri); if (!test) { g_variant_unref(child); continue; } GVariant * last_used = g_variant_get_child_value(child, 3); test = g_variant_get_boolean(last_used) == server->last_used; g_variant_unref(last_used); if (!test) { g_variant_unref(child); continue; } gboolean match_username = FALSE; gboolean match_password = FALSE; gboolean match_domain = FALSE; GVariant * props = g_variant_get_child_value(child, 4); int iprop; for (iprop = 0; iprop < g_variant_n_children(props); iprop++) { GVariant * prop = g_variant_get_child_value(props, iprop); GVariant * prop_type = g_variant_get_child_value(prop, 0); GVariant * prop_value_wrap = g_variant_get_child_value(prop, 2); GVariant * prop_value = g_variant_get_variant(prop_value_wrap); if (g_strcmp0(g_variant_get_string(prop_type, NULL), "username") == 0) { if (g_strcmp0(g_variant_get_string(prop_value, NULL), server->username) == 0) { match_username = TRUE; } } else if (g_strcmp0(g_variant_get_string(prop_type, NULL), "password") == 0) { if (g_strcmp0(g_variant_get_string(prop_value, NULL), server->password) == 0) { match_password = TRUE; } } else if (g_strcmp0(g_variant_get_string(prop_type, NULL), "domain") == 0) { if (g_strcmp0(g_variant_get_string(prop_value, NULL), server->domain) == 0) { match_domain = TRUE; } } g_variant_unref(prop_value); g_variant_unref(prop_value_wrap); g_variant_unref(prop_type); g_variant_unref(prop); } g_variant_unref(props); g_variant_unref(child); if (match_username && match_password && match_domain) { return TRUE; } else { continue; } } return FALSE; } static gboolean slmock_check_login(GDBusConnection * session, slmock_table_t * slmockdata, gboolean clear_cache) { if (clear_cache) { gchar *username_sha = g_compute_checksum_for_string (G_CHECKSUM_SHA256, slmockdata->username, -1); gchar *file_path = g_build_path ("/", g_get_user_cache_dir(), "remote-logon-service", "cache", username_sha, NULL); unlink (file_path); g_free (username_sha); g_free (file_path); } GVariant * retval = g_dbus_connection_call_sync(session, "org.ArcticaProject.RemoteLogon", "/org/ArcticaProject/RemoteLogon", "org.ArcticaProject.RemoteLogon", "GetServersForLogin", g_variant_new("(sssb)", "https://slmock.com/", slmockdata->username, slmockdata->password, TRUE), /* params */ G_VARIANT_TYPE("(bsa(sssba(sbva{sv})a(si)))"), /* ret type */ G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL); g_assert(retval != NULL); g_assert(g_variant_n_children(retval) == 3); GVariant * loggedin = g_variant_get_child_value(retval, 0); g_assert(g_variant_get_boolean(loggedin)); g_variant_unref(loggedin); loggedin = NULL; GVariant * data = g_variant_get_child_value(retval, 1); g_assert(g_strcmp0(g_variant_get_string(data, NULL), "network") == 0); g_variant_unref(data); data = NULL; GVariant * array = g_variant_get_child_value(retval, 2); int i; // Check all servers should be in the result are in the result for (i = 0; slmockdata->servers[i].name != NULL; i++) { g_assert(find_server(array, &slmockdata->servers[i])); } // Check there is no more servers in the result than we expected g_assert(i == g_variant_n_children(array)); g_variant_unref(array); g_variant_unref(retval); return TRUE; } static void test_getservers_slmock (gconstpointer data) { DbusTestService * service = dbus_test_service_new(NULL); /* RLS */ DbusTestProcess * rls = dbus_test_process_new(REMOTE_LOGON_SERVICE); dbus_test_process_append_param(rls, "--config-file=" SLMOCK_CONFIG_FILE); dbus_test_service_add_task(service, DBUS_TEST_TASK(rls)); /* Dummy */ DbusTestTask * dummy = dbus_test_task_new(); dbus_test_task_set_wait_for(dummy, "org.ArcticaProject.RemoteLogon"); dbus_test_service_add_task(service, dummy); /* Get RLS up and running and us on that bus */ dbus_test_service_start_tasks(service); GDBusConnection * session = g_bus_get_sync(G_BUS_TYPE_SESSION, NULL, NULL); g_dbus_connection_set_exit_on_close(session, FALSE); g_assert(slmock_check_login(session, (slmock_table_t *)data, TRUE)); g_object_unref(session); g_object_unref(rls); g_object_unref(service); return; } static void test_getservers_slmock_none (void) { DbusTestService * service = dbus_test_service_new(NULL); /* RLS */ DbusTestProcess * rls = dbus_test_process_new(REMOTE_LOGON_SERVICE); dbus_test_process_append_param(rls, "--config-file=" SLMOCK_CONFIG_FILE); dbus_test_service_add_task(service, DBUS_TEST_TASK(rls)); /* Dummy */ DbusTestTask * dummy = dbus_test_task_new(); dbus_test_task_set_wait_for(dummy, "org.ArcticaProject.RemoteLogon"); dbus_test_service_add_task(service, dummy); /* Get RLS up and running and us on that bus */ dbus_test_service_start_tasks(service); GDBusConnection * session = g_bus_get_sync(G_BUS_TYPE_SESSION, NULL, NULL); g_dbus_connection_set_exit_on_close(session, FALSE); GVariant * retval = g_dbus_connection_call_sync(session, "org.ArcticaProject.RemoteLogon", "/org/ArcticaProject/RemoteLogon", "org.ArcticaProject.RemoteLogon", "GetServersForLogin", g_variant_new("(sssb)", "https://slmock.com/", "Baduser", "Badpass", TRUE), /* params */ G_VARIANT_TYPE("(bsa(sssba(sbva{sv})a(si)))"), /* ret type */ G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL); g_assert(retval != NULL); g_assert(g_variant_n_children(retval) == 3); GVariant * loggedin = g_variant_get_child_value(retval, 0); g_assert(!g_variant_get_boolean(loggedin)); g_variant_unref(loggedin); loggedin = NULL; GVariant * array = g_variant_get_child_value(retval, 2); g_assert(g_variant_n_children(array) == 0); g_variant_unref(array); g_variant_unref(retval); g_object_unref(session); g_object_unref(rls); g_object_unref(service); return; } static void test_getservers_slmock_two (void) { DbusTestService * service = dbus_test_service_new(NULL); /* RLS */ DbusTestProcess * rls = dbus_test_process_new(REMOTE_LOGON_SERVICE); dbus_test_process_append_param(rls, "--config-file=" SLMOCK_CONFIG_FILE); dbus_test_service_add_task(service, DBUS_TEST_TASK(rls)); /* Dummy */ DbusTestTask * dummy = dbus_test_task_new(); dbus_test_task_set_wait_for(dummy, "org.ArcticaProject.RemoteLogon"); dbus_test_service_add_task(service, dummy); /* Get RLS up and running and us on that bus */ dbus_test_service_start_tasks(service); GDBusConnection * session = g_bus_get_sync(G_BUS_TYPE_SESSION, NULL, NULL); g_dbus_connection_set_exit_on_close(session, FALSE); g_assert(slmock_check_login(session, &slmock_table[0], TRUE)); g_assert(slmock_check_login(session, &slmock_table[1], TRUE)); g_object_unref(session); g_object_unref(rls); g_object_unref(service); return; } static void test_getservers_none (void) { DbusTestService * service = dbus_test_service_new(NULL); /* RLS */ DbusTestProcess * rls = dbus_test_process_new(REMOTE_LOGON_SERVICE); dbus_test_process_append_param(rls, "--config-file=" NULL_CONFIG_FILE); dbus_test_service_add_task(service, DBUS_TEST_TASK(rls)); /* Dummy */ DbusTestTask * dummy = dbus_test_task_new(); dbus_test_task_set_wait_for(dummy, "org.ArcticaProject.RemoteLogon"); dbus_test_service_add_task(service, dummy); /* Get RLS up and running and us on that bus */ dbus_test_service_start_tasks(service); GDBusConnection * session = g_bus_get_sync(G_BUS_TYPE_SESSION, NULL, NULL); g_dbus_connection_set_exit_on_close(session, FALSE); GVariant * retval = g_dbus_connection_call_sync(session, "org.ArcticaProject.RemoteLogon", "/org/ArcticaProject/RemoteLogon", "org.ArcticaProject.RemoteLogon", "GetServers", NULL, /* params */ G_VARIANT_TYPE("(a(sssba(sbva{sv})a(si)))"), /* ret type */ G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL); g_assert(retval != NULL); g_assert(g_variant_n_children(retval) == 1); GVariant * array = g_variant_get_child_value(retval, 0); g_assert(g_variant_n_children(array) == 0); g_assert(g_variant_is_of_type(array, G_VARIANT_TYPE_ARRAY)); g_variant_unref(array); g_variant_unref(retval); g_object_unref(session); g_object_unref(rls); g_object_unref(service); return; } static void test_getservers_uccs (void) { DbusTestService * service = dbus_test_service_new(NULL); /* RLS */ DbusTestProcess * rls = dbus_test_process_new(REMOTE_LOGON_SERVICE); dbus_test_process_append_param(rls, "--config-file=" UCCS_CONFIG_FILE); dbus_test_service_add_task(service, DBUS_TEST_TASK(rls)); /* Dummy */ DbusTestTask * dummy = dbus_test_task_new(); dbus_test_task_set_wait_for(dummy, "org.ArcticaProject.RemoteLogon"); dbus_test_service_add_task(service, dummy); /* Get RLS up and running and us on that bus */ dbus_test_service_start_tasks(service); GDBusConnection * session = g_bus_get_sync(G_BUS_TYPE_SESSION, NULL, NULL); g_dbus_connection_set_exit_on_close(session, FALSE); GVariant * retval = g_dbus_connection_call_sync(session, "org.ArcticaProject.RemoteLogon", "/org/ArcticaProject/RemoteLogon", "org.ArcticaProject.RemoteLogon", "GetServers", NULL, /* params */ G_VARIANT_TYPE("(a(sssba(sbva{sv})a(si)))"), /* ret type */ G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL); g_assert(retval != NULL); g_assert(g_variant_n_children(retval) == 1); GVariant * array = g_variant_get_child_value(retval, 0); g_assert(g_variant_n_children(array) == 1); g_assert(g_variant_is_of_type(array, G_VARIANT_TYPE_ARRAY)); GVariant * tuple = g_variant_get_child_value(array, 0); if (TRUE) { /* type check */ GVariant * type = g_variant_get_child_value(tuple, 0); g_assert(g_variant_is_of_type(type, G_VARIANT_TYPE_STRING)); g_assert(g_strcmp0(g_variant_get_string(type, NULL), "uccs") == 0); g_variant_unref(type); } if (TRUE) { /* name check */ GVariant * name = g_variant_get_child_value(tuple, 1); g_assert(g_variant_is_of_type(name, G_VARIANT_TYPE_STRING)); g_assert(g_strcmp0(g_variant_get_string(name, NULL), "Test Server Name") == 0); g_variant_unref(name); } if (TRUE) { /* uri check */ GVariant * uri = g_variant_get_child_value(tuple, 2); g_assert(g_variant_is_of_type(uri, G_VARIANT_TYPE_STRING)); g_assert(g_strcmp0(g_variant_get_string(uri, NULL), "https://uccs.test.mycompany.com/") == 0); g_variant_unref(uri); } g_variant_unref(tuple); g_variant_unref(array); g_variant_unref(retval); g_object_unref(session); g_object_unref(rls); g_object_unref(service); return; } static void test_getdomains_basic (void) { DbusTestService * service = dbus_test_service_new(NULL); /* RLS */ DbusTestProcess * rls = dbus_test_process_new(REMOTE_LOGON_SERVICE); dbus_test_process_append_param(rls, "--config-file=" SLMOCK_CONFIG_FILE); dbus_test_service_add_task(service, DBUS_TEST_TASK(rls)); /* Dummy */ DbusTestTask * dummy = dbus_test_task_new(); dbus_test_task_set_wait_for(dummy, "org.ArcticaProject.RemoteLogon"); dbus_test_service_add_task(service, dummy); /* Get RLS up and running and us on that bus */ dbus_test_service_start_tasks(service); GDBusConnection * session = g_bus_get_sync(G_BUS_TYPE_SESSION, NULL, NULL); g_dbus_connection_set_exit_on_close(session, FALSE); GError * error = NULL; GVariant * retval = g_dbus_connection_call_sync(session, "org.ArcticaProject.RemoteLogon", "/org/ArcticaProject/RemoteLogon", "org.ArcticaProject.RemoteLogon", "GetCachedDomainsForServer", g_variant_new("(s)", "https://slmock.com/"), /* params */ G_VARIANT_TYPE("(as)"), /* ret type */ G_DBUS_CALL_FLAGS_NONE, -1, NULL, &error); if (error != NULL) { g_debug("Error from GetCachedDomainsForServer: %s", error->message); g_error_free(error); error = NULL; } g_assert(retval != NULL); g_assert(g_variant_n_children(retval) == 1); GVariant * child = g_variant_get_child_value(retval, 0); g_assert(g_variant_is_of_type(child, G_VARIANT_TYPE_ARRAY)); g_variant_unref(child); g_variant_unref(retval); g_object_unref(session); g_object_unref(rls); g_object_unref(service); return; } static void test_setlastused_basic (void) { DbusTestService * service = dbus_test_service_new(NULL); /* RLS */ DbusTestProcess * rls = dbus_test_process_new(REMOTE_LOGON_SERVICE); dbus_test_process_append_param(rls, "--config-file=" SLMOCK_CONFIG_FILE); dbus_test_service_add_task(service, DBUS_TEST_TASK(rls)); /* Dummy */ DbusTestTask * dummy = dbus_test_task_new(); dbus_test_task_set_wait_for(dummy, "org.ArcticaProject.RemoteLogon"); dbus_test_service_add_task(service, dummy); /* Get RLS up and running and us on that bus */ dbus_test_service_start_tasks(service); GDBusConnection * session = g_bus_get_sync(G_BUS_TYPE_SESSION, NULL, NULL); g_dbus_connection_set_exit_on_close(session, FALSE); g_assert(slmock_check_login(session, &slmock_table[1], TRUE)); GError * error = NULL; GVariant * retval = g_dbus_connection_call_sync(session, "org.ArcticaProject.RemoteLogon", "/org/ArcticaProject/RemoteLogon", "org.ArcticaProject.RemoteLogon", "SetLastUsedServer", g_variant_new("(ss)", "Landscape", freerdp_server_table[1].uri), /* params */ NULL, /* ret type */ G_DBUS_CALL_FLAGS_NONE, -1, NULL, &error); if (error != NULL) { g_debug("Error from SetLastUsedServer: %s", error->message); g_error_free(error); error = NULL; } g_assert(retval != NULL); g_assert(g_variant_n_children(retval) == 0); g_variant_unref(retval); g_assert(slmock_check_login(session, &slmock_table[3], FALSE)); g_object_unref(session); g_object_unref(rls); g_object_unref(service); return; } /* Build the test suite */ static void test_dbus_suite (void) { g_test_add_func ("/dbus/interface/GetServers/None", test_getservers_none); g_test_add_func ("/dbus/interface/GetServers/UCCS", test_getservers_uccs); g_test_add_data_func ("/dbus/interface/GetServers/SLMock/citrix", &slmock_table[0], test_getservers_slmock); g_test_add_data_func ("/dbus/interface/GetServers/SLMock/freerdp", &slmock_table[1], test_getservers_slmock); g_test_add_data_func ("/dbus/interface/GetServers/SLMock/big", &slmock_table[2], test_getservers_slmock); g_test_add_func ("/dbus/interface/GetServers/SLMock/none", test_getservers_slmock_none); g_test_add_func ("/dbus/interface/GetServers/SLMock/two", test_getservers_slmock_two); g_test_add_func ("/dbus/interface/GetDomains/Basic", test_getdomains_basic); g_test_add_func ("/dbus/interface/SetLastUsed/Basic", test_setlastused_basic); return; } gint main (gint argc, gchar * argv[]) { #if !GLIB_CHECK_VERSION (2, 35, 1) g_type_init(); #endif g_test_init(&argc, &argv, NULL); /* Test suites */ test_dbus_suite(); return g_test_run (); } remote-logon-service-1.0.2.0/tests/Makefile.am0000644000000000000000000000342413265071040016002 0ustar CLEANFILES = DISTCLEANFILES = EXTRA_DIST = check_PROGRAMS = TESTS = \ server-tester \ dbus-interface-tester ##################################### # Server Test ##################################### SERVER_XML_REPORT = server-test.xml server-tester: server-test Makefile.am @echo "#!/bin/bash" > $@ @echo export DBUS_TEST_RUNNER=1 >> $@ @echo gtester --verbose -k -o $(SERVER_XML_REPORT) $(abs_builddir)/server-test >> $@ @chmod +x $@ CLEANFILES += \ $(SERVER_XML_REPORT) \ server-tester server_test_SOURCES = \ server-test.c server_test_CFLAGS = \ -I$(top_srcdir)/src \ -I$(top_builddir)/src \ $(SERVICE_CFLAGS) server_test_LDADD = \ $(top_builddir)/src/libservers.la \ $(SERVICE_LIBS) check_PROGRAMS += server-test ##################################### # DBus Interface ##################################### DBUS_XML_REPORT = dbus-interface.xml dbus-interface-tester: dbus-interface uccs-config.conf slmock-config.conf Makefile.am @echo "#!/bin/bash" > $@ @echo gtester --verbose -k -o $(DBUS_XML_REPORT) $(abs_builddir)/dbus-interface >> $@ @chmod +x $@ CLEANFILES += \ $(DBUS_XML_REPORT) \ dbus-interface-tester \ slmock-config.conf EXTRA_DIST += \ null-config.conf \ uccs-config.conf \ slmock \ slmock-config.conf.in slmock-config.conf: slmock-config.conf.in sed -e "s|\@slmock\@|$(abs_srcdir)/slmock|" $< > $@ dbus_interface_SOURCES = \ dbus-interface.c dbus_interface_CFLAGS = \ -DREMOTE_LOGON_SERVICE="\"$(abs_top_builddir)/src/remote-logon-service\"" \ -DUCCS_CONFIG_FILE="\"$(abs_srcdir)/uccs-config.conf\"" \ -DSLMOCK_CONFIG_FILE="\"$(abs_builddir)/slmock-config.conf\"" \ -DNULL_CONFIG_FILE="\"$(abs_srcdir)/null-config.conf\"" \ $(SERVICE_CFLAGS) \ $(TEST_CFLAGS) dbus_interface_LDADD = \ $(SERVICE_LIBS) \ $(TEST_LIBS) check_PROGRAMS += dbus-interface remote-logon-service-1.0.2.0/tests/null-config.conf0000644000000000000000000000010313265071040017021 0ustar [Remote Logon Service] DummyValue=This is intentionally left blank remote-logon-service-1.0.2.0/tests/server-test.c0000644000000000000000000002056613265071040016403 0ustar #include #include "defines.h" #include "server.h" #include "citrix-server.h" #include "rdp-server.h" #include "uccs-server.h" static gboolean no_fatal_warnings (const gchar * log_domain, GLogLevelFlags level, const gchar * message, gpointer userdata) { if (level & (G_LOG_LEVEL_WARNING | G_LOG_LEVEL_MESSAGE | G_LOG_LEVEL_INFO | G_LOG_LEVEL_DEBUG)) { return FALSE; } return TRUE; } static void state_signal (Server * server, ServerState newstate, gboolean * signaled) { *signaled = TRUE; return; } static void test_update_signal (void) { g_test_log_set_fatal_handler(no_fatal_warnings, NULL); GKeyFile * keyfile = g_key_file_new(); const gchar * groupname = CONFIG_SERVER_PREFIX " Server Name"; g_key_file_set_string(keyfile, groupname, CONFIG_SERVER_NAME, "My Server"); g_key_file_set_string(keyfile, groupname, CONFIG_SERVER_URI, "http://my.domain.com"); g_key_file_set_string(keyfile, groupname, CONFIG_UCCS_NETWORK, CONFIG_UCCS_NETWORK_NONE); Server * server = NULL; server = server_new_from_keyfile(keyfile, groupname); g_assert(server != NULL); UccsServer * userver = UCCS_SERVER(server); g_assert(userver != NULL); gboolean signaled = FALSE; g_signal_connect(G_OBJECT(server), SERVER_SIGNAL_STATE_CHANGED, G_CALLBACK(state_signal), &signaled); server->state = SERVER_STATE_UNAVAILABLE; signaled = FALSE; uccs_notify_state_change(userver); /* a change from available to good is notified */ g_assert(signaled); g_assert(server->state == SERVER_STATE_ALLGOOD); signaled = FALSE; server->state = SERVER_STATE_ALLGOOD; userver->last_network = NM_STATE_DISCONNECTED; userver->min_network = NM_STATE_CONNECTED_GLOBAL; uccs_notify_state_change(userver); /* if the server becomes unavailable, it is notified as well */ g_assert(signaled); g_assert(server->state == SERVER_STATE_UNAVAILABLE); return; } static void test_uccs_domains (void) { g_test_log_set_fatal_handler(no_fatal_warnings, NULL); GKeyFile * keyfile = g_key_file_new(); const gchar * groupname = CONFIG_SERVER_PREFIX " Server Name"; g_key_file_set_string(keyfile, groupname, CONFIG_SERVER_NAME, "My Server"); g_key_file_set_string(keyfile, groupname, CONFIG_SERVER_URI, "http://my.domain.com"); Server * server = NULL; server = server_new_from_keyfile(keyfile, groupname); g_assert(server != NULL); g_assert(g_strcmp0(server->name, "My Server") == 0); g_assert(g_strcmp0(server->uri, "http://my.domain.com") == 0); GVariant * domains = server_cached_domains(server); g_assert(domains != NULL); g_assert(g_variant_is_of_type(domains, G_VARIANT_TYPE_ARRAY)); g_variant_ref_sink(domains); g_variant_unref(domains); g_object_unref(server); g_key_file_unref(keyfile); return; } static void test_uccs_exec (void) { g_test_log_set_fatal_handler(no_fatal_warnings, NULL); GKeyFile * keyfile = g_key_file_new(); const gchar * groupname = CONFIG_SERVER_PREFIX " Server Name"; g_key_file_set_string(keyfile, groupname, CONFIG_SERVER_NAME, "My Server"); g_key_file_set_string(keyfile, groupname, CONFIG_SERVER_URI, "http://my.domain.com"); g_key_file_set_string(keyfile, groupname, CONFIG_UCCS_EXEC, "ls"); Server * server = NULL; server = server_new_from_keyfile(keyfile, groupname); g_assert(server != NULL); g_assert(g_strcmp0(server->name, "My Server") == 0); g_assert(g_strcmp0(server->uri, "http://my.domain.com") == 0); g_assert(g_strcmp0(UCCS_SERVER(server)->exec, "/bin/ls") == 0); g_object_unref(server); g_key_file_unref(keyfile); return; } typedef struct _type_data_t type_data_t; struct _type_data_t { GType type; const gchar * name; const gchar * config_type; }; type_data_t type_data[3] = { {0, "ica", CONFIG_SERVER_TYPE_ICA}, {0, "freerdp", CONFIG_SERVER_TYPE_RDP}, {0, "uccs", CONFIG_SERVER_TYPE_UCCS} }; /* static void type_data_dump (type_data_t * data) { g_debug("Type data: %X", data); g_debug(" type: %d", data->type); g_debug(" name: %s", data->name); g_debug(" c. type: %s", data->config_type); } */ static gboolean fatal_func (const gchar * log_domain, GLogLevelFlags level, const gchar * message, gpointer userdata) { return FALSE; } static void test_object_variant (gconstpointer data) { g_test_log_set_fatal_handler(fatal_func, NULL); type_data_t * typedata = (type_data_t *)data; Server * server = g_object_new(typedata->type, NULL); g_assert(server != NULL); g_assert(IS_SERVER(server)); server->name = g_strdup("My Name"); server->uri = g_strdup("http://mysite.loves.testing.com"); GVariant * variant = server_get_variant(server); g_assert(g_variant_n_children(variant) == 6); GVariant * child = g_variant_get_child_value(variant, 0); g_assert(g_variant_is_of_type(child, G_VARIANT_TYPE_STRING)); g_assert(g_strcmp0(g_variant_get_string(child, NULL), typedata->name) == 0); g_variant_unref(child); child = g_variant_get_child_value(variant, 1); g_assert(g_variant_is_of_type(child, G_VARIANT_TYPE_STRING)); g_assert(g_strcmp0(g_variant_get_string(child, NULL), "My Name") == 0); g_variant_unref(child); child = g_variant_get_child_value(variant, 2); g_assert(g_variant_is_of_type(child, G_VARIANT_TYPE_STRING)); g_assert(g_strcmp0(g_variant_get_string(child, NULL), "http://mysite.loves.testing.com") == 0); g_variant_unref(child); g_variant_ref_sink(variant); g_variant_unref(variant); g_object_unref(G_OBJECT(server)); return; } static void test_object_keyfile_basics (gconstpointer data) { g_test_log_set_fatal_handler(fatal_func, NULL); type_data_t * typedata = (type_data_t *)data; Server * server = NULL; server = server_new_from_keyfile(NULL, NULL); g_assert(server == NULL); GKeyFile * keyfile = g_key_file_new(); server = server_new_from_keyfile(keyfile, NULL); g_assert(server == NULL); server = server_new_from_keyfile(keyfile, CONFIG_SERVER_PREFIX " Server Name"); g_assert(server == NULL); gchar * groupname = g_strdup_printf("%s %s", CONFIG_SERVER_PREFIX, "Server Name"); g_key_file_set_string(keyfile, groupname, CONFIG_SERVER_NAME, "My Server"); g_key_file_set_string(keyfile, groupname, CONFIG_SERVER_URI, "http://my.domain.com"); g_key_file_set_string(keyfile, groupname, CONFIG_SERVER_TYPE, typedata->config_type); g_key_file_set_string(keyfile, groupname, "dumbledorf", "Bad data, don't screw up!"); server = server_new_from_keyfile(keyfile, CONFIG_SERVER_PREFIX " Server Name"); g_assert(server != NULL); g_assert(g_strcmp0(server->name, "My Server") == 0); g_assert(g_strcmp0(server->uri, "http://my.domain.com") == 0); g_assert(typedata->type == G_OBJECT_TYPE(server)); g_object_unref(server); g_free(groupname); g_key_file_unref(keyfile); return; } static void test_object_creation (gconstpointer data) { g_test_log_set_fatal_handler(no_fatal_warnings, NULL); type_data_t * typedata = (type_data_t *)data; Server * server = g_object_new(typedata->type, NULL); g_assert(server != NULL); g_assert(IS_SERVER(server)); g_object_unref(G_OBJECT(server)); return; } /* Build the test suite */ static void test_objects_suite (void) { /* Here because they might require code to create the type so can't be statically defined in the global */ type_data[0].type = CITRIX_SERVER_TYPE; type_data[1].type = RDP_SERVER_TYPE; type_data[2].type = UCCS_SERVER_TYPE; g_test_add_data_func ("/server/object/creation/citrix", &type_data[0], test_object_creation); g_test_add_data_func ("/server/object/creation/rdp", &type_data[1], test_object_creation); g_test_add_data_func ("/server/object/creation/uccs", &type_data[2], test_object_creation); g_test_add_data_func ("/server/object/keyfile/citrix", &(type_data[0]), test_object_keyfile_basics); g_test_add_data_func ("/server/object/keyfile/rdp", &(type_data[1]), test_object_keyfile_basics); g_test_add_data_func ("/server/object/keyfile/uccs", &(type_data[2]), test_object_keyfile_basics); g_test_add_data_func ("/server/object/variant/citrix", &(type_data[0]), test_object_variant); g_test_add_data_func ("/server/object/variant/rdp", &(type_data[1]), test_object_variant); g_test_add_data_func ("/server/object/variant/uccs", &(type_data[2]), test_object_variant); g_test_add_func ("/server/uccs/exec", test_uccs_exec); g_test_add_func ("/server/uccs/domains", test_uccs_domains); g_test_add_func ("/server/uccs/signal", test_update_signal); return; } gint main (gint argc, gchar * argv[]) { #if !GLIB_CHECK_VERSION (2, 35, 1) g_type_init(); #endif g_test_init(&argc, &argv, NULL); /* Test suites */ test_objects_suite(); return g_test_run (); } remote-logon-service-1.0.2.0/tests/slmock0000755000000000000000000001753413265071040015173 0ustar #!/usr/bin/python3 # # Copyright (C) 2012 Canonical, Ltd. # Copyright (C) 2015 The Arctica Project # Authors: Matthew Fischer # Mike Gabriel import sys import json import random import argparse import string class ManagementServer(): def __init__(self, url, name): self.RemoteDesktopServers = [] self.AdditionalManagementServers = [] self.URL = url self.Name = name def set_default(self, tsName): if isinstance(tsName, str): self.DefaultServer = tsName else: raise TypeError("set_default expects a string argument") def add_terminal_server(self, server): self.RemoteDesktopServers.append(server) def add_additional_management_server(self, amserver): if isinstance(amserver, AdditionalManagementServer): self.AdditionalManagementServers.append(amserver) else: raise TypeError("add_additional_management_server expects a "\ "AdditionalManagementServer argument") def toJson(self): return json.dumps(self, default=convert_to_builtin_type) class AdditionalManagementServer(): def __init__(self, url, name): self.URL = url self.Name = name class TerminalServer(): def __init__(self, url, name, protocol, domainRequired = True, username = None, password = None): self.URL = url self.Name = name self.Protocol = protocol self.DomainRequired = domainRequired self.Username = username self.Password = password def add_domain(self, domainName): if isinstance(domainName, str): self.WindowsDomain = domainName else: raise TypeError("add_domain expects a string argument") def toJson(self): return json.dumps(self, default=convert_to_builtin_type) def convert_to_builtin_type(obj): d = { } d.update(obj.__dict__) return d def freerdp(email): ms = ManagementServer("http://tc.arctica-project.org", "Landscape") ts1 = TerminalServer("23.21.151.133", "FreeRDP US", "freerdp", False, "Administrator") ts2 = TerminalServer("46.137.222.181", "FreeRDP Asia", "freerdp", False, "Administrator") ts3 = TerminalServer("46.137.189.194", "FreeRDP UK", "freerdp", False, "Administrator") ms.add_terminal_server(ts1) ms.add_terminal_server(ts2) ms.add_terminal_server(ts3) ms.set_default(ts1.Name) print(ms.toJson()) def x2go(email): ms = ManagementServer("http://x2go.intern", "X2GoSessionBroker") ts1 = TerminalServer("10.0.2.11", "X2Go Server 1", "x2go", False, "foo") ts2 = TerminalServer("10.0.2.12", "X2Go Server 2", "x2go", False, "bar") ts3 = TerminalServer("10.0.2.13", "X2Go Server 3", "x2go", False, "foobar") ms.add_terminal_server(ts1) ms.add_terminal_server(ts2) ms.add_terminal_server(ts3) ms.set_default(ts1.Name) print(ms.toJson()) def print_error(text): print("{ \"Error\": \"%s\" }" % text) def error(email): print_error("Server did not respond") def citrix(email): ms = ManagementServer("http://tc.arctica-project.org", "Landscape") ts1 = TerminalServer("107.21.17.35", "Citrix USA", "ICA", True, "useradmin1") ts2 = TerminalServer("107.21.17.35", "Citrix 2", "ICA", True, "useradmin2") ts3 = TerminalServer("107.21.17.35", "Citrix 3", "ICA", True, "useradmin3") ts4 = TerminalServer("107.21.17.35", "Citrix 4", "ICA", True, "useradmin4", "userpass") ts1.add_domain("IP-0A00001E") ts2.add_domain("IP-0A00001E") ts3.add_domain("IP-0A00001E") ts4.add_domain("IP-0A00001E") ms.add_terminal_server(ts1) ms.add_terminal_server(ts2) ms.add_terminal_server(ts3) ms.add_terminal_server(ts4) print(ms.toJson()) def vmware(email): ms = ManagementServer("http://tc.arctica-project.org", "Landscape") ts = TerminalServer("https://10.193.37.140", "VMWare-View Lexington", "vmware", True, "Administrator") ts.add_domain("VMWARE") ms.add_terminal_server(ts) print(ms.toJson()) def defaults(email): ms = ManagementServer("http://tc.arctica-project.org", "Landscape") ts1 = TerminalServer("https://10.10.10.10", "AAA", "vmware") ts2 = TerminalServer("https://10.10.10.10", "ZZZ", "vmware") ts3 = TerminalServer("https://10.10.10.10", "MMM-Default", "vmware", True) ts1.add_domain("VMWARE") ts2.add_domain("VMWARE") ts3.add_domain("VMWARE") ms.set_default(ts3.Name) ms.add_terminal_server(ts1) ms.add_terminal_server(ts2) ms.add_terminal_server(ts3) print(ms.toJson()) # a choice of random problems in the json that the parser should catch def missing_fields(email): val = random.randint(1,4) ms = ManagementServer("http://tc.arctica-project.org", "Landscape") ts3 = TerminalServer("https://10.10.10.10", "TS1-Default", "vmware", True) ts3.add_domain("VMWARE") ms.set_default(ts3.Name) # no ts's if val == 1: print(ms.toJson()) return # no protocol in TS elif val == 2: ts3.Protocol = None # no url in TS elif val == 3: ts3.URL = None # no name in TS elif val == 4: ts3.Name = None ms.add_terminal_server(ts3) print(ms.toJson()) def big(email): ms = ManagementServer("http://tc.arctica-project.org", "Landscape") ts1 = TerminalServer("107.21.17.35", "XenServer", "ICA") ts2 = TerminalServer("http://1.2.3.4", "Citrix2", "ICA", True, "fakeuser", "fakepassword") ts3 = TerminalServer("10.21.17.35", "Accenture", "freerdp", True, "fakeuser") ts4 = TerminalServer("https://4.5.6.7", "Accenture 2", "freerdp", False) ts5 = TerminalServer("5.21.17.35", "VmWare Cloud", "vmware", False, "fakeuser", "fakepassword") ts6 = TerminalServer("http://8.9.10.11", "Canonicloud", "vmware", True) ts1.add_domain("ASIA") ts2.add_domain("DOMAIN1") ts3.add_domain("EUROPE") ts4.add_domain("domain2") ms.add_terminal_server(ts1) ms.add_terminal_server(ts2) ms.add_terminal_server(ts3) ms.add_terminal_server(ts4) ms.add_terminal_server(ts5) ms.add_terminal_server(ts6) ms.set_default(ts4.Name) ams1 = AdditionalManagementServer("http://1.2.3.4", "AMS1") ams2 = AdditionalManagementServer("http://5.6.7.8", "Landscape - Accenture") ams3 = AdditionalManagementServer("http://10.10.10.10", "AMS3") ms.add_additional_management_server(ams1) ms.add_additional_management_server(ams2) ms.add_additional_management_server(ams3) print(ms.toJson()) def garbage(email): print("{, garbage''''''''}}}}}}}}{{{},garbage\n\r\n\n\n\n") def random_string(email): numchars = random.randint(0,4096) print(''.join(random.choice(string.printable) for x in range(numchars))) emailaddrs = {"b" : big, #lots of domains/servers "c" : citrix, "d" : defaults, #for easy testing of default ts "e" : error, "f" : freerdp, "x" : x2go, "g" : garbage, "m" : missing_fields, #json missing some fields "r" : random_string, "v" : vmware, } def help(): helpstr = "Email address to retrieve server info for. Currently "\ "the options are: " emaillist = "" for key in emailaddrs: emaillist += key + ", " helpstr += emaillist[:-2] return helpstr if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument('email', help=help()) args = parser.parse_args() password = sys.stdin.read() if args.email in emailaddrs: if password != args.email: print_error("Invalid password") sys.exit(-1); else: emailaddrs[args.email](args.email) else: print_error("Invalid username") sys.exit(-1); remote-logon-service-1.0.2.0/tests/slmock-config.conf.in0000644000000000000000000000022613265071040017752 0ustar [Remote Logon Service] Servers=SLMock Server [Server SLMock Server] Name=SLMock Type=UCCS URI=https://slmock.com/ Exec=@slmock@ NetworkRequired=None remote-logon-service-1.0.2.0/tests/uccs-config.conf0000644000000000000000000000024313265071040017011 0ustar [Remote Logon Service] Servers=Test Server [Server Test Server] Name=Test Server Name Type=UCCS URI=https://uccs.test.mycompany.com/ Exec=ls NetworkRequired=None remote-logon-service-1.0.2.0/.tx/config0000644000000000000000000000026013265071040014500 0ustar [main] host = https://www.transifex.com [arctica-greeter.remote-logon-service] source_file = po/remote-logon-service.pot source_lang = en type = PO file_filter = po/.po remote-logon-service-1.0.2.0/update-po.sh0000755000000000000000000000247213265071040015043 0ustar #!/bin/bash set -x # Copyright (C) 2017 by Mike Gabriel # # This package is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 3 of the License. # # This package is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see GETTEXT_DOMAIN=$(cat configure.ac | grep -E "^GETTEXT_PACKAGE=" | sed -e 's/GETTEXT_PACKAGE=//') cp po/${GETTEXT_DOMAIN}.pot po/${GETTEXT_DOMAIN}.pot~ cd po/ cat LINGUAS | while read lingua; do if [ ! -e ${lingua}.po ]; then msginit --input=${GETTEXT_DOMAIN}.pot --locale=${lingua} --no-translator --output-file=$lingua.po else intltool-update --gettext-package ${GETTEXT_DOMAIN} $(basename ${lingua}) fi sed -e 's/\.xml\.in\.h:/.xml.in:/g' \ -e 's/\.ini\.in\.h:/.ini.in:/g' \ -e 's/\.xml\.h:/.xml:/g' \ -e 's/\.ini\.h:/.ini:/g' \ -i ${lingua}.po done cd - 1>/dev/null mv po/${GETTEXT_DOMAIN}.pot~ po/${GETTEXT_DOMAIN}.pot remote-logon-service-1.0.2.0/update-pot.sh0000755000000000000000000000200713265071040015221 0ustar #!/bin/bash # Copyright (C) 2017 by Mike Gabriel # # This package is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 3 of the License. # # This package is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see GETTEXT_DOMAIN=$(cat configure.ac | grep -E "^GETTEXT_PACKAGE=" | sed -e 's/GETTEXT_PACKAGE=//') cd po/ && intltool-update --gettext-package ${GETTEXT_DOMAIN} --pot && cd - 1>/dev/null sed -e 's/\.xml\.in\.h:/.xml.in:/g' \ -e 's/\.ini\.in\.h:/.ini.in:/g' \ -e 's/\.xml\.h:/.xml:/g' \ -e 's/\.ini\.h:/.ini:/g' \ -i po/${GETTEXT_DOMAIN}.pot