smb_pwd_getpwuid
extern smb_passwd_t *smb_pwd_getpwuid(uid_t, smb_passwd_t *);
if (smb_pwd_getpwuid(id, &smbpw) == NULL)