Hello,
I set up my puppy distribution for compiling Gadmin-openvpn server from source.
Here is the tarball [/url]http://dalalven.dtdns.net/linux/gadmin- ... tar.gz[url]
The problem is I don't know where to operate the change in order to have the button Require authentication: set to "No" by default.
Thank anyone who can help me.[/url]
gadmin openvpn from source - how to change default values
-
- Posts: 82
- Joined: Wed 30 Mar 2011, 07:02
In gerneral, us grep to search for strings in the sources:
grep -nriH authentication *
The first thing returned from that is in src/create_server_settings.c, staring at line 154:
grep -nriH authentication *
The first thing returned from that is in src/create_server_settings.c, staring at line 154:
Code: Select all
/* Require username and password authentication */
widgets->server_set_combo[comb] = make_short_combo_with_label(GTK_TABLE(widgets->srv_set_table),
_(" Require authentication: "), 0,1,a,b,50);
combo_text = g_strdup_printf(_("No"));
-
- Posts: 82
- Joined: Wed 30 Mar 2011, 07:02
Yes, I found that lines.amigo wrote:In gerneral, us grep to search for strings in the sources:
grep -nriH authentication *
The first thing returned from that is in src/create_server_settings.c, staring at line 154:Code: Select all
/* Require username and password authentication */ widgets->server_set_combo[comb] = make_short_combo_with_label(GTK_TABLE(widgets->srv_set_table), _(" Require authentication: "), 0,1,a,b,50); combo_text = g_strdup_printf(_("No"));
The line 161 is set to "Yes"
The default value in graphical interface is set to "No" and I dont't know how to change these lines in order to change it to "Yes".
Can you help me a little?