diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-11-01 05:02:41 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-11-01 05:02:41 +0000 |
commit | 514c91b16baca639bb04638042bf9894d881172a (patch) | |
tree | 83fac5d0186404a940a3b97cde8981a561b3c699 /source/rpc_server | |
parent | eeaa80aa09736dc1c5f5f72a1437eb9d9c0d4ae7 (diff) | |
download | samba-514c91b16baca639bb04638042bf9894d881172a.tar.gz samba-514c91b16baca639bb04638042bf9894d881172a.tar.xz samba-514c91b16baca639bb04638042bf9894d881172a.zip |
Various post AuthRewrite cleanups, fixups and tidyups.
Zero out some of the plaintext passwords for paranoia
Fix up some of the other passdb backends with the change to *uid_t rather than
uid_t.
Make some of the code in srv_netlog_nt.c clearer, is passing an array around,
so pass its lenght in is definition, not as a seperate paramater.
Use sizeof() rather than magic numbers, it makes things easier to read.
Cope with a PAM authenticated user who is not in /etc/passwd - currently by
saying NO_SUCH_USER, but this can change in future.
Andrew Bartlett
Diffstat (limited to 'source/rpc_server')
-rw-r--r-- | source/rpc_server/srv_netlog_nt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/rpc_server/srv_netlog_nt.c b/source/rpc_server/srv_netlog_nt.c index 042279c568f..d9677519a47 100644 --- a/source/rpc_server/srv_netlog_nt.c +++ b/source/rpc_server/srv_netlog_nt.c @@ -581,11 +581,11 @@ NTSTATUS _net_sam_logon(pipes_struct *p, NET_Q_SAM_LOGON *q_u, NET_R_SAM_LOGON * auth subsystem to chew on */ { make_user_info_netlogon_interactive(&user_info, - nt_username, nt_domain, - nt_workstation, - ctr->auth.id1.lm_owf.data, 16, - ctr->auth.id1.nt_owf.data, 16, - p->dc.sess_key); + nt_username, nt_domain, + nt_workstation, + ctr->auth.id1.lm_owf.data, + ctr->auth.id1.nt_owf.data, + p->dc.sess_key); break; } default: |