Changeset 2760
- Timestamp:
- Nov 7, 2016, 1:03:21 PM (4 years ago)
- Location:
- lliurex-freeradius/trunk/fuentes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-freeradius/trunk/fuentes/debian/changelog
r653 r2760 1 lliurex-freeradius (0.2.5) xenial; urgency=high 2 3 * Add posibility external Router IP 4 5 -- Daniel Duran Vecino <daduve@gmail.com> Mon, 07 Nov 2016 13:02:07 +0100 6 1 7 lliurex-freeradius (0.2.4) xenial; urgency=medium 2 8 -
lliurex-freeradius/trunk/fuentes/install/usr/sbin/lliurex-freeradius
r653 r2760 53 53 self.txt_ldap_user=uitree.get_object("txtLDAPUser") 54 54 self.txt_ldap_pwd=uitree.get_object("txtLDAPPassword") 55 self.txt_router_ip=uitree.get_object("txtrouter_ip") 55 56 56 57 self.main_label=uitree.get_object("mainLabel") … … 176 177 self.txt_ldap_user=uitree.get_object("txtLDAPUser") 177 178 self.txt_ldap_pwd=uitree.get_object("txtLDAPPassword") 179 self.txt_router_ip=uitree.get_object("txtrouter_ip") 178 180 179 181 ''' … … 183 185 ldap_user=self.txt_ldap_user.get_text() 184 186 ldap_pwd=self.txt_ldap_pwd.get_text() 187 router_ip=self.txt_router_ip.get_text() 185 188 186 189 if len(server)==0: … … 198 201 199 202 if reason=="": 200 return (True,(server,radius_pwd,ldap_user,ldap_pwd ))203 return (True,(server,radius_pwd,ldap_user,ldap_pwd,router_ip)) 201 204 else: 202 205 return (False,reason) … … 220 223 radius_server,radius_pwd,ldap_user,ldap_pwd=ret[1] 221 224 222 n4d_ret=self.n4d.install_conf_files(self.user_info,"FreeRadiusManager",radius_server,radius_pwd,ldap_user,ldap_pwd )225 n4d_ret=self.n4d.install_conf_files(self.user_info,"FreeRadiusManager",radius_server,radius_pwd,ldap_user,ldap_pwd,router_ip) 223 226 224 227 -
lliurex-freeradius/trunk/fuentes/install/usr/share/lliurex-freeradius/rsrc/freeradius.ui
r652 r2760 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Generated with glade 3.1 6.1-->2 <!-- Generated with glade 3.18.3 --> 3 3 <interface> 4 4 <requires lib="gtk+" version="3.10"/> … … 47 47 <property name="left_attach">1</property> 48 48 <property name="top_attach">0</property> 49 <property name="width">1</property>50 <property name="height">1</property>51 49 </packing> 52 50 </child> … … 61 59 <property name="left_attach">1</property> 62 60 <property name="top_attach">1</property> 63 <property name="width">1</property>64 <property name="height">1</property>65 61 </packing> 66 62 </child> … … 75 71 <property name="left_attach">1</property> 76 72 <property name="top_attach">2</property> 77 <property name="width">1</property>78 <property name="height">1</property>79 73 </packing> 80 74 </child> … … 83 77 <property name="visible">True</property> 84 78 <property name="can_focus">False</property> 85 <property name="xalign">0</property>86 79 <property name="label" translatable="yes">User</property> 80 <property name="xalign">0</property> 87 81 </object> 88 82 <packing> 89 83 <property name="left_attach">0</property> 90 84 <property name="top_attach">0</property> 91 <property name="width">1</property>92 <property name="height">1</property>93 85 </packing> 94 86 </child> … … 97 89 <property name="visible">True</property> 98 90 <property name="can_focus">False</property> 99 <property name="xalign">0</property>100 91 <property name="label" translatable="yes">Password</property> 92 <property name="xalign">0</property> 101 93 </object> 102 94 <packing> 103 95 <property name="left_attach">0</property> 104 96 <property name="top_attach">1</property> 105 <property name="width">1</property>106 <property name="height">1</property>107 97 </packing> 108 98 </child> … … 111 101 <property name="visible">True</property> 112 102 <property name="can_focus">False</property> 113 <property name="xalign">0</property>114 103 <property name="label" translatable="yes">Server</property> 104 <property name="xalign">0</property> 115 105 </object> 116 106 <packing> 117 107 <property name="left_attach">0</property> 118 108 <property name="top_attach">2</property> 119 <property name="width">1</property>120 <property name="height">1</property>121 109 </packing> 122 110 </child> … … 226 214 <property name="window_position">center-always</property> 227 215 <property name="icon_name">network-wireless</property> 228 <property name="has_resize_grip">False</property>229 216 <child> 230 217 <object class="GtkBox" id="box1"> … … 273 260 <property name="visible">True</property> 274 261 <property name="can_focus">False</property> 275 <property name="xalign">0</property>276 262 <property name="label" translatable="yes">Radius server</property> 263 <property name="xalign">0</property> 277 264 </object> 278 265 <packing> 279 266 <property name="left_attach">0</property> 280 267 <property name="top_attach">0</property> 281 <property name="width">1</property>282 <property name="height">1</property>283 268 </packing> 284 269 </child> … … 287 272 <property name="visible">True</property> 288 273 <property name="can_focus">False</property> 289 <property name="xalign">0</property>290 274 <property name="label" translatable="yes">Radius password</property> 275 <property name="xalign">0</property> 291 276 </object> 292 277 <packing> 293 278 <property name="left_attach">0</property> 294 279 <property name="top_attach">1</property> 295 <property name="width">1</property>296 <property name="height">1</property>297 280 </packing> 298 281 </child> … … 301 284 <property name="visible">True</property> 302 285 <property name="can_focus">False</property> 303 <property name="xalign">0</property>304 286 <property name="label" translatable="yes">LDAP user</property> 287 <property name="xalign">0</property> 305 288 </object> 306 289 <packing> 307 290 <property name="left_attach">0</property> 308 291 <property name="top_attach">2</property> 309 <property name="width">1</property>310 <property name="height">1</property>311 292 </packing> 312 293 </child> … … 315 296 <property name="visible">True</property> 316 297 <property name="can_focus">False</property> 317 <property name="xalign">0</property>318 298 <property name="label" translatable="yes">LDAP password</property> 299 <property name="xalign">0</property> 319 300 </object> 320 301 <packing> 321 302 <property name="left_attach">0</property> 322 303 <property name="top_attach">3</property> 323 <property name="width">1</property>324 <property name="height">1</property>325 304 </packing> 326 305 </child> … … 333 312 <property name="left_attach">1</property> 334 313 <property name="top_attach">0</property> 335 <property name="width">1</property>336 <property name="height">1</property>337 314 </packing> 338 315 </child> … … 345 322 <property name="left_attach">1</property> 346 323 <property name="top_attach">1</property> 347 <property name="width">1</property>348 <property name="height">1</property>349 324 </packing> 350 325 </child> … … 358 333 <property name="top_attach">2</property> 359 334 <property name="width">2</property> 360 <property name="height">1</property>361 335 </packing> 362 336 </child> … … 373 347 <property name="top_attach">3</property> 374 348 <property name="width">2</property> 375 <property name="height">1</property>376 349 </packing> 377 350 </child> … … 417 390 <property name="left_attach">2</property> 418 391 <property name="top_attach">1</property> 419 <property name="width">1</property> 420 <property name="height">1</property> 421 </packing> 392 </packing> 393 </child> 394 <child> 395 <object class="GtkLabel" id="label10"> 396 <property name="visible">True</property> 397 <property name="can_focus">False</property> 398 <property name="label" translatable="yes">Wifi Server</property> 399 <property name="xalign">0</property> 400 </object> 401 <packing> 402 <property name="left_attach">0</property> 403 <property name="top_attach">4</property> 404 </packing> 405 </child> 406 <child> 407 <object class="GtkEntry" id="txtrouter_ip"> 408 <property name="visible">True</property> 409 <property name="can_focus">True</property> 410 </object> 411 <packing> 412 <property name="left_attach">1</property> 413 <property name="top_attach">4</property> 414 </packing> 415 </child> 416 <child> 417 <placeholder/> 422 418 </child> 423 419 <child>
Note: See TracChangeset
for help on using the changeset viewer.