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

Pages: [1] 2 3 4
1
Installation and Upgrades / Re: SoGo default date format
« on: September 26, 2014, 01:46:01 pm »
that's looking better :) i have got  the HTML one working but the  SOGoRefreshViewCheck doesn't seem to apply :(

2
Installation and Upgrades / Re: SoGo default date format
« on: September 26, 2014, 01:21:52 pm »
Ok, i give up. Where do i add the 2 lines? it seems that nomatter where i add them the service won't start and the config file seems completely different to the one on the sogo install guide

3
Installation and Upgrades / Re: SoGo default date format
« on: September 26, 2014, 01:09:34 pm »
sorry /usr/share/zentyal/stubs/sogo/zentyal-sogo.mas

4
Installation and Upgrades / Re: SoGo default date format
« on: September 26, 2014, 01:08:25 pm »
AH! hadn't noticed that in the stubs documentation.
do i copy it from  /usr/share/zentyal/stubs/zentyel-sogo.mas?

5
Installation and Upgrades / Re: SoGo default date format
« on: September 26, 2014, 01:02:16 pm »
I put the two lines:=
SOGoMailComposeMessageType=html
SOGoRefreshViewCheck=every_5_minutes
in the file and the service fails to start. Do i need to put anything else in the file?

6
Installation and Upgrades / Re: SoGo default date format
« on: September 26, 2014, 12:51:32 pm »
Thanks for the quick reply.

it appears the lines i need are:-
SOGoMailComposeMessageType=html
SOGoRefreshViewCheck=every_5_minutes

haven't found one for dateformat yet.
Where do i create the stub file? the documentation seems to indicate /etc/zentyal/stubs/sogo but /etc/zentyal/stubs does not exist?
i created the folder and put a blank file called zentyal-sogo.mas in it and restarted the zentyal sogo service but now can't access sogo. is i delete the file and restart zentyal sogo everything works again.

thanks

Dave

7
Installation and Upgrades / SoGo default date format
« on: September 26, 2014, 09:42:14 am »
I'm using Zentyal 3.5
Hi All, I have noticed that the sogo date format is always defaulted to American. Is there any way that can be changed for all users to English? I am going to be creating over 300 users and don't want to have to manually change this. running Locale from terminal shows "en_GB.UTF-8" for everything so the system is set to English.
cat /etc/timezone shows "Europe/London"
Also is there any way to change the default compose mail format to HTML for all users?
And whilst we are at it the default check for new mail is defaulted to Manually, any way to bulk change this too?

8
Installation and Upgrades / Re: IMAP connectivity
« on: August 11, 2014, 10:39:49 am »
Not sure what happened but it just started working!

9
Installation and Upgrades / (Solved) IMAP connectivity
« on: August 07, 2014, 04:34:23 pm »
Hi all,

I have a new install of 3.5 with openchange and openchange web.
If i enable pop3 then the pop3 port is open.
imap is enabled but the port isn't open to internal users. I have opened all ports from internal to zentyal but still the same.
Running a port scanner against the zentyal server shows imap and imaps ports closed, but imap is enabled.

Any thoughts?

10
Installation and Upgrades / SOGo quota bar
« on: August 07, 2014, 12:51:12 pm »
Hi All, does anyone know how to enable a quota bar in SOGo?
I'm using Zentyal 3.5.

Thanks

Dave

11
Installation and Upgrades / Re: 3.5 documentation error
« on: August 05, 2014, 09:15:42 am »
Hi Stuart, to my knowledge it's only openchange mailboxes that only work in the Users OU, Contacts can go in any OU.
I have just tested it by creating a contact in my Contacts OU and it was visible in SOGo.

I agree about the annoyance of only having mail enabled users in one OU, it's a real limitation, hopefully we will get round it soon. Apparently the main restriction was having to sync 2 separate LDAP trees, but not we only have one I hope it's should not be too far away:)

The other things i would like:-
Ability to move Users/Contacts to another OU
Ability to select multiple Users/Contacts to move/delete

Dave

12
Installation and Upgrades / Re: 3.5 documentation error
« on: August 04, 2014, 06:00:02 pm »
Much more messing about and still no further.
I have changed CN=Contacts back to CN=Users and it works, but puts the contacts in the Users OU.
I copied and pasted the name of the Contacts OU i created into the script and still get "Missing argument: parent"

I have around 300 users and several hundred contacts, so obviously i don't want them all in one OU as it would be huge!

Any ideas?

13
Installation and Upgrades / Re: 3.5 documentation error
« on: August 04, 2014, 04:39:12 pm »
Superb! thanks, this is now working. On 3.4 though i had adjusted the script to import contacts into a different OU called Contacts.
I've moded the new one to the following but am having problems:-

Code: [Select]
#!/usr/bin/perl

use strict;
use warnings;

use EBox;
use EBox::Samba::Contact;
use File::Slurp;

EBox::init();

sub FindContainer {
    my ($class, $ro) = @_;
    my $usersMod = EBox::Global->getInstance($ro)->modInstance('samba');
    return $usersMod->objectFromDN('CN=Contacts,' . $usersMod->ldap->dn());
}

my @lines = read_file('contacts.csv');
chomp (@lines);

my $parent = FindContainer();

for my $line (@lines) {
    my ($username, $givenname, $surname, $email) = split(',', $line);
    EBox::Samba::Contact->create(
        samAccountName => $username,
        parent => $parent,
        givenName => $givenname,
        sn => $surname,
        mail => $email
    );
}

1;

It keeps saying "missing argument: parent"
the findcontainer sub is pinched from the contacts.pm file with a moded DN path.
Can't see why it's returning a blank value though! (I have created the OU Contacts)

Dave

14
Installation and Upgrades / 3.5 documentation error
« on: August 04, 2014, 01:33:06 pm »
Hi All,

I have been waiting for ages for the 3.5 documentation to be updated so that i can get a new script for importing users.
The documentation now clearly says 3.5, but the import script is still for 3.4

The page in question is:-
https://wiki.zentyal.org/wiki/En/3.5/Development_and_advanced_configuration
but EBox::Users::User does not exist on 3.5, it's replaced with EBox::Samba::User

changing all occurrences to be Samba instead of Users causes a missing Argument error because SamAccountName isn't specified.
Adding the line samAccountName => $username, results in

LDAP error: The request contained an invalid DN
.<br/> Operation parameters:{
  'scope' => 'base',
  'attrs' => [
               '*',
               'objectGUID',
               'unicodePwd',
               'supplementalCredentials'
             ],
  'base' => 'CN=,CN=Users,DC=mycohens,DC=net',
  'filter' => '(objectclass=*)'
}

Please can this script be updated to work with 3.5?

15
Installation and Upgrades / Re: 3.5.1 bulk import users
« on: July 10, 2014, 05:01:12 pm »
at least it's not just me :)
i have another script that uses samba to import users and create openchange accounts thanks to stuartnaylor on this post:-
https://forum.zentyal.org/index.php/topic,22477.0.html
but i have also modded this script to import contacts and would like to get this one working
It seems to be something to do with the function defaultContainer() in the perl users module not working right, but i don't know perl enough to guarantee that:(

Pages: [1] 2 3 4