testparm and smb.conf(5) don't agree on synonyms
Alexander Bokovoy
ab at samba.org
Fri Oct 15 15:01:57 GMT 2004
On Fri, Oct 15, 2004 at 08:54:06AM +1000, Luke Mewburn wrote:
> Hi again.
>
> Whilst building a front-end to smb.conf, I noticed that
> testparm (and swat?) and smb.conf(5) disagree on which
> parameters are the canonical name and which are synonyms.
>
> I submitted a bug with a patch to fix this by using smb.conf(5)
> as the authorative reference and fixing loadparm.c to suit:
> https://bugzilla.samba.org/show_bug.cgi?id=1782
>
> (If I've interpreted incorrectly and smb.conf(5) is the incorrect
> source, then smb.conf(5) needs to be fixed, and loadparm.c still
> needs the "protocol"/"max protocol" keywords fixed up).
loadparm.c currently is the authorative source. Docbook XML files per each
wrong parameter must be fixed. We were thinking on autogenerating parts of
loadparm.c out of XML source sometime ago but nobody did that yet.
--
/ Alexander Bokovoy
Samba Team http://www.samba.org/
ALT Linux Team http://www.altlinux.org/
Midgard Project Ry http://www.midgard-project.org/
More information about the samba-technical
mailing list