loadarm: fix testparm with "config backend = registry".
commit49d496a63a2de0907efa8eb93aca5cd75d7d81ec
authorMichael Adam <obnox@samba.org>
Mon, 26 May 2008 09:58:11 +0000 (26 11:58 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 28 May 2008 08:21:48 +0000 (28 10:21 +0200)
tree8b34730a6eb9ce8afb5546c4b7cb35792298bdc0
parent36e6641e753368b3f92c8835ad2806de28290500
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