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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hosts allow problem? 1

Status
Not open for further replies.

fowlerlfc

MIS
Mar 20, 2002
136
US
I've just configured a samba 2.5 on a box running redhat 7.1. The box's name is linuxweb.

My problem is this when I click on linuxweb (or access it from run on the start menu) I get a enter network password dialog box. When I enter the username of amiller (which is listed as a valid user) I get the following message:

\\linuxweb is not accessible
the account is not authorized to login from this station.

My hosts allow = 127.0.0.1 10.186.32.44 10.186.32.

I am attempting to access linuxweb from an NT4 box addressed as 10.186.32.44.

Does anyone know what the problem is?

 
I am unsure of wjhat is causing the issue. But try this:
hosts allow = 10.186.32 10.186.44 127.

also can you post your entire smb.conf file? James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
I changed encrypt passwords = no to yes and now I can browse my shares. However, I can not write to httpdir (from an nT box) when logged in as amiller. Any ideas? BTW feel free to critique my smb.conf file. Can anything be done better.

Thanks in advance for all your help!

[global]

workgroup = denison.com
netbios name = linuxweb
server string = Samba Server
hosts allow = 10.186.32.44 10.186.32. 127.
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
name resolve order = wins lmhosts bcast
wins server = 10.186.32.6
dns proxy = no


[homes]
comment = Home Directories
browseable = no
writable = yes

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes

[httpdir]
comment = webroot
path = /usr/local/apache_1.3.20/htdocs
valid users = root amiller neato
browseable = yes
guest ok = yes
public = no
writable = yes
printable = no
printable = no
 
I think it looks fine. Try adding to the httpdir
create mask = 0777

see if that helps. If not just remove it. James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
Glad to be of help. [shocked] James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top