After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 686410 - Don't enroll the machine in gnome-online-accounts
Don't enroll the machine in gnome-online-accounts
Status: RESOLVED FIXED
Product: gnome-online-accounts
Classification: Core
Component: Kerberos
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Online Accounts maintainer(s)
GNOME Online Accounts maintainer(s)
Depends on:
Blocks: 686415 686416
 
 
Reported: 2012-10-18 19:54 UTC by Stef Walter
Modified: 2012-10-22 03:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
identity: Don't enroll machine (18.51 KB, patch)
2012-10-18 20:50 UTC, Stef Walter
committed Details | Review

Description Stef Walter 2012-10-18 19:54:29 UTC
Why are we enrolling the machine in an AD domain in gnome-online-accounts? This doesn't make sense? You would only do this if you are setting up local logins for the accounts, and this is what the user panel does.

There is no reason to enroll the machine if you are using kerberos for anything other than login.

If you want to use realmd for discovering kerberos realms that's fine. Just make sure to call ofr.Service.Release() from goa-daemon, so that realmd isn't running all the time.
Comment 1 Stef Walter 2012-10-18 20:50:15 UTC
Created attachment 226775 [details] [review]
identity: Don't enroll machine

It's not necessary or desirable to enroll the machine for using
domain accounts locally when setting up a kerberos identity.
Comment 2 Stef Walter 2012-10-18 20:52:06 UTC
That's an untested, initial rough patch. I'll file another bug about the use of realmd.
Comment 3 Ray Strode [halfline] 2012-10-18 21:07:02 UTC
Thought I was supposed to for weird Active-Directory-y-y reasons
Comment 4 Stef Walter 2012-10-18 22:43:55 UTC
Join a machine to a directory/realm (like AD) is for two reasons:

 * You want to use directory authentication to log into the local machine.
 * You want to provide services to other directory users from the machine.

Neither of these are true for the use cases of gnome-online-accounts.

In addition, we'll probably move to a you-can-only-be-joined-to-one-kerberos-realm at a time model in the future (similar to Windows). So joining machines to domains all over the place isn't good.
Comment 5 Ray Strode [halfline] 2012-10-19 15:12:45 UTC
Alright, as long we can still get CIFS tickets etc.
Comment 6 Stef Walter 2012-10-19 15:16:40 UTC
Yup. Here's a test case for that, without enrolling: https://fedoraproject.org/wiki/QA:Testcase_Active_Directory_gvfs

I haven't tested the patch. Is this something you want to get into 3.6.x? If so I'll try to get on it.
Comment 7 Ray Strode [halfline] 2012-10-19 15:25:09 UTC
Nah, i'm going to have the patient open to deal with bug 686382 soon anyway, so I'll try out your patch then.
Comment 8 Ray Strode [halfline] 2012-10-22 03:52:32 UTC
Looks good.

Attachment 226775 [details] pushed as c11a079 - identity: Don't enroll machine