summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-16 17:05:38 +0100
committerMichael Adam <obnox@samba.org>2008-01-16 17:10:02 +0100
commit7bfceba4bc49f5f5c8d2836dfd76e1ec15459631 (patch)
tree2e2e9dc8c491b54f8ab824d0b4a373f88295f2f3 /source3/lib/netapi
parentd3be7a7bdd8b1ddbbcd39dd55d62467dc6c1a73b (diff)
downloadsamba-7bfceba4bc49f5f5c8d2836dfd76e1ec15459631.tar.gz
samba-7bfceba4bc49f5f5c8d2836dfd76e1ec15459631.tar.bz2
samba-7bfceba4bc49f5f5c8d2836dfd76e1ec15459631.zip
Use lp_config_backend_is_registry() instead of lp_include_registry_globals().
Michael (This used to be commit c5a7d421c512a6221b0300549d7b5de0368d252e)
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/serverinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/serverinfo.c b/source3/lib/netapi/serverinfo.c
index 67680ba55a..6cd074615b 100644
--- a/source3/lib/netapi/serverinfo.c
+++ b/source3/lib/netapi/serverinfo.c
@@ -167,7 +167,7 @@ static WERROR NetServerSetInfoLocal_1005(struct libnetapi_ctx *ctx,
return WERR_INVALID_PARAM;
}
- if (!lp_include_registry_globals()) {
+ if (!lp_config_backend_is_registry()) {
return WERR_NOT_SUPPORTED;
}