Lines Matching defs:usr
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
56 const char *usr,
96 if (usr == NULL) {
101 if (strlcpy(pk.pk_usr, usr, sz) >= sz) {
156 smbfs_keychain_add(uid_t uid, const char *dom, const char *usr,
172 if ((err = smbfs_keychain_cmn(cmd, uid, dom, usr, lmhash, nthash))
178 (void) strlcpy(pwdinfo.pw_usr, usr, sizeof (pwdinfo.pw_usr));
193 smbfs_keychain_addhash(uid_t uid, const char *dom, const char *usr,
205 err = smbfs_keychain_cmn(cmd, uid, dom, usr,
215 smbfs_keychain_del(uid_t uid, const char *dom, const char *usr,
222 smbfs_keychain_cmn(SMBIOC_PK_DEL, uid, dom, usr, NULL, NULL)) != 0)
227 (void) strlcpy(pwdinfo.pw_usr, usr, sizeof (pwdinfo.pw_usr));
240 smbfs_keychain_chk(const char *dom, const char *usr)
243 return (smbfs_keychain_cmn(SMBIOC_PK_CHK, uid, dom, usr, NULL, NULL));
250 smbfs_keychain_get(const char *dom, const char *usr,
256 err = smbfs_keychain_cmn(cmd, uid, dom, usr, lmhash, nthash);
341 smbfs_default_dom_usr(char *dom, int maxdom, char *usr, int maxusr)
353 if (usr)
354 (void) strlcpy(usr, ctx->ct_user, maxusr);