[Samba] Problem mounting with credentials file

Ethy H. Brito ethy.brito at inexo.com.br
Fri Oct 27 17:13:55 GMT 2006


On Fri, 27 Oct 2006 10:55:08 -0600 (MDT)
Jonathan Duncan <jonathan at nacnud.com> wrote:

> I am mounting as the root user because I have not given my user permission 
> to mount this share.
> 
> Following is the results of the troubleshooting steps that you gave me. 
> I did not understand what would be wrong from looking at the strace.

Please run "locate mount.cifs" or, if you dont have it installed,  
"find / -name mount.cifs 2>/dev/null"

It seems that you do not have mount.cifs installed or it is out of your search
PATH. "mount" is looking for it at /sbin. Provide a link, please.

Ethy

> lstat64("/etc/mtab", {st_mode=S_IFREG|0644, st_size=286, ...}) = 0
> stat64("/sbin/mount.cifs", 0xbffa1e70)  = -1 ENOENT (No such file or 
> directory)
> rt_sigprocmask(SIG_BLOCK, ~[TRAP SEGV RTMIN RT_1], NULL, 8) = 0
> mount("//192.168.0.2/share", "/mnt/share", "cifs", 
> MS_POSIXACL|MS_ACTIVE|MS_NOUSER|0xec0000, 0x80638f0) = -1 EINVAL (Invalid 
> argument)
> rt_sigprocmask(SIG_UNBLOCK, ~[TRAP SEGV RTMIN RT_1], NULL, 8) = 0
> write(2, "mount: wrong fs type, bad option"..., 111mount: wrong fs type, 
> bad option, bad superblock on //192.168.0.2/share,
>         missing codepage or other error
> ) = 111


-- 

Ethy H. Brito         /"\
InterNexo Ltda.       \ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
+55 (12) 3797-6860     X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
S.J.Campos - Brasil   / \ 


More information about the samba mailing list