no hostnames in host allow/deny list error with samba
Hi guys. I'm trying to set up samba as a pdc. I've attempted to follow the instructions within the ibm samba tutorial and I think I did so just fine (I can't post the url because I don't have 5 posts yet). Here's my smb.conf file:
[global]
workgroup = UBERBEAST
netbios name = UBERBEAST
server string = Samba PDC running %v
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
os level = 64
preferred master = yes
local master = yes
domain master = yes
security = user
encrypt passwords = yes
domain logons = yes
log file = /var/log/samba/log.%m
log level = 3
max log size = 500
hosts allow = 127.0.0.1 192.168.0.1/255.255.255.0
logon home = \\%L\%U\.profile
logon drive = Q:
logon path = \\%L\profiles\%U
logon script = netlogon.bat
add user script = /usr/sbin/useradd -d /dev/null -g 201 -s /bin/false -M %u
; sync Linux passwords
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd: *all*
authentication*tokens*updated*successfully*
#===Shares===
[homes]
comment = Home Directories
browseable = no
writeable = yes
[profiles]
path = /home/samba/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700
[netlogon]
path = /home/netlogon
read only = yes
write list = @everyone
I've added the users using smbpasswd. I've restarted the service. Whenever I try to connect an xp machine (not home addition), however, I continually get a message stating that the network path was not found. I set the log level to 3 then checked the log file and I continually see (among other things)
lib/access.c : check_access(318)
check_access: no hostnames in host allow/deny list
I thought it might have something to do with the /etc/hosts.allow file (although this was not mentioned in the tutorial in the above link). However, there's nothing in that file and ftp and sshd work, so samba should work as well. And considering that I have the hosts allow directive set in smb.conf, I'm confused. Now, technically, it says "no hostnames" and I have ip addresses. However, at this point I'm just a little lost. Does anybody have a clue as to what I'm doing wrong? Thanks in advance for any help you can give.
|