Commit graph

17 commits

Author SHA1 Message Date
Stef Walter
11b5c87d26 user-accounts: Set timeouts on all realmd interface proxies
Without this, we can get timeout problems during joining a domain.

This is a regression from when we refactored UmRealmManager to
use GDBusObjectManagerClient. Make sure to call
g_dbus_proxy_set_default_timeout() on all realmd interface
proxies whenever they show up.

https://bugzilla.gnome.org/show_bug.cgi?id=686390
2012-10-19 10:26:01 +02:00
Stef Walter
074a495f97 user-accounts: Recognize that some kerberos domains cannot be joined
realmd supports discovering generic kerberos domains, which cannot
be joined. Add a usable error message in gnome-control-center in
this case.

https://bugzilla.gnome.org/show_bug.cgi?id=685618
2012-10-15 14:04:59 +02:00
Stef Walter
60e9ee0f07 user-accounts: Remove the realmd version check
The idea is that the realmd DBus API will remain stable
from now on, so remove the version check. It was broken anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=685616
2012-10-15 11:37:39 +02:00
Stef Walter
ee673b7389 user-accounts: Complete discover on failure
When realmd discovery doesn't return a domain, complete the discovery
appropriately. Previously we would never complete.

https://bugzilla.gnome.org/show_bug.cgi?id=685617
2012-10-09 10:36:55 -04:00
Stef Walter
31a293bc08 user-accounts: Fix memory leak of realm list
https://bugzilla.gnome.org/show_bug.cgi?id=684188
2012-09-17 14:28:07 +02:00
Stef Walter
65aaaf9d04 user-accounts: Add debug messages to user creation and realm procedures
https://bugzilla.gnome.org/show_bug.cgi?id=684185
2012-09-17 14:27:06 +02:00
Stef Walter
09e62d679c user-accounts: Relicense UmRealmManager to GPLv2+
And update the 'Written By' of UmRealmManager

https://bugzilla.gnome.org/show_bug.cgi?id=683420
2012-09-17 13:08:35 +01:00
Ray Strode
a416243050 user-accounts: fix crash for incompatible realmd version
The version property may not be available if realmd is
version 0.1 (which lacked the property) or if other
properties changed signatures (causing gdbus to fail to load
cache any property)

This commit fixes a crash where property is NULL in those cases.
2012-08-20 14:04:30 -04:00
Stef Walter
3aab3eb358 user-accounts: Update for realmd DBus interface changes
* DBus interface was reviewed and there were several things added
   to make it more generic and useful for other realm types.
 * Use ObjectManager to track objects in realmd. This facilitates
   using realmd with the way it now uses multiple interfaces
   on objects.

https://bugzilla.gnome.org/show_bug.cgi?id=682185
2012-08-20 12:11:22 +02:00
Stef Walter
ec2fc6d8b6 user-accounts: Remove needless console output
https://bugzilla.gnome.org/show_bug.cgi?id=680892
2012-08-08 14:24:19 +02:00
Stef Walter
4e67ecc456 user-accounts: Cleanup GVariant usage
* Don't call g_variant_ref_sink() unnecessarily.
 * Don't call g_variant_new_variant() unnecessarily.

https://bugzilla.gnome.org/show_bug.cgi?id=680892
2012-08-08 14:24:19 +02:00
Stef Walter
1f4aeb1d05 user-panel: Update to new DBus interface for realmd 0.6
* In particular support of different credential methods and better
   hints for different owners of those credentials, so we can prompt
   more cleanly.
 * Less abstraction in the realmd interfaces

https://bugzilla.gnome.org/show_bug.cgi?id=680892
2012-08-06 19:13:34 +02:00
Stef Walter
1cffa8e206 user-panel: Fix memory leak of UmRealmManager
https://bugzilla.gnome.org/show_bug.cgi?id=680890
2012-08-02 10:29:47 +02:00
Rico Tzschichholz
f2df6d7fbb user-accounts: Fix build with -Werror=format-security 2012-07-03 13:54:38 +02:00
Stef Walter
973adfa43b user-accounts: Update the realmd dbus interface to latest
The changes in the realmd dbus interface are futureproofing to
support cancellation.

In addition during this time of interface flux, check the
daemon version number to make sure we can talk to it.

https://bugzilla.gnome.org/show_bug.cgi?id=678105
2012-06-22 16:29:51 +02:00
Stef Walter
4a76728978 user-accounts: Set high DBus timeouts for managing realms
Enrolling the machine, or discovering realms can take a long
time. We don't want DBus timeouts.

https://bugzilla.gnome.org/show_bug.cgi?id=677953
2012-06-14 11:46:16 +02:00
Stef Walter
4bb0739670 user-accounts: Implement enterprise logins in add dialog
* Use realmd for domain joining and lookup, runtime dependency
 * Validate join domain correctly
 * Add UmRealmManager for handling some stuff above the autogenerated
   realmd dbus code
 * Show a dialog if the user's credentials cannot be used to join
   the domain. Prompt for admin creds.
 * Register the user's login with the AccountsService
 * This depends on the CacheUser() method of AccountsService

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:31:48 +02:00