That's what I needed to know. We'll set a system-wide policy and be done with it. Thanks!<br><br><div class="gmail_quote">On Wed, Oct 31, 2012 at 9:43 AM, Stephen Gallagher <span dir="ltr"><<a href="mailto:sgallagh@redhat.com" target="_blank">sgallagh@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Wed 31 Oct 2012 08:56:14 AM EDT, Bret Wortman wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Has anyone set things up so that individual users have the option to<br>
automount a homedir or have one autocreated on each system they use<br>
for them? I have some users who prefer one way and others who prefer<br>
the other. Both have valid reasons and I'd rather not make an<br>
authoritarian decision for one over the other.<br>
<br></div>
 1. How could this be handled as a user option, set as the account is<div class="im"><br>
    created or modified and open to adjustment later?<br>
</div></blockquote>
<br>
A feature could be added to SSSD to allow users to override the home directory location on individual clients. This feature would have to be subject to administrator approval in some way (to restrict where users could set their home directories and which users have this privilege). That requires some thought. Feel free to file an RFE at <a href="https://fedorahosted.org/sssd" target="_blank">https://fedorahosted.org/sssd</a><br>

<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 2. How might this be handled as a login option, allowing the user to<div class="im"><br>
    select their automounted homedir or a local homedir?<br>
<br>
</div></blockquote>
<br>
This just isn't going to happen. Period.<br>
<br>
The location of the user's home directory is an integral part of the user's identity on the system. It cannot vary at login time. All sessions of the logged-in user (as well as any application that calls getpwnam()) need to agree on this value or you will have problems.<div class="im">
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Anyone already set this up and have it working well? I'd hate to spend<br>
time re-inventing a wheel if there's already an excellent example in<br>
the wild....<br>
<br>
</blockquote>
<br>
<br></div>
As a general rule, it's usually better to just make the decision on a per-system basis than a per-user basis. I.e. everyone who logs on to certain infrastructure systems will always use the automount home directory, but on personal systems they can be configured to not use automount.<br>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Bret Wortman</div><div>The Damascus Group</div><div>Fairfax, VA</div><div><a href="http://bretwortman.com/" target="_blank">http://bretwortman.com/</a></div>
<div><a href="http://twitter.com/BretWortman" target="_blank">http://twitter.com/BretWortman</a></div><br>