Lines Matching defs:passwd
391 int smb_ctx_setpassword(struct smb_ctx *ctx, const char *passwd, int setFlags)
393 if (passwd == NULL)
395 if (strlen(passwd) >= SMB_MAXPASSWORDLEN) {
403 if (*passwd == 0)
406 strlcpy(ctx->ct_setup.ioc_password, passwd, sizeof(ctx->ct_setup.ioc_password));
1330 const char *passwd = NULL;
1365 passwd = ctx->ct_setup.ioc_password;
1372 if (!smb_acquire_ntlm_cred(name, domain, passwd, &gssCreds)) {
1379 if (!smb_acquire_krb5_cred(name, NULL, passwd, &gssCreds)) {
1420 (passwd) ? "" : "obtain from cache",