RFC: reduce number of alias parameters

Björn JACKE bj at SerNet.DE
Mon Dec 11 11:20:38 UTC 2017


Hi,

I think it's not useful to have a huge number of aliases just to make the
parameters expressable is different humand wordings or spellings. They increase
the code and binary size and more importantly they make config parsing and more
difficult and error prone. For some parameter aliases which are not very
commonly used imho, I'd like to propose to remove them for the next release.
Given that Metze already removed a number of other parameters this would to be
a good time to do some more tidying up:

- ldap ssl ads (we should consider to remove related code)
- unicode (we should consider to remove related code)
- casesignames (alias for case insensitive)
- group (alias for force group)
- only guest (alias for goest only)
- allow hosts (alias for hosts allow)
- deny hosts (alias for hosts deny)
- lock directory (alias for lock dir)
- debuglevel (alias for log level)
- directory (alias for path)
- exec (alias for preexec)
- prefered master (typo alias for preferred master)
- printer (alias for printer name)
- printcap (alias for printcap name)
- private directory (alias for private dir)
- root / root dir ( alias for root directory)
- max protocol (confusing alias for server max protocol)
- protocol (even more confusing parameter for server max protocol)
- min protocol (confusing alias for server min protocol)
- vfs object (alias for vfs objects)
- write ok (rarely used alias for read only / writable)

Björn
-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de



More information about the samba-technical mailing list