Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I know how to get connected to a Windows share easy enough, and I've read how to change the fstab file to get it to mount at boot.

The real question here is...can I create a few shortcuts on a common user desktop so that regardless of who logs into Ubuntu machine they can open that shortcut and it will open the Windows share?

I would also need to allow AD credentials during login, so a link to that will help as well, but I'm sure I can search google for that part.

share|improve this question
    
which desktop environment are you using? Gnome/KDE/etc? i don't know how to pass AD credentials, but you can search for system wide desktop icon for your desktop environment... –  cpbills May 13 '10 at 19:37
    
pammount maybe? serverfault.com/questions/134976/… –  Zoredache May 13 '10 at 19:46
    
I figured out the AD stuff using Likewise-Open. It still won't pass AD credentials but does allow for login at the login screen. I'll need to look for a system wide desktop icon. This is Gnome. –  TheCleaner May 17 '10 at 18:04
    
Does each Ubuntu user need to map to different shared drives? Do they need to each login as their respective Active Directory user or is a shared AD user ok? –  gravyface May 17 '10 at 18:09
    
you can integrate Likewise-Open with Samba. Check the integration guides on likewise.com/resources/documentation_library –  churnd Jun 9 '10 at 14:21
add comment

1 Answer

up vote 2 down vote accepted

For the AD logins, go with Likewise Open. Take your time looking through the config files in /etc/likewise, as well as the documentation on the website. Very useful in terms of managing users. Example, I didn't know I could restrict logins to members of a local group.

As far as mounting servers, there are several ways. Since you're using Gnome, I'll leave out smb4k, since it's largely KDE based. The latest versions of Gnome have included the ability to mount network shares via GUI. I believe it uses FUSE to allow the user to do this without root privileges. ONce it's connected, it actually mounts the share on a directory inside the users ~/.gvfs directory. You can create Bookmarks or shortcuts on the desktop, then add these to the system's default /etc/skel, or use something like Sabayon to create the profiles you want.

Only downside to using FUSE is it's a bit slow. If you want more speed, consider using mount.cifs, though this is a command line tool and is less user friendly. You'll have to cook up something via shell or python script and wrap a GUI around it to make it more user friendly. Actually, smb4k above uses mount.cifs. You'll also need to set the sticky bit on the mount.cifs and umount.cifs commands to make them user executable. The upside to mount.cifs is that it's fast and assuming everything else is optimal, you'll get the max throughput you can expect from cifs.

share|improve this answer
    
I agree - modify the default Bookmarks to include the shares you want to have. Generally, there is a default location, where the data is grabbed for a new user, and then you would need to update the profile of the existing users. You may be able to use scripting fu to get even fancier - for example, user specific bookmarks based on username. FUSE should handle the authentication - the user will get a pop-up in which to enter username/password. –  pcapademic May 20 '10 at 19:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.