[cifs-protocol] Need mount.cifs module
theohmster at comcast.net
Sun Oct 22 17:34:42 GMT 2006
I need an acceptable mount.cifs module for Fedora Core 5 that will actually work. Here is the current kernel version:
[ohmster at ohmster ~]$ uname -r
[ohmster at ohmster ~]$
Chuck was kind enough to point this out but I don't know where to get this module. I am not the greatest at building modules and
would need some very good instructions for it. This page shows how to make smbfs modules but it does not look like something for the
faint at heart:
Can someone help me get the correct module please? Also a little bit of clarity for Chuck's instructions if someone has the time to
explain what needs to be done. This is not "homework", I have a working Fedora server that I use for my family website for years
with 3 FQDNs and need access back and forth to the Windows machines. Your response will be used and very much appreciated.
----- Original Message -----
From: "Chuck McIntyre" <chuck.mcintyre at gmail.com>
To: "Ohmster" <theohmster at comcast.net>
Sent: Sunday, October 22, 2006 2:16 AM
Subject: Re: [cifs-protocol] mount.cifs - Can someone give me a working example please?
> We use mount.cifs with autofs. We had to use the latest mount.cifs
> module though, the one supplied in our RPM distribution wasn't current
> Here's the autofs config (you should be able to map this to a
> mount.cifs commandline:
> Here's the auto.master line:
> /my/autofs/ /etc/auto.myfile --ghost --timeout=900
> Here's the auto.myfile line:
> site -fstype=cifs,credentials=/etc/smbpasswd.cifs,directio,uid=myuid,gid=mygid,rw,dir_mode=0755,file_mode=0644,iocharset=utf8
> Here's the format of /etc/smbpasswd.cifs
> On 10/21/06, Ohmster <theohmster at comcast.net> wrote:
>> I want to mount some of my XP shares on my Fedora Core 5 box on my home LAN and used to be able to do this with "mount -t
>> and now that does not work anymore. I see that cifs is used instead but I am having a very hard time getting that to work. My old
>> syntax does not work anymore and I am not sure of the currently required syntax on how to do this. Previously, this worked:
>> mount -t smbfs //missy/MY_vids_01 /mnt/MY_vid_01 -o
>> (missy is in my /etc/hosts file as 192.168.0.3)
>> This does not work anymore, nor does it work by substituting cifs for smbfs.
>> Not even mount.cifs works, I get error after error, no matter what I try.
>> thought that for sure this would work but it does not...
>> [root at ohmster mnt]# mount.cifs -t cifs //192.168.0.3/MY_vids_01 /mnt/MY_vid_01 -o username=user,password=pass,rw
>> Mounting the DFS root for domain not implemented yet
>> No ip address specified and hostname not found
>> [root at ohmster mnt]#
>> I tried again with a credential file:
>> [root at ohmster mnt]# mount -t cifs //missy/MY_Vids_01 /mnt/MY_vid_01/ -o rw,credentials=/home/ohmster/scripts/cifsauth
>> mount error 12 = Cannot allocate memory
>> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
>> [root at ohmster mnt]#
>> I don't quite understand this memory thing. I googled for it and came up with this from some kind of Xen page:
>> Error: Error creating domain: (12, ' Cannot allocate memory')
>> * Versions: 2.0
>> * Occurs when: trying to start domain
>> * Probable cause
>> o allocated memory for "dom0 + running domUs + domU that you are trying to start" exceeds physical memory
>> * Solution
>> o Reduce the amount of memory required for the new domU, or balloon down the memory of the running domUs
>> What does that mean? I am not trying to run any kind of a domain server, I only want to mount a Windows share with a workgroup
>> user name, and user password.
>> Does mount -t cifs or mount.cifs actually work at all and could someone please give me an example that would work for my setup?
>> XP Machine=192.168.0.3
>> FC5 Machine=192.168.0.1
>> I am pulling my hair out with this, can somebody please supply a working example? Thanks.
>> theohmster at comcast dot net
>> Put "messageforohmster" in message body
>> to pass my spam filter.
>> cifs-protocol mailing list
>> cifs-protocol at cifs.org
More information about the cifs-protocol