mount via cifs fails

mount via cifs fails

am 12.09.2006 22:37:24 von Karthik Vishwanath

Hello,

I seem to be unable to mount a shared windows partition across samba
within FC5.

# mount -t cifs ///NimmiLabBackup/ /mnt/labbackup/ -o
user=karthikv
Password:
retrying with upper case share name
mount error 6 = No such device or address
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

Using the same mount command with the --verbose option changes
NimmiLabBackup -> NIMMILABBACKUP and fails with the same error.

I am able to log into the windows machine via smbclient, but an ls within
the smbclient gives:
smb: \> ls
NT_STATUS_ACCESS_DENIED listing \*

Searching on google gives many users complaining about the same thing, but
no clear solution. This behavior occurs on a 2.6.15-1.2054_FC5smp kernel
running fedora core 5 on an intel dual-core CPU. The same samba mount from
a neighbor's machine running Ubuntu with kernel 2.6.15 works fine.

How can I try fixing this?


Thanks,

-K


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

cannot access windows share via smbclient

am 19.09.2006 21:44:21 von Karthik Vishwanath

Hello,

I recently upgraded to Ubuntu 6.06 LTS, installed smbfs and smbclient
(3.0.22-1ubuntu3.1) and run the 2.6.15-26 kernel. I am unable to access a
windows share that acts as the central data-backup machine for our lab
here.

I attempt to access the windows share from the linux box via:
$ smbclient -Ukarthikv -I192.168.0.100 //192.168.0.100/NimmiLabBackup
Password:
Domain=[NR-BACKUP] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

I am able to login with my password and get the smb:\> prompt. However,
there, most commands fail:

smb: \> ls
NT_STATUS_ACCESS_DENIED listing \*
59189 blocks of size 8388608. 51869 blocks available

smb: \> pwd
Current directory is \\152.3.194.117\NimmiLabBackup\
smb: \> cd Shared
smb: \Shared\> pwd
Current directory is \\152.3.194.117\NimmiLabBackup\Shared\
smb: \Shared\> cd Shared
cd \Shared\Shared\: NT_STATUS_OBJECT_NAME_NOT_FOUND

Which seems logical since there is a folder called Shared (within the
shared folder NimmiLabBackup on the windows machine).

smb: \Shared\> listconnect
0: server=152.3.194.117, share=NimmiLabBackup
smb: \Shared\> showconnect
//152.3.194.117/NimmiLabBackup

smbclient seems to fail with the following error if I provide the
incorrect password.

$ smbclient -Ukarthikv -I192.168.0.100 //192.168.0.100/NimmiLabBackup
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

This seems to tell me that I am able to log into the windows share, but
do not have permissions there to view files? Is this a problem with my
local linux box, or the windows server? All responses are highly
appreciated.


Thanks,

-K


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs