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 09:42:11 +0000 (11:42 +0200)
commit8a75176ef775b0222189ad29d19f43488f412d3b
tree3f66b26e13407ee0d26eade707bc788e0d827dee
parente8d8ffa5f926b8beed6049dfed13ecc8b81e669e
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)
source/param/loadparm.c
source/smbd/service.c