summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* s3:net: check for GLOBAL_NAME net_conf_param_valid()Michael Adam2013-09-241-1/+1
| | | | | | | instead of checking for literal "global" Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:net rpc conf: factor validation of parameter out for re-use.Michael Adam2013-09-244-36/+105
| | | | | | | | This goes into a new module net_conf_util to be shared between net conf and net rpc conf. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:net rpc conf: rename canon_valname->canon_param_name for clarity in setparm.Michael Adam2013-09-241-2/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:net rpc conf: setparm: introduce variables service_name, param_name, ↵Michael Adam2013-09-241-20/+29
| | | | | | | valstr for clarity Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:net rpc conf: reorganize the validity check and canonicalization of the ↵Michael Adam2013-09-241-17/+23
| | | | | | | input in "setparm" Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* libsmbconf:registry: clarify the appearance of "includes" in forbidden_namesMichael Adam2013-09-241-1/+7
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* libsmbconf:registry: reorganize the validity check and canonicalization of ↵Michael Adam2013-09-241-14/+19
| | | | | | | | | | | | | the input in "setparm" - first check that the name is an smbconf parameter - then check that the parameter is allowed in the registry config - then check that a global parameter is not to be set in a service section - then canonicalize the parameter and value name, thereby checking that the value has valid format Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:net rpc conf: print the provided parameter name on error, not the ↵Michael Adam2013-09-241-1/+1
| | | | | | | canonicalized one Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:net rpc conf: remove the (now) unused rpc_conf_reg_valname_forbidden()Michael Adam2013-09-241-21/+0
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:net rpc conf: use the published smbconf_reg_parameter_is_valid()Michael Adam2013-09-241-1/+1
| | | | | | | Instead of the duplicated rpc_conf_reg_valname_forbidden() Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* libsmbconf:registry: publish smbconf_reg_parameter_is_valid()Michael Adam2013-09-242-1/+6
| | | | | | | So that this does not need to be duplicated.. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* libsmbconf:registry: rework smbconf_reg_parameter_forbidden(), renaming it.Michael Adam2013-09-241-17/+17
| | | | | | | | | | | | The logic is inverted, the lp_parameter_is_invalid call of smbconf_reg_valname_valid() is included, and the function is renamed to smbconf_reg_parameter_is_valid(). Use the new function everywhere in smbconf registry backend. And remove corresponding reverse function smbconf_reg_valname_valid(). Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:modules: vfs_afsacl has the afs_syscall prototype via proto.hMichael Adam2013-09-231-2/+0
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* s3:include: remove duplicate prototypes from afs functions from proto.hMichael Adam2013-09-231-3/+0
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* afs: implement afs_syscall() always, returning -1 if FAKE_KASERVER is not ↵Michael Adam2013-09-231-0/+6
| | | | | | | defined. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* afs: format afs_syscall() properlyMichael Adam2013-09-232-10/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: remove remaining occurrences of vars=locals() of source3/wscript_buildMichael Adam2013-09-231-17/+7
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of binary split_tokens directly in def, remove vars=locals()Michael Adam2013-09-231-5/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of dbwrap_torture directly in def, remove vars=locals()Michael Adam2013-09-231-5/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of binary dbwrap_tool directly in def, remove vars=locals()Michael Adam2013-09-231-5/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of binary rpc_open_tcp directly in dev, remove vars=locals()Michael Adam2013-09-231-5/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of binary vlp directly in dev, remove vars=locals()Michael Adam2013-09-231-5/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list sources of binary ntlm_auth directly in dev, remove vars=locals()Michael Adam2013-09-231-7/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list sources of library nss_wins directly in devMichael Adam2013-09-231-3/+1
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of binary smbfilter directly in def, remove vars=locals()Michael Adam2013-09-231-5/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list sources of binary debug2html directly in def, remove vars=locals()Michael Adam2013-09-231-5/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of binary sharesec() directly in def, remove vars=locals()Michael Adam2013-09-231-6/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of binary eventlogadm directly in def, remove vars=locals()Michael Adam2013-09-231-7/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of binary smbcquotas directly in def, remove vars=locals()Michael Adam2013-09-231-5/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of binary smbcacls directly in def, remove vars=locals()Michael Adam2013-09-231-5/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of binary locktest2 directly in def, remove vars=locals()Michael Adam2013-09-231-5/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of binary log2pcap directly in def, remove vars=locals()Michael Adam2013-09-231-5/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list sources of binary vfstest directly in def, remove vars=locals()Michael Adam2013-09-231-6/+4
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of binary pdbtest directly in def, remove vars=locals()Michael Adam2013-09-231-5/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of binary msgtest direcly in def, remove vars=locals()Michael Adam2013-09-231-5/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list sources of smbtorture(3) directly in dev, remove vars=locals()Michael Adam2013-09-231-33/+32
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of binary nmblookup directly in source, remove vars=locals()Michael Adam2013-09-231-5/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of binary smbspool directly in def, remove vars=locals()Michael Adam2013-09-231-5/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list sources of binary net directly in def, remove vars=locals()Michael Adam2013-09-231-33/+48
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list sources of subsys LIBNET_SAMSYNC directly in dev, remove ↵Michael Adam2013-09-231-9/+6
| | | | | | | vars=locals() Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of subsys LIBNET_DSSYNC directly in def, remove vars=locals()Michael Adam2013-09-231-7/+4
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of subsys LIBNET directly in def, remove vars=locals()Michael Adam2013-09-231-6/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list sources of binary smbconftort directly in def, remove vars=locals()Michael Adam2013-09-231-7/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list sources of libsmbconf directly in def.Michael Adam2013-09-231-3/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list sources of library smbsharemodes directly in def, remov ↵Michael Adam2013-09-231-7/+2
| | | | | | | vars=locals() Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: remove unused variable LIBSMBCLIENT_THREAD_SRCMichael Adam2013-09-231-3/+0
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list sources of binary rpcclinet directly in def, remove vars=locals()Michael Adam2013-09-231-16/+20
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of binary smbget directly in def, remove vars=locals()Michael Adam2013-09-231-5/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of binary pdbedit directly in def, remove vars=locals()Michael Adam2013-09-231-5/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: list source of binary smbpasswd directly in def, remove vars=locals()Michael Adam2013-09-231-5/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>