Lines 1-17
Link Here
|
1 |
*** config.c Fri Mar 16 10:04:27 2001 |
1 |
Index: config.c |
2 |
--- ../../tac_plus.F5.0.0.alpha/config.c Sun Jan 20 19:49:48 2002 |
2 |
@@ -109,7 +109,7 @@ |
3 |
*************** |
3 |
static int no_user_dflt = 0; /* default if user doesn't exist */ |
4 |
*** 603,608 **** |
4 |
static char *authen_default = NULL; /* top level authentication default */ |
5 |
--- 603,614 ---- |
5 |
static int authen_default_method = 0; /*For method check */ |
6 |
authen_default_method = sym_code; |
6 |
-static char *nopasswd_str = "nopassword"; |
7 |
break; |
7 |
+char *nopasswd_str = "nopassword"; |
8 |
#endif |
8 |
|
9 |
+ #ifdef USE_RADIUS |
9 |
/* A host definition structure. Currently unused, but when we start |
10 |
+ case S_radius: |
10 |
configuring host-specific information e.g. per-host keys, this is |
11 |
+ fprintf(stderr,"sym_code=%i, radius\n",sym_code); |
11 |
@@ -602,6 +602,12 @@ |
12 |
+ authen_default_method = sym_code; |
12 |
fprintf(stderr,"sym_code=%i, ldap\n",sym_code); |
13 |
+ break; |
13 |
authen_default_method = sym_code; |
14 |
+ #endif |
14 |
break; |
15 |
|
15 |
+#endif |
16 |
|
16 |
+#ifdef USE_RADIUS |
17 |
default: |
17 |
+ case S_radius: |
|
|
18 |
+ fprintf(stderr,"sym_code=%i, radius\n",sym_code); |
19 |
+ authen_default_method = sym_code; |
20 |
+ break; |
21 |
#endif |
22 |
|
23 |
|