pam + cifs + automount

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

 



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.

cheers,

--
Diego Brito Veiga
Freescale Semiconductors
EDA/CAD Support Group - Brazil
Phone: +55 19 3783-8546
Fax:   +55 19 3783-8601

The information contained in this communication has been classified as:
[x] Freescale Semiconductor - Public Information
[ ] Freescale Semiconductor - Internal Information
[ ] Freescale Semiconductor - Confidential Information

--
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