Print this page
NEX-16824 SMB client connection setup rework
NEX-17232 SMB client reconnect failures
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Matt Barden <matt.barden@nexenta.com>
and: (improve debug)
SUP-513 Unable to join AD domain (with NtlmMinSeverSec set in the registry)
 Implement "Extended Session Security" and "Key Exchange" in NTLMSSP
        
*** 20,30 ****
   */
  
  /*
   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
   * Use is subject to license terms.
!  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
   */
  
  #ifndef _NTLM_H
  #define _NTLM_H
  
--- 20,31 ----
   */
  
  /*
   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
   * Use is subject to license terms.
!  *
!  * Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
   */
  
  #ifndef _NTLM_H
  #define _NTLM_H
  
*** 55,76 ****
  int
  ntlm_build_target_info(struct smb_ctx *, struct mbuf *, struct mbdata *);
  
  int
  ntlm_put_v1_responses(struct smb_ctx *ctx,
!         struct mbdata *lm_mbp, struct mbdata *nt_mbp);
  
  int
  ntlm_put_v1x_responses(struct smb_ctx *ctx,
!         struct mbdata *lm_mbp, struct mbdata *nt_mbp);
  
  int
  ntlm_put_v2_responses(struct smb_ctx *ctx, struct mbdata *ti_mbp,
!         struct mbdata *lm_mbp, struct mbdata *nt_mbp);
  
- int
- ntlm_build_mac_key(struct smb_ctx *ctx, struct mbdata *ntresp_mbp);
- 
  void
! ntlm2_kxkey(struct smb_ctx *ctx, struct mbdata *lm_mbp, uchar_t *kxkey);
  
  #endif /* _NTLM_H */
--- 56,78 ----
  int
  ntlm_build_target_info(struct smb_ctx *, struct mbuf *, struct mbdata *);
  
  int
  ntlm_put_v1_responses(struct smb_ctx *ctx,
!         struct mbdata *lm_mbp, struct mbdata *nt_mbp,
!         uchar_t *ssnkey);
  
  int
  ntlm_put_v1x_responses(struct smb_ctx *ctx,
!         struct mbdata *lm_mbp, struct mbdata *nt_mbp,
!         uchar_t *ssnkey);
  
  int
  ntlm_put_v2_responses(struct smb_ctx *ctx, struct mbdata *ti_mbp,
!         struct mbdata *lm_mbp, struct mbdata *nt_mbp,
!         uchar_t *ssnkey);
  
  void
! ntlm2_kxkey(struct smb_ctx *ctx, struct mbdata *lm_mbp,
!         uchar_t *ssn_key, uchar_t *kxkey);
  
  #endif /* _NTLM_H */