testparm improvement request
Bob Bagwill
robert.bagwill at nist.gov
Wed Dec 1 16:19:07 GMT 1999
I was going nuts yesterday because the first comment character in
the first line of the smb.conf disappeared.
#============================ Share Definitions ==============================
# The following two entries demonstrate how to share a directory so that two
became
============================ Share Definitions ==============================
# The following two entries demonstrate how to share a directory so that two
testparm gave this report:
params.c:Parameter() - Invalid parameter name in config. file.
params.c:pm_process() - Failed. Error returned from params.c:parse().
Error loading services.
Since that particular file has over 1700 parameters, finding the bad one
would be difficult.
Would it be possible to output the line number and/or the closest section
name to make
tracking down errors easier? Also, is that a hard-coded limited of 1000
service definitions
in testparm.c? Thanks.
More information about the samba
mailing list