*nix Thread, adding mapped drives to ubuntu systems in Technical; Im looking at making some ageing pcs last a bit longer in one of my schools so atm am playing ...
18th March 2011, 03:39 PM #1
adding mapped drives to ubuntu systems
Im looking at making some ageing pcs last a bit longer in one of my schools so atm am playing with ubuntu 10.10 (runs nicely and boots much quicker than xp). On my test vm i have managed to get my ubunti pc domained quite happily (using centrify) and have locked down what the users have access to (though when selecting groups in user profile editor for some reason the staff group is not listed but pupils is but for testing purposes i can live with that). How do i now get it so when any user logs in it maps their home drive (which is \\server\users$\group\username but i can soon share them as \\server\username$ if needed) and the exercises drive preferably automatically without the user doing anything ( so basically im after a linux exuivelent of
net use u: \\server\%username%$
18th March 2011, 03:53 PM #2
You probably want to investigate the pam_mount Pluggable Authentication Module (PAM).
18th March 2011, 03:58 PM #3
As far as I know from my limited Ubu knowledge (Playing with Zoneminder box), nix in general doesn't use drive mappings in "Windows sense".
Closest I know of is using mounts (smbmount)
smbmount //"server"/"share" /"Name"
//"server"/"share" <- Normal link to the share on Server
/"Name" <- Name of the "mount" point on the Linux machine
(Note smbmount are temporary, only mounts it for that logon. aka needs to be on startup etc)
*Edit - Found link
Last edited by Steve21; 18th March 2011 at 04:00 PM.
18th March 2011, 04:03 PM #4
which is what pam_mount is for.
Originally Posted by Steve21
18th March 2011, 05:02 PM #5
To where? If you wanted shared Windows / Linux desktops could you mount \\server\users$ to /home in /etc/fstab?
Originally Posted by sted
18th March 2011, 05:48 PM #6
More specifically you need this in /etc/pam.d/system-login
session required pam_mkhomedir.so skel=/etc/skel/ umask=0077
Last edited by somabc; 18th March 2011 at 05:56 PM.
18th March 2011, 06:20 PM #7
This is how I currently do it, well slightly different reasons but /etc/fstab noauto then calling mount as and when needed (init.d in our case), works fine
Originally Posted by dhicks
By silver in forum Hardware
Last Post: 7th January 2009, 02:35 PM
By techyphil in forum Windows
Last Post: 16th October 2008, 11:03 PM
By LeonieCol in forum Windows
Last Post: 12th March 2008, 04:36 PM
By proby1 in forum Windows Vista
Last Post: 15th November 2007, 11:39 AM
By timbo343 in forum Windows
Last Post: 7th December 2005, 09:09 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)