pam + cifs + automount



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



Relevant Pages

  • Re: pam + cifs + automount
    ... By tests purposes if I configured the automount and include the ... If I remove the options uid/gid it will mount as root permission. ... limited to only that user to mount the windows driver. ...
    (RedHat)
  • Re: NFS client , automount and protection problem
    ... Since you're having problems with non-root automount, ... This creates the "disk2" alias in the root. ... WORKS PERFECTLY (aka lists the files on the remote server). ... bother asking the remote server to mount it. ...
    (comp.sys.mac.system)
  • Re: Managing /service for SMP/E
    ... the same name in the mount point and the dsname. ... The problem with Automount comes when AJVSCRPT is run and it expects ... the J1.4 directory that is in the root of the Java HFS to be located ... For IBM-MAIN subscribe / signoff / archive access instructions, ...
    (bit.listserv.ibm-main)
  • Re: Duplicate/False Mount Points
    ... DMA3 isn't really mounted it was a disk I out as automount for my old ... If you type the "mount" command alone, you get the true list of what the ... map auto_home on /home (autofs, ...
    (comp.sys.mac.system)
  • Re: USB flash drive not automounting or mounting
    ... Data CDs will automount, but sometimes take so long to do so that I ... the CD WILL NOT unmount. ... I su to root and try again. ... with commandline mount and umount commands. ...
    (Debian-User)