s3:smbd/service: switch load_registry_service/shares to use loadparm routines
commit502bfe9352d36ee909d7210a9d0ec0b6c7db5149
authorMichael Adam <obnox@samba.org>
Tue, 28 Apr 2009 23:49:53 +0000 (29 01:49 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 29 Apr 2009 09:27:09 +0000 (29 11:27 +0200)
treef30b46b3aa2efb15042a2c52e437079498d36fdd
parent480af4e0ead10241aa94f4095c7fa580240fec00
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
(cherry picked from commit 077bcc11257697b243916fbb02cd72b3a122b9ba)
source3/include/proto.h
source3/param/loadparm.c
source3/smbd/service.c