Searched refs:ct_password (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/lib/libsmbfs/smb/ |
H A D | ui-sun.c | 107 memset(ctx->ct_password, 0, sizeof (ctx->ct_password)); in smb_get_authentication() 108 strlcpy(ctx->ct_password, npw, sizeof (ctx->ct_password)); in smb_get_authentication() 123 if (ctx->ct_password[0]) { in smb_get_authentication() 124 err = ntlm_compute_lm_hash(ctx->ct_lmhash, ctx->ct_password); in smb_get_authentication() 127 err = ntlm_compute_nt_hash(ctx->ct_nthash, ctx->ct_password); in smb_get_authentication()
|
H A D | ctx.c | 759 if (strlen(passwd) >= sizeof (ctx->ct_password)) { in smb_ctx_setpassword() 772 memset(ctx->ct_password, 0, sizeof (ctx->ct_password)); in smb_ctx_setpassword() 774 (void) smb_simpledecrypt(ctx->ct_password, passwd); in smb_ctx_setpassword() 776 strlcpy(ctx->ct_password, passwd, in smb_ctx_setpassword() 777 sizeof (ctx->ct_password)); in smb_ctx_setpassword() 782 if (ctx->ct_password[0]) { in smb_ctx_setpassword() 783 err = ntlm_compute_nt_hash(ctx->ct_nthash, ctx->ct_password); in smb_ctx_setpassword() 786 err = ntlm_compute_lm_hash(ctx->ct_lmhash, ctx->ct_password); in smb_ctx_setpassword() 808 if (ctx->ct_password[0] == '\0') in smb_ctx_setpwhash() 809 strlcpy(ctx->ct_password, "$HASH", in smb_ctx_setpwhash() [all …]
|
/titanic_50/usr/src/lib/libsmbfs/netsmb/ |
H A D | smb_lib.h | 123 char ct_password[SMBIOC_MAX_NAME]; member
|