Fedora Linux Support Community & Resources Center
  #1  
Old 8th June 2007, 01:30 AM
richi1801 Offline
Registered User
 
Join Date: Jun 2007
Location: Austria
Posts: 2
Problem with mounting CIFS share with autofs on F7

Hi,

when I try to mount a CIFS share using autofs I get the following message in /var/log/messages:

Code:
automount[10105]: open_mount: (mount):cannot open mount module cifs (/usr/lib/autofs/mount_cifs.so: cannot open shared object file: No such file or directory)
My autofs config looks like this:

auto.master
Code:
#
# $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#
/misc   /etc/auto.misc
/net    -hosts

# begin added by me
/network   /etc/auto.network
# end added by me

#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
auto.network
Code:
pwa    -fstype=cifs,credentials=/etc/smb.auth,noperm     ://salxdev1/pwa
junk   -fstype=cifs,credentials=/etc/smb.auth,noperm     ://salxdev1/junk
autofs, samba, samba-client and libsmbclient are installed.

This worked perfectly in FC5 but it seems that it doesn't in F7.

Does someone have the same problem? - or better: a solution?

greets Richi
Reply With Quote
  #2  
Old 8th June 2007, 04:02 AM
jhetrick62 Offline
Registered User
 
Join Date: Feb 2005
Location: Buffalo, Ny
Posts: 875
I don't use auto.fs, I just use a line in the fstab and set it to "auto" so that it mounts on every reboot or every "mount -a" command.

//192.168.0.53/downloads /mnt/kids cifs ro,user=jeff,users,auto,setuid 0 0

I believe that this works on my box.

Jeff
__________________
Registered Linux User #411071

If at first you don't suceed, read the man page again!
Reply With Quote
  #3  
Old 8th June 2007, 11:45 AM
richi1801 Offline
Registered User
 
Join Date: Jun 2007
Location: Austria
Posts: 2
Yes, it works for me.
I thought there would be a long timeout when the share is not available but it seems it isn't.

However, since I have a laptop it would be nice to mount the share on demand so I could plug and unplug the cable as I like and do not have to do a mount -a ...

I am just wondering why it worked in FC5 and does not work in F7.

I have already downloaded the autofs-5 source from the project site and there is no mount_cifs.c and no mount_smbfs.c in the modules/ subdir. So how does this work in FC5?

I think I'm going to install FC5 in a VirtualBox and check if the module is there in /usr/lib/autofs


Richi
Reply With Quote
Reply

Tags
autofs, cifs, mounting, problem, share

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems mounting windows share with cifs! pctech360 Servers & Networking 3 11th February 2009 12:30 PM
Problem mounting a samba share "CIFS VFS: Send error in SETFSUnixInfo = -5" Roderick Servers & Networking 3 9th November 2006 07:16 AM
mounting share with cifs cdlaforc Using Fedora 9 16th June 2006 04:13 PM


Current GMT-time: 14:39 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat