]> git.pld-linux.org Git - packages/pwauth.git/blob - pwauth-config.patch
- 2.3.8
[packages/pwauth.git] / pwauth-config.patch
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
3 @@ -106,13 +106,13 @@
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          /**/
11  /* #define SHADOW_AIX          /* AIX */
12  /* #define SHADOW_HPUX         /* HPUX ? */
13  
14 -/* #define PAM                 /* Linux PAM or OpenPAM*/
15 +#define PAM                    /* Linux PAM or OpenPAM*/
16  /* #define PAM_OS_X            /* PAM on OS X */
17  /* #define PAM_SOLARIS         /* PAM on Solaris other than 2.6 */
18  /* #define PAM_SOLARIS_26      /* PAM on Solaris 2.6 */
19 @@ -192,8 +192,8 @@
20   * uid numbers.
21   */
22  
23 -#define UNIX_LASTLOG           /**/
24 -#define HAVE_LASTLOG_H         /**/
25 +/* #define UNIX_LASTLOG                /**/
26 +/* #define HAVE_LASTLOG_H              /**/
27  
28  
29  /* If NOLOGIN_FILE is defined to the full path name of a file, then the
30 @@ -238,7 +238,7 @@
31   * last).
32   */
33  
34 -#define SERVER_UIDS 72         /* user "nobody" */
35 +/* #define SERVER_UIDS 72              /* user "nobody" */
36  
37  
38  /* If MIN_UNIX_UID is defined to an integer, logins with uid numbers less than
39 @@ -250,7 +250,7 @@
40   * given value will be accepted).
41   */
42  
43 -#define MIN_UNIX_UID 500       /**/
44 +/* #define MIN_UNIX_UID 500    /**/
45  
46  
47  /* If IGNORE_CASE is defined, the login given is checked in two different
48 @@ -278,7 +278,7 @@
49   * SLEEP_LOCK.  SLEEP_TIME defaults to 2 seconds if not defined.
50   */
51  
52 -#define SLEEP_LOCK "/var/run/pwauth.lock"
53 +/* #define SLEEP_LOCK "/var/run/pwauth.lock"
54  
55  
56  /* If ENV_METHOD is defined, pwauth expects mod_auth_external to be configured
57 --- pwauth/main.c       2004-09-27 22:43:59.000000000 +0200
58 +++ pwauth/main.c.oden  2006-03-19 21:24:23.000000000 +0100
59 @@ -50,7 +50,11 @@
60      char login[BFSZ+1], passwd[BFSZ+1];
61      char *c, *strchr();
62  #endif
63 -    int uid,i;
64 +
65 +#ifdef SERVER_UIDS
66 +    int uid;
67 +#endif
68 +    int i;
69      int status;
70      struct rlimit rlim;
71  
This page took 0.038918 seconds and 3 git commands to generate.