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 22 Nov 2014, 22:21
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 [3 Posts]  
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
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
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2276

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 from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

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
[ Time: 0.0669s ][ Queries: 12 (0.0251s) ][ GZIP on ]