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
This commit is contained in:
parent
4956af4a70
commit
909d88d080
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue