Lines Matching refs:homedir
58 const char *homedir, const char *shell) in update_buffer() argument
70 argp->key.name, "x", uid, gid, gecos, homedir, shell) + 1; in update_buffer()
75 name, domain, "x", uid, gid, gecos, homedir, shell) + 1; in update_buffer()
93 argp->key.name, "x", uid, gid, gecos, homedir, shell); in update_buffer()
96 name, domain, "x", uid, gid, gecos, homedir, shell); in update_buffer()
116 process_homedir(char *homedir) in process_homedir() argument
122 len = strlen(homedir); in process_homedir()
124 if (strchr(homedir, ':') != NULL) in process_homedir()
131 if (!(len > 1 && homedir[0] == '\\' && homedir[1] == '\\')) in process_homedir()
133 return (homedir); in process_homedir()
143 for (i = strlen(smb_homedir); *homedir != '\0'; homedir++) { in process_homedir()
144 if (*homedir == '\\') { in process_homedir()
153 smb_homedir[i++] = *homedir; in process_homedir()
185 char **homedir_v = NULL, *homedir = NULL; in _nss_ad_passwd2str() local
262 homedir = NULL_STR; in _nss_ad_passwd2str()
263 else if ((homedir = process_homedir(homedir_v[0])) == NULL) in _nss_ad_passwd2str()
264 homedir = NULL_STR; in _nss_ad_passwd2str()
271 gecos_v[0], homedir, shell_v[0]) < 0) in _nss_ad_passwd2str()
280 if (homedir != NULL_STR && homedir_v != NULL && in _nss_ad_passwd2str()
281 homedir != homedir_v[0]) in _nss_ad_passwd2str()
282 free(homedir); in _nss_ad_passwd2str()