fix for kdm.

This commit is contained in:
espie 2004-02-02 00:54:15 +00:00
parent 54181c7b05
commit 1b09672215

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-kdm_backend_client_c,v 1.1 2004/02/02 00:54:15 espie Exp $
--- kdm/backend/client.c.orig 2004-01-21 03:41:35.000000000 +0100
+++ kdm/backend/client.c 2004-01-21 03:42:00.000000000 +0100
@@ -1147,11 +1147,13 @@ StartClient ()
if (td->fifoPath)
chown (td->fifoPath, curuid, -1);
endpwent ();
+#if defined(USESHADOW)
#if !defined(USE_PAM) && !defined(AIXV3)
# ifndef QNX4 /* QNX4 doesn't need endspent() to end shadow passwd ops */
endspent ();
# endif
#endif
+#endif
switch (pid = Fork ()) {
case 0:
/* Do system-dependent login setup here */