Ability to see CentOS smb share gone

Issues related to configuring your network
Post Reply
dragonshadow84
Posts: 1
Joined: 2007/06/02 13:31:04

Ability to see CentOS smb share gone

Post by dragonshadow84 » 2007/06/02 14:04:23

I had to reload my WinXP Pro machine after Windows OneCare ate my email. Now when I try to access my smb shares: Builder (RedHat 7.3) works fine and with Core1 (CentOS 4.2) I get a non-discript error saying, "You must go to Control Panel to configure windows components". As stated I can access the Builder smb share just fine from Network Neighborhood but I never see the Core1 server. However, when I open My Computer and go to Tools/Map Network Drive; I can access the smb shares?

here is my Builder smb.conf:

================= Global Settings =====================================
[global]

workgroup = MAMU

server string = RedHat Samba Server

hosts allow = 192.168.1. 127.

printcap name = /etc/printcap
load printers = yes

printing = lprng

log file = /var/log/samba/%m.log
max log size = 0

security = user

encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*

pam password change = yes
obey pam restrictions = yes

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

remote announce = 192.168.1.255

wins support = yes

wins proxy = yes

dns proxy = no

#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes

# Laptop files
[laptop]
comment = Laptop files
path = /usr/nfs7/laptop
read only = no
public = yes

# A publicly accessible directory, but read only, except for people in
# the "staff" group
[public]
comment = Public Stuff
path = /home/samba
public = yes
writable = yes
printable = no

[files]
comment = Adept Files
path = /adept/
public = yes
writable = yes
printable = no

# write list = @staff



here is my Core1 smb.conf:

#======================= Global Settings =====================================
[global]

workgroup = MAMU

server string = CentOS4 Samba

hosts allow = 192.168.1. 127.

printcap name = /etc/printcap
load printers = yes
printing = cups
cups options = raw

log file = /var/log/samba/%m.log
max log size = 50

security = user

smb passwd file = /etc/samba/smbpasswd
encrypt passwords = yes

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

remote announce = 192.168.1.255

local master = no

preferred master = no


name resolve order = wins lmhosts bcast

wins support = yes
wins proxy = yes

dns proxy = no


#============================ Share Definitions ==============================
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
username map = /etc/samba/smbusers
password server = None
winbind use default domain = no
[homes]
comment = Home Directories
browseable = no
writeable = yes



[printers]
comment = All Printers
path = /var/spool/samba
browseable = no

printable = yes

[tmp]
comment = Temporary file space
path = /tmp
writeable = yes
guest ok = yes


# Adept file system share
[files]
comment = Adept Files
path = /adept/ps/files
guest ok = yes
writeable = yes
printable = no

# RH Linux 5.2 build

[nfs5]
comment = RH5.2
path = /var/nfs5
guest ok = yes
writeable = yes
printable = no

# RH Linux 7.3 build

[nfs7]
comment = RH7.3
path = /var/nfs7
guest ok = yes
writeable = yes
printable = no

# Windows Vista Beta2

[wvb2]

comment = WVB.2
path = /var/wvb2
guest ok = yes
writeable = yes
printable = no

# All Downloads

[downloads]

comment = downloads
path = /var/downloads
guest ok = yes
writeable = yes
printable = no

# Created Documents

[docs]

comment = docs
path = /var/docs
guest ok = yes
writeable = yes
printable = no


[public]
path = /usr/public
guest ok = no
public = yes
browseable = yes
writable = yes
printable = no

============================================END======================================

I don't think it's the windows firewall. Since I can connect via the Map Network Drive tool I don't think it's a NAT/NFS/SAMBA issue.

Any suggestions here would be appreciated.

Post Reply

Return to “CentOS 4 - Networking Support”