[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



Hi Gideon how would you create the symlink? Would you use a file that ran after login, would you do this in smb.conf or through some magic pam_mount option?

Thanks!

John

On 10/25/06, Gideon Romm <ltsp 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 redhat com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see < http://www.k12os.org>
--
--------------------------------------------------------
Gideon Romm | Proud LTSP Developer
ltsp 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 redhat com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]