Success!! And a SAMBA/winbind question...

Clay Berlo clay.berlo at dsbn.edu.on.ca
Thu Nov 30 14:18:53 GMT 2006


Kory,

Well, I've done exactly what you're looking for, and it can be a pain to
configure.  Also, it "voids the manufacturer's warranty" (seems to have
to run in a non-standard configuration that breaks other functionality).

Basically, there's a PAM module called pam_mount that allows you to
automatically mount shares at login.  Works very well for ADS/winbind
authentication and home drive mounting.  However, in order to make this
work, I had to ditch the SSH-based LDM login used by default in Edubuntu
and switch to pure XDMCP.  There seems to be some kind of problem
passing the authentication token from SSH on to the pam_mount.

So, at least in my experience thus far, you can either have the SSH
logins found in Edubuntu by default (and have the lovely local devices
etc. that are in Edgy) or you can have your home drives mounted at
login.  If I could find a way to do both, that would be just perfect!

So, how do you get this working?  In short, install the pam_mount
(apt-get install libpam-mount) and configure it to mount your
appropriate shares.  It's fairly simple, but seems to fail when used in
combination with SSH.  I'd be curious to know if a more recent install
fixes this, but last I tested a couple of weeks ago with Edgy, it still
had issues.

Good luck!

~Clay

On Wed, 2006-29-11 at 17:34 -0500, Kory Mohr wrote:

> Howdy, Tom.  Thx much for the excellent writeup.  Greatly appreciated!
> 
> I found a link that comes close to what I'm trying to do:
> 
> http://geekpit.blogspot.com/2006/05/accessing-windows-shares-from-gnulin
> ux.html
> 
> I definitely don't want anyone to have access to others' folders, of
> course.  I'm wondering if it's an idea (tedious, however, and possibly
> problematic as passwords expire and change) to try this above.
> 
> I was able to get it working, although, I can see the root directory of
> the share and not go any deeper (i.e. into an actual user directory).
> I'll keep playing with it.
> 
> Thx again for the push!  
> 
> Regards,
> Kory
> 
> > -----Original Message-----
> > From: Tom Kent [mailto:lists at teeks99.com]
> > Sent: Wednesday, November 29, 2006 11:46 AM
> > To: Kory Mohr; edubuntu-users at lists.ubuntu.com
> > Subject: RE: Success!! And a SAMBA/winbind question...
> > 
> > I don't know if there is a way to mount a share at login like that or
> not.
> > However, there's a tutorial to permanently mount windows shares with
> samba
> > that I wrote out on the ubuntu help site.
> > https://help.ubuntu.com/community/MountWindowsSharesPermanently
> > 
> > However, this requires root access.  What may work, is if you have a
> share
> > in the Windows server that has all the users in it, you could
> permanently
> > mount that.  Then make a link in each user directory on your edubuntu
> > machine back to their directory within the mount.  The problem here
> would
> > be
> > that they would also have access to everyone else's files.  I don't
> know
> > if
> > there is a solution to that, it could get very complicated.
> > 
> > Tom
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/edubuntu-users/attachments/20061130/e5335e25/attachment.htm 


More information about the edubuntu-users mailing list