On Fri, 27 Oct 2006, Ethy H. Brito wrote:
On Fri, 27 Oct 2006 10:55:08 -0600 (MDT)
Jonathan Duncan <[EMAIL PROTECTED]> 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
locate and find both turned up nothing.
Apparently I do not have mount.cifs on my filesystem. That does not make
sense to me. CIFS works when I specify a username and password directly
but not when I use the credentials option. It would seem that CIFS is
installed.
Regards,
Jonathan
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba