[Samba] mount error 22 = Invalid argument

Stefan Onken Support at stonki.de
Sun Mar 13 18:58:04 GMT 2005


Hello,

maybe its not a 100% Samba related question, but I guess this is the 
best place to ask. We are running a couple of WIndows 2003 Server 
at several locations. With a Linux client box running kernel 2.6.x 
everything works fine, with some older boxes running SuSE 9.0 
(Kernel 2.4.21) it doesnt work:

SMBCLIENT is working:

database:~ # smbclient -L 192.168.90.5 -U backup
Password:
Domain=[ba-usa] OS=[Windows Server 2003 3790] Server=[Windows Server 
2003 5.2]

        Sharename       Type      Comment
        ---------       ----      -------
        faxclient       Disk      Microsoft Shared Fax Clients
        tsweb           Disk
        E$              Disk      Default share
        clients         Disk      Windows Small Business Server
 [...]

[2]
using "mount -cifs" is not working:
database:~ # mount -t cifs //192.168.90.5/Data /mnt/data -o 
user=backup,pass=XX,dom=BA-USA
mount error 22 = Invalid argument
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

[3]
using "mount -t smbfs" creates a funny problem:
database:~ # mount -t smbfs -o 
lfs,fmask=0666,dmask=0777,username=backup,password=X //192.168.90.5/Data /mnt/data

database:~ # mount  | grep data
//192.168.90.5/Data on /mnt/data type smbfs (0)

database:~ # ls -als /mnt/data
/bin/ls: /mnt/data: Permission denied

Somehow I cant access it.


I am using Samba 3.0.11 on all machines, I disabled "SERVER DIGITIAL 
SIGN (always) on the WIndows 2003 Server)


On a Linux Box running 2.6.10 it works fine, so maybe a Kernel 
issue ?

cu
stonki




-- 
www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE


More information about the samba mailing list