]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
As per plug-fest discussions this paramater no longer defaults to the value
authorAndrew Bartlett <abartlet@samba.org>
Mon, 27 Aug 2001 03:56:09 +0000 (03:56 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 27 Aug 2001 03:56:09 +0000 (03:56 +0000)
of add user script.

source/rpc_server/srv_samr_nt.c

index a81b026c65ddc8765c1929c1b36b81f3e7639a26..ba59aa548c9a77fb8055cdb68858307aa9f309a6 100644 (file)
@@ -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));