[gnome-control-center/gnome-3-8] user-accounts: Tell realmd not to setup system management
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-8] user-accounts: Tell realmd not to setup system management
- Date: Mon, 15 Apr 2013 14:07:36 +0000 (UTC)
commit 1a13b37bdd0859b7682fa0083755539c331073ec
Author: Stef Walter <stefw redhat com>
Date: Fri Apr 12 22:15:03 2013 +0200
user-accounts: Tell realmd not to setup system management
The Enterprise Login feature is meant to setup a individiual
domain accounts for use with GNOME, and not manage the system.
realmd now configures more than just logins, so tell realmd
to hold back and not configure a system managed by the domain.
https://bugzilla.gnome.org/show_bug.cgi?id=697910
panels/user-accounts/um-realm-manager.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/panels/user-accounts/um-realm-manager.c b/panels/user-accounts/um-realm-manager.c
index 59d57b3..2289c02 100644
--- a/panels/user-accounts/um-realm-manager.c
+++ b/panels/user-accounts/um-realm-manager.c
@@ -543,6 +543,7 @@ realm_join_as_owner (UmRealmObject *realm,
GSimpleAsyncResult *async;
GVariant *contents;
GVariant *options;
+ GVariant *option;
GVariant *creds;
const gchar *type;
@@ -575,7 +576,8 @@ realm_join_as_owner (UmRealmObject *realm,
}
creds = g_variant_new ("(ssv)", type, owner, contents);
- options = g_variant_new_array (G_VARIANT_TYPE ("{sv}"), NULL, 0);
+ option = g_variant_new ("{sv}", "manage-system", g_variant_new_boolean (FALSE));
+ options = g_variant_new_array (G_VARIANT_TYPE ("{sv}"), &option, 1);
g_debug ("Calling the Join() method with %s credentials", owner);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]