Computing.Net > Forums > Linux > samba doesnt work

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

samba doesnt work

Reply to Message Icon

Original Message
Name: Steven Setiawan
Date: October 3, 2002 at 16:14:17 Pacific
Subject: samba doesnt work
OS: Red Hat 7.3
CPU/Ram: Pentium
Comment:

I have Samba installed from the original installation of Red Hat 7.3. After editing the smb.conf file, I can't seem to access the files from a windows 2000 computer. I restarted and started the smb service using service smb restart or service smb start. Here is my smb.conf configuration:

#==========[Global Definitions]==========

[global]
workgroup = CStore
server string = Swordfish Linux Server
announce as = NT
hosts allow = 128.200.210.116
hosts deny = ALL
printcap name = /etc/printcap
load printers = yes
printing = bsd
;guest account = nonroot
;admin users = nonroot
null passwords = yes
log file = /var/log/samba/log.%m
max log size = 50
security = share
; password level = 8
; username level = 8
; encrypt passwords = yes
; smb passwd file = /etc/smbpasswd
; username map = /etc/smbusers
socket options = TCP_NODELAY
remote announce = 192.168.1.255/Cstore
local master = no
domain master = no
preferred master = no
domain logons = no
name resolve order = lmhosts host wins bcast
wins support = yes
wins proxy = yes
dns proxy = yes
hide dot files = yes
message command = csh -c 'xedit %s;rm %s' &
netbios name = Swordfish

#==========[Share Definitions]==========

[homes]
comment = Home Directories
browseable = no
writable = no
valid users = nonroot

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = no
writable = no
printable = no
valid users = nonroot
force user = root
force group = root

[share]
comment = The entire system
path = /
read only = no
public = yes
;valid users = nonroot
create mask = 0644
directory mask = 0755
force user = root
force group = root

[cdrom]
comment = CD-ROM Drive
path = /mnt/cdrom
read only = yes
public = yes
valid users = nonroot

[floppy]
comment = Floppy Drive
path = /mnt/floppy
read only = no
public = no
create mask = 0644
directory mask = 0755
force user = root
force group = root
valid users = nonroot


Is there anything else i have to do to get Samba working?


Report Offensive Message For Removal


Response Number 1
Name: Dallas
Date: October 3, 2002 at 19:36:08 Pacific
Reply: (edit)

My guess is that you will need to uncomment "encrypt passwords = yes" because of the password encryption scheme MS uses after Win98. Hope this helps, Dallas.


Report Offensive Follow Up For Removal

Response Number 2
Name: steven setiawan
Date: October 10, 2002 at 17:51:13 Pacific
Reply: (edit)

I did uncomment that line, check the configuration file.


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home








Do you have a Desktop Computer anymore?

No
Yes, but only at work
Yes, but its rarely used
Yes, and its a workhorse


View Results

Poll Finishes Today.
Discuss in The Lounge
Poll History




Data Recovery Software