[K12OSN] Home Folder Mount

john lists.john at gmail.com
Fri Aug 17 19:36:04 UTC 2007


Hi Mel,

I was never able to use cifs with pam_mount I always had to use
smb_fs. You might try that.

hth,

John

On 8/17/07, Mel Wade <mel at melwade.com> wrote:
> I'm attempting to mount home folders from AD and they don't seem to work.  I
> have the following line in the pam_mount.conf file:
>
> volume * cifs studenta.ucastudent.net Home /home/&/Desktop/SaveHere uid=& -
> -
>
> But nothing mounts and I don't seen any appreciable errors in the messages
> file.
>
> Any help would be appreciated.
>
> Here are the lines that are not commented in the pam_mount.conf file:
>
> debug 1
> mkmountpoint 1
> options_allow    nosuid,nodev,loop,encryption,fsck
> lsof /usr/sbin/lsof %(MNTPT)
> fsck /sbin/fsck -p %(FSCKTARGET)
> losetup /sbin/losetup -p0 "%(before=\"-e\" CIPHER)" "%(before=\"-k\"
> KEYBITS)" %(FSCKLOOP) %(VOLUME)
> unlosetup /sbin/losetup -d %(FSCKLOOP)
> cifsmount /bin/mount -t cifs //%(SERVER)/%(VOLUME) %(MNTPT) -o
> "username=%(USER),uid=%(USERUID),gid=%(USERGID)%(before=\",\"
> OPTIONS)"
> smbmount /usr/bin/smbmount   //%(SERVER)/%(VOLUME) %(MNTPT) -o
> "username=%(USER),uid=%(USERUID),gid=%(USERGID)%(before=\",\"
> OPTIONS)"
> ncpmount /usr/bin/ncpmount   %(SERVER)/%(USER) %(MNTPT) -o
> "pass-fd=0,volume=%(VOLUME)%(before=\",\" OPTIONS)"
> smbumount /usr/bin/smbumount %(MNTPT)
> ncpumount /usr/bin/ncpumount %(MNTPT)
> fusemount  /sbin/mount.fuse    %(VOLUME) %(MNTPT) "%(before=\"-o\" OPTIONS)"
> fuseumount /usr/bin/fusermount -u %(MNTPT)
> umount /bin/umount %(MNTPT)
> lclmount /bin/mount -p0 -t %(FSTYPE) %(VOLUME) %(MNTPT) "%(before=\"-o\"
> OPTIONS)"
> cryptmount /bin/mount -t crypt "%(before=\"-o\" OPTIONS)" %(VOLUME) %(MNTPT)
> nfsmount /bin/mount %(SERVER):%(VOLUME) %(MNTPT) "%(before=\"-o\" OPTIONS)"
> mntagain /bin/mount --bind %(PREVMNTPT) %(MNTPT)
> mntcheck /bin/mount # For BSDs (don't have /etc/mtab)
> pmvarrun /usr/sbin/pmvarrun -u %(USER) -o %(OPERATION)
> volume * cifs studenta.ucastudent.net Home /home/&/Desktop uid=& - -
>
> --
> Mel Wade
> "The real problem is not whether machines think but whether men do." - BF
> Skinner
> http://www.melwade.com
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>




More information about the K12OSN mailing list