loadarm: fix testparm with "config backend = registry".
authorMichael Adam <obnox@samba.org>
Mon, 26 May 2008 09:58:11 +0000 (11:58 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 26 May 2008 10:00:13 +0000 (12:00 +0200)
commit33f632b8b5d39c06da37adf4feb0d1552dd96647
tree64897c4426489d0b648fab73d2f2c2708c12f3cd
parent1a1fc2f8146ebc6cda852b236c9589e282e4bd8c
loadarm: fix testparm with "config backend = registry".

Set the iServiceIndex to "-1" for starup with either config
backend (originally only for text backend). Otherwise,
process_registry_shares() will fail.

Currently, the only user of lp_load_with_registry_shares() is testparm.

Michael
(This used to be commit 5e2b925367241c41793b2eb7a628e9fc9f3ac8ff)
source3/param/loadparm.c