Wednesday, January 26, 2011

Mounting windows shares with Active Directory permissions

I've managed to get my Ubuntu (server 10.04 beta 2) box to accept logins from users with Active Directory credentials, now I'd like those users to access their permissible windows shares on a W2003 R2 server.

The Windows share ("\srv\Users\") has subdirectories named according to the domain account users and permissions are set accordingly. I would like to preserve these permissions, but don't know how to go about it.

  • Would I mount as an AD administrator or have each user mount with there own AD credentials?
  • How do determine between using mount.smbfs or mount.cifs?
  • One option would be to setu pam_mount. It allows you to mount shares when a user logs into the system. With pam_mount the folder will be mounted with the users credentials. They credentials do not need to be saved anywhere, they will automatically be passed through by pam from what they used to login.

    Jamie : This looks really promising ... thanks.
    Jamie : I'm holding out on checking the answer, only because I've not quite got it working yet.
    Jamie : From another question; on the same Ubuntu system `sudo apt-get install libpam-mount`
    From Zoredache

0 comments:

Post a Comment