[gnome-initial-setup] user-accounts: Tell realmd not to setup system management
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] user-accounts: Tell realmd not to setup system management
- Date: Sun, 26 May 2013 18:39:47 +0000 (UTC)
commit 6ea3daa03933a64af7403bfb7604dc14d991e444
Author: Stef Walter <stefw redhat com>
Date: Sat May 25 07:08:30 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
https://bugzilla.gnome.org/show_bug.cgi?id=700996
.../pages/account/um-realm-manager.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gnome-initial-setup/pages/account/um-realm-manager.c
b/gnome-initial-setup/pages/account/um-realm-manager.c
index c0bd9c2..e1829ac 100644
--- a/gnome-initial-setup/pages/account/um-realm-manager.c
+++ b/gnome-initial-setup/pages/account/um-realm-manager.c
@@ -522,6 +522,7 @@ realm_join_as_owner (UmRealmObject *realm,
GSimpleAsyncResult *async;
GVariant *contents;
GVariant *options;
+ GVariant *option;
GVariant *creds;
const gchar *type;
@@ -554,7 +555,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]