Bug 187495
Summary: | autofs won't mount samba shares | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | adriano <adrigiga> | ||||
Component: | autofs | Assignee: | Jeff Moyer <jmoyer> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Brock Organ <borgan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5 | CC: | ikent, rbiba | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-04-03 08:53:02 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
adriano
2006-03-31 12:30:45 UTC
Please provide all of the information requested in the "Filing bug reports" section of the following web page: http://people.redhat.com/jmoyer/ Thank you. Created attachment 127142 [details]
daemon debug log of autofs
auto.master content
/mnt/samba /etc/auto.samba --timeout=60 --debug --verbose
OK, it appears that the auto.smb script is outputing an erroneous entry. It should escape the // with a :, but it doesn't. From your debug trace: lookup(file): sep5 -> -fstype=smbfs,uid=500,gid=500,dmask=0750,fmask=0750,username=jamesbond,password=mypassword //10.170.102.254/d\$ the "//10.170.102.254/d\$" should read "://10.170.102.254/d\$" Are you using the stock script that ships with autofs version 4.1.4-16.2.2? I have tried with the version from CVS, and it works fine. Could you please attach your auto.smb script? Thanks. Please note that smbfs has been removed from FC5, e.g. samba changelog reads: * Mon Feb 13 2006 Jay Fenlason <fenlason> 3.0.21b-2 - New upstream version. - Since the rawhide kernel has dropped support for smbfs, remove smbmount and smbumount. Users should use mount.cifs instead. If your autofs config file contains something like: stuff -fstype=smbfs,username=asd,password=fgh ://server/stuff then autofs will not work. Use something like this instead: stuff -fstype=cifs,username=asd,password=fgh ://server/stuff I have changed -fstype=smbfs with -fstype=cifs but nothing changed.. Follows auto.samba map file line of my share, sep5 -fstype=cifs,uid=500,gid=500,dmask=0750,fmask=0750,username=jamesbond,password=mypassword ://10.170.102.254/d\$ OK, there was an error in my auto.samba map file. Now it works, the original problem was the option -fstype=smbfs. Thanks for all. |