summaryrefslogtreecommitdiff
path: root/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/auth.c b/auth.c
index e8fbe9fd5..89a936068 100644
--- a/auth.c
+++ b/auth.c
@@ -535,7 +535,15 @@ getpwnamallow(const char *user)
535 parse_server_match_config(&options, user, 535 parse_server_match_config(&options, user,
536 get_canonical_hostname(options.use_dns), get_remote_ipaddr()); 536 get_canonical_hostname(options.use_dns), get_remote_ipaddr());
537 537
538#if defined(_AIX) && defined(HAVE_SETAUTHDB)
539 aix_setauthdb(user);
540#endif
541
538 pw = getpwnam(user); 542 pw = getpwnam(user);
543
544#if defined(_AIX) && defined(HAVE_SETAUTHDB)
545 aix_restoreauthdb();
546#endif
539#ifdef HAVE_CYGWIN 547#ifdef HAVE_CYGWIN
540 /* 548 /*
541 * Windows usernames are case-insensitive. To avoid later problems 549 * Windows usernames are case-insensitive. To avoid later problems