Originally Posted by guimenez
- I installed Likewise Open 6 (from their website, not from the repositories, as there is a comment about an glitch in the version in the repositories.
- I did 1, 2, and 3 above.
- I added a folder called WindowsFolder to /etc/skel, so that it would be placed in each new users home folder.
- I added the following to my /etc/security/pam_mount.conf.xml
- -I added it just above the closing line: </pam_mount>
I ended up getting the WindowsFolder showing up for each user from /etc/skel but nothing mounted in it and no disk drive.
<volume user="*" fstype="smbfs" server="IPAddress" path="staff-files/%(DOMAIN_USER)" mountpoint="/home/local/DOMAINNAME/%DOMAIN_USER/WindowsFolder" options="iocharset=utf8,file_mode=0700,dir_mode=07 00" />
I changed my code in each of the other pam_mount files, per post #2 in this thread and then I changed my code in the /etc/security/pam_mount.conf.xml file to the following:
It did then mount a drive in the folder and on my desktop. However, it won't let me open it. It tells me I don't have permission. It also won't let me unmount the drive, saying I don't have access to fstab. I wonder if I need to do something related to group permissions or if I need to change something in the sudoers file.
<volume user="*" fstype="cifs" server="IPAddress" path="staff-files/%(USER)" mountpoint="/home/local/DOMAINNAME/%(USER)/WindowsFolder" options="iocharset=utf8,file_mode=0700,dir_mode=07 00" />
I think I am so close. Any ideas?