[K12OSN] mounting windows shares

dcurtis at sbschools.net dcurtis at sbschools.net
Thu Dec 10 14:01:29 UTC 2009


This link definitely helped lead me into the right direction. I have to
add two lines to the /etc/pam.d/gdm file:
auth       optional    pam_mount.so try_first_pass
session    optional    pam_mount.so

and add the mount option I need into the
/etc/security/pam_mount.conf.xml 
<volume user="*" fstype="cifs" server="servername goes here"
path="Windows share/folder goes here or just share"
mountpoint="~/mnt/mount point name you want"
/>

What I am trying to do now is find if Linux would understand an
environment variable to mount to the Windows Users home folder. 

The reason I would like that is our students are put into a folder based
on year of graduation. 

Thanks,
Dave

-----Original Message-----
From: k12osn-bounces at redhat.com [mailto:k12osn-bounces at redhat.com] On
Behalf Of Gideon Romm
Sent: Tuesday, December 08, 2009 9:45 AM
To: Support list for open source software in schools.
Subject: RE: [K12OSN] mounting windows shares

Try the last section of this howto:

https://help.ubuntu.com/community/UbuntuLTSP/ActiveDirectoryIntegration

You may need to translate Ubuntu packages to Fedora ones, but the
principal is the same.

-Gadi

On Tue, 2009-12-08 at 09:20 -0500, dcurtis at sbschools.net wrote:
> The only thing I can find on this is to do the Samba server as the
> windows home folder, I want to do the opposite.
> 
> -----Original Message-----
> From: k12osn-bounces at redhat.com [mailto:k12osn-bounces at redhat.com] On
> Behalf Of Huck
> Sent: Monday, December 07, 2009 3:26 PM
> To: Support list for open source software in schools.
> Subject: Re: [K12OSN] mounting windows shares
> 
> Samba has this automagically done if you enable the HOMES share I
> believe.
> 
> --Huck
> 
> dcurtis at sbschools.net wrote:
> > Anyone have any tricks for mounting a windows share so a user can
get
> to 
> > his/her user folder on a windows share?
> > 
> >  
> > 
> > We are starting to introduce a K12Linux server and are looking for a
> way 
> > to have the users share ready for them as soon as they login instead
> of 
> > having them browse to the server/share.
> > 
> > 
> > ______________________________________________________________ 
> > ______________________________________________________________
> > This email may contain information protected under the Family 
> > Educational Rights and Privacy Act (FERPA) or the Health Insurance 
> > Portability and Accountability Act (HIPAA). If this email contains 
> > confidential and/or privileged health or student information and you
> are 
> > not entitled to access such information under FERPA or HIPAA,
federal 
> > regulations require that you destroy this email without reviewing it
> and 
> > you may not forward it to anyone.
> > -- 
> > This message has been scanned for viruses and
> > dangerous content by *MailScanner* <http://www.mailscanner.info/> 
> > ,*ClamAV* <http://www.clamav.net/> and *Bitdefender* 
> > <http://www.bitdefender.com/>, and is
> > believed to be clean.
> > 
> > 
> >
>
------------------------------------------------------------------------
> > 
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN at redhat.com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 
> ______________________________________________________________
> ______________________________________________________________
> This email may contain information protected under the Family 
> Educational Rights and Privacy Act (FERPA) or the Health Insurance 
> Portability and Accountability Act (HIPAA).  If this email contains 
> confidential and/or privileged health or student information and you 
> are not entitled to access such information under FERPA or HIPAA, 
> federal regulations require that you destroy this email without 
> reviewing it and you may not forward it to anyone.
> 
> 
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, ClamAV and Bitdefender  and is
> believed to be clean.
> 
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
-- 
--------------------------------------------------------
Gideon Romm | Proud LTSP Developer
ltsp at symbio-technologies.com

Pay It Forward!  
Intel Atom 1.6GHz, 512MB RAM + Symbiont Boot Stick = $275
10% of order goes to school or open source project of your choice!

Buy yourself a lab or office and use your donation to set up a school,
pay for a desperately needed feature added to a software package,
or sponsor part of LTSP's annual developer's conference LTSP-by-the-sea!

Check out:  http://www.symbio-technologies.com/payitforward 

_______________________________________________
K12OSN mailing list
K12OSN at redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>

______________________________________________________________
______________________________________________________________
This email may contain information protected under the Family 
Educational Rights and Privacy Act (FERPA) or the Health Insurance 
Portability and Accountability Act (HIPAA).  If this email contains 
confidential and/or privileged health or student information and you 
are not entitled to access such information under FERPA or HIPAA, 
federal regulations require that you destroy this email without 
reviewing it and you may not forward it to anyone.


--
This message has been scanned for viruses and
dangerous content by MailScanner, ClamAV and Bitdefender  and is
believed to be clean.





More information about the K12OSN mailing list