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)
commit5e2b925367241c41793b2eb7a628e9fc9f3ac8ff
treee9469877a25a7e09293f7716bb84fda7bfc39997
parent3b1dae7c31b881834ca4494c4434ae97a56ce6c7
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
source/param/loadparm.c