Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - concussion

Pages: [1]
1
Installation and Upgrades / Zentyal Mobile
« on: December 08, 2012, 10:06:36 pm »
Hey everyone, I had some free time and converted the interface mobile friendly. I only tested on iPhone 4 but it should work on all smartphones. These modifications does not affect regular interface. (except clicking to logo)



Here are the instructions:

add before </head> in /usr/share/zentyal/templates/header.mas
Code: [Select]
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<style>
@media only screen and (max-width: 480px) {
body { width: 100%; padding: 0 5px; }
#hmenu #remote_services_link, #confbutton { display:none; }
#menu { display:none; position: absolute;  width: 90%; background-color: #EEE; z-index: 10; box-shadow: 0px 0px 10px rgba(200, 200, 200, 1); left: 0; padding: 2px 2px 10px; margin: 0; }
#menu #nav { width: auto; padding: 0 5px; }
#menusearch { width: 98%; margin: 3px 0 -3px; }
#nav li a, #nav li li a { padding: 3px 20px 3px 3px; }
#header a img { height: 26px; }
#header { height: 35px; }
#hmenu { top: -30px; }
#hmenu a { padding: 3px 3px 3px 19px; background-position: center left !important; font-size: 10px; }
#content { margin: 10px 0; }
.dashboard { width: 100%; }
.summary_value { padding: 1px 3px; }
.sectionContent { width: 100%; }
#dashboard1, #dashboard2 { padding: 0; }
[id="widget_network:interfaces"] .summarySection table tr:nth-child(4n+4) div[id*="network:interfaces"] { width: 120px !important; }
}
</style>


add before </head> in /usr/share/zentyal/templates/login/index.mas
Code: [Select]
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<style>
@media only screen and (max-width: 400px) {
td#logotd { display: block; position: absolute; top:25px; margin-left: -45px; left: 50%; }
form #login { padding: 120px 10px 10px; min-width: 0px; }
body { margin-top: 20px; }
#ffwarning { display:none !important; }
}
</style>


change the line 14 in /usr/share/zentyal/templates/headTitle.mas  (Clicking zentyal logo opens menu)
Code: [Select]
<a href="#" onclick='if ($("menu").style.display=="none") $("menu").style.display = "block"; else$("menu").style.display = "none";'>

2
Installation and Upgrades / Re: [SOLVED] Samba in zentyal 3.0???
« on: November 30, 2012, 04:28:15 pm »
Uninstalling and reinstalling DNS seems to make it

3
Installation and Upgrades / Re: [SOLVED] Samba in zentyal 3.0???
« on: November 29, 2012, 07:39:30 pm »
Hi, I am getting the same error:

Samba can't be provisioned if no IP addresses are set and the DNS domain is properly configured. Ensure that you have at least a IP address assigned to an internal interface, and this IP has to be assigned to the domain and to the hostname in the DNS domain.

Ubuntu 12.04 Server, Zentyal 2.3 > 3.0 (upgraded)

eth0 : external dynamic ip
eth1 : internal static ip

Error Trace:
Code: [Select]
$VAR1 = bless( {
                 '-stacktrace' => 'Samba can't be provisioned if no IP addresses are set and the DNS domain is properly configured. Ensure that you have at least a IP address assigned to an internal interface, and this IP has to be assigned to the domain and to the hostname in the DNS domain. at /usr/share/perl5/EBox/Samba.pm line 681
EBox::Samba::_checkEnvironment(\'EBox::Samba=HASH(0x7f2d7b095ee0)\', 1) called at /usr/share/perl5/EBox/Samba.pm line 165
EBox::Samba::enableService(\'EBox::Samba=HASH(0x7f2d7b095ee0)\', 1) called at /usr/share/perl5/EBox/ServiceManager.pm line 183
EBox::ServiceManager::enableServices(\'EBox::ServiceManager=HASH(0x7f2d77719560)\', \'HASH(0x7f2d773bcb78)\') called at /usr/share/perl5/EBox/CGI/ServiceModule/StatusController.pm line 66
EBox::CGI::ServiceModule::StatusController::_process(\'EBox::CGI::ServiceModule::StatusController=HASH(0x7f2d773bc4e8)\') called at /usr/share/perl5/EBox/CGI/ClientRawBase.pm line 176
EBox::CGI::ClientRawBase::run(\'EBox::CGI::ServiceModule::StatusController=HASH(0x7f2d773bc4e8)\') called at /usr/share/perl5/EBox/CGI/Run.pm line 131
EBox::CGI::Run::run(\'EBox::CGI::Run\', \'ServiceModule/StatusController\', \'EBox\') called at /usr/share/zentyal/cgi/ebox.cgi line 34
ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler(\'Apache2::RequestRec=SCALAR(0x7f2d771a2b68)\') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
ModPerl::RegistryCooker::run(\'ModPerl::Registry=HASH(0x7f2d771a6aa8)\') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler(\'ModPerl::Registry=HASH(0x7f2d771a6aa8)\') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler(\'ModPerl::Registry\', \'Apache2::RequestRec=SCALAR(0x7f2d771a2b68)\') called at -e line 0
eval {...} called at -e line 0
',
                 '-file' => '/usr/share/perl5/EBox/Samba.pm',
                 '-text' => 'Samba can't be provisioned if no IP addresses are set and the DNS domain is properly configured. Ensure that you have at least a IP address assigned to an internal interface, and this IP has to be assigned to the domain and to the hostname in the DNS domain.',
                 '-line' => 681,
                 '-package' => 'EBox::Samba',
                 'silent' => 0
               }, 'EBox::Exceptions::External' );


How can I enable Samba ?

Pages: [1]