summaryrefslogtreecommitdiff
path: root/net/tac_plus-libradius/files/patch-ab
blob: 1ddb87ba27dfbfe4a0c5536c16a73e3eb06dd8ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Index: config.c
@@ -109,7 +109,7 @@
 static int no_user_dflt = 0;	/* default if user doesn't exist */
 static char *authen_default = NULL;	/* top level authentication default */
 static int authen_default_method = 0; /*For method check */
-static char *nopasswd_str = "nopassword";
+char *nopasswd_str = "nopassword";
 
 /* A host definition structure. Currently unused, but when we start
    configuring host-specific information e.g. per-host keys, this is
@@ -602,6 +602,12 @@
 		fprintf(stderr,"sym_code=%i, ldap\n",sym_code);
 		authen_default_method = sym_code;
 		break;
+#endif
+#ifdef USE_RADIUS
+		case S_radius:
+		fprintf(stderr,"sym_code=%i, radius\n",sym_code);
+		authen_default_method = sym_code;
+                break;
 #endif