I have a master Samba server which populates the smbpasswd file from the yppasswd services. This server acts as our main file server and authentication server for our "Windows" Domain.
I have a second box that I would like to simply share a directory. How do I setup the config file to authenticate using the same credentials from the original samba server?
When I try to connect I can see it in the Browse list but I am always prompted for username/passowrd and denied.
Here is the bulk of the smb.conf file
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = COMPANY
netbios aliases = www
log level = 3
# server string is the equivalent of the NT Description field
; server string = Samba Server
hosts allow = 192.168.0. 192.168.10. 192.168.30. 127.
security = user
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
remote announce = 192.168.0.255 192.168.10.255 192.168.30.255
local master = no
name resolve order = wins lmhosts bcast
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
; wins support = yes
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
wins server = 192.168.0.7
dns proxy = no
comment = www.company.com
path = /var/www/html
public = yes
writable = yes
printable = no
create mask = 0765