[K12OSN] Is it possible to mount user shares with pam_mount?
Gideon Romm
ltsp at symbio-technologies.com
Wed Oct 25 18:16:14 UTC 2006
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)
More information about the K12OSN
mailing list