auto.smb mounting

Scott van Looy scott at ethosuk.org.uk
Wed Nov 8 16:05:32 UTC 2006


Today A Yagi did spake thusly:

> Jamie Bohr wrote:
>> I am looking for document ion on how to use auto.smb.  I turned it on 
>> through the auto mounter and was able to see remote shares, just not access 
>> them.   I can do "ls /smb/nas" and get a list of shares.  However I can not 
>> access those shares.  I have read the man page for mount.cifs.  It says to 
>> set environment variable called USER and PASSWD.  I have set both.  I am 
>> able to mount via mount -t cifs ...   Is there something I am missing?  I 
>> have googled this and am having a hard time finding information on it.  The 
>> idea is mount the CIFS share as the user who tried to access it.  It would 
>> nice if it works more like NFS in that UIDs would get mapped correctly. 
>> Maybe after I get this working I will change auto.smb to mount shares to 
>> /smb/<hostname>/<user name> for many people can mount the same share but 
>> with their credentials.
>> 
>> -- 
>> Jamie Bohr
>> 
>
> Suppose you are trying to mount //winbox/sharename, add this line (note it is 
> one line) to the autofs map file.
>
> winbox  -fstype=cifs,rw,noperm,user=zzzzz,pass=xxxxxx,workgroup=yyyy 
> ://winbox/sharename
>
> This setup has been working for a long time.  However, one of our Fedora Core 
> machines started having a system crash problem as soon as the kernel was 
> updated to 2.6.18.  Thinking it was a kernel-related issue, I submitted a bug 
> to RedHat but Dave Jones stated it was a bug in nvidia.  I then reported to 
> nvidia forum but this went unanswered.  Finally, I sent a bug report to the 
> samba/cifs bugzilla because the system does not crash as far as I do not do 
> any cifs mount.  Steve French pickup up my bug report and is looking at it 
> now.

I believe there's an issue with the latest batch of kernels and handling 
mounting of directories with lots of files in using cifs. they mount ok, 
but as soon as you try and access anything in them you get "Invalid 
argument"

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=212827

Not sure if that's anything to do with it, but it could be...

-- 
Scott van Looy - email:me at ethosuk.org.uk | web:www.ethosuk.org.uk
site:www.freakcity.net - the in place for outcasts since 2003
PGP Fingerprint: 7180 5543 C6C4 747B 7E74  802C 7CF9 E526 44D9 D4A7
       -------------------------------------------
       |/// /// /// /// WIDE LOAD /// /// /// ///|
       -------------------------------------------

Lee's Law:
 	Mother said there would be days like this,
 	but she never said that there'd be so many!




More information about the fedora-list mailing list