summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_samr.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-01-11 18:38:55 +0000
committerJeremy Allison <jra@samba.org>2001-01-11 18:38:55 +0000
commitadb91565b5ec81ebb9e0d57b7d91fbd9da410aa3 (patch)
tree51c830ed14b44eca59f10e804bdd719f6ec320b1 /source3/rpc_server/srv_samr.c
parent3ab2ea54068d7441fb8d9aed9596657758ac5000 (diff)
downloadsamba-adb91565b5ec81ebb9e0d57b7d91fbd9da410aa3.tar.gz
samba-adb91565b5ec81ebb9e0d57b7d91fbd9da410aa3.tar.bz2
samba-adb91565b5ec81ebb9e0d57b7d91fbd9da410aa3.zip
rpc_server/srv_samr.c:
smbd/reply.c: Added fix needed for appliances. When using winbindd - a new user may exist (from winbind) but have no home directory. Extend add user script so it is called with a %H substitution when a user exists but their home directory does not. Thanks to Alex Win at VA Linux for finding this one and testing the fix. libsmb/clidgram.c: Fixed missing return statements. smbd/uid.c: Fixed typo in debug. Jeremy. (This used to be commit 7ba0a2192b89954604dd793c537b4a17c2d1ac07)
Diffstat (limited to 'source3/rpc_server/srv_samr.c')
-rw-r--r--source3/rpc_server/srv_samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr.c b/source3/rpc_server/srv_samr.c
index b0991f7627..fefa547a37 100644
--- a/source3/rpc_server/srv_samr.c
+++ b/source3/rpc_server/srv_samr.c
@@ -1839,7 +1839,7 @@ static BOOL _api_samr_create_user(POLICY_HND dom_pol, UNISTR2 user_account, uint
/* add the user in the /etc/passwd file or the unix authority system */
if (lp_adduser_script())
- smb_create_user(mach_acct);
+ smb_create_user(mach_acct,NULL);
/* add the user in the smbpasswd file or the Samba authority database */
if (!local_password_change(mach_acct, local_flags, NULL, err_str,