Re: pam + cifs + automount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2008-05-29 at 10:34 -0300, Diego Brito Veiga - b04917 wrote:
> Hi Guys,
> 
> By tests purposes if I configured the automount and include the 
> following lines:
> # /etc/auto.master
> /mnt                file:/etc/auto.cifs               --timeout=300
> # /etc/auto.cifs
> teste       
> -fstype=cifs,rw,user=USER,password=PASSWD,,uid=UID,gid=GID,domain=WINDOMAIN 
> ://WINSERVER/public
> 
> The mountpoint /mnt/teste works ok. It mounts the windows driver with 
> the correct uid/gid permission.
> 
> Couple doubts:
> If I remove the options uid/gid it will mount as root permission. Will I 
> need to specify the uid/gid to mount as normal user?
> 
> I would like to use pam module to authenticate the user instead of using 
> the options user= and password=.
> 
> I am concerned to use the uid/gid in the auto.cifs because it will be 
> limited to only that user to mount the windows driver.
> 
> Looking for the pam_cifs module I don't understand how can I specify the 
> credentials in the auto.cifs to use the pam module.
> 
> Can someone point me a way to mount the windows folder with any user 
> uid/gid permission using automount with pam authentication.

I suggest reading up on pam-mount.

Pat

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux