Lines Matching refs:pwbuf
259 smb_pwbuf_t pwbuf; in smb_pwd_getpwnam() local
278 pwbuf.pw_pwd = smbpw; in smb_pwd_getpwnam()
280 while (smb_pwd_fgetent(fp, &pwbuf, SMB_PWD_GETF_ALL) != NULL) { in smb_pwd_getpwnam()
310 smb_pwbuf_t pwbuf; in smb_pwd_getpwuid() local
329 pwbuf.pw_pwd = smbpw; in smb_pwd_getpwuid()
331 while (smb_pwd_fgetent(fp, &pwbuf, SMB_PWD_GETF_ALL) != NULL) { in smb_pwd_getpwuid()
479 smb_pwbuf_t pwbuf; in smb_pwd_update() local
519 pwbuf.pw_pwd = &smbpw; in smb_pwd_update()
525 while (smb_pwd_fgetent(src, &pwbuf, SMB_PWD_GETF_ALL) != NULL) { in smb_pwd_update()
536 err = smb_pwd_fputent(dst, &pwbuf); in smb_pwd_update()
539 err = smb_pwd_fputent(dst, &pwbuf); in smb_pwd_update()
556 err = smb_pwd_fputent(dst, &pwbuf); in smb_pwd_update()
616 smb_pwd_fgetent(FILE *fp, smb_pwbuf_t *pwbuf, uint32_t flags) in smb_pwd_fgetent() argument
624 pwentry = pwbuf->pw_buf; in smb_pwd_fgetent()
637 pw = pwbuf->pw_pwd; in smb_pwd_fgetent()
648 return (pwbuf); in smb_pwd_fgetent()
652 return (pwbuf); in smb_pwd_fgetent()
674 return (pwbuf); in smb_pwd_fgetent()
733 smb_pwd_fputent(FILE *fp, const smb_pwbuf_t *pwbuf) in smb_pwd_fputent() argument
735 smb_passwd_t *pw = pwbuf->pw_pwd; in smb_pwd_fputent()
1007 smb_pwbuf_t pwbuf; in smb_lucache_do_update() local
1032 bzero(&pwbuf, sizeof (smb_pwbuf_t)); in smb_lucache_do_update()
1033 pwbuf.pw_pwd = &smbpw; in smb_lucache_do_update()
1037 while (smb_pwd_fgetent(fp, &pwbuf, SMB_PWD_GETF_NOPWD) != NULL) { in smb_lucache_do_update()