The time now is Sat 25 May 2013, 08:12
All times are UTC - 4 |
| Author |
Message |
laurentius77
Joined: 30 Mar 2011 Posts: 37
|
Posted: Sun 23 Dec 2012, 10:46 Post subject:
gadmin openvpn from source - how to change default values Subject description: want to change Require authentication to "No" |
|
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-openvpn/server/gadmin-openvpn-server-0.1.6.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]
|
|
Back to top
|
|
 |
amigo
Joined: 02 Apr 2007 Posts: 1759
|
Posted: Sun 23 Dec 2012, 11:16 Post subject:
|
|
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: | /* 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")); |
|
|
Back to top
|
|
 |
laurentius77
Joined: 30 Mar 2011 Posts: 37
|
Posted: Sun 23 Dec 2012, 11:28 Post subject:
|
|
| 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: | /* 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")); |
|
Yes, I found that lines.
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?
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|