1 |
slords |
1.1 |
diff -ruN mod_auth_external-2.2.8.old/pwauth/config.h mod_auth_external-2.2.8/pwauth/config.h |
2 |
|
|
--- mod_auth_external-2.2.8.old/pwauth/config.h 2004-06-30 08:35:30.000000000 -0600 |
3 |
|
|
+++ mod_auth_external-2.2.8/pwauth/config.h 2004-08-08 12:45:15.458794000 -0600 |
4 |
|
|
@@ -93,11 +93,11 @@ |
5 |
|
|
|
6 |
|
|
/* #define SHADOW_NONE /**/ |
7 |
|
|
/* #define SHADOW_BSD /**/ |
8 |
|
|
-#define SHADOW_SUN /**/ |
9 |
|
|
+/* #define SHADOW_SUN /**/ |
10 |
|
|
/* #define SHADOW_JFH /**/ |
11 |
|
|
/* #define SHADOW_MDW /**/ |
12 |
|
|
/* #define SHADOW_AIX /**/ |
13 |
|
|
-/* #define PAM /**/ |
14 |
|
|
+#define PAM /**/ |
15 |
|
|
/* #define PAM_SOLARIS_26 /**/ |
16 |
|
|
|
17 |
|
|
|
18 |
|
|
@@ -135,8 +135,8 @@ |
19 |
|
|
* uid numbers. |
20 |
|
|
*/ |
21 |
|
|
|
22 |
|
|
-#define UNIX_LASTLOG /**/ |
23 |
|
|
-#define HAVE_LASTLOG_H /**/ |
24 |
|
|
+/* #define UNIX_LASTLOG /**/ |
25 |
|
|
+/* #define HAVE_LASTLOG_H /**/ |
26 |
|
|
|
27 |
|
|
/* SERVER_UIDS is a list of the uid numbers of the accounts that may run |
28 |
|
|
* pwauth. Normally this would just be the uid that your httpd is configured |
29 |
|
|
@@ -150,7 +150,7 @@ |
30 |
|
|
* last). |
31 |
|
|
*/ |
32 |
|
|
|
33 |
|
|
-#define SERVER_UIDS 99 /* user "nobody" */ |
34 |
|
|
+#define SERVER_UIDS 100,101,102 /* user "www" and "admin" (100 allows for upgraded systems) */ |
35 |
|
|
|
36 |
|
|
|
37 |
|
|
/* If MIN_UNIX_UID is defined to an integer, logins with uid numbers less than |
38 |
|
|
@@ -161,7 +161,7 @@ |
39 |
|
|
* given value will be accepted). |
40 |
|
|
*/ |
41 |
|
|
|
42 |
|
|
-#define MIN_UNIX_UID 500 /**/ |
43 |
|
|
+#define MIN_UNIX_UID 100 /**/ |
44 |
|
|
|
45 |
|
|
|
46 |
|
|
/* If IGNORE_CASE is defined, the login given is checked in two different |
47 |
|
|
@@ -189,7 +189,7 @@ |
48 |
|
|
* SLEEP_LOCK. SLEEP_TIME defaults to 2 seconds if not defined. |
49 |
|
|
*/ |
50 |
|
|
|
51 |
|
|
-#define SLEEP_LOCK "/var/run/pwauth.lock" |
52 |
|
|
+/* #define SLEEP_LOCK "/var/run/pwauth.lock" /**/ |
53 |
|
|
|
54 |
|
|
|
55 |
|
|
/* If ENV_METHOD is defined, pwauth expects mod_auth_external to be configured |