diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-07-03 14:36:42 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-07-03 14:36:42 +0000 |
commit | 85f88191b9927cc434645ef4c1eaf5ec0e8af2ec (patch) | |
tree | 27d2c5b51fa4f05e02e5392d080bdd075893603f /source/rpc_server/srv_netlog_nt.c | |
parent | 94fe3b2cdfa67c9d74edc00a436b5eacbf3e0dc4 (diff) | |
download | samba-85f88191b9927cc434645ef4c1eaf5ec0e8af2ec.tar.gz samba-85f88191b9927cc434645ef4c1eaf5ec0e8af2ec.tar.xz samba-85f88191b9927cc434645ef4c1eaf5ec0e8af2ec.zip |
This patch takes the work the jerry did for beta2, and generalises it:
- The 'not implmented' checks are now done by all auth modules
- the ntdomain/trustdomain/winbind modules are more presise as to
what domain names they can and cannot handle
- The become_root() calls are now around the winbind pipe opening only,
not the entire auth call
- The unix username is kept seperate from the NT username, removing the
need for 'clean off the domain\' in parse_net.c
- All sid->uid translations are now validated with getpwuid() to put a very
basic stop to logins with 'half deleted' accounts.
Andrew Bartlett
Diffstat (limited to 'source/rpc_server/srv_netlog_nt.c')
-rw-r--r-- | source/rpc_server/srv_netlog_nt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/rpc_server/srv_netlog_nt.c b/source/rpc_server/srv_netlog_nt.c index 0dcdf391583..c4a87d2e26d 100644 --- a/source/rpc_server/srv_netlog_nt.c +++ b/source/rpc_server/srv_netlog_nt.c @@ -650,10 +650,8 @@ NTSTATUS _net_sam_logon(pipes_struct *p, NET_Q_SAM_LOGON *q_u, NET_R_SAM_LOGON * } /* end switch */ if ( NT_STATUS_IS_OK(status) ) { - become_root(); status = auth_context->check_ntlm_password(auth_context, user_info, &server_info); - unbecome_root(); } (auth_context->free)(&auth_context); |