param: change snum parameter in special functions to a loadparm_service pointer
authorGarming Sam <garming@catalyst.net.nz>
Wed, 19 Mar 2014 23:57:22 +0000 (12:57 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 7 Jul 2014 21:32:36 +0000 (23:32 +0200)
commit0eacbb6c960da27a12487ae74ca8a53274e416f3
tree8064626c175541cef81aa6ed94c2c9bd34cb0498
parent9f519cabfadf0025eefafb938045f9f849cdf3bc
param: change snum parameter in special functions to a loadparm_service pointer

Using either an snum or the current service for special functions
depending where it was called is unnecessary and complicates the process
of handling them generically.

idmap parameters now call lpcfg_do_parameter_parametric and are now set
like normal.

Change-Id: I3eca89791274280f9d3c7b987fbd790c16ec7981
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
lib/param/loadparm.c
lib/param/loadparm.h
lib/param/s3_param.h
source3/param/loadparm.c