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 - quentin.jodhaa

Pages: [1]
1
Installation and Upgrades / Hidden shares
« on: July 07, 2011, 07:28:35 pm »
Hi all,

Here is my 2 cts on how to hide shares with Zentyal. Thanks to José for putting me on the right track, I just modified one thing.

1) Create the shares with Zentyal as you normally do

2) Prepare the configuration file

Code: [Select]
mkdir -p /etc/ebox/stubs/samba/
cp /usr/share/ebox/stubs/samba/smb.conf.mas /etc/ebox/stubs/samba/

3) Set up the "includes"

Code: [Select]
nano /etc/ebox/stubs/samba/smb.conf.mas
Modify the ligne 190 :
Code: [Select]
browseable = Yes
By :
Code: [Select]
include = /etc/samba/hiddenshares.conf
4) Configure the hidden shares
Code: [Select]
nano /etc/samba/hiddenshares.conf
Copy/paste in it the sections from /etc/samba/smb.conf of the shares you want to hide

Replace "browseable = yes" by "browseable = no", without the quotes, in each section

5) Restart samba
Code: [Select]
sudo /etc/init.d/ebox samba restart
I hope that will help.

If you have any idea of improvement, please let me know, and if it helped you, please let me know as well, it will make my day :)

To the Zentyal team : It would be awesome if in the Zentyal interface there was a box to tick : "Make invisible"

Cheers,

QJ

2
Hi guys,

I have an up-to-date Zentyal server used mainly for sharing files.

I came across a problem yesterday when I tried to recover a folder named like this : /home/myuser/samba/shares/myshare/subfolder/workin'/mywork

I need to recover the "mywork" folder, but I get an error about a non authorized character, and I guess it is the ' in workin'

Questions :

1) Is there a quick workaround ?
2) Is it a bug ?
3) Would someone know how to recover that folder in CLI with duplicity ? (where I guess I can use workin\' or "myfullpath")

Many thanks for your help, and keep up the good work !

QJ

3
Hi guys,

I have a Zentyal server with Zarafa Community Edition (6.40.7-26119) installed. Yesterday, after updating the server, I couldn't login on zarafa with any users.

I've deleted the ZCE to revert to the default one, installed by Zentyal. Users could log in but all the emails and configs of Zarafa were gone. I reinstalled the ZCE, and this is the message I got in the logs :

Code: [Select]
Wed Apr 27 12:48:23 2011: Starting zarafa-server version 6,40,5,24860, pid 9507
Wed Apr 27 12:48:23 2011: Connection to database 'zarafa' succeeded
Wed Apr 27 12:48:23 2011: WARNING: zarafa-licensed not running, commercial features will not be available until it's started.
Wed Apr 27 12:48:23 2011: WARNING: Database version is newer than the server version
Wed Apr 27 12:48:23 2011:    You can force the server to start with --ignore-database-version-conflict
Wed Apr 27 12:48:23 2011:    Warning, you can lose data! If you don't know what you're doing, you shouldn't be using this option!
Wed Apr 27 12:48:23 2011: Server shutdown complete.

When I use --ignore-database-version-conflict, the server starts but the users can't log in (can't connect to zarafa's server).

The mysql database size seems ok, 3.9 Gb.

Any help would be greatly appreciated, really.

Bests,

QJ

Pages: [1]