Click to See Complete Forum and Search --> : Samba on Redhat 8 and NT4 Server/Domain


frenchrh
11-28-2002, 07:21 PM
Hi all,
I have redhat 8 installed on two computers in a winnt domain called. this has wins servers, name servers and NT4.0 servers in the domain.
I have a printer on a rh8 machine (vuvh1), and samba running on it, but I can't connect to the printer using smbclient command. Here is what I get there. the printer server refuses my connection. I have the same user name and password defined on all machines
[frenchrh@vuv20 frenchrh]$ smbclient //vuvh1/vuvh1-hpdj970c -U frenchrh
added interface ip=138.196.220.202 bcast=138.196.220.207 nmask=255.255.255.248
added interface ip=138.196.138.102 bcast=138.196.138.255 nmask=255.255.255.0
Got a positive name query response from 138.196.13.10 ( 138.196.220.201 )
error connecting to 138.196.220.201:139 (Connection refused)
Error connecting to 138.196.220.201 (Connection refused)
Connection to vuvh1 failed

I also have a file share on a NT4 server called vuv28, and when trying to connect to this computer I get a particular error. here is what I get.
[frenchrh@vuv20 frenchrh]$ smbclient //vuv28/mdrive -U frenchrh
added interface ip=138.196.220.202 bcast=138.196.220.207 nmask=255.255.255.248
added interface ip=138.196.138.102 bcast=138.196.138.255 nmask=255.255.255.0
Got a positive name query response from 138.196.13.10 ( 138.196.138.135 )
Password:
Domain=[VUV] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

I file attach what is in my smb.conf file on my client machine, vuv20. its the one that is trying to connect to the print server rh8 box and the nt4 file server.

frenchrh
11-29-2002, 02:01 PM
here is the smb.conf file for the rh8 box with the printer directly attached, vuvh1, its the machine that I can't smbclient connect to from my vuv20 machine.
vuvh1 refuses the connection, even though I have the same usernames and passwords on each machine.