[linux-cifs-client] FW: UNC in linux bassackwards?

Steven French sfrench at us.ibm.com
Wed Oct 6 14:11:04 GMT 2004


It does not matter much which direction the slashes go since they will end 
up the right direction (\\ and \) on the wire by the time cifs.o finishes.

For 2.4  kernels version 1.20c of the code is most recent and is important 
to use (most recent mount.cifs is version 1.4)

Two things to check since 2.4 kernel does not allow passing back the 
actual return code as 2.6 does -
1) can you ping the ip address
2) can you get to port 139 or 445 on that server e.g. try "smbclient -L 
//10.5.1.76"

Based on your log sounds like no app on the server is listening on port 
139 or 445 on that ip address (perhaps a firewall is in the way)




Steve French
Senior Software Engineer
Linux Technology Center - IBM Austin
phone: 512-838-2294
email: sfrench at-sign us dot ibm dot com



"Tory M Blue" <tmblue at pacbell.net> 
Sent by: linux-cifs-client-bounces+sfrench=us.ibm.com at lists.samba.org
10/06/2004 02:21 AM

To
<linux-cifs-client at lists.samba.org>
cc

Subject
[linux-cifs-client] FW: UNC in linux bassackwards?






Hello all..

[localhost cifs]# mount -v -t cifs  //10.5.1.76/temp /tmp/tory -o 
user=user

Password:  parsing options: rw,user=user

mount.cifs kernel mount options
unc=//10.5.1.76\temp,ip=10.5.1.76,pass=pass,ver=1,rw,user=user 

mount error 22 = Invalid argument
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

What is with mount.cifs making the unc path //x.x.x.x\temp  <<--- should 
be
/ no?

Kernel Redhat 2.4.21-20
CIFS version both 1.02b and 1.20b (whatever the latest). Same error

Mount.cifs from samba 3.0 (since the CVS  CIFS client links are busted).

Any help with this?

I don't see anything special in my messages file:

Oct  5 23:06:35 default kernel:  CIFS VFS: Error -32 sending data on 
socket
to server.
Oct  5 23:06:35 default kernel:  CIFS VFS: cifs_mount failed w/return code 
=
-5

Thanks this has been driving me nuts all weekend :)

Tory

_______________________________________________
linux-cifs-client mailing list
linux-cifs-client at lists.samba.org
http://lists.samba.org/mailman/listinfo/linux-cifs-client

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the linux-cifs-client mailing list