Sorry for not responding sooner but I've been racking my "search finger" trying to come up with a way to do what this feller wants done but 1.) I'm ether looking in the wrong place or 2.) it can't be done. Here is what I've done so far:
I got everything working the way that I thought the dude wanted it to work. The first thing the netadmin had to do was to actually SHARE the user folder on the server. As I stated, right now the folders aren't shared but are mapped to the user when they log on, by an Active Directory thingy.
In fstab I put the following:
,gid=users 0 0
Created the /home/user
Created a /etc/profile.d/local.sh script.
Case `whoami` in
sudo mount /home/user
sudo mount /home/anotheruser
echo "unkown user" >&2
Edited the sudousers file to include
, /bin/umount /home/user
My assumption is that I would have to edit the sudousers file to include EVERY user that logs on to that PC and to include them in the local.sh file above.
Now when the user logs on his/her folder on the network is mounted automagically, they have a folder on their desktop and have read/write access to that folder. I got Evolution to access my mail folder on their Exchange server so that the user could use Evolution just like they use Outlook. (I didn't have any meetings to go to so I wasn't able to check out that fuction of Evolution just yet).
I showed netadmin what I had done with the help of a few friends (thanks to everyone who has helped me with this!) and he was impressed. Then he asked about how this could be replicated througout the office. I said that each PC would have to be set up, individually. He said, "Well, that's great BUT... it's too much like the old Windows 95 stuff."
What he wants is to be able to have the same thing happen on a Linux box that happens on the Windows clients when they log in, without having to go to "each PC and do this manually and without having to share their folders, can you do that?" I had to reply, honestly, that I didn't know.
Is there a way to set samba/linux client to use a logon script from an AD server the same way that a Windows client does when logging onto the network?
I know you can do it the other way around, have a Windows client run a logon script on a samba/linux server but haven't found a way to go from linux to Active Directory.