summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/param/param_functions.c2
-rw-r--r--lib/param/param_table.c2
-rw-r--r--source3/libnet/libnet_dssync_passdb.c2
-rw-r--r--source3/libnet/libnet_samsync_passdb.c2
-rw-r--r--source3/passdb/pdb_interface.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index ba33b048291..250053c6d5f 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -368,7 +368,7 @@ FN_GLOBAL_LIST(winbind_nss_info, winbind_nss_info)
FN_GLOBAL_LIST(wins_server_list, wins_server_list)
FN_GLOBAL_STRING(abort_shutdown_script, abort_shutdown_script)
FN_GLOBAL_STRING(add_group_script, add_group_script)
-FN_GLOBAL_STRING(addmachine_script, addmachine_script)
+FN_GLOBAL_STRING(add_machine_script, add_machine_script)
FN_GLOBAL_STRING(addport_cmd, addport_cmd)
FN_GLOBAL_STRING(addprinter_cmd, addprinter_cmd)
FN_GLOBAL_STRING(add_share_cmd, add_share_cmd)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 543a2c9707f..5f7e06e2430 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -2665,7 +2665,7 @@ static struct parm_struct parm_table[] = {
.label = "add machine script",
.type = P_STRING,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(addmachine_script),
+ .offset = GLOBAL_VAR(add_machine_script),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,
diff --git a/source3/libnet/libnet_dssync_passdb.c b/source3/libnet/libnet_dssync_passdb.c
index edadddbb282..6fadcef8a80 100644
--- a/source3/libnet/libnet_dssync_passdb.c
+++ b/source3/libnet/libnet_dssync_passdb.c
@@ -674,7 +674,7 @@ static NTSTATUS smb_create_user(TALLOC_CTX *mem_ctx,
} else if ( (acct_flags & ACB_WSTRUST) ||
(acct_flags & ACB_SVRTRUST) ||
(acct_flags & ACB_DOMTRUST) ) {
- add_script = lp_addmachine_script(mem_ctx);
+ add_script = lp_add_machine_script(mem_ctx);
} else {
DEBUG(1, ("Unknown user type: %s\n",
pdb_encode_acct_ctrl(acct_flags, NEW_PW_FORMAT_SPACE_PADDED_LEN)));
diff --git a/source3/libnet/libnet_samsync_passdb.c b/source3/libnet/libnet_samsync_passdb.c
index c09474e9b7f..fd5388a2ccf 100644
--- a/source3/libnet/libnet_samsync_passdb.c
+++ b/source3/libnet/libnet_samsync_passdb.c
@@ -254,7 +254,7 @@ static NTSTATUS smb_create_user(TALLOC_CTX *mem_ctx,
} else if ( (acct_flags & ACB_WSTRUST) ||
(acct_flags & ACB_SVRTRUST) ||
(acct_flags & ACB_DOMTRUST) ) {
- add_script = lp_addmachine_script(mem_ctx);
+ add_script = lp_add_machine_script(mem_ctx);
} else {
DEBUG(1, ("Unknown user type: %s\n",
pdb_encode_acct_ctrl(acct_flags, NEW_PW_FORMAT_SPACE_PADDED_LEN)));
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c
index 8529aa24402..12b2f6e16de 100644
--- a/source3/passdb/pdb_interface.c
+++ b/source3/passdb/pdb_interface.c
@@ -461,7 +461,7 @@ static NTSTATUS pdb_default_create_user(struct pdb_methods *methods,
if ((acb_info & ACB_NORMAL) && name[strlen(name)-1] != '$') {
add_script = lp_adduser_script(tmp_ctx);
} else {
- add_script = lp_addmachine_script(tmp_ctx);
+ add_script = lp_add_machine_script(tmp_ctx);
}
if (!add_script || add_script[0] == '\0') {