Recent Posts

Pages: [1] 2 3 ... 10
1
That is great.
My problem first was, that i don't know where to configure my wish from the topic. That's why i could not found the right place in the documentation.

As I found my "workaround" I forgot to check the documentation. So thank you for the link; I think it helps. This seemed to me a solution for me.

Thank you and greetings from germany.
2
 :)

Read the official documentation: https://doc.zentyal.org/en/appendix-c.html#stubs

Regarding the templates, Zentyal has a good architecture. Zentyal looks for the templates. first, in the '/etc/zentyal/stubs/...' folders (that you have to create) If the needed template doesn't exists in this location, it searches the template in the default '/usr/share/zentyal/stubs/...' folders.

Cheers!
3
Russian / Re: Гостевой доступ samba
« Last post by luha on Today at 10:04:48 am »
В том и прикол со всеми этими вашими графическими интерфейсами, включая веб-морды. Они ограничены функционально и невозможно с этим ничего поделать. В итоге все приходят к консоли и как следствие правильный сервер никогда не видит графики. Расценивайте веб-морду как удобное средство по быренькому что-то там глянуть, пользователя добавить/удалить и прочее при условии что изначальная настройка сервера уже произведена.

И ещё - если вы не умеете и не используете скриптов и крон то считайте что это не сервер, а деятельность ваша любительского уровня. Невозможно чтобы боевой сервер на производстве не допиливался скриптами. А в скриптах всё те же настройки шар, пользователей, обработчики логов, рапорты, рутинные вычисления. Кто вам всё это в каком интерфесе персонально для каждого случая будет делать? Невозможно охватить необъятное и не нужно.

Шары ваши ведь работают, если через строку? Так какие вопросы?! Было бы странно если бы было наоборот, а так считаю всё корректно. Возможно ошибка в веб-морде в скрипте конфигуратора. Это уже 100 раз встречал в зенчале.
4
I found out the reason why it would be uncommented after reboot. The file /etc/postfix/main.cf would generated by an zentyal-init-script while booting the system.

I could find the draft-file, which shoud be /usr/share/zentyal/stubs/mail/main.cf.mas.

I think using an script (e.g. via cronjob?)... something like that:
Code: [Select]
sed -i s/^virtual_mailbox_domains/#virtual_mailbox_domains/g /usr/share/zentyal/stubs/mail/main.cf.mas
sed -i s/^virtual_alias_maps/#virtual_alias_maps/g /usr/share/zentyal/stubs/mail/main.cf.mas
sed -i s/^virtual_mailbox_maps/#virtual_mailbox_maps/g /usr/share/zentyal/stubs/mail/main.cf.mas
...should make it safe for upgrades. What do you think?
5
Russian / Re: Перенос Функций между серверами
« Last post by IIS on June 04, 2020, 02:10:55 pm »
Спасибо. буду пробовать.
6
Email and Groupware / Re: Zentyal Mail Filter not Starting
« Last post by johan.badenhorst on June 04, 2020, 12:33:44 pm »
So after no pointers in the right direction I started breaking down the init.d for amavis and noticed that if the Binaries are not found that the init.d simply exit with error code 0.

I traced the binaries and saw that the although Ubuntu reported amavisd-new as installed the binaries were missing. I did an apt --reinstall amavisd-new which re-installed 1:2.11.0-1ubuntu1.1 and low and behold the mailfilter module started, after a manual service amavis restart that is..

Next another snag hit, when attempting to do a manual sa-learn for SpamAssassin, I was greated with failure. running the same sa-learn command with the -D option showed me that the amavis user did not have access to the spamassassin db in mysql

This was fixed using the following

GRANT ALL PRIVILEGES ON spamassassin.* TO 'amavis'@'localhost' IDENTIFIED BY '*******';

The password obscured by the asterisks was obtained from /etc/spamassassin/local.cf at the "bayes_sql_password" line.

Hope this helps someone else with this issue



 
7
Other modules / Re: zentyal webadmin
« Last post by scottdr on June 04, 2020, 12:00:02 pm »
You did not mention if there were any clues in the Zentyal log file /var/log/zentyal/zentyal.log. Please look at this log as soon as you do the zs webadmin restart command

The webadmin interface is served by nginx. if you run 'ps -ef |grep nginx' (without the ' quotes) you should see output like this below : -

root      13993      1  0 May27 ?        00:00:00 nginx: master process /usr/sbin/nginx -c /var/lib/zentyal/conf/nginx.conf
www-data  14001  13993  0 May27 ?        00:01:19 nginx: worker process
www-data  14002  13993  0 May27 ?        00:00:00 nginx: worker process
www-data  14003  13993  0 May27 ?        00:00:07 nginx: worker process
www-data  14004  13993  0 May27 ?        00:00:26 nginx: worker process

If you do see the above, can you send the contents of /var/lib/zentyal/conf/nginx.conf to check the settings?


8
Other modules / Re: zentyal webadmin
« Last post by hshafi on June 04, 2020, 07:33:11 am »
No there are no errors when i run

zs webadmin start

when I check with

zs webadmin status

it says [stopped]
9
Russian / Re: Гостевой доступ samba
« Last post by sk_vm on June 03, 2020, 06:09:41 pm »
В том то и дело, что если отключить в веб интерфейсе самба, а включить его вручную через строку, то все работает и доступ есть. Так что причем тут протоколы я не понимаю)
10
I had some mild headaches around getting Zentyal shares accessible via alternative DNS names so I thought i'd write up a quick how to for anybody else running into this.

Situation beeing, i've got two zentyal boxes, one is a DC/authentication server, another one is supposed to just handle file shares but talk to DC for authentication and whatnot.
It's worth noting at this point Zentyal does not handle DNS requests outside of what is in it's own domain. (my firewall does DNS and just forwards all domain related requests to the zentyal DC)

Upon setting up a share i noticed //servername/share would work fine but replacing server name with anything else spawns an error upon wanting to access a share directory. (something about incorrect parameter)
This box will be replacing an older system with a different name so for legacy purposes I really want it to also work under alternative names.

So samba wants to explicitly know it's aliases, though the "netbios aliases" setting.
This needs to be defined in the samba configuration file.
If you google how to do this on a Zentyal box (as you can't just edit a config file and expect this to survive updates changes or even reboots) you will quickly find a "configuration files" page (https://wiki.zentyal.org/wiki/Configuration_Files) implying this is where you put your custom appendages.
This didn't do anything for me. (what does this do?)

I had to create a "stub" of the actual smb configuration file as described here under section stub: https://doc.zentyal.org/en/appendix-c.html.
So basicly

sudo mkdir /etc/zentyal/stubs
sudo mkdir /etc/zentyal/stubs/samba
sudo cp /usr/share/zentyal/stubs/samba/smb.conf.mas /etc/zentyal/stubs/samba
nano /etc/zentyal/stubs/samba/smb.conf.mas

And add "netbios aliases = space seperated names you want to use" under the "netbios name" value which should contain the name you've origionally given it.

Save this, restart, and bob is your uncle.
Pages: [1] 2 3 ... 10