Lines Matching refs:pwdinfo
75 smbfs_iod_pwdadd(smbfs_passwd_t *pwdinfo)
83 if (pwdinfo == NULL)
86 if ((err = smbfs_door_encode(SMBIOD_PWDFILE_ADD, pwdinfo,
104 * Removes passwd info(s) from the smbfspasswd file. If pwdinfo is NULL,
108 smbfs_iod_pwddel(smbfs_passwd_t *pwdinfo)
116 if (pwdinfo == NULL)
121 if ((err = smbfs_door_encode(cmd, pwdinfo, &buf, &buflen)) != 0)
146 smbfs_door_decode(char *buf, size_t buflen, int *cmd, smbfs_passwd_t *pwdinfo)
162 if (pwdinfo != NULL) {
171 (void) strlcpy(pwdinfo->pw_dom, dom, sizeof (pwdinfo->pw_dom));
172 (void) strlcpy(pwdinfo->pw_usr, usr, sizeof (pwdinfo->pw_usr));
173 (void) bcopy(lm, pwdinfo->pw_lmhash, lm_sz);
174 (void) bcopy(nt, pwdinfo->pw_nthash, nt_sz);
189 smbfs_door_encode(int cmd, smbfs_passwd_t *pwdinfo, char **buf, size_t *buflen)
198 if (pwdinfo == NULL) {
202 pwdinfop = pwdinfo;