]> git.pld-linux.org Git - packages/pwauth.git/blame - pwauth-config.patch
- up to 2.3.9
[packages/pwauth.git] / pwauth-config.patch
CommitLineData
46fde04c
JR
1--- pwauth/config.h 2004-09-29 03:07:18.000000000 +0200
2+++ pwauth/config.h.oden 2006-03-19 21:19:48.000000000 +0100
1c2f325e 3@@ -123,7 +123,7 @@
b107cdb2
JR
4
5 /* #define SHADOW_NONE /**/
6 /* #define SHADOW_BSD /* FreeBSD, NetBSD, OpenBSD, BSDI, OS X */
7-#define SHADOW_SUN /* Linux, Solaris, IRIX */
8+/* #define SHADOW_SUN /* Linux, Solaris, IRIX */
9 /* #define SHADOW_JFH /**/
10 /* #define SHADOW_MDW /**/
1c2f325e 11 /* #define SHADOW_AIX /* AIX (see also AUTHENTICATE_AIX) */
12@@ -131,7 +131,7 @@
b107cdb2 13
1c2f325e 14 /* HIGH-LEVEL OPTIONS */
15
16-/* #define PAM /* Linux PAM or OpenPAM */
17+#define PAM /* Linux PAM or OpenPAM */
18 /* #define PAM_OLD_OS_X /* PAM on OS X version 10.5 or older */
b107cdb2
JR
19 /* #define PAM_SOLARIS /* PAM on Solaris other than 2.6 */
20 /* #define PAM_SOLARIS_26 /* PAM on Solaris 2.6 */
21@@ -192,8 +192,8 @@
22 * uid numbers.
23 */
24
25-#define UNIX_LASTLOG /**/
26-#define HAVE_LASTLOG_H /**/
27+/* #define UNIX_LASTLOG /**/
28+/* #define HAVE_LASTLOG_H /**/
29
30
31 /* If NOLOGIN_FILE is defined to the full path name of a file, then the
32@@ -238,7 +238,7 @@
33 * last).
34 */
35
36-#define SERVER_UIDS 72 /* user "nobody" */
37+/* #define SERVER_UIDS 72 /* user "nobody" */
38
39
40 /* If MIN_UNIX_UID is defined to an integer, logins with uid numbers less than
41@@ -250,7 +250,7 @@
42 * given value will be accepted).
43 */
44
45-#define MIN_UNIX_UID 500 /**/
46+/* #define MIN_UNIX_UID 500 /**/
47
48
49 /* If IGNORE_CASE is defined, the login given is checked in two different
50@@ -278,7 +278,7 @@
51 * SLEEP_LOCK. SLEEP_TIME defaults to 2 seconds if not defined.
52 */
53
54-#define SLEEP_LOCK "/var/run/pwauth.lock"
55+/* #define SLEEP_LOCK "/var/run/pwauth.lock"
56
57
58 /* If ENV_METHOD is defined, pwauth expects mod_auth_external to be configured
46fde04c
JR
59--- pwauth/main.c 2004-09-27 22:43:59.000000000 +0200
60+++ pwauth/main.c.oden 2006-03-19 21:24:23.000000000 +0100
b107cdb2
JR
61@@ -50,7 +50,11 @@
62 char login[BFSZ+1], passwd[BFSZ+1];
63 char *c, *strchr();
64 #endif
65- int uid,i;
66+
67+#ifdef SERVER_UIDS
68+ int uid;
69+#endif
70+ int i;
71 int status;
72 struct rlimit rlim;
73
This page took 0.042002 seconds and 4 git commands to generate.