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

Pages: [1] 2
1
Other modules / Re: commands for start/stop services in zentyal 5.x
« on: October 26, 2017, 09:58:38 am »
Thanks a lot!
I didn't finish this threat because I was thinking that it was older than the version that I need :).
have a nice day!

2
Other modules / commands for start/stop services in zentyal 5.x
« on: October 25, 2017, 10:52:37 am »
Hello! I looking for the commands to start/stop the diferent modules by shell, because I have not access to the GUI, but I was looking for that in wiki documentation, google, and forums with no results.

So, where can I find in Zentyal 5.xx the commands that before was in /etc/init.d/zentyal xxx

Thanks a lot!

3
¡Hola a todos!
Tengo un dominio en directorio activo con varios servidores de ficheros, todas las maquinas son zentyal 4.2 actualizadas. Una de ellas es el controlador de dominio principal y el resto las he ido agregando como secundarias.
Cuando se une un servidor nuevo al dominio, automáticamente el servidor principal le replica la base de datos de usuarios, pero si después de agregarlo  añado un usuario nuevo al controlador de dominio, este usuario no queda replicado en el resto de los servidores.

¿Esto es porque hay algo mal configurado, o simplemente Zentyal no actualiza el directorio activo en este escenario?, ¿o la frecuencia de actualización es baja?
¿Hay alguna forma de forzar la replicación?

Muchas gracias.

Saludos.

4
Hello to all!
I'm trying to move a instalation of zentyal 4.2 in openvz (under proxmox) to the new version in a lxc container to the same version of zentyal.
 
I have not clear how to migrate the users and groups.

I was thinking in add the new server like aditional active directory server to get the users from the old server, and it works  but if I try to put again the new server like primary controller, it lose all the users...

Any body knows how to solve this?

Thanks a lot!

5
Spanish / Usar zentyal como router para la fibra optica de movistar
« on: February 24, 2015, 05:43:04 pm »
¡Hola a todos!
He intentado configurar  a través del interface web una maquina con zentyal 4 para sustituir al ONT de movistar.
Poniendo la tarjeta en modo "PPPOE"  marcando "externo WAN" y  poniendo el nombre de usuario "adslppp@telefonicanetpa" y la contraseña "adslppp"
pero no veo que haga nada, ni coge IP, ni nada parecido.

Si lo configuro desde la consola de comandos siguiendo este tutorial
coge IP en la interface que he configurado, pero claro, no aparece la interface configurada y no se si por una parte Zentyal conservará los cambios o los machacará y por otra parte, si podré crear las rutas sin problemas desde el interface web.

Alguien ha tenido la experiencia con este tipo de configuración?

Muchas gracias.

Saludos.


6
Spanish / Re: Rincon de Usuarios en Zentyal Community Edition 4.0
« on: February 24, 2015, 05:35:47 pm »
He leido, que si se utiliza como servidor de ficheros dentro del directorio activo, los usuarios de windows pueden cambiar la contraseña con control + alt + suprimir como en windows.

Pero si está fuera del directorio, no he leido alternativas al respecto.

Saludos.

7
Installation and Upgrades / Re: Troubles applying permissions
« on: February 20, 2014, 08:22:48 am »
I found this information in the end of /var/log/zentyal/zentyal.log after trying apply changes on file sharing permissions:

Code: [Select]
2014/02/20 08:06:37 ERROR> GlobalImpl.pm:654 EBox::GlobalImpl::saveAllModules - Failed to save changes in module samba: Can't locate object method "throw" via package "Failed to set security descriptor: NT_STATUS_ACCESS_DENIED at /usr/share/perl5/EBox/Samba.pm line 418, <GEN0> line 1856." (perhaps you forgot to load "Failed to set security descriptor: NT_STATUS_ACCESS_DENIED at /usr/share/perl5/EBox/Samba.pm line 418, <GEN0> line 1856.
"?) at /usr/share/perl5/EBox/Module/Base.pm line 238, <GEN28> line 8.
2014/02/20 08:06:37 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: logs
2014/02/20 08:06:37 ERROR> GlobalImpl.pm:738 EBox::GlobalImpl::saveAllModules -The following modules failed while saving their changes, their state is unknown: firewall samba  at Trace begun at /usr/share/perl5/EBox/Exceptions/Base.pm line 79
EBox::Exceptions::Base::stacktrace('EBox::Exceptions::Internal=HASH(0x1ac0f88)') called at  /usr/share/perl5/EBox/Exceptions/Base.pm line 119
EBox::Exceptions::Base::log('EBox::Exceptions::Internal=HASH(0x1ac0f88)') called at /usr/share/perl5/EBox/Exceptions/Internal.pm line 35
EBox::Exceptions::Internal::new('EBox::Exceptions::Internal', 'The following modules failed while saving their changes, their state is unknown: firewall samba ') called at /usr/share/perl5/EBox/Exceptions/Base.pm line 91
EBox::Exceptions::Base::throw('EBox::Exceptions::Internal', 'The following modules failed while saving their changes, their state is unknown: firewall samba ')called at /usr/share/perl5/EBox/GlobalImpl.pm line 738
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x3743358)', 'progress', 'EBox::ProgressIndicator=HASH(0x1ac0f70)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x3763160)', 'progress', 'EBox::ProgressIndicator=HASH(0x1ac0f70)') called at /usr/share/zentyal/global-action line 31

eval {...} at /usr/share/zentyal/global-action line 29
2014/02/20 08:15:08 INFO> EventDaemon.pm:310 EBox::EventDaemon::_dispatchEventBy Dispatcher - Send event to EBox::Event::Dispatcher::Log=HASH(0x45e7dc8)
2014/02/20 08:15:08 WARN> EventDaemon.pm:235 EBox::EventDaemon::_mainDispatcherLoop - Cannot log event, Mysql is stopped

8
Installation and Upgrades / Troubles applying permissions
« on: February 19, 2014, 12:47:02 pm »
Hello all!
I'm working with a Zentyal 3.3 like file server in a openvz container on Proxmox Ve 3.1

I trying to configure a new folder "ENTREGAS" with the same permisions than the folder "ALUMNOS". The folder ALUMNOS is older and works as spected.
This two folders has permisions rwx for some groups of users of the server.
When I create the folder, every thing is ok, but if I change the permission of the new folder through the web interface when zentyal finish the process to save the configuration it keep the configuration in the web interface but doesn't make any real change on directory permissions.

After I changed the permissions through the shell with chmod, chown and setfacl and now the  2 folders has the same permission set in ACL's and Linux permissions but when I tried the access from network with the user "alumno" that it's in an group called "alumnos" with "rwx" linux permissions and ACLs permissions I get a message "You don`t have permission to access \\server\ENTREGAS. please contact the network administrator to request access."

I have access without problems on old folder "ALUMNOS"  but with the new folder "ENTREGAS" with the same permissions than "ALUMNOS" I have not access.

Is like if Zentyal has not considered any permissions modification since the creation of the folder, modified by the web interface or modified from the command console.

I tried the operation deleting an creating again the directory or with more testing directories, with the same result.
I pasted here more information about the permisions and samba configuration.

Thanks a lot!


The same linux permisions in ALUMNOS and ENTREGAS
Code: [Select]
8 drwxrwx---+  3 root  Administrators 4096 feb 18 17:19 ALUMNOS
8 drwxrwx---+  3 root  Administrators 4096 feb 18 07:31 ENTREGAS

The same ACL permisions in ALUMNOS and ENTREGAS
Code: [Select]
# file: ENTREGAS/
# owner: root
# group: Administrators
user::rwx
user:root:rwx
user:3000000:rwx
user:3000002:rwx
user:alumno:rwx
group::rwx
group:Administrators:rwx
group:3000002:rwx
group:alumnos:rwx
group:profesores:rwx
group:tecnicos:rwx
mask::rwx
other::---
default:user::rwx
default:user:root:rwx
default:user:3000000:rwx
default:user:3000002:rwx
default:group::---
default:group:Administrators:rwx
default:group:3000002:rwx
default:group:alumnos:rwx
default:group:profesores:rwx
default:group:tecnicos:rwx
default:mask::rwx
default:other::---
Code: [Select]
# file: ALUMNOS/
# owner: root
# group: Administrators
user::rwx
user:root:rwx
user:3000000:rwx
user:3000002:rwx
user:alumno:rwx
group::rwx
group:Administrators:rwx
group:3000002:rwx
group:alumnos:rwx
group:profesores:rwx
group:tecnicos:rwx
mask::rwx
other::---
default:user::rwx
default:user:root:rwx
default:user:3000000:rwx
default:user:3000002:rwx
default:group::---
default:group:Administrators:rwx
default:group:3000002:rwx
default:group:alumnos:rwx
default:group:profesores:rwx
default:group:tecnicos:rwx
default:mask::rwx
default:other::---


/etc/samba/smb.conf

Code: [Select]
[ALUMNOS]
    comment = espacio de intercambio con los alumnos
    path = /home/samba/shares/ALUMNOS
    browseable = Yes
    read only = No
    force create mode = 0660
    force directory mode = 0660
    vfs objects = acl_xattr full_audit scannedonly
    acl_xattr:ignore system acls = yes
    full_audit:success = connect opendir disconnect unlink mkdir rmdir open rename
    full_audit:failure = connect opendir disconnect unlink mkdir rmdir open rename
    scannedonly: rm_hidden_files_on_rmdir = True
    scannedonly: allow_nonscanned_files = False
    scannedonly: show_special_files = True
    scannedonly: recheck_time_open = 50
    scannedonly: domain_socket = True
    scannedonly: recheck_tries_open = 100
    scannedonly: quarantine_dir = /var/lib/zentyal/quarantine
    scannedonly: socketname = /var/lib/zentyal/zavs

[ENTREGAS]
    comment = ENTREGAS DE TRABAJOS DE ALUMNOS
    path = /home/samba/shares/ENTREGAS
    browseable = Yes
    read only = No
    force create mode = 0660
    force directory mode = 0660
    vfs objects = acl_xattr full_audit scannedonly
    acl_xattr:ignore system acls = yes
    full_audit:success = connect opendir disconnect unlink mkdir rmdir open rename
    full_audit:failure = connect opendir disconnect unlink mkdir rmdir open rename
    scannedonly: rm_hidden_files_on_rmdir = True
    scannedonly: allow_nonscanned_files = False
    scannedonly: show_special_files = True
    scannedonly: recheck_time_open = 50
    scannedonly: domain_socket = True
    scannedonly: recheck_tries_open = 100
    scannedonly: quarantine_dir = /var/lib/zentyal/quarantine
    scannedonly: socketname = /var/lib/zentyal/zavs

9
I Forgot to say that the server is in a openvz container inside on Proxmox 3.1 server.

Finally put this shared folder apart from the rest and I created a new share only for this folder. At first it gave me an error as if the server Zentyal does not have active ACL's, even  the setfacl and getfacl commands are working properly.

But then I got it to work by adding support for ACLs in the file "/etc/fstab" the Proxmox server.
Now when I make a change in the graphical interface of Zentyal on shared folders, when I try save changes in GUI it gives me an error, and the second time I try to save, it seems to work.
The errors that I get to keep the first time is as follows:

Code: [Select]
r: NT_STATUS_ACCESS_DENIED at /usr/share/perl5/EBox/Samba.pm line 412, <GEN0> line 1785.
" (perhaps you forgot to load "Failed to set security descriptor: NT_STATUS_ACCESS_DENIED at /usr/share/perl5/EBox/Samba.pm line 412, <GEN0> line 1785.
"?) at /usr/share/perl5/EBox/Module/Base.pm line 238, <GEN36> line 8.
2014/01/14 08:54:38 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: logs
2014/01/14 08:54:38 ERROR> GlobalImpl.pm:738 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: firewall samba  at Trace begun at /usr/
share/perl5/EBox/Exceptions/Base.pm line 79
EBox::Exceptions::Base::stacktrace('EBox::Exceptions::Internal=HASH(0x2372310)') called at /usr/share/perl5/EBox/Exceptions/Base.pm line 119
EBox::Exceptions::Base::log('EBox::Exceptions::Internal=HASH(0x2372310)') called at /usr/share/perl5/EBox/Exceptions/Internal.pm line 35
EBox::Exceptions::Internal::new('EBox::Exceptions::Internal', 'The following modules failed while saving their changes, their state is unknown: firewall samba ') called at /usr/share/perl5/EBox/Except
ions/Base.pm line 91
EBox::Exceptions::Base::throw('EBox::Exceptions::Internal', 'The following modules failed while saving their changes, their state is unknown: firewall samba ') called at /usr/share/perl5/EBox/GlobalIm
pl.pm line 738
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x366a9f8)', 'progress', 'EBox::ProgressIndicator=HASH(0x23722f8)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x366a218)', 'progress', 'EBox::ProgressIndicator=HASH(0x23722f8)') called at /usr/share/zentyal/global-action line 31
eval {...} at /usr/share/zentyal/global-action line 29
2014/01/14 08:55:46 INFO> EventDaemon.pm:310 EBox::EventDaemon::_dispatchEventByDispatcher - Send event to EBox::Event::Dispatcher::Log=HASH(0x5bcc0c0)

Thanks a lot!

10
Problems with Permissions

Hello , I have a server in standalone zentyal 3.3 files with the latest updates and several shared folders from / home / samba / shares /

One of these folders called " animation " box is checked recursively apply the ACLs and read and write permission to a group called " animation " .

Inside this folder I moved from the filesystem with " mv" a folder called "Generalist " (which happens to be a subfolder of " animation " ) , this subfolder I put it recursively the same permissions to the folder " animation " and I've also removed acls had and I copied the folder acl " animation " .

I used the diff command to compare the permissions of one and another , and have the same permissions on ACL , as in normal linux system permissions .

I have not found a way for any user belonging to the group " animation " may come from the network inside the subfolder "Generalist " .
It always shows me a permission denied error .

I tried to copy it instead of moving it and does not work .

I have stopped and started services zentyal and even the entire server .

I tried to remove the animation resource and create it again with all permissions applied to see if the subfolder recursion "Generalist " .

I tried to create a folder from the network and copy the contents of that folder into Generalist , but does not let me to subfolders within the new subfolder created from the network.
The result of the getfacl from subfolder Generalist:
Code: [Select]
# file: Generalist
# owner: root
# group: Administrators
user::rwx
user:root:rwx
user:3000000:rwx
user:3000002:rwx
group::rwx
group:Administrators:rwx
group:3000002:rwx
group:animacion:rwx
group:tecnicos:rwx
mask::rwx
other::---
default:user::rwx
default:user:root:rwx
default:user:3000000:rwx
default:user:3000002:rwx
default:group::---
default:group:Administrators:rwx
default:group:3000002:rwx
default:group:animacion:rwx
default:group:tecnicos:rwx
default:mask::rwx
default:other::---

The result of the getfacl from folder ANIMACION:
Code: [Select]
# file: ANIMACION/
# owner: root
# group: Administrators
user::rwx
user:root:rwx
user:3000000:rwx
user:3000002:rwx
group::rwx
group:Administrators:rwx
group:3000002:rwx
group:animacion:rwx
group:tecnicos:rwx
mask::rwx
other::---
default:user::rwx
default:user:root:rwx
default:user:3000000:rwx
default:user:3000002:rwx
default:group::---
default:group:Administrators:rwx
default:group:3000002:rwx
default:group:animacion:rwx
default:group:tecnicos:rwx
default:mask::rwx
default:other::---

Does anyone know where the error may come?
Is there any procedure to move files or folders from the file system making sure it will acquire permissions and acls belonging to parent destination?

Thanks for your attention.

11
In the end, I managed to export and import the users correctly in the zentyal 3.2
I am not sure where the problem was but after several attempts to perform the procedure on multiple virtual machines, I got it (maybe I was obfuscated).
I did not get to import the configuration of the modules, but I have decided that I will install and configure the modules from scratch.

Thanks a lot for the help!

12
finally, i  used
Code: [Select]
setfacl to change the  permisions to the subdirectories. not is exactly what i wanted but is enought for now.
thanks.

13
Spanish / Re: instalar zential-virt en zentyal 3.2 (SOLUCIONADO)
« on: December 18, 2013, 11:32:14 am »
Al final he decidido utilizar proxmox como base para el servidor zentyal.
Es un servidor de virtualización basado en debian que te permite crear ambientes de alta disponibilidad de forma bastante sencilla. virtualiza con openvz y kvm.

Gracias a todos!

14
Can you enlighten us on what migrationscript you use? Personally I wouldn't bet on a migration(script) but more on backup-restore appraoch.

Thanks for your answer Robb , I use the procedure and scripts of the document Migrating from Zentyal 2.2 to 3.0
I will try the backup-restore approach as you advise me.


15
Hello to all! I have troubles trying to migrate from a working zentyal 2.2.10  with file server  to a new installation of zentyal 3.0.1 in proxmox openvz machine and i tried too in a kvm virtual machine.

When I launch any of the migrating scripts they crash with errors in finding necessary files, like:

Code: [Select]
usuario@zentyal30:~/backups$ perl import-basic-modules config_2013-11-26-085352.tar
Can't locate EBox/Services/Model/ServiceConfigurationTable.pm in @INC (@INC contains:
 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5
 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at import-basic-modules.txt line 942.
BEGIN failed--compilation aborted at import-basic-modules.txt line 942.

or

Code: [Select]
usuario@zentyal30:~/backups$ perl dump-users-from-backup config_2013-11-26-085352.tar
Can't locate Net/LDAP/LDIF.pm in @INC (@INC contains:
 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at dump-users-from-backup line 25.
BEGIN failed--compilation aborted at dump-users-from-backup line 25.


I tryed the migration from 2.2 to 3.2 with the same result.


Code: [Select]
root@ContZentyal:~# perl dump-users-from-backup  config_2013-11-26-085352.tar
Can't locate EBox.pm in @INC (@INC contains:
/etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5
 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at dump-users-from-backup line 20.
BEGIN failed--compilation aborted at dump-users-from-backup line 20.

Code: [Select]
root@ContZentyal:~# perl import-basic-modules config_2013-11-26-085352.tar
Can't locate EBox.pm in @INC (@INC contains:
/etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at import-basic-modules line
20.
BEGIN failed--compilation aborted at import-basic-modules line 20.

Any one knows how to fix this errors?

Thanks for your attention.

Regards
                     J.:.

Pages: [1] 2