depends on the version and type of security you're trying to set, but here's a simple test smb.conf (I've also included some comments in case you want to switch from local machine access to "domain" security authenticating against a WINS server - there is more involved there, but perhaps you can get base functionality working with the uncommented portion) - FYI - this is for a 3.x samba server, you will want to run <samba home dir>/bin/testparm against your smb.conf file to ensure the syntax is at least valid
#[global]
#workgroup = <workgroupnamehere>
#netbios name = <machineshortnamehere>
#
#security = domain
#printcap name = cups
#disable spoolss = Yes
#show add printer wizard = No
#
#idmap uid = 15000-25000
#idmap gid = 15000-25000
#winbind use default domain = Yes
#printing = cups
#
#
#[share]
#path = /export/home/
#comment = Home dirs
#guest ok = no
#read only = no
#browseable = no
#
#[homes]
#comment = Home Directories
#valid users = %S
#read only = No
#browseable = No
#
[global]
workgroup = myworkgroup
netbios name = somemachinename
security = user
[share]
comment = Home dirs
path = /export/home/
read only = No
browseable = No
[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No
#####
later options you can play with in the global section include -
log level = 1
syslog = 0
log file = /var/samba/log/%I.log
max log size = 1000
smb ports = 139
read only = No
create mask = 0775
directory mask = 0775
case sensitive = No
map archive = No
csc policy = disable
strict locking = No
delete readonly = Yes
username map script = /usr/local/samba/bin/mapusers
config file = /usr/local/samba/lib/smb.conf.%I
go to samba.org and look at the various faqs there too - they have quite a little variety of goodies to help you out - jeff