summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-17 18:01:33 +0100
committerMichael Adam <obnox@samba.org>2008-03-17 18:03:02 +0100
commit6274929b1e1ddf89f4c5e93414121eaf06b6ab14 (patch)
treeb1a3cec7bb2cbd5d2ddcfd9423fee3b90a583cb7 /source3/lib/netapi
parent670418c1165f0a149bfdd4bcdc5bde575df43ef2 (diff)
downloadsamba-6274929b1e1ddf89f4c5e93414121eaf06b6ab14.tar.gz
samba-6274929b1e1ddf89f4c5e93414121eaf06b6ab14.tar.bz2
samba-6274929b1e1ddf89f4c5e93414121eaf06b6ab14.zip
libsmbconf: rename all occurrences of libnet_conf_ to smbconf_ .
Michael (This used to be commit 097af0309d7c3e9342058ba5266667293b23c80d)
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/serverinfo.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/source3/lib/netapi/serverinfo.c b/source3/lib/netapi/serverinfo.c
index d30e7d97f7..a29a840da0 100644
--- a/source3/lib/netapi/serverinfo.c
+++ b/source3/lib/netapi/serverinfo.c
@@ -169,7 +169,7 @@ static WERROR NetServerSetInfoLocal_1005(struct libnetapi_ctx *ctx,
uint32_t *parm_error)
{
WERROR werr;
- struct libnet_conf_ctx *conf_ctx;
+ struct smbconf_ctx *conf_ctx;
struct srvsvc_NetSrvInfo1005 *info1005;
if (!buffer) {
@@ -191,17 +191,16 @@ static WERROR NetServerSetInfoLocal_1005(struct libnetapi_ctx *ctx,
return WERR_NOT_SUPPORTED;
}
- werr = libnet_conf_open(ctx, &conf_ctx);
+ werr = smbconf_open(ctx, &conf_ctx);
if (!W_ERROR_IS_OK(werr)) {
goto done;
}
- werr = libnet_conf_set_global_parameter(conf_ctx,
- "server string",
- info1005->comment);
+ werr = smbconf_set_global_parameter(conf_ctx, "server string",
+ info1005->comment);
done:
- libnet_conf_close(conf_ctx);
+ smbconf_close(conf_ctx);
return werr;
}