]> andersk Git - openssh.git/blobdiff - session.c
- (tim) [configure.ac] Bug 1078. Fix --without-kerberos5. Reported by
[openssh.git] / session.c
index 98bd3121c12bc725356de0fe19742d51d9aa8d57..db8722f47ceb7f9cc0165ad743a1b3b36313adb8 100644 (file)
--- a/session.c
+++ b/session.c
@@ -1334,11 +1334,11 @@ do_setusercontext(struct passwd *pw)
 # ifdef _AIX
                aix_usrinfo(pw);
 # endif /* _AIX */
-# ifdef HAVE_LIBIAF
+#if defined(HAVE_LIBIAF)  &&  !defined(BROKEN_LIBIAF)
                if (set_id(pw->pw_name) != 0) {
                        exit(1);
                }
-# endif
+#endif /* HAVE_LIBIAF  && !BROKEN_LIBIAF */
                /* Permanently switch to the desired uid. */
                permanently_set_uid(pw);
 #endif
This page took 0.029119 seconds and 4 git commands to generate.