oops!
authorLuke Leighton <lkcl@samba.org>
Sat, 25 Oct 1997 17:58:53 +0000 (17:58 +0000)
committerLuke Leighton <lkcl@samba.org>
Sat, 25 Oct 1997 17:58:53 +0000 (17:58 +0000)
(This used to be commit 2119624010e599359f4829cce6800bb0c55d281e)

source3/pipenetlog.c

index ea2d326c45cc1b70af7943c995318ca52b9b101f..f2eb1c7f4ffa6674f942c0400fbbe6403ec698fa 100644 (file)
@@ -193,11 +193,11 @@ static void make_lsa_user_info(LSA_USER_INFO *usr,
 
        if (sess_key != NULL)
        {
-               memcpy(usr->sess_key, sess_key, sizeof(usr->sess_key));
+               memcpy(usr->user_sess_key, sess_key, sizeof(usr->user_sess_key));
        }
        else
        {
-               bzero(usr->sess_key, sizeof(usr->sess_key));
+               bzero(usr->user_sess_key, sizeof(usr->user_sess_key));
        }
 
        make_uni_hdr(&(usr->hdr_logon_srv), len_logon_srv, len_logon_srv, 4);