I'm a little late on this one, but I hope this helps. I believe that testparam will test for correct parameters, but not as to whether they are appropriate.
till can't get to it from the XP system. I can get to it from a 2003 server logged in as Administrator
Make sure that you have added yourself to the smbusers database. it has to be exactly like your XP login.
Below is a copy (modified slightly) of my smb.conf file. It works for me in a workgroup environment. If you have added the sever to a domain you will need "winbind" to administer the samba to user account mapping.
Code:
#
#======================= Global Settings =======================
[global]
## Browsing/Identification ###
# Workgroup/NT-domain name your Samba server will part of
workgroup = <YOUR_WORKGROUP>
# server string is the equivalent of the NT Description field
;hostname
server string = %h
# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no
#### Debugging/Accounting ####
# This tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m
# Put a capping on the size of the log files (in Kb).
max log size = 1000
# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead.
syslog = 0
# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d
####### Authentication #######
# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server if the server is in a
# stand alone situation. If this server is to be used in a domain situation
# then "winbind" should be employed.
security = user
# For use if the server is in a stand alone situation.
# Samba will need to know what password database type you are using.
passdb backend = tdbsam
obey pam restrictions = yes
# Bad user means "user not found in unix passwd" and
# we will default to the guest accout that we have defined
map to guest = bad user
# This is the user account withthe name "nobody"
guest account = nobody
# No root user!
invalid users = root
# This controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
unix password sync = no
# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for
# sending the correct chat script for the passwd program in Debian Sarge).
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *passwd:*password\supdated\ssuccessfully* .
# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
; pam password change = no
############ Misc ############
# Most people will find that this option gives better performance.
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html
# for details
# You may want to add the following on a Linux system:
# SO_RCVBUF=8192 SO_SNDBUF=8192
; socket options = TCP_NODELAY
username map = /etc/samba/smbusers
#======================= Share Definitions =======================
[Share]
comment = Public Share
path = /path/to/share
browseable = yes
guest ok = yes
writeable = yes
create mask = 0775
force create mode = 0775
directory mask = 0775
#============= End ======================================================
Bookmarks