diff options
author | Michael Adam <obnox@samba.org> | 2008-01-16 17:05:38 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-16 17:10:02 +0100 |
commit | 7bfceba4bc49f5f5c8d2836dfd76e1ec15459631 (patch) | |
tree | 2e2e9dc8c491b54f8ab824d0b4a373f88295f2f3 /source3 | |
parent | d3be7a7bdd8b1ddbbcd39dd55d62467dc6c1a73b (diff) | |
download | samba-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')
-rw-r--r-- | source3/lib/netapi/serverinfo.c | 2 | ||||
-rw-r--r-- | source3/libnet/libnet_join.c | 4 |
2 files changed, 3 insertions, 3 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; } diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index af7f9a6a21..a9978ba4b8 100644 --- a/source3/libnet/libnet_join.c +++ b/source3/libnet/libnet_join.c @@ -1041,7 +1041,7 @@ static WERROR libnet_join_pre_processing(TALLOC_CTX *mem_ctx, return WERR_INVALID_PARAM; } - if (r->in.modify_config && !lp_include_registry_globals()) { + if (r->in.modify_config && !lp_config_backend_is_registry()) { return WERR_NOT_SUPPORTED; } @@ -1350,7 +1350,7 @@ static WERROR libnet_DomainUnjoin(TALLOC_CTX *mem_ctx, static WERROR libnet_unjoin_pre_processing(TALLOC_CTX *mem_ctx, struct libnet_UnjoinCtx *r) { - if (r->in.modify_config && !lp_include_registry_globals()) { + if (r->in.modify_config && !lp_config_backend_is_registry()) { return WERR_NOT_SUPPORTED; } |