Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 13:39
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
gadmin openvpn from source - how to change default values
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
laurentius77

Joined: 30 Mar 2011
Posts: 61

PostPosted: Sun 23 Dec 2012, 10:46    Post_subject:  gadmin openvpn from source - how to change default values
Sub_title: 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
View user's profile Send_private_message 
amigo

Joined: 02 Apr 2007
Posts: 2261

PostPosted: 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
View user's profile Send_private_message 
laurentius77

Joined: 30 Mar 2011
Posts: 61

PostPosted: 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
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0491s ][ Queries: 12 (0.0097s) ][ GZIP on ]