LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba connect errors: ioctl failed, res=-1 and NT_STATUS_ACCESS_DENIED (https://www.linuxquestions.org/questions/linux-networking-3/samba-connect-errors-ioctl-failed-res%3D-1-and-nt_status_access_denied-125853/)

nselby 12-14-2003 05:50 PM

Samba connect errors: ioctl failed, res=-1 and NT_STATUS_ACCESS_DENIED
 
Hi, all
I've got SAMBA running on my Suse 8.2 box and am trying to connect across the network to a W2K machine; the W2K machine can see the Linux machine and transfer files to it, I want to mount a shared drive from the W2K machine on the Linux machine.

I have set up Samba using SWAT, set up users and run testparm, which seemed happy. Still when I run the following:

linux:~ # mount -t smbfs //W2K/SHARE /media/windows -o username=administrator,password=1

*OR* when I add the following to /etc/fstab

/W2K/SHARE /home/nick/winshare smbfs username=administrator,password=1

I get:

INFO: Debug class all level = 1 (pid 22809 from pid 22809)
mount.smbfs[22810]: ioctl failed, res=-1

Now, the thing sees the W2K box: I know this because I ran:

linux:~ # smbclient -NL w2k

And got:

added interface ip=192.168.123.115 bcast=192.168.123.255 nmask=255.255.255.0
Got a positive name query response from 192.168.123.150 ( 192.168.123.150 )
Anonymous login successful
Domain=[MUNICH] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
Error returning browse list: NT_STATUS_ACCESS_DENIED

Server Comment
--------- -------
LINUX Samba 2.2.7a-SuSE
W2K

Workgroup Master
--------- -------
MUNICH W2K

Can anyone help?

Thanks in advance,
Nick


All times are GMT -5. The time now is 06:46 AM.