Lines Matching defs:pw
359 smbfs_passwd_t *pw;
378 pw = pwbuf->pw_pwd;
379 bzero(pw, sizeof (smbfs_passwd_t));
380 pw->pw_uid = strtoul(argv[SMBFS_PWD_UID], 0, 10);
381 (void) strlcpy(pw->pw_dom, argv[SMBFS_PWD_DOMAIN],
382 sizeof (pw->pw_dom));
383 (void) strlcpy(pw->pw_usr, argv[SMBFS_PWD_USER], sizeof (pw->pw_usr));
388 (char *)pw->pw_lmhash, SMBAUTH_HASH_SZ);
396 (char *)pw->pw_nthash, SMBAUTH_HASH_SZ);
411 smbfs_passwd_t *pw = pwbuf->pw_pwd;
416 (void) bintohex((char *)pw->pw_lmhash, SMBAUTH_HASH_SZ,
420 (void) bintohex((char *)pw->pw_nthash, SMBAUTH_HASH_SZ,
424 rc = fprintf(fp, "%u:%s:%s:%s:%s\n", pw->pw_uid, pw->pw_dom, pw->pw_usr,