LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Mounting network drive with samba. (https://www.linuxquestions.org/questions/linux-networking-3/mounting-network-drive-with-samba-294013/)

Valhalla 02-23-2005 03:37 PM

Mounting network drive with samba.
 
I'm on a college network and we are all given 500mb of storage space on a server that we can access from our rooms. Officially, the server supports access from windows and the mac os afp:// protocol. I'm trying to mount it with samba. When I attempt to mount it the following error is thrown after like 5 minutes of trying to connect.

Code:

timeout connecting to 172.16.8.91:445
9624: session setup failed: ERRDOS - ERRnoaccess (Access denied.)

I can ping 172.16.8.91 but I can't ping it on any specific port.

I can however browse the network share w/ the smb:// protocol of Konqeuror.

Anyone know whats going on?

p.s. its a NT server.

Matir 02-23-2005 03:39 PM

Try adding port=139 to your options list. Some servers don't listen on 445, adding that can resolve the issue.

Valhalla 02-23-2005 03:48 PM

Thx for quick reply, I tried it, and now it didn't timeout, I just got
Code:

9784: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed

Just in case, I also tried -t cifs and got this error

Code:

mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)


Matir 02-23-2005 03:49 PM

The username and password you are providing: have you tried these from, say, *sigh*, a windows machine? Also, you can invoke "smbmount" to see all options available to you. Such as debug=, etc. Might be worth a try.

Valhalla 02-23-2005 03:54 PM

I have the drive mapped from my windows partition and I log on w/ no trouble at all. I have also mounted it as a volume from the mac os x comps in the labs here. Im's like 99.999999999% sure its not my username/passwd.

Here is the output from -o debug=4

Code:

opts: workgroup=resnet
mount.smbfs started (version 3.0.10)
added interface ip=172.16.52.174 bcast=172.16.55.255 nmask=255.255.248.0
Connecting to 172.16.8.91 at port 139
9843: session request ok
Serverzone is 0
9843: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed



All times are GMT -5. The time now is 05:28 AM.