$NetBSD: patch-ap,v 1.4 2004/08/31 11:27:12 wiz Exp $

--- session.c.orig	2004-08-12 14:40:25.000000000 +0200
+++ session.c
@@ -1271,11 +1271,13 @@ do_setusercontext(struct passwd *pw)
 			perror("setgid");
 			exit(1);
 		}
+#ifndef __INTERIX
 		/* Initialize the group list. */
 		if (initgroups(pw->pw_name, pw->pw_gid) < 0) {
 			perror("initgroups");
 			exit(1);
 		}
+#endif /* __INTERIX */
 		endgrent();
 # ifdef USE_PAM
 		/*
