<br><br><p><DEFANGED_div><DEFANGED_span class="gmail_quote">On 9/5/06, <b class="gmail_sendername">Benjamin Flanders</b> <<a href="mailto:flanderb@gmail.com" target="_blank" DEFANGED_onclick="return top.js.OpenExtLink(window,event,this)">flanderb@gmail.com
</a>> wrote:</DEFANGED_span><blockquote class="gmail_quote" DEFANGED_style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thank you Justin,<br>Lets see if I have this straight. This exports the /shared/home<br>directory on the file server and overlays this on top of the home<br>directory on the desktop, temporarily hiding the files already
<br>
residing in the home dir on the desktop.</blockquote><p><DEFANGED_div><br>yup<br><br></p><DEFANGED_div><br><blockquote class="gmail_quote" DEFANGED_style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Is it possible to export
<a href="http://samba.server.name/home/user" target="_blank" DEFANGED_onclick="return top.js.OpenExtLink(window,event,this)">samba.server.name/home/user</a> to<br>/home/user/external? something like this in fstab where user is<br>
different depending on who logs in:<br>samba.server.name:/home/user /home/user/external nfs defaults 0 0
</blockquote><p><DEFANGED_div><br>I'm not sure that re-writting the fstab file each time a person logs in is such a great idea.<br>Each user has a dedicated home dir that is specified in the /etc/passwd file and that information is read when they log in.
<br>So, if you want the home directory to be dependent on the username than this is where the change need to occur. <br>One way would be to change the users default home directory to be <br><br>/home/user/external where this is the mounted share and not the local file system
<br><br>
You may even be able to accomplish this by linking, but using the useradd utility would probably be better.<br><br><br></p><DEFANGED_div>
<br><blockquote class="gmail_quote" DEFANGED_style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 9/5/06, Justin Denick <<a href="mailto:justin.denick@gmail.com" target="_blank" DEFANGED_onclick="return top.js.OpenExtLink(window,event,this)">
justin.denick@gmail.com
</a>> wrote:<br>> I'm not so sure I follow.<br>> Setup is someting like:<br>> -- 1Desktop PC running Ubuntu sometimes and Windows ate other<br>> -- A file server that runs samba for the Windows user and the Unbuntu user
<br>><br>> Why not handle the home directory with fstab on Ubuntu and drop the Samba<br>> Client.<br>> Something like:<br>><br>> samba.server.name:/shared/home /home nfs defaults 0 0<br>><br>
>
<br>><br>><br>><br>><br>><br>> On 9/5/06, Benjamin Flanders < <a href="mailto:flanderb@gmail.com" target="_blank" DEFANGED_onclick="return top.js.OpenExtLink(window,event,this)">flanderb@gmail.com</a>> wrote:
<br>> ><br>> Background:<br>> I have samba setup on my home network serving up a shared directory
<br>> and the home dir's on the file server of both my wife and I. I can<br>> access the shared dir and the respective home dir of whoever is<br>> logged into windows. Works great.<br>> The issue:<br>> The desktop we use is a dual boot machine and when I use Ubuntu I can
<br>> only get to the shared directory and not my home dir. Is it possible<br>> to have Linux auto-mount the home directory on a file server of<br>> whoever is logged into a separate workstation, like the samba setup I
<br>> mentioned above?<br>> Some more details:<br>> - In linux I have the samba deamon automatically mount the shared dir via<br>> fstab.<br>> - If I remember correctly, the samba setup I have uses a file in
<br>> root's home dir on the desktop called something like .smbauth for the<br>> samba username and password. I believe this is where the issue lies,<br>> it uses the same username and password for anyone who logs into the
<br>> desktop.<br>><br>><br>> --<br>> Share and Enjoy<br>> _______________________________________________<br>> grlug mailing list<br>> <a href="mailto:grlug@grlug.org" target="_blank" DEFANGED_onclick="return top.js.OpenExtLink(window,event,this)">
grlug@grlug.org</a><br>>
<a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank" DEFANGED_onclick="return top.js.OpenExtLink(window,event,this)">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br>><br>><br>>
<br>><br>><br>> --<br>> In vino veritas.<br>> [In wine there is truth.]
<br>> -- Pliny<br>> _______________________________________________<br>> grlug mailing list<br>> <a href="mailto:grlug@grlug.org" target="_blank" DEFANGED_onclick="return top.js.OpenExtLink(window,event,this)">
grlug@grlug.org</a><br>> <a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank" DEFANGED_onclick="return top.js.OpenExtLink(window,event,this)">
http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br>><br>><br><br><br>--<br>Share and Enjoy<br>_______________________________________________<br>grlug mailing list<br><a href="mailto:grlug@grlug.org" target="_blank" DEFANGED_onclick="return top.js.OpenExtLink(window,event,this)">
grlug@grlug.org
</a><br><a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank" DEFANGED_onclick="return top.js.OpenExtLink(window,event,this)">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br></blockquote>
</p><DEFANGED_div><br><br clear="all"><br>-- <br>In vino veritas.<br> [In wine there is truth.]
<br> -- Pliny