[K12OSN] Is it possible to mount user shares with pam_mount?

john lists.john at gmail.com
Wed Oct 25 19:41:17 UTC 2006


Thanks Gideon,

If I enable cifs support can I get around the SMB limitation?

John

On 10/25/06, Gideon Romm <ltsp at symbio-technologies.com> wrote:
>
> It is not possible.  That is a limitation of SMB.  You can mount shares,
> but not subfolders of shares.
>
> I usually work around this by mounting the entire share with the user's
> credentials, in a hidden subfolder of his/her homedir (like ~/.Windows),
> and then symlink ~/Windows -> ~/.Windows/$USER
>
> Ugly, but functional, when you don't have admin rights to the ADS
> server.
>
> -Gadi
>
> On Wed, 2006-10-25 at 09:44 -0700, john wrote:
> > Hi all,
> >
> > Does anyone know if its possible to mount a user directory  nested
> > inside of a shared directory with pam_mount?
> >
> > I can mount //share but not //share/user_name using wildcards. Here's
> > the releveant part from my pam_mount.conf:
> >
> > # works
> > volume * smbfs wserver share /home/DOMAIN/&/Desktop/MyDocs
> > uid=&,gid=&,dmask=750,workgroup=DOMAIN - -
> >
> > # doesn't work
> > volume * smbfs wserver share/group1/& /home/DOMAIN/&/Desktop/MyDocs
> > uid=&,gid=&,dmask=750,workgroup=DOMAIN - -
> >
> > Thanks in advance!
> >
> > John
> > _______________________________________________
> > 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
>
> Support LTSP!  Buy your hardware at:
>
>         www.DisklessWorkstations.com
>         www.DisklessThinClients.com
>
> (use coupon code: LTSP5P for 5% off thin clients from
> DisklessThinClients.com)
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20061025/200ac8b1/attachment.htm>


More information about the K12OSN mailing list