s3:smbd/service: switch load_registry_service/shares to use loadparm routines
authorMichael Adam <obnox@samba.org>
Tue, 28 Apr 2009 23:49:53 +0000 (01:49 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 29 Apr 2009 00:20:19 +0000 (02:20 +0200)
commit077bcc11257697b243916fbb02cd72b3a122b9ba
treec2e02e5604f876999da6e9edf875c76dd02f902d
parentfb3b6576127ce837ac711e87c293d1f4cf97473c
s3:smbd/service: switch load_registry_service/shares to use loadparm routines

instead of reading the registry directly with tdb and activating the
configure options by hand.

This eliminates the need for repeating checks done in loadparm.
For instance it disables registry shares without path in the server
as is the case with text based shares.

Michael
source3/include/proto.h
source3/param/loadparm.c
source3/smbd/service.c