Lines Matching defs:ah
195 smb_autohome_t *ah = NULL;
205 while ((ah = smb_autohome_getent(name)) != NULL) {
206 if (strcasecmp(ah->ah_name, name) == 0)
210 if (ah == NULL) {
213 while ((ah = smb_autohome_getent(name)) != NULL) {
214 if (strcasecmp(ah->ah_name, "*") == 0) {
215 ah->ah_name = (char *)name;
221 if (ah == NULL) {
224 while ((ah = smb_autohome_getent("+nsswitch")) != NULL) {
225 if (strcasecmp("+nsswitch", ah->ah_name) != 0)
228 ah = NULL;
232 ah->ah_name = pw->pw_name;
234 if (ah->ah_path)
235 ah->ah_container = ah->ah_path;
237 ah->ah_path = pw->pw_dir;
243 return (ah);