Spelling fixes.
authorTim Potter <tpot@samba.org>
Tue, 5 Mar 2002 00:53:46 +0000 (00:53 +0000)
committerTim Potter <tpot@samba.org>
Tue, 5 Mar 2002 00:53:46 +0000 (00:53 +0000)
(This used to be commit a7fa0733badad66ae610eac5e01569cf264976f3)

source3/include/ntdomain.h
source3/rpc_server/srv_netlog_nt.c

index 779c2deedd875cea11b0125a57a8d0955fd0a4ed..57eb4f43311acdb519d342e94cb2544f1cba4f3b 100644 (file)
@@ -159,7 +159,7 @@ struct dcinfo
 
        fstring remote_machine;  /* Machine name we've authenticated. */
 
-       BOOL challange_sent;
+       BOOL challenge_sent;
        BOOL got_session_key;
        BOOL authenticated;
 
index 72b8569b43d34e71ef744abdbd1570fedf2ac2de..92ebfd97c5c388142e84fde5a8957a5b0952b516 100644 (file)
@@ -242,7 +242,7 @@ NTSTATUS _net_req_chal(pipes_struct *p, NET_Q_REQ_CHAL *q_u, NET_R_REQ_CHAL *r_u
 
        memset((char *)p->dc.sess_key, '\0', sizeof(p->dc.sess_key));
 
-       p->dc.challange_sent = True;
+       p->dc.challenge_sent = True;
        /* set up the LSA REQUEST CHALLENGE response */
        init_net_r_req_chal(r_u, &p->dc.srv_chal, status);
        
@@ -274,7 +274,7 @@ NTSTATUS _net_auth(pipes_struct *p, NET_Q_AUTH *q_u, NET_R_AUTH *r_u)
 
        rpcstr_pull(mach_acct, q_u->clnt_id.uni_acct_name.buffer,sizeof(fstring),q_u->clnt_id.uni_acct_name.uni_str_len*2,0);
 
-       if (p->dc.challange_sent && get_md4pw((char *)p->dc.md4pw, mach_acct)) {
+       if (p->dc.challenge_sent && get_md4pw((char *)p->dc.md4pw, mach_acct)) {
 
                /* from client / server challenges and md4 password, generate sess key */
                cred_session_key(&p->dc.clnt_chal, &p->dc.srv_chal,
@@ -336,7 +336,7 @@ NTSTATUS _net_auth_2(pipes_struct *p, NET_Q_AUTH_2 *q_u, NET_R_AUTH_2 *r_u)
 
        rpcstr_pull(mach_acct, q_u->clnt_id.uni_acct_name.buffer,sizeof(fstring),q_u->clnt_id.uni_acct_name.uni_str_len*2,0);
 
-       if (p->dc.challange_sent && get_md4pw((char *)p->dc.md4pw, mach_acct)) {
+       if (p->dc.challenge_sent && get_md4pw((char *)p->dc.md4pw, mach_acct)) {
                
                /* from client / server challenges and md4 password, generate sess key */
                cred_session_key(&p->dc.clnt_chal, &p->dc.srv_chal,