summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-02-04 15:09:00 +1300
committerJeremy Allison <jra@samba.org>2014-02-07 16:19:12 -0800
commit8feac8039535dc9b68cd04fcf5a30f9a8e2ba7a6 (patch)
tree055f4b31e05474a7eb069776e0ef3d8def52732e /source3/libnet
parentd53a9a529cafcf2c78c2ddb79b41949c4d9b382d (diff)
downloadsamba-8feac8039535dc9b68cd04fcf5a30f9a8e2ba7a6.tar.gz
param: rename lp function and variable from "addmachine_script" to "add_machine_script"
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_dssync_passdb.c2
-rw-r--r--source3/libnet/libnet_samsync_passdb.c2
2 files changed, 2 insertions, 2 deletions
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)));