[gnome-control-center/gnome-3-6] user-accounts: Recognize that some kerberos domains cannot be joined
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-6] user-accounts: Recognize that some kerberos domains cannot be joined
- Date: Mon, 15 Oct 2012 12:04:45 +0000 (UTC)
commit 78257521ed083529668f3bedf858441c5aaf17bf
Author: Stef Walter <stefw gnome org>
Date: Sat Oct 6 13:01:03 2012 -0400
user-accounts: Recognize that some kerberos domains cannot be joined
realmd supports discovering generic kerberos domains, which cannot
be joined.
https://bugzilla.gnome.org/show_bug.cgi?id=685618
panels/user-accounts/um-realm-manager.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/panels/user-accounts/um-realm-manager.c b/panels/user-accounts/um-realm-manager.c
index 3598ce8..74bc539 100644
--- a/panels/user-accounts/um-realm-manager.c
+++ b/panels/user-accounts/um-realm-manager.c
@@ -309,8 +309,13 @@ on_provider_discover (GObject *source,
if (object == NULL) {
g_warning ("Realm is not in object manager: %s", realms[i]);
} else {
- g_debug ("Discovered realm: %s", realms[i]);
- discover->realms = g_list_prepend (discover->realms, object);
+ if (is_realm_with_kerberos_and_membership (object)) {
+ g_debug ("Discovered realm: %s", realms[i]);
+ discover->realms = g_list_prepend (discover->realms, object);
+ } else {
+ g_debug ("Realm does not support kerberos membership: %s", realms[i]);
+ g_object_unref (object);
+ }
}
}
g_strfreev (realms);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]