I am working with a host that is running RH enterprise 4 (a 2.4 kernel) and a desktop running Fedora Core 5 (a 2.6 kernel). I can not get my CIFS fstab file entry to mount, yet my matching RH ent 4 laptop mounts it just fine. The error is: mount error 1 = Operation not permitted Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) parsing options: rw,noexec,nosuid,nodev,noauto,users,username=dnh,password=dnh,uid=612,gid=612,port=5139,ip=mars ip address mars override specified ip address specified explicitly The fstab entry is: //earth/jobs /earth/jobs cifs noauto,users,username=dnh,password=dnh,uid=dnh,gid=dnh,port=2139,ip=earth 0 0 The invoking command is: mount -v /earth/jobs there is an ssh tunnel in place taking port localhost:2139 to the real host earth139 and the /etc/hosts file has earth as a synonym for localhost. do you see which operation is not permitted? or what might be going on? perhaps there is another option that is required? thanks, Don Huff.
No, but now... If I replace the re-directed host name on the fstab entry with an IP address //earth/jobs /earth/jobs cifs noauto,users,username=dnh,host=earth,port=1139 ...username=dnh,host=127.0.0.1,port=1139 mount /earth/jobs works for the first of my several tunnels, but continues to fail on the subsequent mounts, which all went to 127.0.0.1, but different ports. I feel that my first issue must be related to cifs host name resolution and my FC5/cifs combo must deal with that differently than RHEL3/samba did. The nsswitch.conf allows all info to be found in files. Must I be running nmbd, and do I need to do something to tell it how to find a tunnel to the other network? thanks again, Don. --- James Zuelow wrote:> samba-bounces+james_zuelow=ci.juneau.ak.us@lists.samba.org wrote: > >> I am working with a host that is running RH enterprise 4 (a >> 2.4 kernel) and >> a desktop running Fedora Core 5 (a 2.6 kernel). >> >> I can not get my CIFS fstab file entry to mount, yet my >> matching RH ent 4 >> laptop mounts it just fine. >> >> > > Check the file permissions on mount.cifs and make sure it is executable > by the user doing the mount. > > (I'm guessing because you have noatuo and users in your fstab options) > > > James Zuelow....................CBJ MIS (907)586-0236 > Network Specialist...Registered Linux User No. 186591 > >