diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-05-25 23:56:41 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-05-25 23:56:41 +0000 |
commit | 6ace723c44f61c1166b90666ca6f5b2546ced46b (patch) | |
tree | 2a961fe1bc7b54efd37336f74de8acd7fa51263f /source3/auth/auth.c | |
parent | a3938d8d704b1be76239ecf88112972bc8973a88 (diff) | |
download | samba-6ace723c44f61c1166b90666ca6f5b2546ced46b.tar.gz samba-6ace723c44f61c1166b90666ca6f5b2546ced46b.tar.bz2 samba-6ace723c44f61c1166b90666ca6f5b2546ced46b.zip |
Get 'add user script' working again for Samba 3.0.
I'm still not convinced that sharing the option name with the administrative
code is the best idea, but anyway...
Tested by vl, bug #41.
Andrew Bartlett
(This used to be commit 9d78f064c5e4e6b340f994204977aaac6513320b)
Diffstat (limited to 'source3/auth/auth.c')
-rw-r--r-- | source3/auth/auth.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/auth/auth.c b/source3/auth/auth.c index dea97a7190..02c7eb6d84 100644 --- a/source3/auth/auth.c +++ b/source3/auth/auth.c @@ -262,12 +262,6 @@ static NTSTATUS check_ntlm_password(const struct auth_context *auth_context, break; } - /* This is one of the few places the *relies* (rather than just sets defaults - on the value of lp_security(). This needs to change. A new paramater - perhaps? */ - if (lp_security() >= SEC_SERVER) - smb_user_control(user_info, *server_info, nt_status); - if (NT_STATUS_IS_OK(nt_status)) { pdb_username = pdb_get_username((*server_info)->sam_account); if (!(*server_info)->guest) { |