gadmin openvpn from source - how to change default values

Using applications, configuring, problems
Post Reply
Message
Author
laurentius77
Posts: 82
Joined: Wed 30 Mar 2011, 07:02

gadmin openvpn from source - how to change default values

#1 Post by laurentius77 »

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]

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#2 Post by amigo »

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"));

laurentius77
Posts: 82
Joined: Wed 30 Mar 2011, 07:02

#3 Post by laurentius77 »

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"));
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?

Post Reply