diff options
author | Jeremy Allison <jra@samba.org> | 2006-02-17 04:22:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:10:11 -0500 |
commit | 39a572e0106696e24540d9829812917635c1fd06 (patch) | |
tree | 4b9765404342da6cd5464fec46141286ddd0cd5a /source3/rpc_server | |
parent | c7aad1deeaa4d962cfbd9581f05d2e61eeb20efe (diff) | |
download | samba-39a572e0106696e24540d9829812917635c1fd06.tar.gz samba-39a572e0106696e24540d9829812917635c1fd06.tar.bz2 samba-39a572e0106696e24540d9829812917635c1fd06.zip |
r13539: Add 128 bit creds processing client and server. Thanks to Andrew Bartlett's
Samba4 code.
Jeremy.
(This used to be commit a2fb436fc5dd536cfe860be93f55f9cb58139a0e)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_netlog_nt.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c index 97e19e6cb7..52f2c2e34c 100644 --- a/source3/rpc_server/srv_netlog_nt.c +++ b/source3/rpc_server/srv_netlog_nt.c @@ -338,7 +338,8 @@ NTSTATUS _net_auth(pipes_struct *p, NET_Q_AUTH *q_u, NET_R_AUTH *r_u) } /* From the client / server challenges and md4 password, generate sess key */ - creds_server_init(p->dc, + creds_server_init(0, /* No neg flags. */ + p->dc, &p->dc->clnt_chal, /* Stored client chal. */ &p->dc->srv_chal, /* Stored server chal. */ (const char *)p->dc->mach_pw, @@ -415,7 +416,8 @@ NTSTATUS _net_auth_2(pipes_struct *p, NET_Q_AUTH_2 *q_u, NET_R_AUTH_2 *r_u) } /* From the client / server challenges and md4 password, generate sess key */ - creds_server_init(p->dc, + creds_server_init(q_u->clnt_flgs.neg_flags, + p->dc, &p->dc->clnt_chal, /* Stored client chal. */ &p->dc->srv_chal, /* Stored server chal. */ (const char *)p->dc->mach_pw, |