diff options
author | Michael Adam <obnox@samba.org> | 2013-09-22 10:00:55 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-09-24 07:44:29 +0200 |
commit | 1d9f2815433f8fe0885f672fa8bc490638809c00 (patch) | |
tree | 2ee8e8d85867562a982010981927189661ee9214 /wscript_configure_system_mitkrb5 | |
parent | d16c2aabd7c46f3d294e2401ad1ee4685486cd4b (diff) | |
download | samba-1d9f2815433f8fe0885f672fa8bc490638809c00.tar.gz samba-1d9f2815433f8fe0885f672fa8bc490638809c00.tar.bz2 samba-1d9f2815433f8fe0885f672fa8bc490638809c00.zip |
s3:net conf: add the same parameter checks to "setparm" as in "net rpc conf".
In "net rpc conf" these checks are necessary, since the that command
uses the plain rpc-registry interface at this moment, and so unfortunately
it has to duplicate the checks from the smbconf library.
Since "net conf" uses the registry, these checks are not necessary in
this command. I add them nonetheless to make the output more similar
to "net rpc conf". It is also a little more user friendy than just
printing "INVALID_PARAMETER" as handed back from libsmbconf.
Implement these checks by calling the new net_conf_param_valid() function.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'wscript_configure_system_mitkrb5')
0 files changed, 0 insertions, 0 deletions