Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

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%$

Posted (edited)

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"

 

etc.

 

//"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)

 

Any use?

 

Steve

 

 

*Edit - Found link

http://ubuntuforums.org/showthread.php?t=255872

Edited by Steve21
Posted
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)

 

which is what pam_mount is for.

Posted
How do i now get it so when any user logs in it maps their home drive

 

To where? If you wanted shared Windows / Linux desktops could you mount \\server\users$ to /home in /etc/fstab?

Posted
To where? If you wanted shared Windows / Linux desktops could you mount \\server\users$ to /home in /etc/fstab?

 

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 :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...