summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpc_server/srv_samr_nt.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index a81b026c65..ba59aa548c 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -1962,10 +1962,6 @@ uint32 _api_samr_create_user(pipes_struct *p, SAMR_Q_CREATE_USER *q_u, SAMR_R_CR
pstrcpy(add_script, lp_addmachine_script());
- if (!*add_script) {
- pstrcpy(add_script, lp_adduser_script());
- }
-
if(*add_script) {
int add_ret;
all_string_sub(add_script, "%u", mach_acct, sizeof(mach_acct));