Lines Matching refs:err
64 int err, fd, sz;
68 err = 0;
78 err = SMB_KEYCHAIN_BADPASSWD;
91 err = SMB_KEYCHAIN_BADDOMAIN;
96 err = SMB_KEYCHAIN_BADDOMAIN;
100 err = SMB_KEYCHAIN_BADUSER;
105 err = SMB_KEYCHAIN_BADUSER;
120 err = SMB_KEYCHAIN_UNKNOWN;
126 err = SMB_KEYCHAIN_NODRIVER;
130 err = 0;
132 err = errno;
147 return (err);
163 int err, cmd = SMBIOC_PK_ADD;
168 if ((err = ntlm_compute_lm_hash(lmhash, pass)) != 0)
169 return (err);
170 if ((err = ntlm_compute_nt_hash(nthash, pass)) != 0)
171 return (err);
173 err = smbfs_keychain_cmn(cmd, uid, dom, usr, lmhash, nthash);
174 return (err);
183 int err, cmd = SMBIOC_PK_ADD;
184 err = smbfs_keychain_cmn(cmd, uid, dom, usr,
186 return (err);
215 int err, cmd = SMBIOC_PK_CHK;
217 err = smbfs_keychain_cmn(cmd, uid, dom, usr, lmhash, nthash);
218 return (err);
250 int err;
260 err = smbfs_keychain_get(ctx->ct_fullserver, ctx->ct_user,
262 if (!err) {
273 err = smbfs_keychain_get(ctx->ct_domain, ctx->ct_user,
275 if (!err) {
283 return (err);
300 int err;
302 err = smb_ctx_alloc(&ctx);
303 if (err)
304 return (err);
307 err = smb_ctx_setfullserver(ctx, server);
308 if (err != 0)
318 err = smb_ctx_readrc(ctx);
319 if (err)
330 return (err);