[Samba] mount error 22 = Invalid argument

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


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 -U backup
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

using "mount -cifs" is not working:
database:~ # mount -t cifs // /mnt/data -o 
mount error 22 = Invalid argument
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

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

database:~ # mount  | grep 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 ?


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