summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-03 14:11:20 +0100
committerMichael Adam <obnox@samba.org>2008-01-03 14:17:49 +0100
commit2476254ccdf629d7889b9cff458a6e1097fc71ba (patch)
tree7895167fdc2459e10f52dec32ce7cbf5a1ae7ccc
parent55771b356d632ffe7d1d773670a71366e3d7302a (diff)
downloadsamba-2476254ccdf629d7889b9cff458a6e1097fc71ba.tar.gz
samba-2476254ccdf629d7889b9cff458a6e1097fc71ba.tar.bz2
samba-2476254ccdf629d7889b9cff458a6e1097fc71ba.zip
Rename libnet_smbconf_delparm() to libnet_conf_delete_parameter().
Michael (This used to be commit 073eeca51e46da6a687175aadbfdbb9e029532d6)
-rw-r--r--source3/libnet/libnet_conf.c3
-rw-r--r--source3/libnet/libnet_join.c2
-rw-r--r--source3/utils/net_conf.c2
3 files changed, 3 insertions, 4 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index f5504b78d5..fbe47b212b 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -757,8 +757,7 @@ done:
/**
* delete a parameter from configuration
*/
-WERROR libnet_smbconf_delparm(const char *service,
- const char *param)
+WERROR libnet_conf_delete_parameter(const char *service, const char *param)
{
struct registry_key *key = NULL;
WERROR werr = WERR_OK;
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index ae3ed060fe..00ab608274 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -379,7 +379,7 @@ static WERROR do_unjoin_modify_vals_config(struct libnet_UnjoinCtx *r)
W_ERROR_NOT_OK_RETURN(werr);
}
- werr = libnet_smbconf_delparm("GLOBAL", "realm");
+ werr = libnet_conf_delete_parameter("GLOBAL", "realm");
return werr;
}
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index c62c555ebe..2d4b3f4054 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -795,7 +795,7 @@ static int net_conf_delparm(int argc, const char **argv)
service = strdup_lower(argv[0]);
param = strdup_lower(argv[1]);
- werr = libnet_smbconf_delparm(service, param);
+ werr = libnet_conf_delete_parameter(service, param);
if (W_ERROR_EQUAL(werr, WERR_NO_SUCH_SERVICE)) {
d_fprintf(stderr,