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 - airtonix

Pages: [1] 2
1
Installation and Upgrades / DNS leaks private addresses for domains
« on: March 10, 2013, 07:39:20 am »
Network
1. configure eth0 as external ppoe.
2. configure eth1 as internal: 10.0.0.1
3. witness eth0 having a public IP of something like : 203.222.111.001

DNS
1. install and enable dns module
2. dns > domains : [+Add New]
3. provide domain name (example.com), save changes
4. dns > domains > [example.com > Domain IP Addresses]
5. witness it having two IP addresses : 10.0.0.1 and 203.222.111.001

DNS Registrar
1. bind your zentyal dns server to ns1.example.com ns*.example.com

Android Phone
1. disable wifi connection to local network, enable mobile data (3g, etc)
2. install network tools
3. swipe to DNS Dig pane
4. query example.com
5. witness external client is given private address of server


$ host example.com
example.com has address 203.222.111.001
example.com has address 10.0.0.1
example.com has IPv6 address ::1
example.com mail is handled by 10 ns.example.com.



Expected Results:

Query results should only contain private address results for internal queries (via eth1 or localnet)

2
Installation and Upgrades / Re: Zarafa SSL not working
« on: July 07, 2012, 05:51:14 pm »
Do you know how to (is it possible?) make subdomain for webapp for example webapp.myzentyal.com instead using http://myzentyal.com/webapp ?

+1 this....

we do it at work by creating a reverse proxy definition in apache

3
Hi airtonix, I've replied to you here:

http://forum.zentyal.org/index.php/topic,11314.msg45810.html#msg45810

Thanks for the testing!

I had to do some manual enabling... simply installing the packages, enabling the module, creating a virtualhost, assigning groupware to the virtualhost didn't result in a working webapp...

after all that i visit http://webmail/webapp/

and i get the timeout... because the module doesn't add the port 80 to the allowed list of ports for the local network....

ok add those , try again.

now the login screen appears and it won't accept any of the usernames or passwords...

4
If testtown.com is a mail domain alias for testone.com, mail sent to whoever@testtwo.com will be delivered to whoever@testone.com, assunming such mail address exists, obviously.
In such case, there is no need to define alias on per user basis because this is handled at domain level.

On the other hand, if you have a third domain, let say testthree.com, you may want mails sent to admin@testthree.com to be delivered to webmaster@testone.com.
Is it clearer like this?

This needs to be part of this page : http://doc.zentyal.org/en/mail.html#e-mail-account-creation-through-virtual-domains

5
Installation and Upgrades / Re: zentyal-zarafa uninstallable
« on: July 01, 2012, 03:55:24 pm »
perhaps then, when you make exclamations about how something is "included" it would probably be a nice thing to say:

Code: [Select]
+ Zarafa 7.1 included (by enabling extra repos)

instead of

Code: [Select]
+ Zarafa 7.1 included

or even provide a link to the installation guide from your Fan Fare Blog post that seeks to bring lots of attention on your new releases.

6
actually still broken

7
Installation and Upgrades / Re: login webinterface zentyal 2.3
« on: July 01, 2012, 10:32:06 am »
people should also check that the permissions of /etc/{passwd|group|shadow} :
Code: [Select]
sudo chmod 644 /etc/passwd
sudo chmod 644 /etc/group
sudo chmod 640 /etc/shadow

some of the recent changes to filesharing will mess with these when uninstalling them

8
Code: [Select]
Finally added the Zarafa module, featuring Zarafa 7.1 with its new web interface (classical one is also still available if you prefer it).


Where? zentyal-zarafa doesn't install becuase the repo has missing pacakages.

9
Installation and Upgrades / zentyal-zarafa uninstallable
« on: July 01, 2012, 08:32:52 am »
Code: [Select]
$ cat /etc/apt/sources.list.d/zentyal-2_3-precise.list
deb http://ppa.launchpad.net/zentyal/2.3/ubuntu precise main
deb-src http://ppa.launchpad.net/zentyal/2.3/ubuntu precise main



Code: [Select]
$ sudo apt-cache show zentyal-zarafa
Package: zentyal-zarafa
Priority: optional
Section: web
Installed-Size: 208
Maintainer: José Antonio Calvo <jacalvo@zentyal.org>
Architecture: all
Version: 2.3
Replaces: ebox-zarafa (<< 2.0.100)
Depends: zentyal-core (>= 2.3), zentyal-core (<< 2.3.100), zentyal-mail, zentyal-webserver, zarafa, zarafa-webaccess, zarafa-webapp, aspell
Filename: pool/main/z/zentyal-zarafa/zentyal-zarafa_2.3_all.deb
Size: 30812
MD5sum: 892b9cade75efcb899ab2a0602078d05
SHA1: 7e7b21a2f31b484ff55b3c8390117fcfd7be803c
Description: Zentyal - Groupware (Zarafa)
 Zentyal is a Linux small business server that can act as
 a Gateway, Unified Threat Manager, Office Server, Infrastructure
 Manager, Unified Communications Server or a combination of them. One
 single, easy-to-use platform to manage all your network services.
 .
 This module adds Zarafa integration with Zentyal.

Code: [Select]
$ sudo apt-get install zentyal-zarafa
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 zentyal-zarafa : Depends: zarafa but it is not installable
                  Depends: zarafa-webaccess but it is not installable
                  Depends: zarafa-webapp but it is not installable
E: Unable to correct problems, you have held broken packages.

10
Installation and Upgrades / Re: can't login to the admin interface
« on: July 01, 2012, 08:25:22 am »
ok so for a while now i've had zentyal 2.3 from the ppa on my server at home..


so on the friday night that just passed, i decided to update the packages and install zentyal-samba....

a few errors later and i decided to remove it....


apparently it's a bad idea to do that since it left me unable to change passwords of users from the commandline....

after i fixed that logging in via ssh left me with a "i have no name!@edge:$" prompt.

after i fixed that zentyal wouldn't let me login to the admin web interface.


I think i would have saved nine hours of piss farting around if the zentyal logs actually said
Code: [Select]
"oh hey this guy here... yeah that guy who just tried and failed to login... see him? yeah him. he failed to login because the permissions of your /etc/[shadow/group/passws] are wrong... you should fix that ... here's how: <insert steps > "

instead i get this most awesome uberdaciously helpful message which describes the exact situation and how to fix it :

Code: [Select]
2012/06/30 19:57:48 WARN> Auth.pm:160 EBox::Auth::authen_cred - Failed login from: 10.0.0.10

That's nine hours of my life i'll never get back

11
Installation and Upgrades / Re: can't login to the admin interface
« on: June 30, 2012, 10:21:00 pm »
turns out it was a problem with the permission bits of /etc/groups, /etc/passwd, or /etc/shadow (which all need to be 644 )

12
Installation and Upgrades / can't login to the admin interface
« on: June 30, 2012, 12:28:13 pm »
title says it all...


i CAN ssh to the machine


i CAN use sudo on the machine

so i am god on this machine.


I have purged zentyal and reinstalled it at least four hundred gazillion times....

and it still won't let me login with my sudo enabled password

Code: [Select]
$ groups
administrator adm sudo admin
administrator@edge:~$ id
uid=1000(administrator) gid=1000(administrator) groups=1000(administrator),4(adm),27(sudo),145(admin)
administrator@edge:~$ sudo service zentyal restart
 * Stopping Zentyal module: webmail                                                                [ OK ]
 * Stopping Zentyal module: usercorner                                                             [ OK ]
 * Stopping Zentyal module: squid                                                                  [ OK ]
 * Stopping Zentyal module: radius                                                                 [ OK ]
 * Stopping Zentyal module: mailfilter                                                             [ OK ]
 * Stopping Zentyal module: mail                                                                   [ OK ]
 * Stopping Zentyal module: jabber                                                                 [ OK ]
 * Stopping Zentyal module: ftp                                                                    [ OK ]
 * Stopping Zentyal module: captiveportal                                                          [ OK ]
 * Stopping Zentyal module: asterisk                                                               [ OK ]
 * Stopping Zentyal module: webserver                                                              [ OK ]
 * Stopping Zentyal module: virt                                                                   [ OK ]
 * Stopping Zentyal module: users                                                                  [ OK ]
 * Stopping Zentyal module: trafficshaping                                                         [ OK ]
 * Stopping Zentyal module: pptp                                                                   [ OK ]
 * Stopping Zentyal module: openvpn                                                                [ OK ]
 * Stopping Zentyal module: ntp                                                                    [ OK ]
 * Stopping Zentyal module: logs                                                                   [ OK ]
 * Stopping Zentyal module: ipsec                                                                  [ OK ]
 * Stopping Zentyal module: ids                                                                    [ OK ]
 * Stopping Zentyal module: events                                                                 [ OK ]
 * Stopping Zentyal module: ebackup                                                                [ OK ]
 * Stopping Zentyal module: dns                                                                    [ OK ]
 * Stopping Zentyal module: dhcp                                                                   [ OK ]
 * Stopping Zentyal module: ca                                                                     [ OK ]
 * Stopping Zentyal module: audit                                                                  [ OK ]
 * Stopping Zentyal module: antivirus                                                              [ OK ]
 * Stopping Zentyal module: firewall                                                               [ OK ]
 * Stopping Zentyal module: network                                                                [ OK ]
 * Stopping Zentyal module: apache                                                                 [ OK ]
 * Starting Zentyal module: network                                      [ OK ]
 * Starting Zentyal module: firewall                                     [ OK ]
 * Starting Zentyal module: antivirus                                    [ OK ]
 * Starting Zentyal module: audit                                        [ OK ]
 * Starting Zentyal module: ca                                           [ OK ]
 * Starting Zentyal module: dhcp                                         [ OK ]
 * Starting Zentyal module: dns                                          [ OK ]
 * Starting Zentyal module: ebackup                                      [ OK ]
 * Starting Zentyal module: events                                       [ OK ]
 * Starting Zentyal module: ids                                          [ OK ]
 * Starting Zentyal module: ipsec                                        [ OK ]
 * Starting Zentyal module: logs                                         [ OK ]
 * Starting Zentyal module: ntp                                          [ OK ]
 * Starting Zentyal module: openvpn                                      [ OK ]
 * Starting Zentyal module: pptp                                         [ OK ]
 * Starting Zentyal module: trafficshaping                               [ OK ]
 * Starting Zentyal module: users                                        [ OK ]
 * Starting Zentyal module: virt                                         [ OK ]
 * Starting Zentyal module: webserver                                    [ OK ]
 * Starting Zentyal module: asterisk                                     [ OK ]
 * Starting Zentyal module: captiveportal                                [ OK ]
 * Starting Zentyal module: ftp                                          [ OK ]
 * Starting Zentyal module: jabber                                       [ OK ]
 * Starting Zentyal module: mail                                         [ OK ]
 * Starting Zentyal module: mailfilter                                   [ OK ]
 * Starting Zentyal module: radius                                       [ OK ]
 * Starting Zentyal module: squid                                        [ OK ]
 * Starting Zentyal module: usercorner                                   [ OK ]
 * Starting Zentyal module: webmail                                      [ OK ]
 * Starting Zentyal module: apache                                       [ OK ]
administrator@edge:~$ sudo tail /var/log/zentyal/zentyal.log -f
...
2012/06/30 19:57:48 WARN> Auth.pm:160 EBox::Auth::authen_cred - Failed login from: 10.0.0.10


14
Installation and Upgrades / Re: Problem logging in
« on: June 30, 2012, 12:18:14 pm »
Readd Your User Account to sudo Group...

Code: [Select]
sudo adduser root sudo
OR

Code: [Select]
sudo adduser yourusername sudo

doesn't work

15
Installation and Upgrades / Re: incorrect password
« on: June 30, 2012, 11:22:10 am »
In ubuntu 12.04

you need to do this :

Quote
adduser YOURUSER sudo

still doesn't work.

Pages: [1] 2