Hi all,
I have a Server 2003 box with AD and a Ubuntu Dapper box set up to authenticate users from the server. I have set up pam_mount as well to mount the home directories which is giving me the problem. The permissions on the share is "Province = Read", and "Administrators = Full Control". The share folder is the "Users" folder with sub directories like so: "Users/City/user001" "User/City/user002" etc. Each user has Full Control on their respective home folder, but are not members of the Administrators Group.
To mount the sub directory I first have to mount the share then remount the sub dir with the bind command. Here is the relevant piece from pam_mount.conf:
Code:
volume * cifs server share /home/DOMAIN/&/F uid=&,dir_mode=0750 - -
volume * local - ~/F/CITY/& ~/F uid=&,bind - -
When the user logs in his home dir is mounted properly and even checking the permissions says that he has rwx on anything in the home dir, but when he tries to create any new files he gets an error saying permission denied. Obviously the original share permissions are the ones being used and I don't have the authority to change those.
Is there any way around this problem other than asking someone high up to share every users home dir so they can mount directly to it.