Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba connection problem

Status
Not open for further replies.

skw8966

Programmer
Apr 12, 2001
59
US
I've been through the samba troubleshooting section and this forum but cannot find an answer to my problem.

I have Samba 2.2.7a installed on my Red Hat 9.0 machine. I need to connect to it through my Win98 machine. It seems to be installed fine.

smbd and nmbd are running properly.

When I go to my Network Neighborhood on the Win machine it shows the Linux box but I cannot access it.

The error I receive is "\\Abigail is not accessible. The specified computer did not receive your request. Try again later."

I can ping the linux from win and win from linux.

Below are some commands I have run and their results.

[root@Abigail samba]# smbclient –L localhost –U%
added interface ip=172.25.205.110 bcast=172.25.205.255 nmask=255.255.255.0
Domain=[EXCHANGE] OS=[Unix] Server=[Samba 2.2.7a]

Sharename Type Comment
temp Disk
IPC$ IPC IPC Service (Samba 2.2.7a)
ADMIN$ Disk IPC Service (Samba 2.2.7a)

Server Comment
ABIGAIL Samba 2.2.7a
MCPHERSONS1 Samba 2.0.6

Workgroup Master
EXCHANGE MCPHERSONS1
MCPHERSONS RISO1
WORKGROUP MCPHERSONSNT

[root@Abigail samba]# Smbclient ‘\\abigail\temp’
added interface ip=172.25.205.110 bcast=172.25.205.255 nmask=255.255.255.0
session request to ABIGAIL failed (Not listening for calling name)
session request to *SMBSERVER failed (Not listening for calling name)


Here's the smb.conf file.
[global]

workgroup = exchange
netbios name = abigail
security = user
encrypt passwords = yes
username map = /etc/user.map
null passwords = yes
OS level = 20
log file = %S.log
log level = 3
logon drive = q://
unix password sync = yes
domain logons = yes
pam password change = yes
preferred master = yes
domain master = yes
local master = yes
hosts allow = 127.0.0.1/255.255.255.0

[temp]
path = /tmp
writeable = yes
admin users = root, skwilliamson
only user = no
valid users = skwilliamson, scliming, bnniese, bleckstein, sdhornberger, maweber
user = skwilliamson, scliming, bnniese, bleckstein, sdhornberger, maweber
public = no
directory mode = 700


#This is the end of smb.conf

All users listed are also setup on our Novell Netware and Linux.

Does anyone know why I'm getting this error?

Thanks.

 
You need to change your hosts allow value to include your local network. Right now, it only allows the localhost (the server) to connect

Good Luck
 
I'm using my IP address and it's working the gateway address doesn't.

I only need a couple Win machines to access it.

Can I add additional IP addresses to the Hosts Allow?

How do I need to separate them?

Thanks,
 
You can add the individual addresses, or you can add a range

hosts allow = 127.0.0.1 192.168.1. 192.168.2.

the addresses are just seperated by a space

Good luck
 
Hi guys,

I just had the same problem but I am using security = domain, any idea?

Thanks in advance, sincerely.

Daniel Buentello
"Here comes the hawk!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top