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

Pages: 1 ... 5 6 [7] 8 9 ... 17
91
No, you didn't miss a thing. I just pointed where the problem may be. But I am not an expert in Perl and I don't feel comfortable enough to suggest anyone to apply changes on a production server, sorry. I was expecting some Zentyal programmer to jump in and propose some quick test.

92
Portuguese / Re: Bloqueio de lista de domínios no Proxy
« on: June 03, 2011, 11:39:53 am »
Essa opção também parece não funcionar.
Alguém já conseguiu importar algum ficheiro?

93
Spanish / Re: restringir acceso a facebook
« on: June 03, 2011, 11:34:04 am »
Instalas el HTTP Proxy y lo configuras para que bloquee el acceso al dominio facebook.com.

94
You can do anything you want with Zentyal from the shell ... as long as you can code in Perl.

95
You are trying to run before you can walk ;-)
Joining a domain requires that absolutely everything underneath is properly configured and running smoothly, however DNS is not working, so this is what we must solve first.

My assumptions are that you have installed and configured DNS on Zentyal, and that your server is "servidor".
You should configure you server to be able to use 127.0.0.1 as its nameserver. Make sure that it works.
Set DHCP and ensure that the parameters are correct, and that it passes your Zentyal server as the DNS to the clients.
Once this is done, connect a client to the network. Make sure that it gets the IP and that the new default domain and nameserver are your Zentyal server.

96
So, now Zentyal is not checking for "unsafe" chars, which means that when the values are passed on to the actual command that will process them the final line that will be executed is messed up.
Duplicity would try to restore to
Code: [Select]
'/home/samba/shares/myshare/subfolder/workin'/mywork'The right thing to do when passing arguments to duplicity would be to avoid this kind of collisions and escape any single quote with \'.
The previous line should be:
Code: [Select]
'/home/samba/shares/myshare/subfolder/workin\'/mywork'
My guess is that the culprit may be in http://trac.zentyal.org/browser/tags/2.0-series/ebackup-2.0.13/src/EBox/EBackup.pm, lines 182 and 187, (sub restoreFile), although I may be wrong, of course:

Code: [Select]
182         $rFile = shell_quote($rFile);
183     }
184
185     # shell quote does not work well for espaces with duplicity...
186     $destination =~ s:\ :\\\ :g;
187     $destination = shell_quote($destination);

$rFile and $destination should be escaped.

97
Portuguese / Re: Remover interface
« on: June 02, 2011, 11:02:36 am »
Code: [Select]
sudo aptitude purge lxde

98
I can't figure out what's wrong. The settings in those modules (DHCP and File Sharing) seem correct.
Without additional data from /var/log/ebox/ebox.log (i.e., if the only errors are those you mentioned in the first posts) you are stuck.

I guess this is your first install and it is not a production server.
I suggest the following paths from here:
1.a. Review all the relevant logs again for clues: anything in /var/log/ebox/* and in /var/log/syslog, etc.
1.b. Validate your Samba configuration with "testparm /etc/samba/smb.conf".
2. Remove the file sharing module. Reinstall it and have a SSH window open with "tail -f /var/log/ebox/ebox.log". This will allow you to watch the messages being generated as you progress with your installation (you can terminate the flow with Control+C).
3. Reinstall the whole server from scratch. Maybe there was some error along the way? You should be able to do it, anyway, and it would be a good exercise.

99
Spanish / Re: Compartir distintas carpetas.
« on: May 31, 2011, 12:09:04 pm »
La idea es buena, pero no vas a conseguir facilmente la organización que quieres. Puedes crear grupos de usuarios para facilitarte la gestión (por ejempolo, colocar a todos los profesores en un grupo llamado "profesores"). Puedes escojer compartir una carpeta y dar permiso de lectura y escrita solo a profesores, o puedes crear una carpeta para cada profesor y darle permiso solo a un profesor. Lo que no vas a conseguir es, usando la interfaz de Zentyal, crear una carpeta "profesores" con acceso para todos los profesores, y dentro de ella otra carpeta con aceso restringido a un sub-grupo o utilizador.

En un servidor Windows, los permisos del sistema de ficheros son más fáciles de aplicar.
En Linux, tienes el sistema de ficheros por un lado, con sus permisos, y por el otro tienes Samba que define otra serie de permisos. No es suficiente decir que un utilizador tiene acceso a un determinado directorio en Samba, si después el sistema de ficheros no lo permite. Hace falta definir muy bien la organización y perder mucho tiempo. En cualquier caso, nada que Zentyal pueda hacer en estos momentos.

Como ejemplo, puedes crear una carpeta en Ficheros Compartidos y dar pemiso para leer y escribir a todo el mundo.
Después vas al sistema de ficheros, y vas definiendo tus propias carpetas y restricciones con "setfacl".

100
I see in the screenshots that there is a message at the top of the page, and it suggests you to look in /var/log/ebox/ebox.log. Is it still the same error message you already posted in this thread?

On a side note, I see that you have the server with IP 192.168.100.100 and, at the same time, the scope of your DHCP (see "image5.png") is 192.168.100.1-254. That doesn't seem right. Your DHCP range shouldn't include your static IPs. May I suggest that you reduce your DHCP range to something like 192.168.100.101-192.168.100.200? This will still give you room for up to 100 dynamically assigned IPs which, unless you are a large company, it will be more than enough.

Regarding the file sharing ... could you please try changing the domain name in "Compartir Ficheros>Nombre del dominio" from "empresa.sml" to something like "empresa" or "empresasml"? Just don't include the dot. After that, restart the service.



101
Installation and Upgrades / Re: Can't access from outside
« on: May 31, 2011, 10:15:41 am »
So ... your access problem is "only" restricted to uploading files via FTP, correct?
Is FTP properly configured and running?
Have you created the users?
You should try accessing the FTP from a command prompt and see what the server responds. Same goes for the logs on the server. It could be a permissions issue and these logs will allow you to pinpoint the exact cause.

102
Installation and Upgrades / Re: Can't access from outside
« on: May 30, 2011, 05:22:26 pm »
Sorry, can't see the attachment.

About being able to access the Windows Server 2003, it means that your router is properly configured to access that particular server and nothing else. That doesn't mean that it will work (or not) for another server. This is something that you have to do for it to work.
So, you can't access your server from the outside (out of your home/company) but you can access it from inside (from your LAN), right?

103
Installation and Upgrades / Re: Can't access from outside
« on: May 30, 2011, 04:25:34 pm »
You want to enable the rules in "Filtering rules from internal networks to Zentyal" and/or "Filtering rules from external networks to Zentyal".
Also, check whether there is some other firewall between you and your server that may be filtering the data.

104
Installation and Upgrades / Re: Backup Zentyal 2.0.19
« on: May 30, 2011, 04:21:34 pm »
If the data is on the disk, you could use duplicity from the shell line.

105
Well, first things first.
Regarding the DNS issue, it is not enough to say that the Zentyal box is a DNS server, you actually need to put names in it. On the left menu, under Infrastructure, go to DNS. You should see a list of domains, and I would expect that it contains one single domain "empresa.sml". Click on the icon under the Hostnames column for that domain. It will list the device names and IPs in the DNS. Add your own server there with an entry like "servidor" and IP=192.168.100.100. All this stuff may look redundant but it is not.
Save all the changes and try again.

Regarding the file sharing issue, that error may be caused by a misconfiguration.
Go to Menu>"Module Status" and check that the module is actually enabled.
Go to Menu>"File Sharing" and check that all parameters are correct. Keep in mind that the Domain name is not the same than your Netbios name. Make them different. You could name yours with workgroup="WORKGROUP" or "EMPRESA" and the netbios name="SERVIDOR" (for example).
Save the changes. If the error still persists, try restarting the server or even rebooting it (nothing beats a clean start).

Good luck.

Pages: 1 ... 5 6 [7] 8 9 ... 17