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.
2
Directory and Authentication / Trust issue
« on: May 15, 2024, 07:32:49 pm »
HI
Currently we updated the zentyal server from 6 to the version patch for windows 11 issue and was working fine few months,
After a while were getting few computers the trust issue relationship
I was reading https://forum.zentyal.org/index.php/topic,35602.0.html
not sure if its an issue of samba or an issue of windows
https://forum.zentyal.org/index.php?topic=35598.0
Thank you
Currently we updated the zentyal server from 6 to the version patch for windows 11 issue and was working fine few months,
After a while were getting few computers the trust issue relationship
I was reading https://forum.zentyal.org/index.php/topic,35602.0.html
not sure if its an issue of samba or an issue of windows
https://forum.zentyal.org/index.php?topic=35598.0
Thank you
3
Directory and Authentication / Re: AD Stop Working on Windows 11 22H2
« on: September 22, 2023, 03:18:44 am »
HI guys can someone confirm if this works? https://doc.zentyal.org/7.0/en/workaround-windows11.html
as it was working few months ago but i try today im getting this
as it was working few months ago but i try today im getting this
Code: [Select]
Ign:11 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Sources
Ign:12 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Packages
Ign:13 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Translation-en
Ign:11 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Sources
Ign:12 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Packages
Ign:13 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Translation-en
Ign:11 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Sources
Ign:12 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Packages
Ign:13 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Translation-en
Ign:11 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Sources
Ign:12 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Packages
Ign:13 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Translation-en
Ign:11 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Sources
Ign:12 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Packages
Ign:13 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Translation-en
Ign:11 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Sources
Ign:12 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Packages
Ign:13 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Translation-en
Err:11 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Sources
404 Not Found [IP: 86.62.121.231 80]
Ign:12 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Packages
Ign:13 http://www.corpit.ru/mjt/packages/samba ubuntu-20.04-focal/samba-4.16/ Translation-en
Reading package lists... Done
E: Failed to fetch http://www.corpit.ru/mjt/packages/samba/ubuntu-20.04-focal/samba-4.16/Sources 404 Not Found [IP: 86.62.121.231 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
4
Installation and Upgrades / Re: Another Issue from the update to 7.0 from 6.2.9
« on: February 19, 2023, 09:40:24 pm »
i restarted the server and started to work everything again well thank you
5
Directory and Authentication / odd issue with samba permission in groups
« on: February 15, 2023, 05:16:07 am »
Hi
I was wondering if someone else has had this issue before running zentyal 7,
Currently i had samba shares working with user permissions, then i changed to group shares, but for some odd reason it does not apply, i thought it was the samba issue so i tested out on a windows server connected to the domain, and shares files there, and same issue
The permissions works if i only add the users but if i add the group and put the users in that group it does not apply which is odd
im not sure if its a samba issue or another issue
Thank you
I was wondering if someone else has had this issue before running zentyal 7,
Currently i had samba shares working with user permissions, then i changed to group shares, but for some odd reason it does not apply, i thought it was the samba issue so i tested out on a windows server connected to the domain, and shares files there, and same issue
The permissions works if i only add the users but if i add the group and put the users in that group it does not apply which is odd
im not sure if its a samba issue or another issue
Thank you
6
Installation and Upgrades / Re: Another Issue from the update to 7.0 from 6.2.9
« on: February 14, 2023, 11:33:54 pm »
thanks for the reply,
so i commented out those two lines and i ran
so i commented out those two lines and i ran
Code: [Select]
root@ad:/var/log/zentyal# zs webadmin restart
* Restarting Zentyal module: webadmin [fail]
Error loading class: EBox::Samba error: Global symbol "$cmd" requires explicit package name (did you forget to declare "my $cmd"?) at /usr/share/perl5/EBox/Ldap.pm line 251, <DATA> line 755.
Global symbol "$cmd" requires explicit package name (did you forget to declare "my $cmd"?) at /usr/share/perl5/EBox/Ldap.pm line 467, <DATA> line 755.
Compilation failed in require at /usr/share/perl/5.30/base.pm line 137, <DATA> line 755.
...propagated at /usr/share/perl/5.30/base.pm line 159, <DATA> line 755.
BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Samba/FSMO.pm line 21, <DATA> line 755.
Compilation failed in require at /usr/share/perl5/EBox/Module/LDAP.pm line 29, <DATA> line 755.
BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Module/LDAP.pm line 29, <DATA> line 755.
Compilation failed in require at /usr/share/perl/5.30/base.pm line 137, <DATA> line 755.
...propagated at /usr/share/perl/5.30/base.pm line 159, <DATA> line 755.
BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Samba.pm line 24, <DATA> line 755.
Compilation failed in require at (eval 766) line 1, <DATA> line 755.
BEGIN failed--compilation aborted at (eval 766) line 1, <DATA> line 755.
7
Installation and Upgrades / Re: Update issue from 6.2.9 to 7.0
« on: February 14, 2023, 11:22:15 pm »
sorry for the late reply, just saw the message currently im getting this error
Code: [Select]
*942 SSL_write() failed while sending response to client, client: 192.168.7.198, server: , request: "GET /data/js/jquery.jstree.js HTTP/1.1", host: "192.168.3.191:8443", referrer: "https://192.168.3.191:8443/SysInfo/ComponentNotFound"
8
Installation and Upgrades / Re: Another Issue from the update to 7.0 from 6.2.9
« on: January 31, 2023, 09:04:15 pm »
HI Thank you so much for the reply, correct i did the workaround 11 bug and ran steps 7 and 8
This is the ldap.pm config
I was checking after running the command i do not see any change i went to search and found this line not sure if i should comment it out?
This is the ldap.pm config
I was checking after running the command i do not see any change i went to search and found this line not sure if i should comment it out?
Code: [Select]
"--debug-stderr 2>/dev/null 1>$ldifFile";
Code: [Select]
# Copyright (C) 2012-2014 Zentyal S.L.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2, as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
use strict;
use warnings;
package EBox::Ldap;
use base 'EBox::LDAPBase';
use EBox::Samba::OU;
use EBox::Samba::Contact;
use EBox::Samba::DNS::Zone;
use EBox::Samba::User;
use EBox::Samba::IdMapDb;
use EBox::Exceptions::DataNotFound;
use EBox::Exceptions::DataExists;
use EBox::Exceptions::External;
use EBox::Exceptions::Internal;
use EBox::Exceptions::MissingArgument;
use EBox::Gettext;
use Net::LDAP;
use Net::LDAP::Util qw(ldap_error_name ldap_explode_dn);
use TryCatch;
use File::Slurp qw(read_file);
use File::Temp;
use Time::HiRes;
use constant LDAPI => "ldapi://%2fvar%2flib%2fsamba%2fprivate%2fldap_priv%2fldapi" ;
use constant LDAP => "ldap://127.0.0.1";
# The LDB containers that will be ignored when quering for users stored in LDB
use constant QUERY_IGNORE_CONTAINERS => (
'Microsoft Exchange System Objects',
);
# NOTE: The list of attributes available in the different Windows Server versions
# is documented in http://msdn.microsoft.com/en-us/library/cc223254.aspx
use constant ROOT_DSE_ATTRS => [
'configurationNamingContext',
'currentTime',
'defaultNamingContext',
'dnsHostName',
'domainControllerFunctionality',
'domainFunctionality',
'dsServiceName',
'forestFunctionality',
'highestCommittedUSN',
'isGlobalCatalogReady',
'isSynchronized',
'ldapServiceName',
'namingContexts',
'rootDomainNamingContext',
'schemaNamingContext',
'serverName',
'subschemaSubentry',
'supportedCapabilities',
'supportedControl',
'supportedLDAPPolicies',
'supportedLDAPVersion',
'supportedSASLMechanisms',
];
# Singleton variable
my $_instance = undef;
sub _new_instance
{
my $class = shift;
my $self = $class->SUPER::_new_instance();
$self->{idamp} = undef;
bless ($self, $class);
return $self;
}
# Method: instance
#
# Return a singleton instance of this class
#
# Returns:
#
# object of class <EBox::Ldap>
sub instance
{
my ($class) = @_;
unless(defined($_instance)) {
$_instance = $class->_new_instance();
}
return $_instance;
}
sub connected
{
my ($self) = @_;
if ($self->{ldap}) {
# Workaround to detect if connection is broken and force reconnection
my $mesg = $self->{ldap}->search(
base => '',
scope => 'base',
filter => "(cn=*)",
);
if (ldap_error_name($mesg) ne 'LDAP_SUCCESS' ) {
$self->{ldap}->unbind;
return 0;
}
return 1;
}
return 0;
}
# Method: idmap
#
# Returns an instance of IdMapDb.
#
sub idmap
{
my ($self) = @_;
unless (defined $self->{idmap}) {
$self->{idmap} = EBox::Samba::IdMapDb->new();
}
return $self->{idmap};
}
# Method: connection
#
# Return the Net::LDAP connection used by the module
#
# Exceptions:
#
# Internal - If connection can't be created
#
# Override:
# EBox::LDAPBase::connection
#
sub connection
{
my ($self) = @_;
# Workaround to detect if connection is broken and force reconnection
my $reconnect = 0;
if (defined $self->{ldap}) {
my $mesg = $self->{ldap}->search(
base => '',
scope => 'base',
filter => "(cn=*)",
);
if (ldap_error_name($mesg) ne 'LDAP_SUCCESS') {
$self->clearConn();
$reconnect = 1;
}
}
if (not defined $self->{ldap} or $reconnect) {
$self->{ldap} = $self->safeConnect();
}
return $self->{ldap};
}
# Method: url
#
# Return the URL or parameter to create a connection with this LDAP
#
# Override: EBox::LDAPBase::url
#
sub url
{
return LDAPI;
}
sub safeConnect
{
my ($self) = @_;
local $SIG{PIPE};
$SIG{PIPE} = sub {
EBox::warn('SIGPIPE received connecting to samba LDAP');
};
my $error = undef;
my $lastError = undef;
my $maxTries = 300;
for (my $try = 1; $try <= $maxTries; $try++) {
my $ldb = Net::LDAP->new(LDAPI);
if (defined $ldb) {
my $dse = $ldb->root_dse(attrs => ROOT_DSE_ATTRS);
if (defined $dse) {
if ($try > 1) {
EBox::info("Connection to Samba LDB successful after $try tries.");
}
return $ldb;
}
}
$error = $@;
EBox::warn("Could not connect to Samba LDB: $error, retrying. ($try attempts)") if (($try == 1) or (($try % 100) == 0));
Time::HiRes::sleep(0.1);
}
throw EBox::Exceptions::External(
__x(q|FATAL: Could not connect to samba LDAP server: {error}|,
error => $error));
}
# Method: dn
#
# Returns the base DN (Distinguished Name)
#
# Returns:
#
# string - DN
#
sub dn
{
my ($self) = @_;
unless ($self->{dn}) {
my $users = EBox::Global->modInstance('samba');
unless ($users->isProvisioned()) {
throw EBox::Exceptions::Internal('Samba is not yet provisioned');
}
my $tmp = new File::Temp(DIR => EBox::Config::tmp(),
TEMPLATE => 'dnsZonesXXXXXX',
SUFFIX => '.ldif');
$tmp->unlink_on_destroy(1);
my $ldifFile = $tmp->filename();
my $cmd = "ldbsearch -H /var/lib/samba/private/sam.ldb " .
"-s base 'dn' " .
"--debug-stderr 2>/dev/null 1>$ldifFile";
EBox::Sudo::root($cmd);
my $dn = undef;
my $ldif = new Net::LDAP::LDIF($ldifFile, 'r', onerror => 'undef');
while (not $ldif->eof()) {
my $entry = $ldif->read_entry();
if ($ldif->error() or not defined $entry) {
throw EBox::Exceptions::Internal(
__x('Error loading LDIF. Error message: {x}, Error lines: {y}',
x => $ldif->error(), y => $ldif->error_lines()));
} else {
$dn = $entry->dn();
}
}
$ldif->done();
if (defined $dn and length $dn) {
$self->{dn} = $dn;
} else {
throw EBox::Exceptions::External('Cannot get LDAP dn');
}
}
return $self->{dn};
}
#############################################################################
## LDB related functions ##
#############################################################################
# Method domainSID
#
# Get the domain SID
#
# Returns:
#
# string - The SID string of the domain
#
sub domainSID
{
my ($self) = @_;
my $base = $self->dn();
my $params = {
base => $base,
scope => 'base',
filter => "(distinguishedName=$base)",
attrs => ['objectSid'],
};
my $msg = $self->search($params);
if ($msg->count() == 1) {
my $entry = $msg->entry(0);
# The object is not a SecurityPrincipal but a SamDomainBase. As we only query
# for the sid, it works.
my $object = new EBox::Samba::SecurityPrincipal(entry => $entry);
return $object->sid();
} else {
throw EBox::Exceptions::DataNotFound(data => 'domain', value => $base);
}
}
sub domainNetBiosName
{
my ($self) = @_;
my $realm = EBox::Global->modInstance('samba')->kerberosRealm();
my $params = {
base => 'CN=Partitions,CN=Configuration,' . $self->dn(),
scope => 'sub',
filter => "(&(nETBIOSName=*)(dnsRoot=$realm))",
attrs => ['nETBIOSName'],
};
my $result = $self->search($params);
if ($result->count() == 1) {
my $entry = $result->entry(0);
my $name = $entry->get_value('nETBIOSName');
return $name;
}
return undef;
}
# Method: ldapConf
#
# Returns the current configuration for LDAP: 'dn', 'ldap', 'port'
#
# Returns:
#
# hash ref - holding the keys 'dn', 'ldap', and 'port'
#
sub ldapConf
{
my ($self) = @_;
my $conf = {
'dn' => $self->dn(),
'ldap' => LDAP,
'port' => 389,
};
return $conf;
}
# Method: userBindDN
#
# given a plain user name, it return the argument needed to bind to the
# directory which that user, normally a DN
#
# Parametes:
# user - plain username
#
# Returns:
# DN or other token to use for binding to the directory
sub userBindDN
{
my ($self, $user) = @_;
return "uid=$user," . EBox::Samba::User::defaultContainer()->dn();
}
sub users
{
my ($self, $system) = @_;
# TODO Remove this method
EBox::warn("EBox::Ldap::users to be deprecated");
my $global = EBox::Global->getInstance();
my $samba = $global->modInstance('samba');
return $samba->users();
}
sub contacts
{
my ($self) = @_;
# TODO Remove this method
EBox::warn("EBox::Ldap::contacts to be deprecated");
my $global = EBox::Global->getInstance();
my $samba = $global->modInstance('contacts');
return $samba->contacts();
}
sub groups
{
my ($self) = @_;
# TODO Remove this method
EBox::warn("EBox::Ldap::groups to be deprecated");
my $global = EBox::Global->getInstance();
my $samba = $global->modInstance('samba');
return $samba->groups();
}
# Method: securityGroups
#
# Returns an array containing all the security groups
#
# Returns:
#
# array - holding the groups as EBox::Samba::Group objects
#
sub securityGroups
{
my ($self) = @_;
# TODO Remove this method
EBox::warn("EBox::Ldap::securityGroups to be deprecated");
my $global = EBox::Global->getInstance();
my $samba = $global->modInstance('samba');
return $samba->securityGroups();
}
# Method: ous
#
# Return OUs in samba LDB. It is guaranteed that OUs are returned in a
# hierarquical way, parents before childs.
#
sub ous
{
my ($self, $baseDN) = @_;
# TODO Remove this method
EBox::warn("EBox::Ldap::ous to be deprecated");
my $global = EBox::Global->getInstance();
my $samba = $global->modInstance('samba');
return $samba->ous($baseDN);
}
# Method: dnsZones
#
# Returns the DNS zones stored in the samba LDB
#
sub dnsZones
{
my ($self) = @_;
unless (EBox::Global->modInstance('samba')->isProvisioned()) {
return [];
}
my $defaultNC = $self->dn();
my @zonePrefixes = (
"CN=MicrosoftDNS,DC=DomainDnsZones,$defaultNC",
"CN=MicrosoftDNS,DC=ForestDnsZones,$defaultNC",
"CN=MicrosoftDNS,CN=System,$defaultNC");
my @ignoreZones = ('RootDNSServers', '..TrustAnchors', '..InProgress');
my $zones = [];
foreach my $prefix (@zonePrefixes) {
my $tmp = new File::Temp(DIR => EBox::Config::tmp(),
TEMPLATE => 'dnsZonesXXXXXX',
SUFFIX => '.ldif');
$tmp->unlink_on_destroy(1);
my $ldifFile = $tmp->filename();
my $cmd = "ldbsearch -H /var/lib/samba/private/sam.ldb -s one " .
"-b '$prefix' '(objectClass=dnsZone)' " .
"--debug-stderr 2>/dev/null 1>$ldifFile";
EBox::Sudo::root($cmd);
my $ldif = new Net::LDAP::LDIF($ldifFile, 'r', onerror => 'undef');
while (not $ldif->eof()) {
my $entry = $ldif->read_entry();
if ($ldif->error() or not defined $entry and not $ldif->eof()) {
throw EBox::Exceptions::Internal(
__x('Error loading LDIF. Error message: {x}, Error lines: {y}',
x => $ldif->error(), y => $ldif->error_lines()));
} elsif (not defined $entry and $ldif->eof()) {
# This is an empty LDIF, skip
} else {
my $name = $entry->get_value('name');
next unless defined $name and length $name;
my $skip = 0;
foreach my $skipPrefix (@ignoreZones) {
$skip = 1 if ($name =~ m/^$skipPrefix/);
}
unless ($skip) {
my $zone = new EBox::Samba::DNS::Zone(entry => $entry);
push (@{$zones}, $zone);
}
}
}
$ldif->done();
}
return $zones;
}
# Method: rootDse
#
# Returns the root DSE
#
sub rootDse
{
my ($self) = @_;
return $self->connection()->root_dse(attrs => ROOT_DSE_ATTRS);
}
# Method: domainAdminsGroup
#
# Return the "Domain Admins" group
#
sub domainAdminsGroup
{
my ($self) = @_;
my $domainSid = $self->domainSID();
my $sid = "$domainSid-512";
my $obj = new EBox::Samba::Group(sid => $sid);
return $obj;
}
# Method: domainUsersGroup
#
# Return the domain users group
#
sub domainUsersGroup
{
my ($self) = @_;
my $domainSid = $self->domainSID();
my $sid = "$domainSid-513";
my $obj = new EBox::Samba::Group(sid => $sid);
return $obj;
}
# Method: domainGuestsGroup
#
# Return the domain guests group
#
sub domainGuestsGroup
{
my ($self) = @_;
my $domainSid = $self->domainSID();
my $sid = "$domainSid-514";
my $obj = new EBox::Samba::Group(sid => $sid);
return $obj;
}
# Method: domainAdminUser
#
# Return the domain admin user
#
sub domainAdminUser
{
my ($self) = @_;
my $domainSid = $self->domainSID();
my $sid = "$domainSid-500";
my $obj = new EBox::Samba::User(sid => 500);
return $obj;
}
# Method: domainGuestUser
#
# Return the domain guest user
#
sub domainGuestUser
{
my ($self) = @_;
my $domainSid = $self->domainSID();
my $sid = "$domainSid-501";
my $obj = new EBox::Samba::User(sid => $sid);
return $obj;
}
1;
9
Installation and Upgrades / Re: Another Issue from the update to 7.0 from 6.2.9
« on: January 28, 2023, 03:55:45 am »
@turalyon
Thank you so much for the reply. so yes updated to zentyal 7 and updated the bug for windows 11 then i also checked
and checking the logs i keep seeing this
Thank you so much for the reply. so yes updated to zentyal 7 and updated the bug for windows 11 then i also checked
Code: [Select]
root@ad:~# dpkg -l |grep "zentyal-"
ii zentyal-core 7.0.5 all Zentyal - Core
ii zentyal-dns 7.0.2 all Zentyal - DNS Server
ii zentyal-firewall 7.0.0 all Zentyal - Firewall
ii zentyal-network 7.0.0 all Zentyal - Network Configuration
ii zentyal-ntp 7.0.0 all Zentyal - NTP Service
ii zentyal-samba 7.0.1 all Zentyal - Domain Controller and File Sharing
ii zentyal-software 7.0.0 all Zentyal - Software Management
root@ad:~# dpkg -l |egrep -v '^ii|rc'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
+++-======================================-=================================-============-===============================================================================
root@ad:~#
and checking the logs i keep seeing this
Code: [Select]
Jan 27 21:55:12 ad perl[2303339]: Exit value: 1
Jan 27 21:55:12 ad systemd[1]: zentyal.samba-sync.service: Main process exited, code=exited, status=1/FAILURE
Jan 27 21:55:12 ad systemd[1]: zentyal.samba-sync.service: Failed with result 'exit-code'.
Jan 27 21:55:13 ad systemd[1]: zentyal.samba-sync.service: Scheduled restart job, restart counter is at 192471.
Jan 27 21:55:13 ad systemd[1]: Stopped Zentyal daemon to check uid and gid numbers.
Jan 27 21:55:13 ad systemd[1]: Started Zentyal daemon to check uid and gid numbers.
Jan 27 21:55:17 ad perl[2303351]: root command ldbsearch -H /var/lib/samba/private/sam.ldb -s base 'dn' --debug-stderr 2>/dev/null 1>/var/lib/zentyal/tmp/dnsZonesdhPXmz.ldif failed.
Jan 27 21:55:17 ad perl[2303351]: Error output:
Jan 27 21:55:17 ad perl[2303351]: Command output: .
Jan 27 21:55:17 ad perl[2303351]: Exit value: 1
Jan 27 21:55:17 ad systemd[1]: zentyal.samba-sync.service: Main process exited, code=exited, status=1/FAILURE
Jan 27 21:55:17 ad systemd[1]: zentyal.samba-sync.service: Failed with result 'exit-code'.
Jan 27 21:55:17 ad systemd[1]: zentyal.samba-sync.service: Scheduled restart job, restart counter is at 192472.
Jan 27 21:55:17 ad systemd[1]: Stopped Zentyal daemon to check uid and gid numbers.
Jan 27 21:55:17 ad systemd[1]: Started Zentyal daemon to check uid and gid numbers.
10
Installation and Upgrades / Another Issue from the update to 7.0 from 6.2.9
« on: January 26, 2023, 11:09:17 pm »
HI
after realizing on the logs i found this
When i try to create another share it wont let me
after realizing on the logs i found this
When i try to create another share it wont let me
Code: [Select]
EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/jBjnS_j2CF.cmd 2> /var/lib/zentyal/tmp/stderr', 'ldbsearch -H /var/lib/samba/private/sam.ldb -s base \'dn\' --debug-stderr 2>/dev/null 1>/var/lib/zentyal/tmp/dnsZonesbSmDDy.ldif', 256, 'ARRAY(0x556143fd2d70)', 'ARRAY(0x556143fd2e00)') called at /usr/share/perl5/EBox/Sudo.pm line 210
EBox::Sudo::_root(1, 'ldbsearch -H /var/lib/samba/private/sam.ldb -s base \'dn\' --debug-stderr 2>/dev/null 1>/var/lib/zentyal/tmp/dnsZonesbSmDDy.ldif') called at /usr/share/perl5/EBox/Sudo.pm line 153
EBox::Sudo::root('ldbsearch -H /var/lib/samba/private/sam.ldb -s base \'dn\' --debug-stderr 2>/dev/null 1>/var/lib/zentyal/tmp/dnsZonesbSmDDy.ldif') called at /usr/share/perl5/EBox/Ldap.pm line 251
EBox::Ldap::dn('EBox::Ldap=HASH(0x5561476e22c0)') called at /usr/share/perl5/EBox/Ldap.pm line 293
EBox::Ldap::domainSID('EBox::Ldap=HASH(0x5561476e22c0)') called at /usr/share/perl5/EBox/Samba/SyncDaemon.pm line 232
EBox::Samba::SyncDaemon::setACLs('EBox::Samba::SyncDaemon=HASH(0x556147626480)') called at /usr/share/perl5/EBox/Samba/SyncDaemon.pm line 345
EBox::Samba::SyncDaemon::run('EBox::Samba::SyncDaemon=HASH(0x556147626480)', 30, 10) called at /usr/share/perl5/EBox/Samba/SyncDaemon.pm line 362
11
Installation and Upgrades / Re: Update issue from 6.2.9 to 7.0
« on: January 26, 2023, 11:01:44 pm »
@turalyon hi, i was wonder if after updating i tried to change the access control i keep getting the element not found website
https://i.imgur.com/0uK58QJ.png
https://i.imgur.com/0uK58QJ.png
12
Installation and Upgrades / Re: Update issue from 6.2.9 to 7.0
« on: January 23, 2023, 05:29:50 pm »
thanks for the reply, yeah just realized its working even though it shows stopped
i wish zentyal was in a docker environment
i wish zentyal was in a docker environment
13
Installation and Upgrades / Update issue from 6.2.9 to 7.0
« on: January 22, 2023, 08:20:39 pm »
Hi
Currently updated zentyal and it was very tricky, but finally got it to update,
but for some odd reason i cannot get the zentyal web working
during the upgrade which did not want to start the webadmin i had to go to
sudo nano /usr/share/perl5/EBox/Samba/Model/PAM.pm
and edit to use constant DEFAULT_SHELL => '/bin/bash';
then re-ran dpkg --configure -a
after that the webmin still wont work giving me an error
so i nano /lib/systemd/system/zentyal.cleantmp.service
and edited
then i restart zs webadmin restart and it shows OK but i check it shows stopped, then i look at the logs but i dont see nothing
any ideas
Thank you
Currently updated zentyal and it was very tricky, but finally got it to update,
but for some odd reason i cannot get the zentyal web working
during the upgrade which did not want to start the webadmin i had to go to
sudo nano /usr/share/perl5/EBox/Samba/Model/PAM.pm
and edit to use constant DEFAULT_SHELL => '/bin/bash';
then re-ran dpkg --configure -a
after that the webmin still wont work giving me an error
Code: [Select]
● zentyal.cleantmp.service - Clean Zentyal temp directory
Loaded: loaded (/lib/systemd/system/zentyal.cleantmp.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2023-01-22 14:06:31 -05; 2s ago
Process: 4840 ExecStart=/usr/bin/bash -c /bin/rm -rf /var/lib/zentyal/tmp/* (code=exited, status=203/EXEC)
Main PID: 4840 (code=exited, status=203/EXEC)
Jan 22 14:06:31 apolo systemd[1]: Starting Clean Zentyal temp directory...
Jan 22 14:06:31 apolo systemd[4840]: zentyal.cleantmp.service: Failed to execute command: No such file or directory
Jan 22 14:06:31 apolo systemd[4840]: zentyal.cleantmp.service: Failed at step EXEC spawning /usr/bin/bash: No such file or directory
Jan 22 14:06:31 apolo systemd[1]: zentyal.cleantmp.service: Main process exited, code=exited, status=203/EXEC
Jan 22 14:06:31 apolo systemd[1]: zentyal.cleantmp.service: Failed with result 'exit-code'.
Jan 22 14:06:31 apolo systemd[1]: Failed to start Clean Zentyal temp directory.
so i nano /lib/systemd/system/zentyal.cleantmp.service
and edited
Code: [Select]
ExecStart=/usr/bin/bash -c '/bin/rm -rf /var/lib/zentyal/tmp/*'
toCode: [Select]
ExecStart=/bin/bash -c '/bin/rm -rf /var/lib/zentyal/tmp/*'
then i restart zs webadmin restart and it shows OK but i check it shows stopped, then i look at the logs but i dont see nothing
any ideas
Thank you
14
Email and Groupware / Re: Disable Sharing/delegation on SOGO mail?
« on: January 03, 2023, 02:08:25 pm »
Thanks for the reply, i tried looking in the SOGO profile in the settings did not find something to stop the sharing i also checked the documentation could not find anything that would limit the sharing
Thank you
Thank you
15
Email and Groupware / Disable Sharing/delegation on SOGO mail?
« on: January 02, 2023, 03:05:00 pm »
Hi I was wondering if someone knows how to disable the export feature on SOGO and the delegation/sharing on SOGO mail?
https://i.imgur.com/JNu3D0x.png
Thank you
https://i.imgur.com/JNu3D0x.png
Thank you