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

Pages: [1] 2 3
Installation and Upgrades / webadmin ssl change via cli
« on: April 22, 2016, 07:55:35 pm »
I've hit a problem whereby my webadmin fails to start.
I suspect since i was trying to get VPN working, that something is messed up with the certificates, as the logs indicate nginx ssl mismatch.
So I'd like to turn off SSL, for webadmin, so I can at least try to reconfigure it.
where is the conf file located for that?
I'm running Zentyal 4.2

Installation and Upgrades / Run backup manually
« on: May 28, 2012, 09:52:56 am »
Sometimes its necessary to run backups manually, and Zentyal doesn't currently have a "run now" option via the admin interface.
Everyitme I need to do this, I always end up searching the forums for ages before I find the right commands. This is also made harder by the fact that older versions of Zentyal/Ebox use a different command.  So I figured I should document these CLI commands for other users too.

For zentyal versions 2.2:
Incremental backup: 
Code: [Select]
/usr/share/zentyal-ebackup/backup-tool --incrementalFull backup: 
Code: [Select]
/usr/share/zentyal-ebackup/backup-tool --full
For zentyal versions 2.0 and earlier:
Incremental backup:
Code: [Select]
/usr/share/ebox-ebackup/ebox-remote-ebackup --incrementalFull backup:
Code: [Select]
/usr/share/ebox-ebackup/ebox-remote-ebackup --full
If anyone has any other variants to add for other versions please go ahead and add them!

I have a Zentyal 2.0 domain server with lots of samba shares.
I need to exclude certain file types from backup. For example all the crap files created by our mac users:
.DS_Store, .TMP, and files beginning with  ._

Also Thumbs.db and all of the contents of all the RecycleBin folders on all network shares and User homes.

I know that Zentyal Backup has a feature for excluding by regular expression, but I can't find any examples of how to write those expressions in the Zentyal context.

Can someone help?

Installation and Upgrades / Change LDAP settings?
« on: May 15, 2012, 02:29:22 pm »
I have a live Zentyal 2.0.16 server, acting as a samba PDC for around 85 Windows users (who i don't really want to upset).
For historical reasons the LDAP settings no longer reflect the server's hostname, and this is making it difficult to implement features such as the Jabber module.
I'm also finding it unusually difficult to get some other apps to talk properly to my server's LDAP.

My current LDAP settings are as follows (domain names and server names changed for security):

Base DN:    dc=Server2,dc=domain1
Root DN:    cn=ebox,dc=Server2,dc=domain1
Password:    XXXXXXXXXXX (pass hidden)
Users DN:    ou=Users,dc=Server2,dc=domain1
Groups DN:    ou=Groups,dc=Server2,dc=domain1

I'd like to change all occurrences of Server2 to become Server1 (which is the hostname of the server).
Is it possible to make such changes to LDAP without affecting my users' ability to login to the domain (since the domain name won't change), and without affecting my abaility to join workstations to the domain?
If so, How?

I have a few servers all running Zentyal 2.2.7 and backing up to a NAS box via FTP (no encryption)
My NAS is pretty much out of diskspace, but I have a new one ready with a lot more space.
Using smbfs mount I have duplicated the existing backup data to the new server, keeping all file attributes.
How can I get Zentyal to read from the new location, and continue with its daily incremental backups?
Right now it's showing "There are not backed up files yet".
Do I have to clear some cache somewhere to get it to show the existing backups in the zentyal interface?

I've been looking through all documentation, but I can't find what I'm looking for.
I need to manually restart the backup service in Zentyal 2.2.7, but I can't find the command.

Is there anywhere documented all of the module service names?
It would be really useful to have a list of them all along with the various cli commands that can be used.

If it doesn't already exist, please can we have it added to either the WIKI or the official documentation.

Installation and Upgrades / Virtual Machines - more than one bridge?
« on: February 16, 2012, 08:50:25 am »
I have setup a virtual machine in Zentyal, and have configured networking in bridged mode.
I'd like to add more virtual machines also bridged.
However, I don't seem to be able to add more than one bridge per eth port.

I haven't used KVM/QEMU before, but I have quite a lot of experience with Virtualbox, which has no limitations on the number of bridges which can be configured on each eth port.

Am I missing something in my understanding of bridges in Zentyal?

This tutorial assumes you have an internet connection with a fixed IP address.

If you have a zentyal server with FTP service running, but your zentyal server is behind a firewall (I use pfsense as my firewall), You will find that users connecting from WAN can authenticate, but cannot get directory listing, and therefore connection will fail.

To fix this, you need to do the following:
  • In your firewall NAT rules you need to add a port range for passive ftp connections.
    for example:
    external port range: 10500-10600
    protocol: TCP
    NAT IP: your zentyal servers LAN IP address
    Local port range: 10500-10600
  • edit /etc/vsftp.conf
    Below all existing entries, add the following (modify to suit your above config):
    #Ip address to report to client:
    pasv_address= your router's WAN IP address
    #Define passive port range:
  • Save the changes and restart the FTP service from Zentyal's dashboard

You should also check that your FTP client is set to connect using PASV (passive) mode

Installation and Upgrades / Virtual Machine - path for new hard disks
« on: September 27, 2011, 12:14:47 pm »
I'm trying to setup winxp in Zentyal 2.2 virtual machine.
I configured the CD/DVD, and configured a new hard disk, but it seems the hard disk was not created correctly. I suspect its a disk space issue.
My root path has limited diskspace, whereas i created a seperate /var partition with lots of space (since primary function is webserver).

Whats the default path to virtualised hard-disks, and how can I change it?

I'm posting a retrosepective problem along with a solution in the hope that it may help someone else in the future, since its taken me the best part of the day to troubleshoot.
Here's my setup:
  • Ubuntu 10.04 server base with Zentyal 2.0.3 clean install from repo
  • DHCP is provided by our Pfsense router
  • Imported LDAP users, groups, computers from older Ebox version using Apache Directory Studio
  • About 10 shares allocated to various groups
  • Windows XP clients
The problem:
Unable to join new Windows clients to domain.

Solution (not entirely sure which change solved it, maybe both):
  • Edit /usr/share/ebox/stubs/samba/smb.conf.mas   set   wins support = No,  add   local master = Yes
  • save changes and restart samba from Zentyal dashboard

Installation and Upgrades / LDAP export and import -the easy way
« on: March 02, 2011, 12:02:35 pm »
I've see so many posts regarding importing LDAP records from previous servers, and there's even a tutorial in the How-tos relating to it. But, why do things the hard way when you can do the easy way?

For those of you who don't know there is a great piece of Open Source software called Apache Directory Studio. Its available for Win, Mac, Linux.  With the software you can connect to your existing LDAP database, export to LDIF, then connect to the new LDAP on your new Zentyal box, and import the LDIF file. The only thing you will need to do before import is use a text editor (I suggest Notepad++) to rename the DN info in the LDIF file, which typically is repeated for each user, group, computer etc.
Anyway I managed to import all users groups and computers from my old ebox 1.4 server (Ubuntu 8.04), into a new zentyal 2 server (Ubuntu 10.04).

All domain logons are working perfectly on the new server just as they used to. The only additional thing I needed to do for that was to edit the Samba SID using Apache Directory Studio to match the Samba SID on the old server.  

All in all Apache Directory Studio is a very powerful and easy to use tool, offering you full editing of your entire LDAP directory if you need.

Hope this is useful info for someone.

Just a heads-up in case anyone else hits the same issue.
I needed to restore a file from backup, the filename had a space in it, and the file was in a folder which had ben named using some foreign characters e.g. üõöä
The restore failed with a "file not found" type error. After the first failure, i switched to cli to do a manual restore, and that failed too.
In the end, I restored the entire parent directory to a temp folder, in the hope that the foreign characters would be avoided, and as suspected, it worked!

In the process I did a lot of googling, to try to find some answers to my questions, and still came up with nothing. If anyone has any answers to these it would be great:

  • How can i do a manual restore from cli of a filename containing spaces? Is there a way of quoting the string?
  • How can I get duplicity to understand foreign characters in a file path?

This is using Ebox 1.4.4

Installation and Upgrades / Home folder Recycle Bin
« on: January 28, 2011, 05:07:57 pm »
Core version: Ebox 1.4.4
Users and Groups version: 1.4.4

I'm experiencing some inconsistencies with the $RECYCLE.BIN folder in the users home folder.
Some users have it, and some don't. Yet I'm suspecting that in the beginning the folder was created, but that the user is able to delete it.  This is obviously not desirable.

so two questions arise:
1. how can I restore the folder?
2. how can I stop users from deleting it?

I'm planning an upgrade to current zentyal version, but I'd need to Upgrade my server Ubuntu version too, which is obviously major, and this is a production environment. So I'm taking it slow and careful.

Installation and Upgrades / samba credentials bug
« on: December 29, 2010, 12:28:43 am »
I'm running e-box 1.4 and I think my ubuntu version 8.04 prevents me installing Zentyal 2.x

The samba version in 1.4 contains a rare, yet documented bug which seems to somehow screw up cached credentials on our windows PCs. Domain admin permissions are lost on the local machine, and I can only login to PCs using accounts that have been previously logged in. Some software such as IE doesn't work correctly, and I can't do run-as domain admin. Everything was fine for months, then suddenly we're cursed, each PC in turn is hit by the bug.
The only fix I have so far found for this is to remove the PC from the domain then rejoin it. Not fun for 80 or so PCs.

Is it possible to upgrade to 2.x without upgrading Ubuntu ?

Installation and Upgrades / Can't see old backups
« on: November 09, 2010, 08:58:56 am »
I have an issue with ebox backup module.

I'm running ebackup version 1.4.5-0ubuntu1~ppa1~hardy1
core version 1.4.4

I'm using FTP protocol, and backups had been running fine, and I could see all previous backups OK.
Then our backup server went down, and obviously ebox was unable to perform its backups.
Now the backup server is working again, but ebox still won't show me the previous backups.
How can I restore the records of previous backups?

This is a fairly serious issue if temporary connectivity problems can cause backup records to disappear...

Pages: [1] 2 3