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.


Topics - Metz

Pages: [1]
1
Email and Groupware / Add Mail / Fetchmail Schema
« on: December 17, 2020, 09:07:21 pm »
I've a new installation of the Zentyal 6.2 Server.

Also I have an existing postfix/dovecot email server and an existing nextcloud server.

I like to connect the mail server with ldap to the Zentyal server.

Now I'm looking for how to get the mail schemas installed so that I can add email aliases / fetchmail accounts to the LDAP user account.

I've installed apache directory server and connected to the Zentyal server.

But I do not know how to go forward. Where do I find the schemas? How do I best install them?

Hope you can help me.

BR Dirk

(I installed the mail module but also then the email alias was not available within the ldap user.)

2
Hello,

I'm trying to Sync Zentyal trial Version with Univentioen UCS 4.4 Server.

Zentyal Core version 6.2.3 (fresh install from iso)

On univention I addet quota:
Code: [Select]
ucr set repository/online/component/cool-solutions=yes \
repository/online/component/cool-solutions/version="current" \
repository/online/component/cool-solutions/unmaintained=yes

univention-install univention-domain-userquota

and also disabled tls:
Code: [Select]
ucr set samba/ldap/server/require/strong/auth=no
/etc/init.d/samba restart

Users and Computers get synced. DNS entries not and I get following error messages during sync:

Code: [Select]
...
2020/11/05 21:46:35 INFO> Samba.pm:776 EBox::Samba::_postServiceHook - Writing DNS update list...
2020/11/05 21:46:36 INFO> SyncDaemon.pm:340 EBox::Samba::SyncDaemon::run - Samba sync daemon started
2020/11/05 21:46:38 INFO> LDAP.pm:246 EBox::Module::LDAP::_sendSchemaUpdate - Sending schema update: CN=quota,CN=Schema,CN=Configuration,DC=example,DC=intranet
2020/11/05 21:46:38 ERROR> LDAP.pm:248 EBox::Module::LDAP::_sendSchemaUpdate - Error sending schema update: CN=quota,CN=Schema,CN=Configuration,DC=example,DC=intranet The server is unwilling to perform the requested operation
 at Error sending schema update: CN=quota,CN=Schema,CN=Configuration,DC=example,DC=intranet The server is unwilling to perform the requested operation
 at /usr/share/perl5/EBox/Module/LDAP.pm line 248
EBox::Module::LDAP::_sendSchemaUpdate('EBox::Samba=HASH(0x55986f10cc00)', 'Net::LDAP=HASH(0x559870c4a258)', '/usr/share/zentyal-samba/schema-quota.ldif') called at /usr/share/perl5/EBox/Module/LDAP.pm line 278
EBox::Module::LDAP::_loadSchemasFiles('EBox::Samba=HASH(0x55986f10cc00)', 'ARRAY(0x559870165220)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 267
EBox::Module::LDAP::_loadSchemas('EBox::Samba=HASH(0x55986f10cc00)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 341
EBox::Module::LDAP::_performSetup('EBox::Samba=HASH(0x55986f10cc00)') called at /usr/share/perl5/EBox/Samba.pm line 671
EBox::Samba::_regenConfig('EBox::Samba=HASH(0x55986f10cc00)') called at /usr/share/perl5/EBox/Module/Base.pm line 234
eval {...} at /usr/share/perl5/EBox/Module/Base.pm line 233
EBox::Module::Base::save('EBox::Samba=HASH(0x55986f10cc00)') called at /usr/share/perl5/EBox/GlobalImpl.pm line 649
eval {...} at /usr/share/perl5/EBox/GlobalImpl.pm line 648
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x55986a26f890)', 'progress', 'EBox::ProgressIndicator=HASH(0x55986da09828)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x55986d955cb0)', 'progress', 'EBox::ProgressIndicator=HASH(0x55986da09828)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
2020/11/05 21:46:38 ERROR> GlobalImpl.pm:653 EBox::GlobalImpl::saveAllModules - Failed to save changes in module samba: Error sending schema update: CN=quota,CN=Schema,CN=Configuration,DC=example,DC=intranet The server is unwilling to perform the requested operation
2020/11/05 21:46:38 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: radius
...
...
...
2020/11/05 21:47:40 ERROR> Sudo.pm:240 EBox::Sudo::_rootError - root command nsupdate -g -t 10 /var/lib/zentyal/tmp/K9v70Bpt2E failed.
Error output: update failed: REFUSED

Command output: .
Exit value: 2 at root command nsupdate -g -t 10 /var/lib/zentyal/tmp/K9v70Bpt2E failed.
Error output: update failed: REFUSED

Command output: .
Exit value: 2 at /usr/share/perl5/EBox/Sudo.pm line 240
EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/3opd1FyAb9.cmd 2> /var/lib/zentyal/tmp/stderr', 'nsupdate -g -t 10 /var/lib/zentyal/tmp/K9v70Bpt2E', 512, 'ARRAY(0x5598713acff0)', 'ARRAY(0x55986b75a318)') called at /usr/share/perl5/EBox/Sudo.pm line 210
EBox::Sudo::_root(1, 'nsupdate -g -t 10 /var/lib/zentyal/tmp/K9v70Bpt2E') called at /usr/share/perl5/EBox/Sudo.pm line 153
EBox::Sudo::root('nsupdate -g -t 10 /var/lib/zentyal/tmp/K9v70Bpt2E') called at /usr/share/perl5/EBox/DNS.pm line 967
EBox::DNS::_postServiceHook('EBox::DNS=HASH(0x55986e5d9bd8)', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 948
EBox::Module::Service::_regenConfig('EBox::DNS=HASH(0x55986e5d9bd8)') called at /usr/share/perl5/EBox/Module/Base.pm line 234
eval {...} at /usr/share/perl5/EBox/Module/Base.pm line 233
EBox::Module::Base::save('EBox::DNS=HASH(0x55986e5d9bd8)') called at /usr/share/perl5/EBox/GlobalImpl.pm line 681
eval {...} at /usr/share/perl5/EBox/GlobalImpl.pm line 679
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x55986a26f890)', 'progress', 'EBox::ProgressIndicator=HASH(0x55986da09828)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x55986d955cb0)', 'progress', 'EBox::ProgressIndicator=HASH(0x55986da09828)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
2020/11/05 21:47:40 ERROR> GlobalImpl.pm:687 EBox::GlobalImpl::saveAllModules - Failed to restart dns after save changes: root command nsupdate -g -t 10 /var/lib/zentyal/tmp/K9v70Bpt2E failed.
Error output: update failed: REFUSED

Command output: .
Exit value: 2
2020/11/05 21:47:40 ERROR> GlobalImpl.pm:728 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: samba dns  at The following modules failed while saving their changes, their state is unknown: samba dns  at /usr/share/perl5/EBox/GlobalImpl.pm line 728
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x55986a26f890)', 'progress', 'EBox::ProgressIndicator=HASH(0x55986da09828)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x55986d955cb0)', 'progress', 'EBox::ProgressIndicator=HASH(0x55986da09828)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
2020/11/05 21:48:20 INFO> Index.pm:187 EBox::Dashboard::CGI::Index::masonParameters - dashboard1


First looks that quota is still not correct installed. Second some issues with nsupdate.

BR Dirk

Pages: [1]