Home
last modified time | relevance | path

Searched refs:ct_password (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dui-sun.c107 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 Dctx.c763 memset(ctx->ct_password, 0, sizeof (ctx->ct_password)); in smb_ctx_setpassword()
767 strlcpy(ctx->ct_password, passwd, in smb_ctx_setpassword()
768 sizeof (ctx->ct_password)); in smb_ctx_setpassword()
773 if (ctx->ct_password[0]) { in smb_ctx_setpassword()
799 if (ctx->ct_password[0] == '\0') in smb_ctx_setpwhash()
800 strlcpy(ctx->ct_password, "$HASH", in smb_ctx_setpwhash()
801 sizeof (ctx->ct_password)); in smb_ctx_setpwhash()
1157 if (ctx->ct_password[0] == '\0' && in smb_ctx_resolve()
1159 strlcpy(ctx->ct_password, "$HASH", in smb_ctx_resolve()
1160 sizeof (ctx->ct_password)); in smb_ctx_resolve()
[all …]
/illumos-gate/usr/src/lib/libsmbfs/netsmb/
H A Dsmb_lib.h120 char ct_password[SMBIOC_MAX_NAME]; member