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

samba configuration

Status
Not open for further replies.

bobby1978

IS-IT--Management
Jun 28, 2003
39
0
0
IN
sir , i have installed redhat 7.2 linux server with sanba server . after the i have modified swat file and i have got access to 127.0.0.1:901 (samba web administration tool ) and i have modified the things as follows i am including my smb.conf file
here and i have created administrator user with password admin in linux .
Samba config file created using SWAT
# from UNKNOWN (127.0.0.1)
# Date: 2004/07/29 15:32:22

# Global parameters
[global]
workgroup = RDH
netbios name = LINUX BOX
server string = intranet
security = SHARE
encrypt passwords = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 1
preferred master = False
local master = No
domain master = False
dns proxy = No
username = administrator
guest account =
valid users = administrator
admin users = administrator
hosts allow = 192.9.100.0/255.255.255.0
printing = lprng

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[dinu]
path = /tmp
read only = No
guest ok = Yes
after all these i am able to see my linuxbox in windows 2000 system`s my network places .
but i am not able to access
plz help me in this issue
what are exat parameters we have to add to smb.conf file by manually / swat
plz help me in this issue

 
First, in your [dinu] definition you appear to be giving write access to the /tmp folder on linux? This is an exceptionally bad idea for security reasons, particularly since your granting Internet access because of your definition allowing 192.9.100.*. I would recommend you not do this and find yourself another folder to share.

Second, what is the "error" reported when the Windows clients attempt to access and which of your samba shares is the problem? More detail would be quite helpful.

 
have you added the samba users via the "smbpasswd -a <user>" command. Without this any users wont be able to gain access to your shares.

hope this helps

kind regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top