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

Pages: 1 ... 29 30 [31] 32
452
Hello,
I need more interfaces for my samba configuration file "smb.conf", like so:

Code: [Select]
interfaces=lo,eth0,tun0
bind_interfaces_only=NO

However, when I edit this in /etc/samba/smb.conf, my changes are lost when the next reboot happens.
What to do to make my changes more permanent ?

Zentyal uses templates and a redis database in order to generate the services configurations. So the changes that you make directly on the final configuration files will be lost while re-booting each one of the services.

In order to make your changes persistent you have to follow these instructions:https://doc.zentyal.org/en/appendix-c.html (search the stubs section).

 ;)

453
Directory and Authentication / Re: questions about DNS?
« on: June 03, 2019, 01:08:41 pm »
hanks for the reply,  for the DNS i have activated Enable transparent DNS cache

but the issue is that its not resolving by IP but by name yes

if i do nslookup 192.168.8.44 it cannot find the name but if i do the same by name it works 
i think it has to do with DHCP

i was reading this and think its still an issue

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=2ahUKEwi717mD38niAhVsp1kKHdD9A94QrAIoADAAegQIBRAH&url=https%3A%2F%2Fforum.zentyal.org%2Findex.php%3Ftopic%3D31202.0&usg=AOvVaw2k_bMtgJaLS2RTMP2uwUdh



Yes it could be the problem source. Samba4 is heavily integrated with Bind9...

I wonder if the machines which have this problem are joined to the domain... Do you have your Zentyal server configured as Domain Controller, isn't it?


454
Directory and Authentication / Re: questions about DNS?
« on: May 31, 2019, 03:23:49 pm »
bump?

Hi!
Zentyal manages automatically inverse resolution.

Read the docs about DNS. I think you have forgotted to configure some DNS options.  ;)

Working with DHCP obliges you to use multigateway rules.

I have no time in this moment but i'll try to help you later.


455
Hi,

Thanks for your reply but this isn't what is happening. The machine I'm setting it up on has one network interface. It works until an apt upgrade is performed whether I do it or it's done through the GUI. Upon restart /etc/network/interfaces is replaced with

# ifupdown has been replaced by netplan(5) on this system.  See
# /etc/netplan for current configuration.
# To re-enable ifupdown on this system, you can run:
#    sudo apt install ifupdown

But netplan isn't installed. just the default YAML file. For clarity, editing /etc/network/interfaces to put a network definition in doesn't help as I cant restart networking because the service has been moved. And because this has happened the computer doesn't even know where 127.0.0.1 is so I can't make changes locally through anything other than the command line.

This appears to be an apt manifest error.

Bizarre...

Do you have used a Zentyal 6.0 iso image in order to install your system or you have installed Zentyal on a pre-existent ubuntu system?

I haven't had succes when I have tried to reproduce your problem.

Could you please send me your whole  list of repositories?

Cheers!

456
Hi,

I've been having problems with installing Zentyal 6.0 and then performing an apt upgrade. I have tried this on an i5 machine and a couple of VMs and get the same result every time.

1) Install Zentyal
2) Go through the initial setup
3) Run
Code: [Select]
sudo apt update4) Run
Code: [Select]
sudo apt upgrade
Result:

Network configuration disappears and a /etc/netplan/01-netcfg.yaml appears but netplan isn't installed

I've searched the forums and found https://forum.zentyal.org/index.php/topic,32523.msg109278.html#msg109278 that might be the same problem but it's partly in Russian and the given fix - apt purge ubuntu-minimal - doesn't work.

Because I've lost the network connection I can't easily copy and paste logs to this post. apt/history.log does say it's installed netplan.io

Anyone know why this keeps happening? Not upgrading packages seems to be the only fix.

Hi stetho,

You shoul use the wizard in order to make your first network setup.

This step can be a little annoying because if you are setting-up your server remotely you'll lost the connection if you had using the network interfaz that you declare "external" in the wizard due to the default firewall rules.

Zentyal doesn't uses yaml templates, nor netplan. Zentyal uses redis database in order to store the setted configurations and  uses perl templates. Both of them generate the config files for the ubuntu system that you expected found in /etc folder, etc.

You can use command line without problem, but, in order to make your settings persitent you have to make the changes throught the stubs. (You can edit, for instance, "/etc/network/interfaces" file, but Zentyal will re-generates this file with the stored settings each time the service will start)

Read this https://doc.zentyal.org/en/appendix-c.html

Cheers

457
Installation and Upgrades / Re: moving spam email to spam folder.
« on: May 29, 2019, 01:18:55 pm »
Hi Baseloppe,
Unfortunately, we're not using the commercial version  :(
This lack of support is got me seriously contemplating moving to Nethserver.

If anybody has any idea on dovecot and sieve, please let me know.


Hi geo77!

Code: [Select]
doveconf namespace

You should found something similar to this:

Code: [Select]
namespace inbox {
  disabled = no
  hidden = no
  ignore_on_failure = no
  inbox = yes
  list = yes
  location =
  mailbox Drafts {
    auto = subscribe
    autoexpunge = 0
    autoexpunge_max_mails = 0
    comment =
    driver =
    special_use = \Drafts
  }
  mailbox Sent {
    auto = subscribe
    autoexpunge = 0
    autoexpunge_max_mails = 0
    comment =
    driver =
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    auto = no
    autoexpunge = 0
    autoexpunge_max_mails = 0
    comment =
    driver =
    special_use = \Sent
  }
  mailbox Spam {
    auto = create
    autoexpunge = 0
    autoexpunge_max_mails = 0
    comment =
    driver =
    special_use = \Junk
  }
  mailbox Trash {
    auto = subscribe
    autoexpunge = 0
    autoexpunge_max_mails = 0
    comment =
    driver =
    special_use = \Trash
  }
  order = 0
  prefix =
  separator = /
  subscriptions = yes
  type = private
}


Code: [Select]
sudo doveadm mailbox list -u user@domain.lan
You should found something similar to this:

Code: [Select]
Trash
Drafts
Sent
Spam
INBOX

To move the  spam to the Junk folder, you has to have enabled  sieve script in Dovecot.

Code: [Select]
doveconf plugin
This is my output.

Code: [Select]
plugin {
  quota = maildir:User quota
  quota_rule = *:storage=0
  sieve = /var/vmail/%Ld/%Ln/sieve-script
  sieve_dir = /var/vmail/%Ld/%Ln
  sieve_global_path = /var/vmail/default.sieve
  sieve_storage = /var/vmail/%Ld/%Ln
}

Test your dovecot instance:

Code: [Select]
netcat localhost 4190
"IMPLEMENTATION" "Dovecot (Ubuntu) Pigeonhole"
"SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext"
"NOTIFY" "mailto"
"SASL" "GSSAPI PLAIN"
"STARTTLS"
"VERSION" "1.0"
OK "Dovecot (Ubuntu) ready."

Create default.sieve into /var/vmail/ # sieve_global_path = /var/vmail/default.sieve

Here you have a sieve script that does te task: https://wiki2.dovecot.org/Pigeonhole/Sieve/Examples

Code: [Select]
require "fileinto";
if header :contains "X-Spam-Flag" "YES" {
  fileinto "Spam";
}

Compile the script:

Code: [Select]
sievec default.sieve
Restart mail service

This should do the trick.



458
Spanish / Re: Compartir carpetas en SOGo
« on: May 26, 2019, 10:23:33 pm »

He instalado zentyal 5.0 limpio y creado dos usuarios de prueba y al compartir la carpeta el otro usuario no ve lo que he compartido, lo mismo con zentyal 6.0.
Ayuda por favor  :'(

Puedes comprobar el funcionamiento usando las utilidades sogo-tool

Introduce "sogo-tool" sin parámetros y te dará información sobre sus funciones. Haz lo mismo añadiendo más funciones sin parámetros para ver cómo funciona la función que te interesa. En tu caso sería lo que te pongo  abajo:

Code: [Select]
sogo-tool manage-acl get
2019-01-30 23:56:05.401 sogo-tool[30264] ERROR(+[GCSFolderManager defaultFolderManager]): default 'OCSFolderInfoURL' is not configured.
manage-acl get|add|remove|subscribe|unsubscribe owner folder user <rights>

           get          get ACL information of folder for user
           add          add ACL information of folder for user
           remove       remove all ACL information of folder for user
           subscribe    subscribe user to owner's folder
           unsubscribe  unsubscribe user to owner's folder
           owner        the user owning the folder
           folder       the folder - Calendar/<ID> or Contacts/<ID>
           user         the user to get/set rights for - 'ALL', '<default>', 'anonymous' are supported
           rights       rights to add

Example:   sogo-tool manage-acl get jdoe Calendar/personal

Note:      You can add only one access right at the time. To set them all at once,
           invoke 'remove' first to remove them all.

PS: También estaría bien que aportes los logs de SOGo   (que puedes encontrar en ' /var/log/sogo')  :)


459
Spanish / Re: Zentyal 4.0 con proxy externo (navegacion muy lenta)
« on: May 26, 2019, 10:09:03 pm »
Tengo un servidor Zentyal 4.0 donde entre otros servicios tengo un proxy con reglas de acceso, todo funciona bien excepto cuando le configuro el proxy padre, la navegación se torna imposible, en el momento de hacer la petición desde el navegador se queda esperando y al cabo de unos 30 segundos es que comienza a cargar la web. Por el contrario, si la navegación es a algún sitio que no utilice el proxy padre la navegación es rápida… He estado revisando, el DNS funciona bien, las reglas de acceso tampoco creo que sean el problema de la lentitud… Ahh un detalle, esta versión de Zentyal tiene dos ficheros de .conf (squid.conf y squid-external.conf)

El proxy padre trabaja correctamente, si hago la prueba directo desde el router y utilizo el proxy padre la navegación es correcta y eficiente… Hay alguna directiva que está afectando el rendimiento del proxy y aun no sé qué es. Comentaba lo de la navegación directa porque mi provedor tiene un proxy pero todo lo que pertenece al dominio sld.cu pasa fuera del proxy, entonces hice esta directiva en squid-external.conf.mas

acl sitios_infomed dstdomain .sld.cu
always_direct allow sitios_infomed

y si entras a cualquier sitio sld.cu la navegación es correcta y rápida, ahora, si accedes a cualquier otro sitio el cual tiene que pasar por el proxy padre:

cache_peer 201.220.211.68 parent 3128 0 no-query no-digest

Demora muchísimo en responder la consulta, no sé si será que le está pidiendo dns al proxy padre o que será, ya no sé qué hacer…
Como dato adicional decirles que las dos plantillas squid.conf.mas y squid-external.conf.mas están originales, solo le añadí a la segunda el par de lineas que les decía arriba, el cache_peer lo toma de los datos escritos desde el dashboard o sea en la parte de la puerta de enlace...


Agradecería si alguien se ha encontrado con este problema y me pueda ayudar es el único detalle que tengo con este server, todo lo demás me funciona perfecto y no quisiera tener que empezar de cero con otro sistema…

Hola jbulies, ¿Podrías explicarme todo éso del "proxy padre"? ¿Tienes varios proxies? ¿Podrías describir la configuración de tu Zentyal (Qué módulos usas, etc)?

460
Other modules / Re: how to backup files
« on: May 26, 2019, 09:54:45 pm »
Hi, I'm new on  Zentyal Server, I would like to know how it is possilbe to do a backup from the server.
I like to use Zentyal as file server but I didn't find any backup program.
thanks in advance for any information.

Zentyal 6.0 includes a Backup module based on Duplicity https://doc.zentyal.org/es/backup.html

PS: The old backup-config feature makes only a backup of the configuration files.

461
Other modules / Re: Failover problem
« on: May 26, 2019, 09:48:33 pm »
Solved!!! After a long research i do this:

Edit the file:

/usr/share/zentyal-network/failover-checker

At line 28 we change:

use TryCatch::Lite;

With this:

use TryCatch;

Save and exit. Done all works fine only have a warning that said:"my" variable $network masks earlier declaration in same scope at /usr/share/zentyal-network/failover-checker line 42.

This issue was fixed on Zentyal 5.1 version

462
Other modules / Re: Command line with putty to stop firewall
« on: May 26, 2019, 09:38:09 pm »
Hi,

I turned zentyal 6.0 firewall on, now i can not access zentyal via browser. Is there a command line based command to disable this module?

Update:
I stop Zentyal service by command : sudo service zentyal stop
‌But still can not connect with putty.
Command: nmap -Pn <server_IP> returns:
all 1000 scanned ports on are filtered.

Can anyone help?

Zentyal enables the firewall just in the moment the network interfaces are configured the first time. If you configures as external interface the same iface that you're using to connect with webadmin you'll lost the connection because the default firewall external configuration. The same is valid for SSH.

You have to use the local console in order to disable the firewall while setting a firewall external interface rule granting the webadmin and SSH traffic. Use this command:

Code: [Select]
sudo zs firewall stop
Afterwards you'll have full access throught the external interface. Configure the rules for SSH and webadmin and restart the service using the webadmin or the command:

Code: [Select]
sudo zs firewall start
Cheers!

463
Yes. I remember that the automatic configuration fails  >:( . Could be this post useful yet?

https://wiki.zentyal.org/wiki/Thunderbird_Sync

464
Email and Groupware / Re: Shared mailboxes in SOGo webmail
« on: May 24, 2019, 11:55:14 pm »
Dovecot and SOGo have some awesome configuring tools that enables us to set our configuration without hardcoding parameters:

https://wiki2.dovecot.org/Tools/Doveadm
And also:
Code: [Select]
sogo-tool
2019-05-24 23:30:55.964 sogo-tool[17644:17644] sogo-tool [-v|--verbose] [-h|--help] command [argument1] ...
  -v, --verbose enable verbose mode
  -h, --help display this help information

  argument1, ... arguments passed to the specified command

  Available commands:
backup              -- backup user folders
checkup             -- checkup integrity of user(s) data)
cleanup             -- cleanup deleted elements of user(s)
create-folder       -- create folders for a user
dump-defaults       -- prints the sogod GNUstep domain configuration as a property list
expire-sessions     -- expires user sessions without activity for specified number of minutes
manage-acl          -- manage user's ACL
manage-eas          -- manage EAS folders
remove              -- remove user data and settings from the db
remove-doubles      -- remove duplicate contacts from the specified user addressbook
rename-user         -- update records pertaining to a user after a change of user id
restore             -- restore user folders
truncate-calendar   -- remove old calendar entries from the specified user calendar
update-autoreply    -- enable or disable auto reply for reached start/end dates
user-preferences    -- set user defaults / settings in the database

465
Email and Groupware / Re: sogo login error
« on: May 24, 2019, 11:48:47 pm »
I need help

I have sogo version 4.0.2 on a zentyal 6.0, I'm failing login sogo. in the log I have the following error
Apr 24 18:44:03 sogod [10865]: SOGoRootPage Login from '192.168.165.4' for user 'ebe' might not have worked - password policy: 65535
grace: -1 expire: -1 bound: 0
Apr 24 18:44:03 sogod [10865]: 192.168.165.4 'POST / SOGo / connect HTTP / 1.1' 403 34/67 0.167 - - 0
2019-04-24 18: 44: 12.313 sogod [10865: 10865] ERROR (- [NGLdapSearchResultEnumerator nextObject]): does not support result references yet.

I thank their help
Thank you

This isn't an error. Simply, you have created this user before install the Zentyal mail module and his e-mail account isn't configured. You can check this by viewing the user profile in webadmin . When I try to login into sogo with an user whos hasn't configured his e-mail account,  I have this log:

2019-05-24 23:40:45.189 sogod[15176:15176] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet ..
May 24 23:40:45 sogod [15176]: SOGoRootPage Login from '192.168.1.34' for user 'user' might not have worked - password policy: 65535  grace: -1  expire: -1  bound: 0
May 24 23:40:45 sogod [15176]: 192.168.1.34 "POST /SOGo/connect HTTP/1.1" 403 34/55 0.122 - - 0

You have simply to configure the mail account manually for this users created before the mail module installation  :)

Pages: 1 ... 29 30 [31] 32