Re: [SOGo] openchange

2022-11-16 Thread Christian Mack

Hello

Am 15.11.22 um 08:12 schrieb "Support FoxNET" (supp...@foxnet.be):


An alternative to openchange ?


Sadly not.
The only way to integrate MS Outlook reliably is via "Outlook CalDav 
Synchronizer".

https://caldavsynchronizer.org/
It synchronizes calendars and address books.
E-Mail has to be used with IMAP.
We all know, that Outlook has problems with IMAP, especially when moving 
or renaming folders.


Our colleagues have some users integrated with ActiveSync, but this 
seems to have problems with big email folders and calendars.

Other ActiveSync clients don't have those problems.


Kind regards,
Christian Mack

--
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung IT-Dienste Forschung, Lehre, Infrastruktur
78457 Konstanz
+49 7531 88-4416



smime.p7s
Description: S/MIME Cryptographic Signature


[SOGo] openchange

2022-11-15 Thread "Support FoxNET"

Hello

An alternative to openchange ?

Michel
 


RE: [SOGo] OpenChange OCSmanager & multidomains

2017-03-30 Thread Craig Fisher
I can see it from both points of view - it's there and works (apparently - 
although I can't make it do so), so the documentation reflects the current 
usage.  But I've also spent quite a while banging my head against a component 
that doesn't have any meaningful documentation without consulting the Internet 
Archive to access openchange.org. That should have been a red-flag I suppose, 
but the active github repository in Zentyal (which is the build pulled in from 
the Inverse installation process) would seem to indicate that it's possibly 
hanging on.

What would be good is a bigger picture road-map (beyond that of bug fixes) of 
where things are moving to, so that any contributions I/we can make will take 
things forward along a productive path, rather than down a cul-de-sac.

If the openchange component is to go, and EAS is to be the Outlook-compatible 
tool of choice, then I'm assuming that all the EWS features ( 
https://msdn.microsoft.com/en-us/library/office/dn144954(v=exchg.140).aspx ) 
will be lost?

-Craig

-Original Message-

On 2017-03-29 5:05 PM, Gordon Messmer (gordon.mess...@gmail.com) wrote:

> I'm afraid I don't understand.  Why would people want to test and
> contribute to OpenChange if those contributions are going to be
> removed from SOGo "soon"?
If contributions are interesting and overcome limitations, why would we remove 
support? I wrote "it is likely" - I didn't write "it will".

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca Inverse inc. 
:: Leaders behind SOGo (http://sogo.nu), PacketFence (http://packetfence.org) 
and Fingerbank (http://fingerbank.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


smime.p7s
Description: S/MIME cryptographic signature


Re: [SOGo] OpenChange OCSmanager & multidomains

2017-03-29 Thread Ludovic Marcotte

On 2017-03-29 5:05 PM, Gordon Messmer (gordon.mess...@gmail.com) wrote:

I'm afraid I don't understand.  Why would people want to test and 
contribute to OpenChange if those contributions are going to be 
removed from SOGo "soon"? 
If contributions are interesting and overcome limitations, why would we 
remove support? I wrote "it is likely" - I didn't write "it will".


--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu), PacketFence 
(http://packetfence.org) and Fingerbank (http://fingerbank.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange OCSmanager & multidomains

2017-03-29 Thread Gordon Messmer

On 03/29/2017 01:53 PM, Ludovic Marcotte" (lmarco...@inverse.ca) wrote:

On 2017-03-29 4:30 PM, Gordon Messmer (gordon.mess...@gmail.com) wrote:

Sure, but wouldn't it save people from wasting their time with 
proof-of-concepts for a component that's being abandoned if the 
documentation were updated now? 


But this would allow people to test and contribute to the project if 
they want to.



I'm afraid I don't understand.  Why would people want to test and 
contribute to OpenChange if those contributions are going to be removed 
from SOGo "soon"?


--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange OCSmanager & multidomains

2017-03-29 Thread Ludovic Marcotte

On 2017-03-29 4:30 PM, Gordon Messmer (gordon.mess...@gmail.com) wrote:



Sure, but wouldn't it save people from wasting their time with 
proof-of-concepts for a component that's being abandoned if the 
documentation were updated now? 


But this would allow people to test and contribute to the project if 
they want to.


--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu), PacketFence 
(http://packetfence.org) and Fingerbank (http://fingerbank.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange OCSmanager & multidomains

2017-03-29 Thread Gordon Messmer

On 03/29/2017 11:33 AM, Ludovic Marcotte" (lmarco...@inverse.ca) wrote:

The documentation will be updated when the change is carried forward.



Sure, but wouldn't it save people from wasting their time with 
proof-of-concepts for a component that's being abandoned if the 
documentation were updated now?


--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange OCSmanager & multidomains

2017-03-29 Thread Ludovic Marcotte

On 2017-03-29 1:58 PM, Gordon Messmer (gordon.mess...@gmail.com) wrote:


Will the documentation be updated before that happens?

https://sogo.nu/files/docs/SOGoNativeOutlookConfigurationGuide.html

Removing that component seems like a major change to make "soon" given 
that the documentation still indicates that this is the recommended 
configuration.

The documentation will be updated when the change is carried forward.

How will existing clients react to the removal of native Exchange support?
Unfortunately, OpenChange has had limitations that weren't overcome in 
years, so people rarely went beyond PoC stages.

  Will they automatically fail over to ActiveSync?

No automatically, those are two different account types in Outlook.


For Outlook compatibility, you can use ActiveSync if you're using 
Outlook 2013 or 2013, or you can use the Outlook CalDAV/CardDAV 
connector (https://sourceforge.net/projects/outlookcaldavsynchronizer/)


I presume you mean "or 2016," right? 

Yes, indeed.

Thanks,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu), PacketFence 
(http://packetfence.org) and Fingerbank (http://fingerbank.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] OpenChange OCSmanager & multidomains

2017-03-29 Thread Gordon Messmer

On 03/29/2017 10:36 AM, Ludovic Marcotte" (lmarco...@inverse.ca) wrote:
OpenChange is dead. Our code that plays with it is likely set to be 
removed soon.


Will the documentation be updated before that happens?

https://sogo.nu/files/docs/SOGoNativeOutlookConfigurationGuide.html

Removing that component seems like a major change to make "soon" given 
that the documentation still indicates that this is the recommended 
configuration.  How will existing clients react to the removal of native 
Exchange support?  Will they automatically fail over to ActiveSync?


For Outlook compatibility, you can use ActiveSync if you're using 
Outlook 2013 or 2013, or you can use the Outlook CalDAV/CardDAV 
connector (https://sourceforge.net/projects/outlookcaldavsynchronizer/)


I presume you mean "or 2016," right?
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange OCSmanager & multidomains

2017-03-29 Thread Ludovic Marcotte

On 2017-03-29 12:50 PM, Craig Fisher (craig.fis...@prolateral.com) wrote:

Q1. Will Openchange support multipledomains/login via LDAP and pulling 
information from there?


OpenChange is dead. Our code that plays with it is likely set to be 
removed soon.


Q1. If not is Openchange a requirement for Exchange ActiveSync 
functionality? It seems like a dead development… ☹


Our ActiveSync stack in SOGo does NOT rely in any way with OpenChange - 
it works on its own and is self-contained.


Q2. If not – is there any documentation on what the autodiscover.xml 
response should look like to tell remote Outlook to use EAS instead of 
using OCSManager to generate it?


For Outlook compatibility, you can use ActiveSync if you're using 
Outlook 2013 or 2013, or you can use the Outlook CalDAV/CardDAV 
connector (https://sourceforge.net/projects/outlookcaldavsynchronizer/)


Thanks,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu), PacketFence 
(http://packetfence.org) and Fingerbank (http://fingerbank.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] OpenChange OCSmanager & multidomains

2017-03-29 Thread Craig Fisher
Folks, Hi

 

I’ve got SOGO working fine with multiple domains, separated into different OUs 
in my LDAP (Samba4).  I’m using the email address as the login name – which 
works well for Sogo/dovecot/postfix logins.

 

However – I don’t seem to be able to get OCSManager to authenticate my 
autodiscover.xml properly.  It comes up with an HTTP-AUTH box which seems to 
connect and work using LDAP correctly initially, but once it gets into the 
‘pulling information out of Samba’ part to generate the autodiscover response, 
the Samba NTLM searches fail as they are searching for the email address.

 

There doesn’t seem to be any documentation for Openchange *anywhere*, beyond 
the example setup in the SOGo docs.  

 

Q1. Will Openchange support multipledomains/login via LDAP and pulling 
information from there?

Q1. If not is Openchange a requirement for Exchange ActiveSync functionality? 
It seems like a dead development… ☹

Q2. If not – is there any documentation on what the autodiscover.xml response 
should look like to tell remote Outlook to use EAS instead of using OCSManager 
to generate it?

 

May thanks in advance…

 

-Craig

 



smime.p7s
Description: S/MIME cryptographic signature


Re: [SOGo] openchange installation

2017-02-02 Thread slavek.ba...@axis.cz
Dne čt 2. února 2017 chico ahmad napsal(a):
> I am running debian jessie, and I am planning to install sogo with
> openhange but I cannot download openchange sources or packages from
> anywhere, not even from the git repository and the openchange website
> is unreachable, any ideas chico

Hi Chico,

it seems that OpenChange has no hope that it would be developed further. 
Website is terminated. New commits not come. It is therefore questionable 
whether it is a good idea to maintain it in production environments.

For source code I recommends to use Zentyal fork:

  https://github.com/zentyal/openchange

However, on Jessie you'll need a newer version of Samba along with several 
other necessary packages - ldb, python-rpclib, python-sievelib, talloc, 
tdb and tevent. If you're interested in binary packages, you can use my 
alternative apt repository, where is available OpenChange including Samba 
and all necessary packages.

Cheers
-- 
Slávek
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] openchange installation

2017-02-02 Thread chico ahmad
I am running debian jessie, and I am planning to install sogo with openhange 
but I cannot download openchange sources or packages from anywhere, not even 
from the git repository and the openchange website is unreachable, any ideas
chico
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Openchange with existing AD

2016-07-13 Thread Jonathan dumaresq

Hi,

I have a setup using the latest SOGO (3.1.4) and I can get most of it 
working. I have installed the activesync and I'm able to get our Android 
device working with SOGO. I can also have the IMAP working with TB.


I have installed the outlook sync plugin and can get Task/calendar 
working with it. I use the IMAP for outlook (2007/2010) and it's woring 
too. ! Wow i'm impressed.  Good work.


Now I wonder if I take the road of implementing the openchange part. I 
have an existing AD (zentyal)  with the schema updated to openchange.


Since I have installed the SOGO completely indépendent of my AD 
(xenial), the openchange is not installed (for now).


- Is it possible to use the openchange on a linux that is not a DC ? 
(only member of the domain)
- When I create a new user do I need to create something else in my 
schema to get the new user working on outlook ?

- Is the effort to get this working give advantages ?

regards

Jonathan
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange and multiple domains

2016-05-26 Thread blax...@gmail.com
On Mon, May 23, 2016 at 4:06 PM, "Laz C. Peterson"  wrote:

> Hello,
>
> I’ve been looking at OpenChange to configure native Outlook functionality,
> but have been hesitant for quite a while, since we have multiple active
> directory domains that SOGo is authenticating from.  Has anyone had any
> experience with multiple domains and OpenChange/SOGo?
>

Yes, Openchange supports multidomain. You will need to have your users in
one samba (openchange uses samba for authentication, it doesn't matter what
you have on your sogo.conf), also this samba needs one patch [0] to be able
to support multidomain (aka log with email address, u...@domain.com)


>
> SOGo itself works great with the multiple domains … But it seems
> OpenChange is not so friendly, requiring the server itself to be joined to
> the AD as a domain controller — I really don’t want to have to create a new
> OpenChange host for each domain.
>

The common way to deploy it would be to have 1 node with samba (domain
controlller) with all the users and then n nodes of openchange (member
server) with dcerpc_mapiproxy:samdb_url = ldap://IP_DC besides all the
common openchange configuration variables. And then another node (with for
example haproxy) to do the balance, this way you can have a multidomain
deploy than can grow easily (it depends of the usage but I'd say 50 users
per node average).


>
> Any help or information would be greatly appreciated.  Thank you!
>
> ~ Laz Peterson
> Paravis, LLC
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>

[0]
https://github.com/blaxter/samba/blob/trusty-4.3/debian/patches/s4-auth-ntlm-Add-config-key-to-allow-users-with-email-address-format.patch
(and use usernames are emails = yes on smb.conf)
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] OpenChange and multiple domains

2016-05-23 Thread "Laz C. Peterson"
Hello,

I’ve been looking at OpenChange to configure native Outlook functionality, but 
have been hesitant for quite a while, since we have multiple active directory 
domains that SOGo is authenticating from.  Has anyone had any experience with 
multiple domains and OpenChange/SOGo?

SOGo itself works great with the multiple domains … But it seems OpenChange is 
not so friendly, requiring the server itself to be joined to the AD as a domain 
controller — I really don’t want to have to create a new OpenChange host for 
each domain.

Any help or information would be greatly appreciated.  Thank you!

~ Laz Peterson
Paravis, LLC
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo - Openchange issue

2016-05-05 Thread Steve Ankeny

On 05/05/2016 02:01 PM, Ludovic Marcotte (lmarco...@inverse.ca) wrote:

On 2016-05-05 13:58, Rowland Penny (rpenny241...@gmail.com) wrote:

Then why are you still pushing 4.1.18 out the door ?
If you don't want it, don't get it. Or better, have fun and provide us 
Samba 4.3/4.4 packages on Jessie and Trusty. Good luck with that.


This discussion is over.
--
Ludovic Marcotte
lmarco...@inverse.ca   ::  +1.514.755.3630  ::http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)
--
users@sogo.nu
https://inverse.ca/sogo/lists


I realize there are many who still use Ubuntu 14.04 Trusty, but moving 
to 16.04 is beneficial all-way-round.


That would provide Samba 4.3.8 via the Ubuntu repositories, which HAS 
the patches and will be supported.


And, I don't believe it would cause any other problems with the normal 
applications needed for SOGo or Dovecot/Postfix  It does move from PHP5 
to PHP7.0, and that can cause some problems until you understand.


However, I've decided that OpenChange is not the way I wish to take my 
clients (but EAS)  It's time to upgrade.  It's even time to upgrade my 
clients using Outlook 2010 to 2013 or beyond.  THAT's the best solution 
I see.


Wishing you well, today!

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo - Openchange issue

2016-05-05 Thread Ludovic Marcotte

On 2016-05-05 13:58, Rowland Penny (rpenny241...@gmail.com) wrote:

Then why are you still pushing 4.1.18 out the door ?
If you don't want it, don't get it. Or better, have fun and provide us 
Samba 4.3/4.4 packages on Jessie and Trusty. Good luck with that.


This discussion is over.

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo - Openchange issue

2016-05-05 Thread Rowland Penny

On 05/05/16 18:41, Ludovic Marcotte (lmarco...@inverse.ca) wrote:

On 2016-05-05 13:40, Jonathan Mathews (jm3185...@gmail.com) wrote:


Will OpenChange also be updated?


Yes.
--
Ludovic Marcotte
lmarco...@inverse.ca   ::  +1.514.755.3630  ::http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)
--
users@sogo.nu
https://inverse.ca/sogo/lists


Does this mean you have taken on development of Openchange ?

Rowland
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo - Openchange issue

2016-05-05 Thread Ludovic Marcotte

On 2016-05-05 13:49, Rowland Penny (rpenny241...@gmail.com) wrote:

Hi, did you possibly miss what happened on the 12th of last month ???

No. Patches are NOT provided for v4.1.

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo - Openchange issue

2016-05-05 Thread Rowland Penny

On 05/05/16 18:52, Ludovic Marcotte (lmarco...@inverse.ca) wrote:

On 2016-05-05 13:49, Rowland Penny (rpenny241...@gmail.com) wrote:

Hi, did you possibly miss what happened on the 12th of last month ???

No. Patches are NOT provided for v4.1.
--
Ludovic Marcotte
lmarco...@inverse.ca   ::  +1.514.755.3630  ::http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)
--
users@sogo.nu
https://inverse.ca/sogo/lists


Then why are you still pushing 4.1.18 out the door ?

Rowland

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo - Openchange issue

2016-05-05 Thread Rowland Penny

On 05/05/16 18:35, Ludovic Marcotte (lmarco...@inverse.ca) wrote:

On 2016-05-05 13:29, Jonathan Mathews (jm3185...@gmail.com) wrote:


In your opinion, what would be the best way to SOGo to connect to 
Outlook 2010,  I need to make sure that the calendar is able to sync.



We will soon update the Samba packages - 2-3 weeks time frame.

More news to come regarding this real soon.

Thanks,
--
Ludovic Marcotte
lmarco...@inverse.ca   ::  +1.514.755.3630  ::http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)
--
users@sogo.nu
https://inverse.ca/sogo/lists


Hi, did you possibly miss what happened on the 12th of last month ???

Rowland

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo - Openchange issue

2016-05-05 Thread Rowland Penny

On 05/05/16 18:29, Jonathan Mathews (jm3185...@gmail.com) wrote:


Hi Rowland

Thank you for the information, it explains a lot.

In your opinion, what would be the best way to SOGo to connect to 
Outlook 2010,  I need to make sure that the calendar is able to sync.


Thanks
Jonathan




Hi Jonathon, I do not use Outlook, so I have no idea, I just know 
something about the Openchange problems.


Rowland

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo - Openchange issue

2016-05-05 Thread Azam Premji
Hi Jonathan,

Try the Outlook CalDAV Synchronizer plugin on sourceforge. Maybe it’ll help 
until the good news from Ludovic?


Azam


> On May 5, 2016, at 1:29 PM, Jonathan Mathews (jm3185...@gmail.com) 
>  wrote:
> 
> Hi Rowland
> 
> Thank you for the information, it explains a lot.
> 
> In your opinion, what would be the best way to SOGo to connect to Outlook 
> 2010,  I need to make sure that the calendar is able to sync.
> 
> Thanks
> Jonathan
> 
> On 05 May 2016 6:59 PM, "Rowland Penny"  <mailto:users@sogo.nu>> wrote:
> >
> > On 05/05/16 16:42, Jonathan Mathews (jm3185...@gmail.com 
> > <mailto:jm3185...@gmail.com>) wrote:
> >>
> >> Hi
> >>
> >> Hope someone could assist me.
> >>
> >> I am interested in using SOGo as my email server, but have been 
> >> experiencing some issues.
> >>
> >> I have been trying to install SOGo with OpenChange, as some of the users 
> >> prefer to use Outlook 2010.
> >>
> >> So I have a CentOS 6.7 server, with epel repo and rpmforge, and have been 
> >> following the installation guide on the website, and also the following 
> >> guide which is for Ubuntu
> >>
> >> https://github.com/DigitalOcean-User-Projects/Articles-and-Tutorials/blob/master/sogo_an_MS_exchange_alt.md
> >>  
> >> <https://github.com/DigitalOcean-User-Projects/Articles-and-Tutorials/blob/master/sogo_an_MS_exchange_alt.md>
> >>
> >> So, when I do yum install samba4, it only installs two packages, samba4 
> >> and samba4-common, so when you run samba-tool, you get a command not 
> >> found. I eventually found out that you have to purchase it from sernet, 
> >> which gives you all the dependencies to run samba-tool.
> >>
> >> I then added the SOGo repo and ran yum install sogo*, the install went 
> >> perfect. Then the next step is to install OpenChange, I used the following 
> >> instructions:
> >>
> >> http://www.openchange.org/download/el.html 
> >> <http://www.openchange.org/download/el.html>
> >>
> >> So when I ran yum install openchange sogo-openchange-backend 
> >> openchange-ocsmanager openchange-rpcproxy
> >>
> >> I get openchange-ocsmanager openchange-rpcproxy packages does not exist.
> >>
> >> I am not sure if I am doing something wrong, but I followed the 
> >> instructions. To me it looks like it is a repo issue, yet I have given the 
> >> exact repo that the webstie points me to.
> >>
> >> I would apriceate any advice anyone can give me.
> >>
> >>
> >>
> >
> > For various reasons, Openchange development seems to have stalled and 
> > Openchange will only work with Samba version 4.1.18 at latest. This version 
> > of Samba is now EOL and is possibly subject to MITM attacks, so I wouldn't 
> > use it. If I remember correctly, there was also a problem building 
> > ocsmanager on later versions.
> >
> > All in all, I think, for the time being anyway, you should not consider 
> > using Openchange.
> >
> > Rowland
> >
> > -- 
> > users@sogo.nu <mailto:users@sogo.nu>
> > https://inverse.ca/sogo/lists <https://inverse.ca/sogo/lists>
> -- 
> users@sogo.nu
> https://inverse.ca/sogo/lists

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo - Openchange issue

2016-05-05 Thread Ludovic Marcotte

On 2016-05-05 13:40, Jonathan Mathews (jm3185...@gmail.com) wrote:


Will OpenChange also be updated?


Yes.

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo - Openchange issue

2016-05-05 Thread Jonathan Mathews
Hi Ludovic

Will OpenChange also be updated?

Thanks
Jonathan

On 05 May 2016 7:36 PM, "Ludovic Marcotte"  wrote:
>
> On 2016-05-05 13:29, Jonathan Mathews (jm3185...@gmail.com) wrote:
>>
>> In your opinion, what would be the best way to SOGo to connect to
Outlook 2010,  I need to make sure that the calendar is able to sync.
>
> We will soon update the Samba packages - 2-3 weeks time frame.
>
> More news to come regarding this real soon.
>
> Thanks,
>
> --
> Ludovic Marcotte
> lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
> Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence (
http://packetfence.org)
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo - Openchange issue

2016-05-05 Thread Ludovic Marcotte

On 2016-05-05 13:29, Jonathan Mathews (jm3185...@gmail.com) wrote:


In your opinion, what would be the best way to SOGo to connect to 
Outlook 2010,  I need to make sure that the calendar is able to sync.



We will soon update the Samba packages - 2-3 weeks time frame.

More news to come regarding this real soon.

Thanks,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo - Openchange issue

2016-05-05 Thread Jonathan Mathews
Hi Rowland

Thank you for the information, it explains a lot.

In your opinion, what would be the best way to SOGo to connect to Outlook
2010,  I need to make sure that the calendar is able to sync.

Thanks
Jonathan

On 05 May 2016 6:59 PM, "Rowland Penny"  wrote:
>
> On 05/05/16 16:42, Jonathan Mathews (jm3185...@gmail.com) wrote:
>>
>> Hi
>>
>> Hope someone could assist me.
>>
>> I am interested in using SOGo as my email server, but have been
experiencing some issues.
>>
>> I have been trying to install SOGo with OpenChange, as some of the users
prefer to use Outlook 2010.
>>
>> So I have a CentOS 6.7 server, with epel repo and rpmforge, and have
been following the installation guide on the website, and also the
following guide which is for Ubuntu
>>
>>
https://github.com/DigitalOcean-User-Projects/Articles-and-Tutorials/blob/master/sogo_an_MS_exchange_alt.md
>>
>> So, when I do yum install samba4, it only installs two packages, samba4
and samba4-common, so when you run samba-tool, you get a command not found.
I eventually found out that you have to purchase it from sernet, which
gives you all the dependencies to run samba-tool.
>>
>> I then added the SOGo repo and ran yum install sogo*, the install went
perfect. Then the next step is to install OpenChange, I used the following
instructions:
>>
>> http://www.openchange.org/download/el.html
>>
>> So when I ran yum install openchange sogo-openchange-backend
openchange-ocsmanager openchange-rpcproxy
>>
>> I get openchange-ocsmanager openchange-rpcproxy packages does not exist.
>>
>> I am not sure if I am doing something wrong, but I followed the
instructions. To me it looks like it is a repo issue, yet I have given the
exact repo that the webstie points me to.
>>
>> I would apriceate any advice anyone can give me.
>>
>>
>>
>
> For various reasons, Openchange development seems to have stalled and
Openchange will only work with Samba version 4.1.18 at latest. This version
of Samba is now EOL and is possibly subject to MITM attacks, so I wouldn't
use it. If I remember correctly, there was also a problem building
ocsmanager on later versions.
>
> All in all, I think, for the time being anyway, you should not consider
using Openchange.
>
> Rowland
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo - Openchange issue

2016-05-05 Thread Rowland Penny

On 05/05/16 16:42, Jonathan Mathews (jm3185...@gmail.com) wrote:

Hi

Hope someone could assist me.

I am interested in using SOGo as my email server, but have been 
experiencing some issues.


I have been trying to install SOGo with OpenChange, as some of the 
users prefer to use Outlook 2010.


So I have a CentOS 6.7 server, with epel repo and rpmforge, and have 
been following the installation guide on the website, and also the 
following guide which is for Ubuntu


https://github.com/DigitalOcean-User-Projects/Articles-and-Tutorials/blob/master/sogo_an_MS_exchange_alt.md

So, when I do yum install samba4, it only installs two packages, 
samba4 and samba4-common, so when you run samba-tool, you get a 
command not found. I eventually found out that you have to purchase it 
from sernet, which gives you all the dependencies to run samba-tool.


I then added the SOGo repo and ran yum install sogo*, the install went 
perfect. Then the next step is to install OpenChange, I used the 
following instructions:


http://www.openchange.org/download/el.html

So when I ran yum install |openchange sogo-openchange-backend 
openchange-ocsmanager openchange-rpcproxy


|
|I get ||openchange-ocsmanager openchange-rpcproxy packages does not 
exist.


|
|I am not sure if I am doing something wrong, but I followed the 
instructions. To me it looks like it is a repo issue, yet I have given 
the exact repo that the webstie points me to.


|
|I would apriceate any advice anyone can give me.

|
||





For various reasons, Openchange development seems to have stalled and 
Openchange will only work with Samba version 4.1.18 at latest. This 
version of Samba is now EOL and is possibly subject to MITM attacks, so 
I wouldn't use it. If I remember correctly, there was also a problem 
building ocsmanager on later versions.


All in all, I think, for the time being anyway, you should not consider 
using Openchange.


Rowland

--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] SOGo - Openchange issue

2016-05-05 Thread Jonathan Mathews
Hi

Hope someone could assist me.

I am interested in using SOGo as my email server, but have been
experiencing some issues.

I have been trying to install SOGo with OpenChange, as some of the users
prefer to use Outlook 2010.

So I have a CentOS 6.7 server, with epel repo and rpmforge, and have been
following the installation guide on the website, and also the following
guide which is for Ubuntu

https://github.com/DigitalOcean-User-Projects/Articles-and-Tutorials/blob/master/sogo_an_MS_exchange_alt.md

So, when I do yum install samba4, it only installs two packages, samba4 and
samba4-common, so when you run samba-tool, you get a command not found. I
eventually found out that you have to purchase it from sernet, which gives
you all the dependencies to run samba-tool.

I then added the SOGo repo and ran yum install sogo*, the install went
perfect. Then the next step is to install OpenChange, I used the following
instructions:

http://www.openchange.org/download/el.html

So when I ran yum install openchange sogo-openchange-backend
openchange-ocsmanager openchange-rpcproxy

I get openchange-ocsmanager openchange-rpcproxy packages does not exist.

I am not sure if I am doing something wrong, but I followed the
instructions. To me it looks like it is a repo issue, yet I have given the
exact repo that the webstie points me to.

I would apriceate any advice anyone can give me.

Many thanks
Jonathan

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Openchange + Samba 4.4.0

2016-04-13 Thread Andrey Cherepanov

12.04.2016 23:15, Rowland Penny (rpenny241...@gmail.com) пишет:

You don't need to remove that commit from samba, you can use something
like this
https://github.com/blaxter/openchange/commit/5f5783711d2c2496a824e66c8aa439781cac67fa
and it will compile just fine
--
users@sogo.nu
https://inverse.ca/sogo/lists


OK, I can now tell you, do not use Samba 4.1.18 with Openchange unless
you can backport the badlock patches or if Openchange does so, Samba
will not backport these packages.

There are various problems covered by the patches, chiefly there is a
risk of 'man in the middle' attacks.
That's true. But sogo2/sogo3 with openchange support cannot built with 
Samba 4.4.2 because try to include private library dlinklist.h and it 
include file change expected definition:


As result:
MAPIStoreContext.m: In function '+[MAPIStoreContext 
listAllContextsForUser:withIndexing:inMemCtx:]':
MAPIStoreContext.m:126:46: error: macro "DLIST_CONCATENATE" passed 3 
arguments, but takes just 2

 DLIST_CONCATENATE(list, current, void);
MAPIStoreContext.m:126:9: error: 'DLIST_CONCATENATE' undeclared (first 
use in this function)



--
Andrey Cherepanov
c...@altlinux.org
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re[2]: [SOGo] Sogo <-> OpenChange messages update mechanism

2016-04-12 Thread qm...@top-consulting.net
Thanks for the response!

For #1 what I meant was:
- Openchange registers the user as a resolver in memcache and makes available a 
TCP port.
- dovecot-plugin connects to memcache and looks for that user
- if found, it connects to the TCP port specified in memcache and lets 
OpenChange know that a new message arrived
So for #3.
If I'm in SOGo webmail and I move a message from Inbox to folder 'Blah', 
Openchange won't know about this unless a manual refresh is done on the folder 
Inbox and folder 'Blah'. Do you know if there's any work being done to notify 
Openchange that such an operation took place ?

On Tue, Apr 12, 2016 at 07:04 PM, Quique  wrote: HI!
On Tue, Apr 12, 2016 at 12:25 PM qm...@top-consulting.net 
(mailto:qm...@top-consulting.net)  wrote:

Does anyone know how/if Sogo updates Openchange as far as modifications in 
folder / messages structure ? 
SOGo does not update OpenChange metadata in any way. OpenChange modifies mails, 
calendars, etc using SOGo-OpenChange library using the SOGo framework.
I believe there are 3 cases that involve changes in folder structure & messages 
location.
1. New messages. This is solved by the dovecot-openchange plugin that notifies 
Openchange that a new message has arrived
You are more or less correct. 
2. Changes done in Outlook : when you move messages around in Outlook, this 
also replicates down to the IMAP back-end so SOGO knows about them through 
there.
Right.
3. Changes done in SOGo. When you move a message to another folder in the web 
interface or via ActiveSync, create another folder, etc, how is Openchange 
notified of this ? Is there an automated mechanism or you must manually click 
on 'Update Folder' in Outlook ?
No.  It should be using notifications that are not implemented in OpenChange 
but available in MAPI protocol. The MAPI protocol is stateful so the client 
sends a state to the server about its current status and the server acts 
consequently to update the client. also known as "Update Folder". This 
operation for INBOX folder is automatic thanks to notifications and for the 
other folders must be done manually or it will be periodically by the client. I 
would like to note a known limitation synchronising the hierarchy, the new root 
folders (INBOX level) appears after Outlook process start.  
I hope this clarifies a little the sync.
Best regards,

 ---

sixstone
 -- 
users@sogo.nu (mailto:users@sogo.nu)
https://inverse.ca/sogo/lists (https://inverse.ca/sogo/lists)
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Sogo <-> OpenChange messages update mechanism

2016-04-12 Thread Quique
HI!

On Tue, Apr 12, 2016 at 12:25 PM qm...@top-consulting.net 
wrote:

> Does anyone know how/if Sogo updates Openchange as far as modifications in
> folder / messages structure ?
>

SOGo does not update OpenChange metadata in any way. OpenChange modifies
mails, calendars, etc using SOGo-OpenChange library using the SOGo
framework.


> I believe there are 3 cases that involve changes in folder structure &
> messages location.
>
> 1. New messages. This is solved by the dovecot-openchange plugin that
> notifies Openchange that a new message has arrived
>

You are more or less correct.

> 2. Changes done in Outlook : when you move messages around in Outlook,
> this also replicates down to the IMAP back-end so SOGO knows about them
> through there.
>

Right.


> 3. Changes done in SOGo. When you move a message to another folder in the
> web interface or via ActiveSync, create another folder, etc, how is
> Openchange notified of this ? Is there an automated mechanism or you must
> manually click on 'Update Folder' in Outlook ?
>
> No.  It should be using notifications that are not implemented in
OpenChange but available in MAPI protocol. The MAPI protocol is stateful so
the client sends a state to the server about its current status and the
server acts consequently to update the client. also known as "Update
Folder". This operation for INBOX folder is automatic thanks to
notifications and for the other folders must be done manually or it will be
periodically by the client. I would like to note a known limitation
synchronising the hierarchy, the new root folders (INBOX level) appears
after Outlook process start.

I hope this clarifies a little the sync.

Best regards,
 ---
sixstone
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Openchange + Samba 4.4.0

2016-04-12 Thread Rowland Penny

On 26/03/16 16:27, Jesús García Sáez (blax...@gmail.com) wrote:



On Fri, Mar 25, 2016 at 11:44 AM, Andrey Cherepanov > wrote:


Can anybody compile openchange with samba 4.4.0? Now samba contains

commit 218f96f2bf10f7f03ec964c4515f6e248fc31ad8
Author: Jelmer Vernooij mailto:jel...@jelmer.uk>>
Date:   Mon Jan 4 00:56:10 2016 +

libcli: Make headers for private libraries private.

Signed-off-by: Jelmer Vernooij mailto:jel...@jelmer.uk>>
Reviewed-By: Andrew Bartlett mailto:abart...@samba.org>>
Reviewed-By: Stefan Metzmacher mailto:me...@samba.org>>

ldap_ndr.h is now private header and is not available for openchange:
Compiling libmapiadmin/mapiadmin_user.c with -fPIC
libmapiadmin/mapiadmin_user.c:33:22: fatal error: ldap_ndr.h: No
such file or directory

OpenChange 2.4-zentyal22 is still use it:
$ git grep 'ldap_ndr.h>' | cat
libmapiadmin/mapiadmin_user.c:#include 
mapiproxy/servers/default/emsmdb/emsmdbp.c:#include 

I try to subscribe de...@lists.openchange.org
 and create issue on
https://github.com/zentyal/openchange but without any result.

-- 
Andrey Cherepanov

c...@altlinux.org 
-- 
users@sogo.nu 

https://inverse.ca/sogo/lists




You don't need to remove that commit from samba, you can use something 
like this 
https://github.com/blaxter/openchange/commit/5f5783711d2c2496a824e66c8aa439781cac67fa 
and it will compile just fine

--
users@sogo.nu
https://inverse.ca/sogo/lists


OK, I can now tell you, do not use Samba 4.1.18 with Openchange unless 
you can backport the badlock patches or if Openchange does so, Samba 
will not backport these packages.


There are various problems covered by the patches, chiefly there is a 
risk of 'man in the middle' attacks.


Rowland
--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Sogo <-> OpenChange messages update mechanism

2016-04-12 Thread qm...@top-consulting.net
Does anyone know how/if Sogo updates Openchange as far as modifications in 
folder / messages structure ?
I believe there are 3 cases that involve changes in folder structure & messages 
location.
1. New messages. This is solved by the dovecot-openchange plugin that notifies 
Openchange that a new message has arrived
2. Changes done in Outlook : when you move messages around in Outlook, this 
also replicates down to the IMAP back-end so SOGO knows about them through 
there.
3. Changes done in SOGo. When you move a message to another folder in the web 
interface or via ActiveSync, create another folder, etc, how is Openchange 
notified of this ? Is there an automated mechanism or you must manually click 
on 'Update Folder' in Outlook ?
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Openchange + Samba 4.4.0

2016-03-26 Thread blax...@gmail.com
On Fri, Mar 25, 2016 at 11:44 AM, Andrey Cherepanov  wrote:

> Can anybody compile openchange with samba 4.4.0? Now samba contains
>
> commit 218f96f2bf10f7f03ec964c4515f6e248fc31ad8
> Author: Jelmer Vernooij 
> Date:   Mon Jan 4 00:56:10 2016 +
>
> libcli: Make headers for private libraries private.
>
> Signed-off-by: Jelmer Vernooij 
> Reviewed-By: Andrew Bartlett 
> Reviewed-By: Stefan Metzmacher 
>
> ldap_ndr.h is now private header and is not available for openchange:
> Compiling libmapiadmin/mapiadmin_user.c with -fPIC
> libmapiadmin/mapiadmin_user.c:33:22: fatal error: ldap_ndr.h: No such file
> or directory
>
> OpenChange 2.4-zentyal22 is still use it:
> $ git grep 'ldap_ndr.h>' | cat
> libmapiadmin/mapiadmin_user.c:#include 
> mapiproxy/servers/default/emsmdb/emsmdbp.c:#include 
>
> I try to subscribe de...@lists.openchange.org and create issue on
> https://github.com/zentyal/openchange but without any result.
>
> --
> Andrey Cherepanov
> c...@altlinux.org
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>



You don't need to remove that commit from samba, you can use something like
this
https://github.com/blaxter/openchange/commit/5f5783711d2c2496a824e66c8aa439781cac67fa
and it will compile just fine
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Openchange + Samba 4.4.0

2016-03-26 Thread DJ Lucas



On 03/25/2016 07:22 AM, Andrey Cherepanov (c...@altlinux.org) wrote:

25.03.2016 14:43, Rowland Penny (rpenny241...@gmail.com) пишет:

On 25/03/16 10:44, Andrey Cherepanov (c...@altlinux.org) wrote:

Can anybody compile openchange with samba 4.4.0? Now samba contains

commit 218f96f2bf10f7f03ec964c4515f6e248fc31ad8
Author: Jelmer Vernooij 
Date:   Mon Jan 4 00:56:10 2016 +

libcli: Make headers for private libraries private.

Signed-off-by: Jelmer Vernooij 
Reviewed-By: Andrew Bartlett 
Reviewed-By: Stefan Metzmacher 

ldap_ndr.h is now private header and is not available for openchange:
Compiling libmapiadmin/mapiadmin_user.c with -fPIC
libmapiadmin/mapiadmin_user.c:33:22: fatal error: ldap_ndr.h: No such
file or directory

OpenChange 2.4-zentyal22 is still use it:
$ git grep 'ldap_ndr.h>' | cat
libmapiadmin/mapiadmin_user.c:#include 
mapiproxy/servers/default/emsmdb/emsmdbp.c:#include 

I try to subscribe de...@lists.openchange.org and create issue on
https://github.com/zentyal/openchange but without any result.



As far as I am aware, you can only compile Openchange with Samba 4.1.18
and the 4.1.x series went EOL last Tuesday and I don't think the Samba
4.1.x series *will get any further updates*

The problem was that Openchange relied on Samba internal headers that
should never have been public (because they can and do change). You will
need to take this up with Openchange, but development of this seems to
have stalled.

Thanks for explanations. I simply revert this commit from Jelmer Vernooij
and rebuild Samba. :)



I've taken to building Sogo without OC at this point, but rather than 
rebuild your Samba package, the patches at

https://aur.archlinux.org/cgit/aur.git/tree/?h=openchange
might still work with 4.4.

HTH

--DJ

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Openchange + Samba 4.4.0

2016-03-25 Thread Andrey Cherepanov

25.03.2016 14:43, Rowland Penny (rpenny241...@gmail.com) пишет:

On 25/03/16 10:44, Andrey Cherepanov (c...@altlinux.org) wrote:

Can anybody compile openchange with samba 4.4.0? Now samba contains

commit 218f96f2bf10f7f03ec964c4515f6e248fc31ad8
Author: Jelmer Vernooij 
Date:   Mon Jan 4 00:56:10 2016 +

libcli: Make headers for private libraries private.

Signed-off-by: Jelmer Vernooij 
Reviewed-By: Andrew Bartlett 
Reviewed-By: Stefan Metzmacher 

ldap_ndr.h is now private header and is not available for openchange:
Compiling libmapiadmin/mapiadmin_user.c with -fPIC
libmapiadmin/mapiadmin_user.c:33:22: fatal error: ldap_ndr.h: No such
file or directory

OpenChange 2.4-zentyal22 is still use it:
$ git grep 'ldap_ndr.h>' | cat
libmapiadmin/mapiadmin_user.c:#include 
mapiproxy/servers/default/emsmdb/emsmdbp.c:#include 

I try to subscribe de...@lists.openchange.org and create issue on
https://github.com/zentyal/openchange but without any result.



As far as I am aware, you can only compile Openchange with Samba 4.1.18
and the 4.1.x series went EOL last Tuesday and I don't think the Samba
4.1.x series *will get any further updates*

The problem was that Openchange relied on Samba internal headers that
should never have been public (because they can and do change). You will
need to take this up with Openchange, but development of this seems to
have stalled.
Thanks for explanations. I simply revert this commit from Jelmer Vernooij 
and rebuild Samba. :)


--
Andrey Cherepanov
c...@altlinux.org
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Openchange + Samba 4.4.0

2016-03-25 Thread Rowland Penny

On 25/03/16 10:44, Andrey Cherepanov (c...@altlinux.org) wrote:

Can anybody compile openchange with samba 4.4.0? Now samba contains

commit 218f96f2bf10f7f03ec964c4515f6e248fc31ad8
Author: Jelmer Vernooij 
Date:   Mon Jan 4 00:56:10 2016 +

libcli: Make headers for private libraries private.

Signed-off-by: Jelmer Vernooij 
Reviewed-By: Andrew Bartlett 
Reviewed-By: Stefan Metzmacher 

ldap_ndr.h is now private header and is not available for openchange:
Compiling libmapiadmin/mapiadmin_user.c with -fPIC
libmapiadmin/mapiadmin_user.c:33:22: fatal error: ldap_ndr.h: No such 
file or directory


OpenChange 2.4-zentyal22 is still use it:
$ git grep 'ldap_ndr.h>' | cat
libmapiadmin/mapiadmin_user.c:#include 
mapiproxy/servers/default/emsmdb/emsmdbp.c:#include 

I try to subscribe de...@lists.openchange.org and create issue on 
https://github.com/zentyal/openchange but without any result.




As far as I am aware, you can only compile Openchange with Samba 4.1.18 
and the 4.1.x series went EOL last Tuesday and I don't think the Samba 
4.1.x series *will get any further updates*


The problem was that Openchange relied on Samba internal headers that 
should never have been public (because they can and do change). You will 
need to take this up with Openchange, but development of this seems to 
have stalled.


Rowland

--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Openchange + Samba 4.4.0

2016-03-25 Thread Andrey Cherepanov

Can anybody compile openchange with samba 4.4.0? Now samba contains

commit 218f96f2bf10f7f03ec964c4515f6e248fc31ad8
Author: Jelmer Vernooij 
Date:   Mon Jan 4 00:56:10 2016 +

libcli: Make headers for private libraries private.

Signed-off-by: Jelmer Vernooij 
Reviewed-By: Andrew Bartlett 
Reviewed-By: Stefan Metzmacher 

ldap_ndr.h is now private header and is not available for openchange:
Compiling libmapiadmin/mapiadmin_user.c with -fPIC
libmapiadmin/mapiadmin_user.c:33:22: fatal error: ldap_ndr.h: No such 
file or directory


OpenChange 2.4-zentyal22 is still use it:
$ git grep 'ldap_ndr.h>' | cat
libmapiadmin/mapiadmin_user.c:#include 
mapiproxy/servers/default/emsmdb/emsmdbp.c:#include 

I try to subscribe de...@lists.openchange.org and create issue on 
https://github.com/zentyal/openchange but without any result.


--
Andrey Cherepanov
c...@altlinux.org
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange without Samba

2016-02-17 Thread Steve Ankeny

On 02/17/2016 11:56 AM, Rowland Penny wrote:

On 17/02/16 13:47, Steve Ankeny wrote:

On 02/17/2016 06:44 AM, Rowland Penny wrote:

On 17/02/16 07:39, Dennis Moebus wrote:

Hi all,

I'm sorry for my late response...
First of all, thank you for your advices!!!

I joined my Samba4 Server as a Member to my Windows 2012 AD.
(https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member)
This worked without any problems.

This is my smb.conf, hope this will help :-)

#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
[ redacted text ]




OK, this is never going to work, you need to extend the AD schema 
with the Openchange extensions, this will only work with a Samba4 AD 
DC and specific versions. You could try setting up a Samba4 AD DC 
and adding the Openchange extensions to this, but you will not be 
able to join the windows 2012 DC to it, they are incompatible.


Rowland



Is there no way to join as a Member Server and point the SOGo 
installation to the Windows 2012 AD DB?


What appears to be happening from the error log is it's not "finding 
the first exchange organization"





As far as I am aware, you can join a Samba4 domain member to a windows 
2012 AD, but you will not be able to use Openchange with it.
What I am struggling to understand is that the OP has the Openchange 
lines in his smb.conf, yet the smb.conf is setup as a domain member, 
was it originally a DC and this got changed to a domain member ?


Rowland


It appears he didn't delete the "sample" smb.conf, and when he 
provisioned Samba according to the Inverse instructions ("Native 
Microsoft Outlook Guide"), he provisioned it as an AD but then joined as 
a Member.


The Guide tells you to "add" the OpenChange lines in the smb.conf

THAT's why I wondered if his Samba could point somehow to the Windows 
2012 AD exchange DB




--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange without Samba

2016-02-17 Thread Rowland Penny

On 17/02/16 13:47, Steve Ankeny wrote:

On 02/17/2016 06:44 AM, Rowland Penny wrote:

On 17/02/16 07:39, Dennis Moebus wrote:

Hi all,

I'm sorry for my late response...
First of all, thank you for your advices!!!

I joined my Samba4 Server as a Member to my Windows 2012 AD.
(https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member)
This worked without any problems.

This is my smb.conf, hope this will help :-)

#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Some options that are often worth tuning have been included as
# commented-out examples in this file.
#  - When such options are commented with ";", the proposed setting
#differs from the default Samba behaviour
#  - When commented with "#", the proposed setting is the default
#behaviour of Samba but the option is considered important
#enough to be mentioned here
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not made any basic syntactic
# errors.

#=== Global Settings ===

[global]

netbios name = SOGo
security = ADS
workgroup = 3PC
realm = 3PC.LOCAL

log file = /var/log/samba/%m.log
log level = 1

dedicated keytab file = /etc/krb5.keytab
kerberos method = secrets and keytab
winbind refresh tickets = yes

winbind trusted domains only = no
winbind use default domain = yes
winbind enum users  = yes
winbind enum groups = yes

# idmap config used for your domain.
# Choose one of the following backends fitting to your
# requirements and add the corresponding configuration.
#  - idmap config ad
#  - idmap config rid
#  - idmap config autorid

###  Configuration required by OpenChange server ###
 dsdb:schema update allowed = true
 dcerpc endpoint servers = epmapper, mapiproxy, dnsserver
 dcerpc_mapiproxy:server = true
 dcerpc_mapiproxy:interfaces = exchange_emsmdb, exchange_nsp,
exchange_ds_rfr
### Configuration required by OpenChange server ###

mapistore:namedproperties = mysql
namedproperties:mysql_user = openchange
namedproperties:mysql_pass = *
namedproperties:mysql_host = localhost
namedproperties:mysql_db = openchange
mapistore:indexing_backend =
mysql://openchange:*@localhost/openchange
mapiproxy:openchangedb =
mysql://openchange:*@localhost/openchange

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will 
part of

#   workgroup = WORKGROUP

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its 
WINS Server

#   wins support = no

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT 
both

;   wins server = w.x.y.z

# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no

 Networking 

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
;   interfaces = 127.0.0.0/8 eth0

# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba 
machine is

# not protected by a firewall or is a firewall itself. However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
;   bind interfaces only = yes



 Debugging/Accounting 

# This tells Samba to use a separate log file for each machine
# that connects
#   log file = /var/log/samba/log.%m

# Cap the size of the individual log files (in KiB).
max log size = 1000

# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
#   syslog only = no

# We want Samba to log a minimum amount of information to syslog. 
Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want 
to log
# through syslog you should set the following parameter to something 
higher.

syslog = 0

# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d


### Authentication ###

# Server role. Defines in which mode Samba will operate. Possible
# values are "standalone server", "member server", "classic primary
# domain controller", "classic backup domain controller", "active
# directory domain controller".
#
# Most people will want "standalone sever" or "member server".
# Running as "active dire

Re: [SOGo] OpenChange without Samba

2016-02-17 Thread Steve Ankeny

On 02/17/2016 06:44 AM, Rowland Penny wrote:

On 17/02/16 07:39, Dennis Moebus wrote:

Hi all,

I'm sorry for my late response...
First of all, thank you for your advices!!!

I joined my Samba4 Server as a Member to my Windows 2012 AD.
(https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member)
This worked without any problems.

This is my smb.conf, hope this will help :-)

#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Some options that are often worth tuning have been included as
# commented-out examples in this file.
#  - When such options are commented with ";", the proposed setting
#differs from the default Samba behaviour
#  - When commented with "#", the proposed setting is the default
#behaviour of Samba but the option is considered important
#enough to be mentioned here
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not made any basic syntactic
# errors.

#=== Global Settings ===

[global]

netbios name = SOGo
security = ADS
workgroup = 3PC
realm = 3PC.LOCAL

log file = /var/log/samba/%m.log
log level = 1

dedicated keytab file = /etc/krb5.keytab
kerberos method = secrets and keytab
winbind refresh tickets = yes

winbind trusted domains only = no
winbind use default domain = yes
winbind enum users  = yes
winbind enum groups = yes

# idmap config used for your domain.
# Choose one of the following backends fitting to your
# requirements and add the corresponding configuration.
#  - idmap config ad
#  - idmap config rid
#  - idmap config autorid

###  Configuration required by OpenChange server ###
 dsdb:schema update allowed = true
 dcerpc endpoint servers = epmapper, mapiproxy, dnsserver
 dcerpc_mapiproxy:server = true
 dcerpc_mapiproxy:interfaces = exchange_emsmdb, exchange_nsp,
exchange_ds_rfr
### Configuration required by OpenChange server ###

mapistore:namedproperties = mysql
namedproperties:mysql_user = openchange
namedproperties:mysql_pass = *
namedproperties:mysql_host = localhost
namedproperties:mysql_db = openchange
mapistore:indexing_backend =
mysql://openchange:*@localhost/openchange
mapiproxy:openchangedb =
mysql://openchange:*@localhost/openchange

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will 
part of

#   workgroup = WORKGROUP

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS 
Server

#   wins support = no

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT 
both

;   wins server = w.x.y.z

# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no

 Networking 

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
;   interfaces = 127.0.0.0/8 eth0

# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba 
machine is

# not protected by a firewall or is a firewall itself.  However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
;   bind interfaces only = yes



 Debugging/Accounting 

# This tells Samba to use a separate log file for each machine
# that connects
#   log file = /var/log/samba/log.%m

# Cap the size of the individual log files (in KiB).
max log size = 1000

# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
#   syslog only = no

# We want Samba to log a minimum amount of information to syslog. 
Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to 
log
# through syslog you should set the following parameter to something 
higher.

syslog = 0

# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d


### Authentication ###

# Server role. Defines in which mode Samba will operate. Possible
# values are "standalone server", "member server", "classic primary
# domain controller", "classic backup domain controller", "active
# directory domain controller".
#
# Most people will want "standalone sever" or "member server".
# Running as "active directory domain controller" will require f

Re: [SOGo] OpenChange without Samba

2016-02-17 Thread Rowland Penny

On 17/02/16 07:39, Dennis Moebus wrote:

Hi all,

I'm sorry for my late response...
First of all, thank you for your advices!!!

I joined my Samba4 Server as a Member to my Windows 2012 AD.
(https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member)
This worked without any problems.

This is my smb.conf, hope this will help :-)

#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Some options that are often worth tuning have been included as
# commented-out examples in this file.
#  - When such options are commented with ";", the proposed setting
#differs from the default Samba behaviour
#  - When commented with "#", the proposed setting is the default
#behaviour of Samba but the option is considered important
#enough to be mentioned here
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not made any basic syntactic
# errors.

#=== Global Settings ===

[global]

netbios name = SOGo
security = ADS
workgroup = 3PC
realm = 3PC.LOCAL

log file = /var/log/samba/%m.log
log level = 1

dedicated keytab file = /etc/krb5.keytab
kerberos method = secrets and keytab
winbind refresh tickets = yes

winbind trusted domains only = no
winbind use default domain = yes
winbind enum users  = yes
winbind enum groups = yes

# idmap config used for your domain.
# Choose one of the following backends fitting to your
# requirements and add the corresponding configuration.
#  - idmap config ad
#  - idmap config rid
#  - idmap config autorid

###  Configuration required by OpenChange server ###
 dsdb:schema update allowed = true
 dcerpc endpoint servers = epmapper, mapiproxy, dnsserver
 dcerpc_mapiproxy:server = true
 dcerpc_mapiproxy:interfaces = exchange_emsmdb, exchange_nsp,
exchange_ds_rfr
### Configuration required by OpenChange server ###

mapistore:namedproperties = mysql
namedproperties:mysql_user = openchange
namedproperties:mysql_pass = *
namedproperties:mysql_host = localhost
namedproperties:mysql_db = openchange
mapistore:indexing_backend =
mysql://openchange:*@localhost/openchange
mapiproxy:openchangedb =
mysql://openchange:*@localhost/openchange

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
#   workgroup = WORKGROUP

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
#   wins support = no

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
;   wins server = w.x.y.z

# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no

 Networking 

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
;   interfaces = 127.0.0.0/8 eth0

# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself.  However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
;   bind interfaces only = yes



 Debugging/Accounting 

# This tells Samba to use a separate log file for each machine
# that connects
#   log file = /var/log/samba/log.%m

# Cap the size of the individual log files (in KiB).
max log size = 1000

# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
#   syslog only = no

# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
syslog = 0

# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d


### Authentication ###

# Server role. Defines in which mode Samba will operate. Possible
# values are "standalone server", "member server", "classic primary
# domain controller", "classic backup domain controller", "active
# directory domain controller".
#
# Most people will want "standalone sever" or "member server".
# Running as "active directory domain controller" will require first
# running "samba-tool domain provision" to wipe datab

Re: [SOGo] OpenChange without Samba

2016-02-17 Thread Martin Simovic
Openchange WILL NOT WORK if Samba is joined to AD as member sever and NOT a DC 
AFAIK. 

--
Martin Šimovič

NETSON s.r.o.
Mlynská 2238
934 01 Levice
tel: +421 915 393 570
mail: mar...@netson.sk

> On 17 Feb 2016, at 08:39, Dennis Moebus  wrote:
> 
> Hi all,
> 
> I'm sorry for my late response...
> First of all, thank you for your advices!!!
> 
> I joined my Samba4 Server as a Member to my Windows 2012 AD.
> (https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member)
> This worked without any problems.
> 
> This is my smb.conf, hope this will help :-)
> 
> #
> # Sample configuration file for the Samba suite for Debian GNU/Linux.
> #
> #
> # This is the main Samba configuration file. You should read the
> # smb.conf(5) manual page in order to understand the options listed
> # here. Samba has a huge number of configurable options most of which
> # are not shown in this example
> #
> # Some options that are often worth tuning have been included as
> # commented-out examples in this file.
> #  - When such options are commented with ";", the proposed setting
> #differs from the default Samba behaviour
> #  - When commented with "#", the proposed setting is the default
> #behaviour of Samba but the option is considered important
> #enough to be mentioned here
> #
> # NOTE: Whenever you modify this file you should run the command
> # "testparm" to check that you have not made any basic syntactic
> # errors.
> 
> #=== Global Settings ===
> 
> [global]
> 
>   netbios name = SOGo
>   security = ADS
>   workgroup = 3PC
>   realm = 3PC.LOCAL
> 
>   log file = /var/log/samba/%m.log
>   log level = 1
> 
>   dedicated keytab file = /etc/krb5.keytab
>   kerberos method = secrets and keytab
>   winbind refresh tickets = yes
> 
>   winbind trusted domains only = no
>   winbind use default domain = yes
>   winbind enum users  = yes
>   winbind enum groups = yes
> 
>   # idmap config used for your domain.
>   # Choose one of the following backends fitting to your
>   # requirements and add the corresponding configuration.
>   #  - idmap config ad
>   #  - idmap config rid
>   #  - idmap config autorid
> 
>   ###  Configuration required by OpenChange server ###
>dsdb:schema update allowed = true
>dcerpc endpoint servers = epmapper, mapiproxy, dnsserver
>dcerpc_mapiproxy:server = true
>dcerpc_mapiproxy:interfaces = exchange_emsmdb, exchange_nsp,
> exchange_ds_rfr
>   ### Configuration required by OpenChange server ###
> 
>   mapistore:namedproperties = mysql
>   namedproperties:mysql_user = openchange
>   namedproperties:mysql_pass = *
>   namedproperties:mysql_host = localhost
>   namedproperties:mysql_db = openchange
>   mapistore:indexing_backend =
> mysql://openchange:*@localhost/openchange
>   mapiproxy:openchangedb =
> mysql://openchange:*@localhost/openchange
> 
> ## Browsing/Identification ###
> 
> # Change this to the workgroup/NT-domain name your Samba server will part of
> #   workgroup = WORKGROUP
> 
> # Windows Internet Name Serving Support Section:
> # WINS Support - Tells the NMBD component of Samba to enable its WINS Server
> #   wins support = no
> 
> # WINS Server - Tells the NMBD components of Samba to be a WINS Client
> # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
> ;   wins server = w.x.y.z
> 
> # This will prevent nmbd to search for NetBIOS names through DNS.
>   dns proxy = no
> 
>  Networking 
> 
> # The specific set of interfaces / networks to bind to
> # This can be either the interface name or an IP address/netmask;
> # interface names are normally preferred
> ;   interfaces = 127.0.0.0/8 eth0
> 
> # Only bind to the named interfaces and/or networks; you must use the
> # 'interfaces' option above to use this.
> # It is recommended that you enable this feature if your Samba machine is
> # not protected by a firewall or is a firewall itself.  However, this
> # option cannot handle dynamic or non-broadcast interfaces correctly.
> ;   bind interfaces only = yes
> 
> 
> 
>  Debugging/Accounting 
> 
> # This tells Samba to use a separate log file for each machine
> # that connects
> #   log file = /var/log/samba/log.%m
> 
> # Cap the size of the individual log files (in KiB).
>   max log size = 1000
> 
> # If you want Samba to only log through syslog then set the following
> # parameter to 'yes'.
> #   syslog only = no
> 
> # We want Samba to log a minimum amount of information to syslog. Everything
> # should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
> # through syslog you should set the following parameter to something higher.
>   syslog = 0
> 
> # Do something sensible when Samba crashes: mail the admin a backtrace
>   panic action = /usr/share/samba/panic-action %d
> 
> 
> ### Authentication ###
> 
> # Server role. 

Re: [SOGo] OpenChange without Samba

2016-02-17 Thread Dennis Moebus
Hi all,

I'm sorry for my late response...
First of all, thank you for your advices!!!

I joined my Samba4 Server as a Member to my Windows 2012 AD.
(https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member)
This worked without any problems.

This is my smb.conf, hope this will help :-)

#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Some options that are often worth tuning have been included as
# commented-out examples in this file.
#  - When such options are commented with ";", the proposed setting
#differs from the default Samba behaviour
#  - When commented with "#", the proposed setting is the default
#behaviour of Samba but the option is considered important
#enough to be mentioned here
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not made any basic syntactic
# errors.

#=== Global Settings ===

[global]

   netbios name = SOGo
   security = ADS
   workgroup = 3PC
   realm = 3PC.LOCAL

   log file = /var/log/samba/%m.log
   log level = 1

   dedicated keytab file = /etc/krb5.keytab
   kerberos method = secrets and keytab
   winbind refresh tickets = yes

   winbind trusted domains only = no
   winbind use default domain = yes
   winbind enum users  = yes
   winbind enum groups = yes

   # idmap config used for your domain.
   # Choose one of the following backends fitting to your
   # requirements and add the corresponding configuration.
   #  - idmap config ad
   #  - idmap config rid
   #  - idmap config autorid

   ###  Configuration required by OpenChange server ###
dsdb:schema update allowed = true
dcerpc endpoint servers = epmapper, mapiproxy, dnsserver
dcerpc_mapiproxy:server = true
dcerpc_mapiproxy:interfaces = exchange_emsmdb, exchange_nsp,
exchange_ds_rfr
   ### Configuration required by OpenChange server ###

   mapistore:namedproperties = mysql
   namedproperties:mysql_user = openchange
   namedproperties:mysql_pass = *
   namedproperties:mysql_host = localhost
   namedproperties:mysql_db = openchange
   mapistore:indexing_backend =
mysql://openchange:*@localhost/openchange
   mapiproxy:openchangedb =
mysql://openchange:*@localhost/openchange

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
#   workgroup = WORKGROUP

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
#   wins support = no

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
;   wins server = w.x.y.z

# This will prevent nmbd to search for NetBIOS names through DNS.
   dns proxy = no

 Networking 

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
;   interfaces = 127.0.0.0/8 eth0

# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself.  However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
;   bind interfaces only = yes



 Debugging/Accounting 

# This tells Samba to use a separate log file for each machine
# that connects
#   log file = /var/log/samba/log.%m

# Cap the size of the individual log files (in KiB).
   max log size = 1000

# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
#   syslog only = no

# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
   syslog = 0

# Do something sensible when Samba crashes: mail the admin a backtrace
   panic action = /usr/share/samba/panic-action %d


### Authentication ###

# Server role. Defines in which mode Samba will operate. Possible
# values are "standalone server", "member server", "classic primary
# domain controller", "classic backup domain controller", "active
# directory domain controller".
#
# Most people will want "standalone sever" or "member server".
# Running as "active directory domain controller" will require first
# running "samba-tool domain provision" to wipe databases and create a
# new domain.
   server role = standalone server
# If you ar

Re: [SOGo] OpenChange without Samba

2016-02-16 Thread Steve Ankeny

On 02/16/2016 08:57 AM, Maxime RUBINO wrote:

Hi all,

You can found all warning and best practice to join an existing AD to 
a Samba AD, but, Samba4 doesn't support joining a 2012 AD as a Domain 
Controller, so... too bad for you if you have an 2012 AD.


https://wiki.samba.org/index.php/Joining_a_Windows_Server_2012_/_2012_R2_DC_to_a_Samba_AD 




I don't believe the original poster was doing that.

He was trying to join an existing Windows AD as a Member Server. The 
question is "How did he do that?"


And, in order to discover his problem, he might need to look at his 
smb.conf (as Rowland suggests)


(I may be wrong, so we'll have to see what he says)


Le 16/02/2016 14:12, Rowland Penny a écrit :

On 16/02/16 12:26, Steve Ankeny wrote:

On 02/16/2016 02:43 AM, Dennis Moebus wrote:

Hey Steve,

I joined my Samba/OpenChange/Sogo Server to my existing Windows Active
Directory as a member. I followed the offical Native Microsoft Outlook
Configuration Guide from sogo.nu
(http://sogo.nu/files/docs/SOGo%20Native%20Microsoft%20Outlook%20Configuration.pdf). 


Installing the software and entering my crendentials is done and
doublechecked.
But everytime I enter the command:

"openchange_newuser --create dmoebus",

I get the following error:

Traceback (most recent call last):
   File "/usr/sbin/openchange_newuser", line 70, in 
 lp, creds, opts.firstorg, opts.firstou)
   File "/usr/lib/python2.7/dist-packages/openchange/provision.py", 
line

167, in guess_names_from_smbconf
 raise Exception("Cannot find first exchange organization in %s",
exchangedn)
Exception: ('Cannot find first exchange organization in %s',
'CN=Microsoft Exchange,CN=Services,CN=Configuration,CN=SOGO')

What is wrong? Google has no answers for me...

Thank you!
Dennis


(I am no expert)

It cannot find the "first exchange organization" because it's not 
querying your existing Microsoft AD


IF you followed the Inverse, "Native Microsoft Outlook Configuration 
Guide," you installed the Samba & OpenChange packages from Inverse 
(so, you have the correct packages), but how did you provision Samba?


At the moment you can only provision as a DC.



The Guide tells you to provision as an AD controller. However, 
that's not going to "fit" your existing AD


At this point, I'd check the configuration options in the Samba Wiki 
on "joining" as a Member --


https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member

Compare the configuration and setups between the Inverse Guide and 
the Samba link, and see what you find.  You're looking for 
differences.  One of the main issues is DNC: "Which AD DC does your 
smb.conf point to?"


There are people more expert in both Samba & OpenChange on this 
list, so maybe someone will see the flaw.


The flaw is probably that he has created a new domain and is now 
trying to join it to another domain, I don't think this is going to 
work, it may help to say one way or the other, if the OP was to post 
the smb.conf from the Sogo machine.




The "first exchange organization" is contained in the database 
controlling the AD (usually an LDB in Samba), but you're connected 
to the Microsoft AD, so it has to look there, and it's not looking 
at the right domain controller.


The question would be, "How did you join your existing Microsoft AD?"




Very good question.

Rowland






--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange without Samba

2016-02-16 Thread Maxime RUBINO

Hi all,

You can found all warning and best practice to join an existing AD to a 
Samba AD, but, Samba4 doesn't support joining a 2012 AD as a Domain 
Controller, so... too bad for you if you have an 2012 AD.


https://wiki.samba.org/index.php/Joining_a_Windows_Server_2012_/_2012_R2_DC_to_a_Samba_AD

Le 16/02/2016 14:12, Rowland Penny a écrit :

On 16/02/16 12:26, Steve Ankeny wrote:

On 02/16/2016 02:43 AM, Dennis Moebus wrote:

Hey Steve,

I joined my Samba/OpenChange/Sogo Server to my existing Windows Active
Directory as a member. I followed the offical Native Microsoft Outlook
Configuration Guide from sogo.nu
(http://sogo.nu/files/docs/SOGo%20Native%20Microsoft%20Outlook%20Configuration.pdf). 


Installing the software and entering my crendentials is done and
doublechecked.
But everytime I enter the command:

"openchange_newuser --create dmoebus",

I get the following error:

Traceback (most recent call last):
   File "/usr/sbin/openchange_newuser", line 70, in 
 lp, creds, opts.firstorg, opts.firstou)
   File "/usr/lib/python2.7/dist-packages/openchange/provision.py", 
line

167, in guess_names_from_smbconf
 raise Exception("Cannot find first exchange organization in %s",
exchangedn)
Exception: ('Cannot find first exchange organization in %s',
'CN=Microsoft Exchange,CN=Services,CN=Configuration,CN=SOGO')

What is wrong? Google has no answers for me...

Thank you!
Dennis


(I am no expert)

It cannot find the "first exchange organization" because it's not 
querying your existing Microsoft AD


IF you followed the Inverse, "Native Microsoft Outlook Configuration 
Guide," you installed the Samba & OpenChange packages from Inverse 
(so, you have the correct packages), but how did you provision Samba?


At the moment you can only provision as a DC.



The Guide tells you to provision as an AD controller.  However, 
that's not going to "fit" your existing AD


At this point, I'd check the configuration options in the Samba Wiki 
on "joining" as a Member --


https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member

Compare the configuration and setups between the Inverse Guide and 
the Samba link, and see what you find.  You're looking for 
differences.  One of the main issues is DNC: "Which AD DC does your 
smb.conf point to?"


There are people more expert in both Samba & OpenChange on this list, 
so maybe someone will see the flaw.


The flaw is probably that he has created a new domain and is now 
trying to join it to another domain, I don't think this is going to 
work, it may help to say one way or the other, if the OP was to post 
the smb.conf from the Sogo machine.




The "first exchange organization" is contained in the database 
controlling the AD (usually an LDB in Samba), but you're connected to 
the Microsoft AD, so it has to look there, and it's not looking at 
the right domain controller.


The question would be, "How did you join your existing Microsoft AD?"




Very good question.

Rowland



--
Cordialement,
Maxime RUBINO

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange without Samba

2016-02-16 Thread Rowland Penny

On 16/02/16 12:26, Steve Ankeny wrote:

On 02/16/2016 02:43 AM, Dennis Moebus wrote:

Hey Steve,

I joined my Samba/OpenChange/Sogo Server to my existing Windows Active
Directory as a member. I followed the offical Native Microsoft Outlook
Configuration Guide from sogo.nu
(http://sogo.nu/files/docs/SOGo%20Native%20Microsoft%20Outlook%20Configuration.pdf). 


Installing the software and entering my crendentials is done and
doublechecked.
But everytime I enter the command:

"openchange_newuser --create dmoebus",

I get the following error:

Traceback (most recent call last):
   File "/usr/sbin/openchange_newuser", line 70, in 
 lp, creds, opts.firstorg, opts.firstou)
   File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line
167, in guess_names_from_smbconf
 raise Exception("Cannot find first exchange organization in %s",
exchangedn)
Exception: ('Cannot find first exchange organization in %s',
'CN=Microsoft Exchange,CN=Services,CN=Configuration,CN=SOGO')

What is wrong? Google has no answers for me...

Thank you!
Dennis


(I am no expert)

It cannot find the "first exchange organization" because it's not 
querying your existing Microsoft AD


IF you followed the Inverse, "Native Microsoft Outlook Configuration 
Guide," you installed the Samba & OpenChange packages from Inverse 
(so, you have the correct packages), but how did you provision Samba?


At the moment you can only provision as a DC.



The Guide tells you to provision as an AD controller.  However, that's 
not going to "fit" your existing AD


At this point, I'd check the configuration options in the Samba Wiki 
on "joining" as a Member --


https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member

Compare the configuration and setups between the Inverse Guide and the 
Samba link, and see what you find.  You're looking for differences.  
One of the main issues is DNC: "Which AD DC does your smb.conf point to?"


There are people more expert in both Samba & OpenChange on this list, 
so maybe someone will see the flaw.


The flaw is probably that he has created a new domain and is now trying 
to join it to another domain, I don't think this is going to work, it 
may help to say one way or the other, if the OP was to post the smb.conf 
from the Sogo machine.




The "first exchange organization" is contained in the database 
controlling the AD (usually an LDB in Samba), but you're connected to 
the Microsoft AD, so it has to look there, and it's not looking at the 
right domain controller.


The question would be, "How did you join your existing Microsoft AD?"




Very good question.

Rowland

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange without Samba

2016-02-16 Thread Steve Ankeny

On 02/16/2016 02:43 AM, Dennis Moebus wrote:

Hey Steve,

I joined my Samba/OpenChange/Sogo Server to my existing Windows Active
Directory as a member. I followed the offical Native Microsoft Outlook
Configuration Guide from sogo.nu
(http://sogo.nu/files/docs/SOGo%20Native%20Microsoft%20Outlook%20Configuration.pdf).
Installing the software and entering my crendentials is done and
doublechecked.
But everytime I enter the command:

"openchange_newuser --create dmoebus",

I get the following error:

Traceback (most recent call last):
   File "/usr/sbin/openchange_newuser", line 70, in 
 lp, creds, opts.firstorg, opts.firstou)
   File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line
167, in guess_names_from_smbconf
 raise Exception("Cannot find first exchange organization in %s",
exchangedn)
Exception: ('Cannot find first exchange organization in %s',
'CN=Microsoft Exchange,CN=Services,CN=Configuration,CN=SOGO')

What is wrong? Google has no answers for me...

Thank you!
Dennis


(I am no expert)

It cannot find the "first exchange organization" because it's not 
querying your existing Microsoft AD


IF you followed the Inverse, "Native Microsoft Outlook Configuration 
Guide," you installed the Samba & OpenChange packages from Inverse (so, 
you have the correct packages), but how did you provision Samba?


The Guide tells you to provision as an AD controller.  However, that's 
not going to "fit" your existing AD


At this point, I'd check the configuration options in the Samba Wiki on 
"joining" as a Member --


https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member

Compare the configuration and setups between the Inverse Guide and the 
Samba link, and see what you find.  You're looking for differences.  One 
of the main issues is DNC: "Which AD DC does your smb.conf point to?"


There are people more expert in both Samba & OpenChange on this list, so 
maybe someone will see the flaw.


The "first exchange organization" is contained in the database 
controlling the AD (usually an LDB in Samba), but you're connected to 
the Microsoft AD, so it has to look there, and it's not looking at the 
right domain controller.


The question would be, "How did you join your existing Microsoft AD?"


--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange without Samba

2016-02-16 Thread Dennis Moebus
Hey Steve,

I joined my Samba/OpenChange/Sogo Server to my existing Windows Active
Directory as a member. I followed the offical Native Microsoft Outlook
Configuration Guide from sogo.nu
(http://sogo.nu/files/docs/SOGo%20Native%20Microsoft%20Outlook%20Configuration.pdf).
Installing the software and entering my crendentials is done and
doublechecked.
But everytime I enter the command:

"openchange_newuser --create dmoebus",

I get the following error:

Traceback (most recent call last):
  File "/usr/sbin/openchange_newuser", line 70, in 
lp, creds, opts.firstorg, opts.firstou)
  File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line
167, in guess_names_from_smbconf
raise Exception("Cannot find first exchange organization in %s",
exchangedn)
Exception: ('Cannot find first exchange organization in %s',
'CN=Microsoft Exchange,CN=Services,CN=Configuration,CN=SOGO')

What is wrong? Google has no answers for me...

Thank you!
Dennis



Am 12.02.2016 um 14:53 schrieb Steve Ankeny:
> On 02/12/2016 08:44 AM, Dennis Moebus wrote:
>> unfortunately its not possible to join a windows server 2012 AD with
>> samba4...
>>
>> https://wiki.samba.org/index.php/Joining_a_Windows_Server_2012_/_2012_R2_DC_to_a_Samba_AD#WARNING
>>
>>
>> Dennis
> 
> joining as a Member Server works (that settles that)
> 
> notice, it says "it's not supported" not that it "can't be done" (but
> why go there)
> 
> 

-- 
Dennis Möbus
dmoe...@3pc.de

---
3pc GmbH
Neue Kommunikation

Prinzessinnenstraße 1
10969 Berlin
Tel.: +49-(0)30-28 51 98-00
Fax: +49-(0)30-28 51 98-28
http://3pc.de
i...@3pc.de

---
3pc GmbH
Neue Kommunikation
Büro Süd

Andreas-Hofer-Straße 11
73730 Esslingen
Tel.: +49 (0)711-16 12 15 31
s...@3pc.de

---
Geschäftsführer
Armin Berger

Amtsgericht Berlin Charlottenburg
HRB 794 28
USt-IdNr.: DE217652890

---
facebook.com/3pc.de
plus.3pc.de
twitter.com/3pc
flickr.com/photos/3pc
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange without Samba

2016-02-12 Thread Steve Ankeny

On 02/12/2016 08:44 AM, Dennis Moebus wrote:

unfortunately its not possible to join a windows server 2012 AD with
samba4...

https://wiki.samba.org/index.php/Joining_a_Windows_Server_2012_/_2012_R2_DC_to_a_Samba_AD#WARNING

Dennis


joining as a Member Server works (that settles that)

notice, it says "it's not supported" not that it "can't be done" (but 
why go there)



--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange without Samba

2016-02-12 Thread Steve Ankeny

On 02/12/2016 08:28 AM, Martin Simovic wrote:



On 12 Feb 2016, at 14:21, André Schild > wrote:


Am 12.02.2016 um 09:00 schrieb Dennis Möbus:

Hey guys,

is it possible to install/configure OpenChange without Samba4 and 
connect

directly to a Windows Server 2012 Domain Controller?


You can reuse the 2012 Domain for this, but samba 4 has still to be 
present on the box


Better said, you can join Samba4 to the 2012 Domain as a DC. This will 
replicate information already contained in your existing 2012 managed AD.


M.


THAT's a better choice but it may be the Windows 2012 Domain team won't 
allow it


I missed the part where the OP said he controlled the Windows 2012 
Domain Controller



--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] OpenChange without Samba

2016-02-12 Thread Steve Ankeny

On 02/12/2016 08:21 AM, André Schild wrote:

Am 12.02.2016 um 09:00 schrieb Dennis Möbus:

Hey guys,

is it possible to install/configure OpenChange without Samba4 and 
connect

directly to a Windows Server 2012 Domain Controller?


You can reuse the 2012 Domain for this, but samba 4 has still to be 
present on the box




use the Windows 2012 Domain for domain services and configure Samba as a 
member server (IMO)



--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange without Samba

2016-02-12 Thread Dennis Moebus
unfortunately its not possible to join a windows server 2012 AD with
samba4...

https://wiki.samba.org/index.php/Joining_a_Windows_Server_2012_/_2012_R2_DC_to_a_Samba_AD#WARNING

Dennis
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange without Samba

2016-02-12 Thread Enrique J.
Hello Dennis,

On vie, 2016-02-12 at 03:00 -0500, Dennis Möbus wrote:
> Hey guys,
> 
> is it possible to install/configure OpenChange without Samba4 and connect
> directly to a Windows Server 2012 Domain Controller?

As Jesús has pointed out, it is not possible, but it could be the
authentication source after some developing effort.

If you are interested in this feature, do not hesitate to ask in info
(at) zentyal.com to accelerate its development.

Best regards,
-- 
Enrique J. Hernández - Lead Developer

Zentyal - Active Exchange
www.zentyal.com


-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange without Samba

2016-02-12 Thread Martin Simovic


> On 12 Feb 2016, at 14:21, André Schild  wrote:
> 
> Am 12.02.2016 um 09:00 schrieb Dennis Möbus:
>> Hey guys,
>> 
>> is it possible to install/configure OpenChange without Samba4 and connect
>> directly to a Windows Server 2012 Domain Controller?
> 
> You can reuse the 2012 Domain for this, but samba 4 has still to be present 
> on the box

Better said, you can join Samba4 to the 2012 Domain as a DC. This will 
replicate information already contained in your existing 2012 managed AD.

M.

smime.p7s
Description: S/MIME cryptographic signature


Re: [SOGo] OpenChange without Samba

2016-02-12 Thread André Schild

Am 12.02.2016 um 09:00 schrieb Dennis Möbus:

Hey guys,

is it possible to install/configure OpenChange without Samba4 and connect
directly to a Windows Server 2012 Domain Controller?


You can reuse the 2012 Domain for this, but samba 4 has still to be 
present on the box




smime.p7s
Description: S/MIME Cryptographic Signature


AW: [SOGo] OpenChange without Samba

2016-02-12 Thread Dennis Möbus
Hmpf… 

 

Okay, thank you!

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] OpenChange without Samba

2016-02-12 Thread Jesús García Sáez
On Fri, Feb 12, 2016 at 9:00 AM, Dennis Möbus  wrote:

> Hey guys,
>
> is it possible to install/configure OpenChange without Samba4 and connect
> directly to a Windows Server 2012 Domain Controller?
>
>
No, openchange is a dce rpc endpoint module loaded on samba


> Thank you,
> Dennis
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] OpenChange without Samba

2016-02-12 Thread Dennis Möbus
Hey guys,

is it possible to install/configure OpenChange without Samba4 and connect
directly to a Windows Server 2012 Domain Controller?

Thank you,
Dennis
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Build SOGo+OpenChange failed

2015-12-17 Thread Andrey Cherepanov
14.12.2015 15:59, Andrey Cherepanov пишет:
> Try to compile SOGo 2.3.3 with Openchange 2.4-zentyal16 support.
> Use clang (llvm 3.7.0) as compiler.
> ...
> - (int) getProperties: (struct mapistore_property_data *) data
>^
> MAPIStorePropertySelectors.m:66519:3: error: initializer element is not
> a compile-time constant
> 
> Any idea how to fix it?
I fix it. Just use gcc instead of clang for gnustep-make, gnustep-base
and SOGo.

See
http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20100201/027157.html
for details.

-- 
Andrey Cherepanov
c...@altlinux.org
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Build SOGo+OpenChange failed

2015-12-14 Thread Andrey Cherepanov
Try to compile SOGo 2.3.3 with Openchange 2.4-zentyal16 support.
Use clang (llvm 3.7.0) as compiler.

Build failed:
clang MAPIStorePropertySelectors.m -c \
  -MMD -MP -DSAML2_CONFIG=1 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1
-DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing
-fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS
-fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -g -DDEBUG
-fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -pipe
-Wall -g -pipe -Wall -g -march=athlon -mtune=generic -pipe -Wall -g -O2
-fobjc-runtime=gnustep-1.7 -fobjc-nonfragile-abi -DGNUSTEP -DGNU_RUNTIME
-mtune=i586 -fgnu-runtime -fconstant-string-class=NSConstantString -Wall
-fobjc-exceptions -DSAMBA_PRIVATE_DIR=@"\"/var/lib/samba/private\""
-DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1 -I/usr/include/samba-4.0
-DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1 -I/usr/include/samba-4.0
-DSAMBA_PREFIX="\"/usr\"" -I../SoObjects -I../SOPE
-DBACKEND_BUNDLE_NAME="@\"SOGoBackend.MAPIStore\""
-DSOGO_BUNDLES_DIR="@\"/usr/lib/GNUstep/SOGo\"" -I.
-I/usr/src/GNUstep/Headers -I/usr/include -I/usr/include -I/usr/include
-I/usr/include -fgnu-runtime -x objective-c -I/usr/include/libxml2 \
   -o obj/SOGoBackend.obj/MAPIStorePropertySelectors.m.o
In file included from MAPIStorePropertySelectors.m:6:
In file included from ./MAPIStorePropertySelectors.h:19:
./MAPIStoreObject.h:71:32: warning: declaration of 'struct
mapistore_property_data' will not be visible outside of this function
[-Wvisibility]
- (int) getProperties: (struct mapistore_property_data *) data
   ^
MAPIStorePropertySelectors.m:66519:3: error: initializer element is not
a compile-time constant

Any idea how to fix it?

-- 
Andrey Cherepanov
c...@altlinux.org
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange/Samba crashes during folder sync (logs included)

2015-11-04 Thread Chris Coleman

On 11/4/2015 9:25 AM, Harold Fines wrote:
Bug confirmed, sixstone found it in 
https://github.com/openchange/openchange/blob/master/mapiproxy/servers/default/emsmdb/emsmdbp_object.c#L3603


The lack of chunking in processing client uploads means that the 
process runs out of memory and crashes.


I've made a backtrace with debugoc.py (instructions from sixstone):

[2015-10-29 16:13:24,020] INFO: Retrieving the list of Samba process
[2015-10-29 16:13:24,042] INFO:  3875 ?00:00:00 samba
[2015-10-29 16:13:24,045] INFO:  3876 ?00:00:00 samba
[2015-10-29 16:13:24,047] INFO:  3877 ?00:00:00 samba
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
>.
Find the GDB manual and other documentation resources online at:
>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 3877
Reading symbols from /usr/sbin/samba...Reading symbols from

/usr/lib/debug/.build-id/b2/a767673fffef27fef3e50431ff6ee021c74a48.debug...done.
done.
Reading symbols from
/lib/x86_64-linux-gnu/libpthread.so.0...Reading symbols from
/usr/lib/debug//lib/x86_64-linux-gnu/libpthread-2.19.so...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".
Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0
Reading symbols from
/usr/lib/x86_64-linux-gnu/libsamba-util.so.0...Reading symbols
from

/usr/lib/debug/.build-id/3f/d97b13fdebb08b451f89ecc46c9d39d358d3ac.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libsamba-util.so.0
Reading symbols from
/usr/lib/x86_64-linux-gnu/samba/libcluster.so.0...Reading symbols
from

/usr/lib/debug/.build-id/75/851ac23b9dde8e9c529ed61dd80dd2109c5ce9.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libcluster.so.0
Reading symbols from
/usr/lib/x86_64-linux-gnu/libsamba-credentials.so.0...Reading
symbols from

/usr/lib/debug/.build-id/f3/5f6316588d41b654f6a1cbc017a7fca4353acb.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libsamba-credentials.so.0
Reading symbols from
/usr/lib/x86_64-linux-gnu/libsamba-hostconfig.so.0...Reading
symbols from

/usr/lib/debug/.build-id/9a/0047f68d0dbdbced7985d07f7f5146111b95cb.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libsamba-hostconfig.so.0
Reading symbols from
/usr/lib/x86_64-linux-gnu/samba/libldbsamba.so.0...Reading symbols
from

/usr/lib/debug/.build-id/1b/c98857cd27e2be39107f841cabc7b7167ac116.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libldbsamba.so.0
Reading symbols from
/usr/lib/x86_64-linux-gnu/samba/libcliauth.so.0...Reading symbols
from

/usr/lib/debug/.build-id/6d/88faa7bbcd3cf1c07fbf9919f23312af5d394e.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libcliauth.so.0
Reading symbols from
/usr/lib/x86_64-linux-gnu/samba/libservice.so.0...Reading symbols
from

/usr/lib/debug/.build-id/d0/ee23f3d5b5952514bbe2e8b60e814652185e03.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libservice.so.0
Reading symbols from
/usr/lib/x86_64-linux-gnu/samba/libauth4.so.0...Reading symbols
from

/usr/lib/debug/.build-id/2b/03fad749dd7a5ee9d3af9a818200282eff6427.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libauth4.so.0
Reading symbols from
/usr/lib/x86_64-linux-gnu/samba/libntvfs.so.0...Reading symbols
from

/usr/lib/debug/.build-id/fc/470df7bc302eeb50eb004a30bcd1b799def8d3.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libntvfs.so.0
Reading symbols from
/usr/lib/x86_64-linux-gnu/libndr.so.0...Reading symbols from

/usr/lib/debug/.build-id/9c/d176912f6d3fce50519c54b300e7e7e802661d.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libndr.so.0
Reading symbols from
/usr/lib/x86_64-linux-gnu/samba/libprocess_model.so.0...Reading
symbols from

/usr/lib/debug/.build-id/2d/3f9094065e92cb6f14b6b524ad9769f44589ed.debug...done.
done.
Loaded symbols for

Re: [SOGo] OpenChange/Samba crashes during folder sync (logs included)

2015-10-29 Thread Harold Fines
I've made a backtrace with debugoc.py (instructions from sixstone):

[2015-10-29 16:13:24,020] INFO: Retrieving the list of Samba process
[2015-10-29 16:13:24,042] INFO:  3875 ?    00:00:00 samba
[2015-10-29 16:13:24,045] INFO:  3876 ?    00:00:00 samba
[2015-10-29 16:13:24,047] INFO:  3877 ?    00:00:00 samba
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 3877
Reading symbols from /usr/sbin/samba...Reading symbols from 
/usr/lib/debug/.build-id/b2/a767673fffef27fef3e50431ff6ee021c74a48.debug...done.
done.
Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading symbols 
from /usr/lib/debug//lib/x86_64-linux-gnu/libpthread-2.19.so...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libsamba-util.so.0...Reading 
symbols from 
/usr/lib/debug/.build-id/3f/d97b13fdebb08b451f89ecc46c9d39d358d3ac.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libsamba-util.so.0
Reading symbols from 
/usr/lib/x86_64-linux-gnu/samba/libcluster.so.0...Reading symbols from 
/usr/lib/debug/.build-id/75/851ac23b9dde8e9c529ed61dd80dd2109c5ce9.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libcluster.so.0
Reading symbols from 
/usr/lib/x86_64-linux-gnu/libsamba-credentials.so.0...Reading symbols from 
/usr/lib/debug/.build-id/f3/5f6316588d41b654f6a1cbc017a7fca4353acb.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libsamba-credentials.so.0
Reading symbols from 
/usr/lib/x86_64-linux-gnu/libsamba-hostconfig.so.0...Reading symbols from 
/usr/lib/debug/.build-id/9a/0047f68d0dbdbced7985d07f7f5146111b95cb.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libsamba-hostconfig.so.0
Reading symbols from 
/usr/lib/x86_64-linux-gnu/samba/libldbsamba.so.0...Reading symbols from 
/usr/lib/debug/.build-id/1b/c98857cd27e2be39107f841cabc7b7167ac116.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libldbsamba.so.0
Reading symbols from 
/usr/lib/x86_64-linux-gnu/samba/libcliauth.so.0...Reading symbols from 
/usr/lib/debug/.build-id/6d/88faa7bbcd3cf1c07fbf9919f23312af5d394e.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libcliauth.so.0
Reading symbols from 
/usr/lib/x86_64-linux-gnu/samba/libservice.so.0...Reading symbols from 
/usr/lib/debug/.build-id/d0/ee23f3d5b5952514bbe2e8b60e814652185e03.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libservice.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libauth4.so.0...Reading 
symbols from 
/usr/lib/debug/.build-id/2b/03fad749dd7a5ee9d3af9a818200282eff6427.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libauth4.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libntvfs.so.0...Reading 
symbols from 
/usr/lib/debug/.build-id/fc/470df7bc302eeb50eb004a30bcd1b799def8d3.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libntvfs.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libndr.so.0...Reading symbols 
from 
/usr/lib/debug/.build-id/9c/d176912f6d3fce50519c54b300e7e7e802661d.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libndr.so.0
Reading symbols from 
/usr/lib/x86_64-linux-gnu/samba/libprocess_model.so.0...Reading symbols from 
/usr/lib/debug/.build-id/2d/3f9094065e92cb6f14b6b524ad9769f44589ed.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libprocess_model.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libevents.so.0...Reading 
symbols from 
/usr/lib/debug/.build-id/2f/a81fd55db9e6d3a845a57f4756e92ef4305925.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libevents.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libgensec.so.0...Reading 
symbols from 
/usr/lib/debug/.build-id/bc/eae6228a84557c472b4e5f9caa796f8d1ed315.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libgensec.so.0
Reading symbols from 
/usr/lib/x86_64-linux-gnu/samba/libsamdb-common.so.0...Reading symbols from 
/usr/lib/debug/.build-id/88/3d622062ab8d9bfa6239eec3e9bce391475f93.debug...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsamdb-

Re: [SOGo] making sogo/OpenChange on debian wheezy

2015-10-16 Thread Kesho
  writes:

> 
> Hi there,
> I have problem while making OpenChange part of SOGo on Debian Wheezy, 
as
> follow:
> 
> root  elegia:~/inverse/SOGo-2.3.2/OpenChange# make
> This is gnustep-make 2.6.2. Type 'make print-gnustep-make-help' for 
help.
>  Python executable: /usr/bin/python
> Making all for bundle SOGoBackend...
>  Compiling file MAPIStoreDBMessage.m ...
> In file included from 
/usr/local/samba/include/gen_ndr/exchange.h:11:0,
>  from MAPIStorePropertySelectors.h:11,
>  from MAPIStoreDBMessage.m:32:
> /usr/local/samba/include/util/debug.h:176:0: warning: "DEBUG" 
redefined
> [enabled by default]
> :0:0: note: this is the location of the previous 
definition
> MAPIStoreDBMessage.m: In function ‘-[MAPIStoreDBMessage
> _updatePredecessorChangeList]’:
> MAPIStoreDBMessage.m:152:11: error: invalid use of undefined type 
‘struct
> SizedXid’
> MAPIStoreDBMessage.m:152:34: error: dereferencing pointer to 
incomplete type
> MAPIStoreDBMessage.m:152:78: error: ‘struct XID’ has no member named
> ‘NameSpaceGuid’
> MAPIStoreDBMessage.m:155:15: error: invalid use of undefined type 
‘struct
> SizedXid’
> MAPIStoreDBMessage.m:155:58: error: dereferencing pointer to 
incomplete type
> MAPIStoreDBMessage.m:155:15: error: invalid use of undefined type 
‘struct
> SizedXid’
> MAPIStoreDBMessage.m:155:98: error: dereferencing pointer to 
incomplete type
> MAPIStoreDBMessage.m:156:64: error: ‘struct XID’ has no member named 
‘LocalId’
> MAPIStoreDBMessage.m:156:103: error: ‘struct XID’ has no member named
> ‘LocalId’
> MAPIStoreDBMessage.m:164:19: error: invalid use of undefined type 
‘struct
> SizedXid’
> MAPIStoreDBMessage.m:164:34: error: dereferencing pointer to 
incomplete type
> MAPIStoreDBMessage.m:164:76: error: ‘struct XID’ has no member named 
‘LocalId’
> MAPIStoreDBMessage.m:164:108: error: ‘struct XID’ has no member named
> ‘LocalId’
> MAPIStoreDBMessage.m:178:11: error: invalid use of undefined type 
‘struct
> SizedXid’
> MAPIStoreDBMessage.m:178:52: error: dereferencing pointer to 
incomplete type
> make[3]: *** [obj/SOGoBackend.obj/MAPIStoreDBMessage.m.o] Error 1
> make[2]: *** [internal-bundle-run-compile-submake] Error 2
> make[1]: *** [SOGoBackend.all.bundle.variables] Error 2
> make: *** [internal-all] Error 2
> root  elegia:~/inverse/SOGo-2.3.2/OpenChange#
> 
> SOPE and SOGo itself are compiled and installed perfectly
> 
> what am I missing?
> 
> Kind Regards,
> Piotr

Hi Piotr,

I guess that you're using OpenChange-2.3 release version.
And the new datatype "struct SizedXid" should be declared in
the header file "/usr/local/samba/include/gen_ndr/exchange.h",
which is generated and installed when you build and install openchange
previously. There're some changes made to it.

I rebuilt openchange2.3 with the latest version from
https://github.com/openchange/openchange and remake SOGo-
2.3.2/OpenChange again successfully.

As far as I know, there's no new version since the latest release
of OpenChange 2.3 VULCAN.

Kind Regards,
Kesho
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Openchange creating distribution group

2015-10-15 Thread Chris Coleman



On 10/15/2015 3:43 PM, Gerald Brandt wrote:



On 2015-10-15 02:33 PM, Gerald Brandt wrote:



On 2015-10-15 12:37 PM, Chris Coleman wrote:

On 10/15/2015 11:37 AM, Gerald Brandt wrote:
If I create a distribution group using OpenChange, do standard IMAP 
users also get access to that group?


I'm a bit confused on how tightly integrated everything is with 
OpenChnage/SOGo/IMAP/SMTP, etc.




In creating a distribution list you are supposed to assign an email 
address to it either explicitly or the system auto-assigns one. From 
that point any email sent to that email address is forwarded to all 
members of the distribution list. Try sending an email and see if it 
works.


Also Zentyal which is built on openchange and sogo, supports 
distribution lists, see here:
https://wiki.zentyal.org/wiki/En/4.1/OpenChange_%28Microsoft%28R%29_Exchange_Server_protocol_implementation%29 




Hi,

I've managed to create a distribution group, with an email address, 
but the mail bounces 'no valid user'.


Gerald

There's gotta be something I'm missing.  It can't be this complex to 
add users and distribution groups to openchnage.  Does anyone else do it?


Gerald


Here is some more info on groups in sogo!

http://www.sogo.nu/nc/support/faq/article/how-are-groups-handled-in-sogo.html
"

From the version 1.0.2 of SOGo, groups are now supported. Groups *have* 
to be defined in an LDAP server and *must* have an email address. They 
can be used in SOGo when :


 * defining ACLs on calendars and address books
 * scheduling meetings

When either settings ACLs or scheduling a meeting, a resource (person, 
group, room, etc.) has to be specified. Upon save, SOGo will lookup the 
LDAP entry of that particular resource in order to detect if a group was 
specified. To detect if a group was specified, SOGo will look at the 
/objectClass/ attributes of the returned entry. If one of the 
/objectClass/ attribute is equal to /group/, /groupOfNames/, 
/groupOfUniqueNames/ or /posixGroup/, the entry is considered to be a group.


When scheduling a meeting with a group, SOGo will decompose the group as 
soon as the event is saved. Groups decomposition consist of fetching the 
members of the groups - replacing groups with their members in the 
attendees list.


As an exemple, if you have a "management" group defined in your LDAP 
server as :


dn: cn=management,ou=groups,dc=inverse,dc=ca
objectClass: top
objectClass: groupOfNames
cn: management
mail: managem...@inverse.ca
member: cn=bob,ou=people,dc=inverse,dc=ca
member: cn=alice,ou=people,dc=inverse,dc=ca

When you actually add "/managem...@inverse.ca/" in the attendee list 
while creating an event, Bob and Alice will actually receive the 
invitation and will be present in the attendee list.


Note that the groups support is a work in progress. Support for dynamic 
groups needs to be added.


June 08 2009 16:12"

You should post a bug about creating distribution groups for sogo, on 
command line with openchange commands, mail addresses expanding 
incorrectly, with full details. It's a too essential of a feature for it 
not to be working smoothly.

http://www.sogo.nu/bugs/my_view_page.php

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Openchange creating distribution group

2015-10-15 Thread Chris Coleman



On 10/15/2015 3:33 PM, Gerald Brandt wrote:



On 2015-10-15 12:37 PM, Chris Coleman wrote:

On 10/15/2015 11:37 AM, Gerald Brandt wrote:
If I create a distribution group using OpenChange, do standard IMAP 
users also get access to that group?


I'm a bit confused on how tightly integrated everything is with 
OpenChnage/SOGo/IMAP/SMTP, etc.




In creating a distribution list you are supposed to assign an email 
address to it either explicitly or the system auto-assigns one. From 
that point any email sent to that email address is forwarded to all 
members of the distribution list.  Try sending an email and see if it 
works.


Also Zentyal which is built on openchange and sogo, supports 
distribution lists, see here:
https://wiki.zentyal.org/wiki/En/4.1/OpenChange_%28Microsoft%28R%29_Exchange_Server_protocol_implementation%29 




Hi,

I've managed to create a distribution group, with an email address, 
but the mail bounces 'no valid user'.


Gerald

I would suggest to create a new Issue here, because it should work, and 
since not, either you've made a minor omission with the undocumented 
command line commands, or maybe it's a bug. Please post back your 
results to the list.

https://github.com/openchange/openchange/issues

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Openchange creating distribution group

2015-10-15 Thread Gerald Brandt



On 2015-10-15 02:33 PM, Gerald Brandt wrote:



On 2015-10-15 12:37 PM, Chris Coleman wrote:

On 10/15/2015 11:37 AM, Gerald Brandt wrote:
If I create a distribution group using OpenChange, do standard IMAP 
users also get access to that group?


I'm a bit confused on how tightly integrated everything is with 
OpenChnage/SOGo/IMAP/SMTP, etc.




In creating a distribution list you are supposed to assign an email 
address to it either explicitly or the system auto-assigns one. From 
that point any email sent to that email address is forwarded to all 
members of the distribution list.  Try sending an email and see if it 
works.


Also Zentyal which is built on openchange and sogo, supports 
distribution lists, see here:
https://wiki.zentyal.org/wiki/En/4.1/OpenChange_%28Microsoft%28R%29_Exchange_Server_protocol_implementation%29 




Hi,

I've managed to create a distribution group, with an email address, 
but the mail bounces 'no valid user'.


Gerald

There's gotta be something I'm missing.  It can't be this complex to add 
users and distribution groups to openchnage.  Does anyone else do it?


Gerald

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Openchange creating distribution group

2015-10-15 Thread Gerald Brandt



On 2015-10-15 12:37 PM, Chris Coleman wrote:

On 10/15/2015 11:37 AM, Gerald Brandt wrote:
If I create a distribution group using OpenChange, do standard IMAP 
users also get access to that group?


I'm a bit confused on how tightly integrated everything is with 
OpenChnage/SOGo/IMAP/SMTP, etc.




In creating a distribution list you are supposed to assign an email 
address to it either explicitly or the system auto-assigns one. From 
that point any email sent to that email address is forwarded to all 
members of the distribution list.  Try sending an email and see if it 
works.


Also Zentyal which is built on openchange and sogo, supports 
distribution lists, see here:
https://wiki.zentyal.org/wiki/En/4.1/OpenChange_%28Microsoft%28R%29_Exchange_Server_protocol_implementation%29 




Hi,

I've managed to create a distribution group, with an email address, but 
the mail bounces 'no valid user'.


Gerald

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Openchange creating distribution group

2015-10-15 Thread Chris Coleman

On 10/15/2015 11:37 AM, Gerald Brandt wrote:
If I create a distribution group using OpenChange, do standard IMAP 
users also get access to that group?


I'm a bit confused on how tightly integrated everything is with 
OpenChnage/SOGo/IMAP/SMTP, etc.




In creating a distribution list you are supposed to assign an email 
address to it either explicitly or the system auto-assigns one. From 
that point any email sent to that email address is forwarded to all 
members of the distribution list.  Try sending an email and see if it works.


Also Zentyal which is built on openchange and sogo, supports 
distribution lists, see here:

https://wiki.zentyal.org/wiki/En/4.1/OpenChange_%28Microsoft%28R%29_Exchange_Server_protocol_implementation%29

--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Openchange creating distribution group

2015-10-15 Thread Gerald Brandt

Hi,

If I create a distribution group using OpenChange, do standard IMAP 
users also get access to that group?


I'm a bit confused on how tightly integrated everything is with 
OpenChnage/SOGo/IMAP/SMTP, etc.


Gerald

--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] making sogo/OpenChange on debian wheezy

2015-10-12 Thread pijotr
Hi there,
I have problem while making OpenChange part of SOGo on Debian Wheezy, as
follow:

root@elegia:~/inverse/SOGo-2.3.2/OpenChange# make
This is gnustep-make 2.6.2. Type 'make print-gnustep-make-help' for help.
 Python executable: /usr/bin/python
Making all for bundle SOGoBackend...
 Compiling file MAPIStoreDBMessage.m ...
In file included from /usr/local/samba/include/gen_ndr/exchange.h:11:0,
 from MAPIStorePropertySelectors.h:11,
 from MAPIStoreDBMessage.m:32:
/usr/local/samba/include/util/debug.h:176:0: warning: "DEBUG" redefined
[enabled by default]
:0:0: note: this is the location of the previous definition
MAPIStoreDBMessage.m: In function ‘-[MAPIStoreDBMessage
_updatePredecessorChangeList]’:
MAPIStoreDBMessage.m:152:11: error: invalid use of undefined type ‘struct
SizedXid’
MAPIStoreDBMessage.m:152:34: error: dereferencing pointer to incomplete type
MAPIStoreDBMessage.m:152:78: error: ‘struct XID’ has no member named
‘NameSpaceGuid’
MAPIStoreDBMessage.m:155:15: error: invalid use of undefined type ‘struct
SizedXid’
MAPIStoreDBMessage.m:155:58: error: dereferencing pointer to incomplete type
MAPIStoreDBMessage.m:155:15: error: invalid use of undefined type ‘struct
SizedXid’
MAPIStoreDBMessage.m:155:98: error: dereferencing pointer to incomplete type
MAPIStoreDBMessage.m:156:64: error: ‘struct XID’ has no member named ‘LocalId’
MAPIStoreDBMessage.m:156:103: error: ‘struct XID’ has no member named
‘LocalId’
MAPIStoreDBMessage.m:164:19: error: invalid use of undefined type ‘struct
SizedXid’
MAPIStoreDBMessage.m:164:34: error: dereferencing pointer to incomplete type
MAPIStoreDBMessage.m:164:76: error: ‘struct XID’ has no member named ‘LocalId’
MAPIStoreDBMessage.m:164:108: error: ‘struct XID’ has no member named
‘LocalId’
MAPIStoreDBMessage.m:178:11: error: invalid use of undefined type ‘struct
SizedXid’
MAPIStoreDBMessage.m:178:52: error: dereferencing pointer to incomplete type
make[3]: *** [obj/SOGoBackend.obj/MAPIStoreDBMessage.m.o] Error 1
make[2]: *** [internal-bundle-run-compile-submake] Error 2
make[1]: *** [SOGoBackend.all.bundle.variables] Error 2
make: *** [internal-all] Error 2
root@elegia:~/inverse/SOGo-2.3.2/OpenChange#

SOPE and SOGo itself are compiled and installed perfectly

what am I missing?

Kind Regards,
Piotr
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: Re: [SOGo] SOGo/OpenChange and external domain(s)

2015-09-30 Thread dp
Hello Harold,
Dovecot will create the mailbox as per the mail_location parameter we define.
If the folder does not exist dovecot will create the folder on receipt of
first mail.

For example
mail_location = maildir:/home/vmail/%Ld/%Lu/Maildir/

where %Ld is lower case of domainname and %Lu is lowercase of username folder
in user@domain format.
Have a look at this.
http://wiki2.dovecot.org/Variables

Regards
DP
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo/OpenChange and external domain(s)

2015-09-30 Thread Peter Beck
On 09/30/2015 12:59 AM, Harold Fines wrote:

> I am immediately returned to the login screen (although logs state that
> the user was logged in)?

by the way:

I had the same issue after upgrading to 2.3.2 and the problem was
SOGoEnableDomainBasedUID - after changing/commenting this setting, login
was successful for every domain on that servers

https://lists.inverse.ca/sogo/arc/users/2015-09/msg00166.html
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo/OpenChange and external domain(s)

2015-09-30 Thread Peter Beck
On 09/30/2015 12:59 AM, Harold Fines wrote:
> 
> For some reason I am unable to log in with "IMAPLoginFieldName = mail",
> SOGo is unable to authenticate users. Also, with "UIDFieldName = mail;"
> I am immediately returned to the login screen (although logs state that
> the user was logged in)?
> 
> Now, is there any way of making dovecot create mailboxes in /var/mail/
> named after their full e-mail address instead of just the username?

my dovecot-ldap.conf has this settings, which will create the mailboxes
automatically under /var/vmail/domain/lefthandside-part.

but i think you could change that to %Lu (%u should be the mailaddress
and the "L" will convert everything to Lowercase), but never tried that.
for me it's more conveniant when each domain is separated in different
folders... you also have to ensure the settings in 10-auth.conf
(auth_username_format = %Lu) (is what I have defined - everybody has to
login with the complete mail as username).

hosts = x.x.x.x:389 x.x.x.y:389
dn = servicel...@foo.bar
dnpass = password
base = cn=Users,dc=foo,dc=bar
auth_bind = yes
pass_filter = (&(objectClass=user)(mail=%Lu))
pass_attrs = userPassword=password
user_filter = (&(ObjectClass=user)(mail=%Lu))
user_attrs =  =home=/var/vmail/%Ld/%Ln,=uid=1,=gid=1

for Dovecot I can recommend Peer Heinlein's Dovecot book (ISBN
978-3-95539-074-7)

Hope that helps...

Regards
Peter
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


RE: {Spam?} Re: [SOGo] SOGo/OpenChange and external domain(s)

2015-09-28 Thread DurgaPrasad - DatasoftComnet
Dear Harold,
Thanks for your immediate response. Can you confirm if openlap/slapd is also 
running/installed in  your system? I am trying to install it using just Samba 
and no LDAP at all.
Point is Samba is not accepting a Simple bind.

Im getting the following error.
auth: Error: LDAP: binding failed (dn ): Invalid credentials, Simple Bind 
Failed: NT_STATUS_LOGON_FAILURE

Regards
Durga Prasad
+919849111010


-Original Message-
From: users-requ...@sogo.nu [mailto:users-requ...@sogo.nu] On Behalf Of Davor 
Vusir
Sent: 28 September 2015 12:38
To: users@sogo.nu
Subject: {Spam?} Re: [SOGo] SOGo/OpenChange and external domain(s)

On 2015-09-28 02:12, Harold Fines wrote:
> Greetings
>
> I have followed the Openchange cookbook and "SOGo - Installation and 
> Configuration Guide.pdf" as well as "SOGo Native Microsoft Outlook 
> Configuration.pdf" to produce a working implementation of Debian, 
> Samba, Dovecot, Postfix and SOGo. Kudos to all the developers involved 
> in making these amazing softwares!
>
> My organization is a small non-profit. We are now using Samba as an 
> internal AD ("org".pri") for our workstations and all is well. The 
> thing is, some of our users have been using two different external 
> domains ("org.com" and
> "otherorg.fi") for our e-mail which is where I am hitting a snag:
>
> Created users (through samba-tool and openchange_newusers) end up with 
> usern...@org.pri as their mail address when logging into SOGo which 
> will of course not work when communicating with external mail addresses.
>
> I tried following "Multi-domains Configuration" from "SOGo - 
> Installation and Configuration Guide.pdf" and using different user 
> groups as "baseDN" to separate the users but I still end up with with 
> "org.pri" as their mail address.
>
> Is it even possible to use different external domains in this setup 
> and if
> so: how? I have yet to succeed in assigning/using a single external 
> domain so any help with be highly appreciated :)

Maybe this will help you forward:
http://drdata.blogg.se/2013/july/get-sogo-iredmail-and-samba-4-ad-ds-in-perfect-harmony.html
http://www.iredmail.org/docs/active.directory.html
http://www.iredmail.org/forum/topic3165-iredmail-support-integration-with-windows-domain.html

Regards
Davor Vusir


--
users@sogo.nu
https://inverse.ca/sogo/lists

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo/OpenChange and external domain(s)

2015-09-28 Thread Davor Vusir

On 2015-09-28 02:12, Harold Fines wrote:

Greetings

I have followed the Openchange cookbook and "SOGo - Installation and
Configuration Guide.pdf" as well as "SOGo Native Microsoft Outlook
Configuration.pdf" to produce a working implementation of Debian, Samba,
Dovecot, Postfix and SOGo. Kudos to all the developers involved in making
these amazing softwares!

My organization is a small non-profit. We are now using Samba as an internal
AD ("org".pri") for our workstations and all is well. The thing is, some of
our users have been using two different external domains ("org.com" and
"otherorg.fi") for our e-mail which is where I am hitting a snag:

Created users (through samba-tool and openchange_newusers) end up with
usern...@org.pri as their mail address when logging into SOGo which will of
course not work when communicating with external mail addresses.

I tried following "Multi-domains Configuration" from "SOGo - Installation and
Configuration Guide.pdf" and using different user groups as "baseDN" to
separate the users but I still end up with with "org.pri" as their mail
address.

Is it even possible to use different external domains in this setup and if
so: how? I have yet to succeed in assigning/using a single external domain so
any help with be highly appreciated :)


Maybe this will help you forward:
http://drdata.blogg.se/2013/july/get-sogo-iredmail-and-samba-4-ad-ds-in-perfect-harmony.html
http://www.iredmail.org/docs/active.directory.html
http://www.iredmail.org/forum/topic3165-iredmail-support-integration-with-windows-domain.html

Regards
Davor Vusir


--
users@sogo.nu
https://inverse.ca/sogo/lists


RE: [SOGo] SOGo/OpenChange and external domain(s)

2015-09-28 Thread DurgaPrasad - DatasoftComnet
Hello Harold,

After I’ve done the configuration I’m able to login into sogo right but my 
Dovecot and Postfix is not able to authenticate Samba users. Are you using LDAP 
also or just Samba to create users?

 

Regards

Durga Prasad

+919849111010

 

From: users-requ...@sogo.nu [mailto:users-requ...@sogo.nu] On Behalf Of Harold 
Fines
Sent: 28 September 2015 05:43
To: Users
Subject: [SOGo] SOGo/OpenChange and external domain(s)

 

Greetings

I have followed the Openchange cookbook and "SOGo - Installation and 
Configuration Guide.pdf" as well as "SOGo Native Microsoft Outlook 
Configuration.pdf" to produce a working implementation of Debian, Samba, 
Dovecot, Postfix and SOGo. Kudos to all the developers involved in making these 
amazing softwares!

My organization is a small non-profit. We are now using Samba as an internal AD 
("org".pri") for our workstations and all is well. The thing is, some of our 
users have been using two different external domains ("org.com" and 
"otherorg.fi") for our e-mail which is where I am hitting a snag:

Created users (through samba-tool and openchange_newusers) end up with 
usern...@org.pri as their mail address when logging into SOGo which will of 
course not work when communicating with external mail addresses.

I tried following "Multi-domains Configuration" from "SOGo - Installation and 
Configuration Guide.pdf" and using different user groups as "baseDN" to 
separate the users but I still end up with with "org.pri" as their mail address.

Is it even possible to use different external domains in this setup and if so: 
how? I have yet to succeed in assigning/using a single external domain so any 
help with be highly appreciated :)

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo/OpenChange and external domain(s)

2015-09-28 Thread Peter Beck
On 09/28/2015 02:12 AM, Harold Fines wrote:
> 
> ...using different user
> groups as "baseDN" to separate the users but I still end up with with
> "org.pri" as their mail address.
> 
> Is it even possible to use different external domains in this setup and
> if so: how? I have yet to succeed in assigning/using a single external
> domain so any help with be highly appreciated :)

Hi Harold,

don't know if that helps, I don't use OpenChange but also Samba 4 (just
one domain "foo.bar") and I am hosting multiple (external) domains
selected by filters like this for each domain configuration:

filter = "(objectClass='*' AND mail='*@domain1.tld' AND
userAccountControl != 66050)";

and for other domains the same just the other mail domains:

filter = "(objectClass='*' AND mail='*@domain2.tld' AND
userAccountControl != 66050)";

etc...

for postfix there is just an ldap query filtering all addresses (one
filter for users, another for group membership -
see also this thread:
https://lists.inverse.ca/sogo/arc/users/2015-09/msg00077.html)

Never tried with different baseDNs, but why not just use "mail" as
identifier in SOGo and you're good to go ? I am using mail as identifier
in Dovecot and SOGo and it just works:

domain1.tld = {
  SOGoMailDomain = domain1.tld;
  ...
  SOGoUserSources = (
{
type = ldap;
id = domain1.tld;
CNFieldName = cn;
IDFieldName = mail;
UIDFieldName = mail;
hostname = "ldap://x.x.x.x:389 ";
baseDN = "dc=foo,dc=bar";
bindFields = (mail);
filter = "(objectClass='*' AND mail='*@domain1.tld' AND
userAccountControl != 66050)";
canAuthenticate = YES;
isAddressBook = YES;
IMAPLoginFieldName = mail;
.

Regards
Peter
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange 'dcerpc' calls stop Samba domain services

2015-07-29 Thread Steve Ankeny

On 07/28/2015 11:44 AM, Steve Ankeny wrote:

On 07/28/2015 07:25 AM, Steve Ankeny wrote:

On 07/28/2015 03:49 AM, Rowland Penny wrote:


*update* --

I made the corrections to 'ocsmanager.ini' noted above to no avail.

IMO the 'dcerpc' calls in 'smb.conf' are shutting down Samba services.

### Configuration required by OpenChange server ###
#dsb:shema update allowed = true


You have a typo, it should be 'dsb:schema update allowed = true'


#dcerpc endpoint servers = +epmapper, +mapiproxy


Not sure you need '+epmapper' , I think if you run:

samba-tool testparm -v | grep 'dcerpc endpoint servers'

You will need to press enter twice, the result should show just what 
servers are running now (of course you need to run the test with the 
openchange lines commented out)


Rowland


thx, I'll give that a try



Rowland is *right* about not needing '+epmapper' when running 
'samba-ad-dc'


It's already part of Samba Active Directory and not required in the 
'smb.conf'


I've made the other change and will test the fix after hours. Thx.



*Apparently, I reported too soon!*

While several users were able to log into the domain, after about six 
hours, it stopped allowing login.


Curiously, the 'samba-ad-dc' service was STILL running --

adam@sogo:~$ sudo initctl list | egrep 'samba|smb|nmb|winbind'
nmbd start/running
winbind stop/waiting
smbd stop/waiting
reload-smbd stop/waiting
samba-ad-dc start/running, process 875
adam@sogo:~$

However, when users tried to login, they received "Access denied!"

*Question*: How do I troubleshoot from this point forward?

Is there a log of failed logins?  And, if not, is there a logging level 
I can use to try to find the problem?


Thanks for any suggestions.



--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] OpenChange 'dcerpc' calls stop Samba domain services

2015-07-28 Thread Steve Ankeny

On 07/28/2015 07:25 AM, Steve Ankeny wrote:

On 07/28/2015 03:49 AM, Rowland Penny wrote:


*update* --

I made the corrections to 'ocsmanager.ini' noted above to no avail.

IMO the 'dcerpc' calls in 'smb.conf' are shutting down Samba services.

### Configuration required by OpenChange server ###
#dsb:shema update allowed = true


You have a typo, it should be 'dsb:schema update allowed = true'


#dcerpc endpoint servers = +epmapper, +mapiproxy


Not sure you need '+epmapper' , I think if you run:

samba-tool testparm -v | grep 'dcerpc endpoint servers'

You will need to press enter twice, the result should show just what 
servers are running now (of course you need to run the test with the 
openchange lines commented out)


Rowland


thx, I'll give that a try



Rowland is *right* about not needing '+epmapper' when running 'samba-ad-dc'

It's already part of Samba Active Directory and not required in the 
'smb.conf'


I've made the other change and will test the fix after hours.  Thx.

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] OpenChange 'dcerpc' calls stop Samba domain services

2015-07-28 Thread Steve Ankeny

On 07/28/2015 03:49 AM, Rowland Penny wrote:


*update* --

I made the corrections to 'ocsmanager.ini' noted above to no avail.

IMO the 'dcerpc' calls in 'smb.conf' are shutting down Samba services.

### Configuration required by OpenChange server ###
#dsb:shema update allowed = true


You have a typo, it should be 'dsb:schema update allowed = true'


#dcerpc endpoint servers = +epmapper, +mapiproxy


Not sure you need '+epmapper' , I think if you run:

samba-tool testparm -v | grep 'dcerpc endpoint servers'

You will need to press enter twice, the result should show just what 
servers are running now (of course you need to run the test with the 
openchange lines commented out)


Rowland


thx, I'll give that a try

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] OpenChange 'dcerpc' calls stop Samba domain services

2015-07-28 Thread Rowland Penny

On 28/07/15 01:37, Steve Ankeny wrote:

This was initially sent to the wrong mailing list.  Updated at bottom.
--

Over the weekend, I configured OpenChange, OCS Manager & RPC Proxy in 
the manner described in the Outlook Configuration Guide to work with 
Samba in anticipation of setting up my first Outlook 2010 profile.


Specifically, I followed the instructions on pg. 10-17 with reference 
to 'smb.conf' & 'ocsmanager.ini'


When I initially configured Samba AD DC, I inserted the language on 
pg. 10 & 13 in 'smb.conf' but commented it out so Samba-AD-DC would 
work correctly.  That was prior to the upgrade to SOGo & OpenChange 2.3


I also initially provisioned OpenChange & created the 'openchange' DB 
in MySQL


When I completed my configuration of OpenChange & OCS Manager, my 
Samba services stopped running.


The only working solution is to comment out the OpenChange lines in 
'smb.conf'


Here's my 'smb.conf' --

[global]
workgroup = SMBDOMAIN
realm = smbdomain.com
netbios name = SOGO
server role = active directory domain controller
dns forwarder = 192.168.121.1
idmap_ldb:use rfc2307 = yes
passdb backend = samba
allow dns updates = nonsecure

### Configuration required by OpenChange server ###
#dsb:shema update allowed = true
#dcerpc endpoint servers = +epmapper, +mapiproxy
#dcerpc_mapiproxy:server = true
#dcerpc_mapiproxy:interfaces = exchange_emsmdb, exchange_nsp, 
exchange_ds_rfr

### Configuration required by OpenChange server ###

#mapistore:namedproperties = mysql
#namedproperties:mysql_user = openchange-user
#namedproperties:mysql_pass = $passwd
#namedproperties:mysql_host = localhost
#namedproperties:mysql_db = openchange
#mapistore:indexing_backend = 
mysql://openchange-user:$passwd@localhost/openchange
#mapiproxy:openchangedb = 
mysql://openchange-user:$passwd@localhost/openchange


[netlogon]
path = /var/lib/samba/sysvol/smbdomain.com/scripts
read only = No

[sysvol]
path = /var/lib/samba/sysvol
read only = No

And, my 'ocsmanager.ini' --

[DEFAULT]
debug = true
email_to = valid.u...@smbdomain.com
smtp_server = localhost
error_email_from = paste@localhost

[main]
auth = ldap
mapistore_root = /var/lib/samba/private
mapistore_data = /var/lib/samba/private/mapistore
debug = yes

[auth:file]

[auth:ldap]
host = ldap://127.0.0.1
port = 389
bind_dn = cn=Administrator,cn=Users,dc=smbdomain,dc=com
bind_pw = $passwd
basedn = cn=Users,dc=smbdomain,dc=com

[auth:single]
username = openchange
# password is test
*#password = {SSHA}I6Hy5Wv0wuxyXvMBFWFQDVVN12_CLaX9* *(Is this a 
problem?)*

password = $passwd

[server:main]
use = egg:Paste#http
host = 127.0.0.1
port = 5000
protocol_version = HTTP/1.1

[app:main]
use = egg:ocsmanager
full_stack = true
static_files = true
cache_dir = %(here)s/data
beaker.session.key = ocsmanager
beaker.session.secret = SDyKK3dKyDgW0mlpqttTMGU1f
app_instance_uuid = {ee533ebc-f266-49d1-ae10-d017ee6aa98c}
NTLMAUTHHANDLER_WORKDIR = /var/cache/ntlmauthhandler
SAMBA_HOST = 127.0.0.1

[rpcproxy:ldap]
host = localhost
port = 389
*basedn = CN=Users,DC=example,DC=com   (Is this a problem?)*
set debug = true

[autodiscover]

[autodiscover:rpcproxy]
enabled = true

[outofoffice]

[outofoffice:file]
sieve_script_path = /var/vmail/$domain/$user/sieve-script
sieve_script_path_mkdir = false

[outofoffice:managesieve]
secret = secret

[loggers]
keys = root

[handlers]
keys = console

[formatters]
keys = generic

[logger_root]
level = INFO
handlers = console

[handler_console]
class = StreamHandler
secret = secret

# Logging configuration
[loggers]
keys = root

[handlers]
keys = console

[formatters]
keys = generic

[logger_root]
level = INFO
handlers = console

[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic

[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s] [%(threadName)s] 
%(message)s



Notice the *em**boldened* lines in 'ocsmanager.ini'

*Could those errors turn off my Samba services?*


With the OpenChange lines uncommented in 'smb.conf,' I see the 
following --


adam@sogo:~$ sudo initctl list | egrep 'samba|smb|nmb|winbind'
nmbd start/running
winbind stop/waiting
smbd stop/waiting
reload-smbd stop/waiting
samba-ad-dc stop/running
adam@sogo:~$

With those same lines commented out, I see the following --

adam@sogo:~$ sudo initctl list | egrep 'samba|smb|nmb|winbind'
nmbd start/running
winbind stop/waiting
smbd stop/waiting
reload-smbd stop/waiting
samba-ad-dc start/running, process 875
adam@sogo:~$

Here's my package selections --

adam@sogo:~$ sudo dpkg --get-selections | egrep 'samba|smb|nmb|winbind'
libnss-winbin

[SOGo] OpenChange 'dcerpc' calls stop Samba domain services

2015-07-27 Thread Steve Ankeny

This was initially sent to the wrong mailing list.  Updated at bottom.
--

Over the weekend, I configured OpenChange, OCS Manager & RPC Proxy in 
the manner described in the Outlook Configuration Guide to work with 
Samba in anticipation of setting up my first Outlook 2010 profile.


Specifically, I followed the instructions on pg. 10-17 with reference to 
'smb.conf' & 'ocsmanager.ini'


When I initially configured Samba AD DC, I inserted the language on pg. 
10 & 13 in 'smb.conf' but commented it out so Samba-AD-DC would work 
correctly.  That was prior to the upgrade to SOGo & OpenChange 2.3


I also initially provisioned OpenChange & created the 'openchange' DB in 
MySQL


When I completed my configuration of OpenChange & OCS Manager, my Samba 
services stopped running.


The only working solution is to comment out the OpenChange lines in 
'smb.conf'


Here's my 'smb.conf' --

[global]
workgroup = SMBDOMAIN
realm = smbdomain.com
netbios name = SOGO
server role = active directory domain controller
dns forwarder = 192.168.121.1
idmap_ldb:use rfc2307 = yes
passdb backend = samba
allow dns updates = nonsecure

### Configuration required by OpenChange server ###
#dsb:shema update allowed = true
#dcerpc endpoint servers = +epmapper, +mapiproxy
#dcerpc_mapiproxy:server = true
#dcerpc_mapiproxy:interfaces = exchange_emsmdb, exchange_nsp, 
exchange_ds_rfr

### Configuration required by OpenChange server ###

#mapistore:namedproperties = mysql
#namedproperties:mysql_user = openchange-user
#namedproperties:mysql_pass = $passwd
#namedproperties:mysql_host = localhost
#namedproperties:mysql_db = openchange
#mapistore:indexing_backend = 
mysql://openchange-user:$passwd@localhost/openchange
#mapiproxy:openchangedb = 
mysql://openchange-user:$passwd@localhost/openchange


[netlogon]
path = /var/lib/samba/sysvol/smbdomain.com/scripts
read only = No

[sysvol]
path = /var/lib/samba/sysvol
read only = No

And, my 'ocsmanager.ini' --

[DEFAULT]
debug = true
email_to = valid.u...@smbdomain.com
smtp_server = localhost
error_email_from = paste@localhost

[main]
auth = ldap
mapistore_root = /var/lib/samba/private
mapistore_data = /var/lib/samba/private/mapistore
debug = yes

[auth:file]

[auth:ldap]
host = ldap://127.0.0.1
port = 389
bind_dn = cn=Administrator,cn=Users,dc=smbdomain,dc=com
bind_pw = $passwd
basedn = cn=Users,dc=smbdomain,dc=com

[auth:single]
username = openchange
# password is test
*#password = {SSHA}I6Hy5Wv0wuxyXvMBFWFQDVVN12_CLaX9* *(Is this a problem?)*
password = $passwd

[server:main]
use = egg:Paste#http
host = 127.0.0.1
port = 5000
protocol_version = HTTP/1.1

[app:main]
use = egg:ocsmanager
full_stack = true
static_files = true
cache_dir = %(here)s/data
beaker.session.key = ocsmanager
beaker.session.secret = SDyKK3dKyDgW0mlpqttTMGU1f
app_instance_uuid = {ee533ebc-f266-49d1-ae10-d017ee6aa98c}
NTLMAUTHHANDLER_WORKDIR = /var/cache/ntlmauthhandler
SAMBA_HOST = 127.0.0.1

[rpcproxy:ldap]
host = localhost
port = 389
*basedn = CN=Users,DC=example,DC=com   (Is this a problem?)*
set debug = true

[autodiscover]

[autodiscover:rpcproxy]
enabled = true

[outofoffice]

[outofoffice:file]
sieve_script_path = /var/vmail/$domain/$user/sieve-script
sieve_script_path_mkdir = false

[outofoffice:managesieve]
secret = secret

[loggers]
keys = root

[handlers]
keys = console

[formatters]
keys = generic

[logger_root]
level = INFO
handlers = console

[handler_console]
class = StreamHandler
secret = secret

# Logging configuration
[loggers]
keys = root

[handlers]
keys = console

[formatters]
keys = generic

[logger_root]
level = INFO
handlers = console

[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic

[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s] [%(threadName)s] 
%(message)s



Notice the *em**boldened* lines in 'ocsmanager.ini'

*Could those errors turn off my Samba services?*


With the OpenChange lines uncommented in 'smb.conf,' I see the following --

adam@sogo:~$ sudo initctl list | egrep 'samba|smb|nmb|winbind'
nmbd start/running
winbind stop/waiting
smbd stop/waiting
reload-smbd stop/waiting
samba-ad-dc stop/running
adam@sogo:~$

With those same lines commented out, I see the following --

adam@sogo:~$ sudo initctl list | egrep 'samba|smb|nmb|winbind'
nmbd start/running
winbind stop/waiting
smbd stop/waiting
reload-smbd stop/waiting
samba-ad-dc start/running, process 875
adam@sogo:~$

Here's my package selections --

adam@sogo:~$ sudo dpkg --get-selections | egrep 'samba|smb|nmb|winbind'
libnss-winbind:amd64  

[SOGo] Openchange: cannot show the calendar in Outlook

2015-07-27 Thread dbet1
I have installed Openchange with SOGo 2.3.0 and the documentation of this
version.

After starting Outlook the first time I created events in the Outlook
calendar. The events were synchronized to my SOGo Server. All seems be OK. But
events that I created in the SOGo Webinterface were not synched to Outlook.

After closing Outlook and reopen it, the calendar was empty. Before showing
the empty calender Outlook says: Cannot show the calendar. But this is a not
really somthing saying error message. From this point it was't possible to
sync any event between Outlook and SOGo.

The command openchange_user_cleanup helps to bring away the message "Cannot
show the calendar" in Outlook. But still there is no synchronisation any more.
New events in Outlook were not saved anymore.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange Configuration error

2015-06-11 Thread Steve Ankeny

In the original you asked --

Can the plus or the cross hatch cause the error?

Have you tried changing the password?  It may be no one responded simply 
because they thought the answer was obvious (not saying that's the 
answer but it certainly is the first troubleshooting suggestion)


You've tested the user:password directly with mysql and it works, so the 
next test would be the password itself.



On 06/11/2015 12:40 PM, Horst wrote:

Nobody? I don't have an idea about this error, any hint is welcome.

Regards
Horst






--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] OpenChange Configuration error

2015-06-11 Thread Martin Simovic
Try chaging mysql password for something simple and you'll find out. 

--
Martin Šimovič

NETSON s.r.o. 
Mlynská 2238
934 01 Levice
tel: +421 915 393 570
mail: mar...@netson.sk

Dňa 11.6.2015, o 18:40, Horst  napísal:

> Nobody? I don't have an idea about this error, any hint is welcome.
> 
> Regards 
> Horst
> 
> 
> 
> 
> -- 
> users@sogo.nu
> https://inverse.ca/sogo/lists


smime.p7s
Description: S/MIME cryptographic signature


Re: [SOGo] OpenChange Configuration error

2015-06-11 Thread Horst
Nobody? I don't have an idea about this error, any hint is welcome.

Regards 
Horst




-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] OpenChange Configuration error

2015-06-05 Thread Horst Häberlen
The following OpenChange configuration command gives me an error:

openchange_provision --openchangedb --openchangedb-uri
'mysql://openchange-user:1Password+#@localhost/openchange'

The error:

ValueError: Bad connection string for mysql: expected format
mysql://user[:passwd]@host/db_name

I can connect to mysql with the obove user/password and the db openchange is 
present. The
password 5Password+# is not the real password, but it is similar. Can the plus 
or the
cross hatch cause the error?

Regards
Horst


-- 
Horst Häberlen
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Openchange / RpcProxy

2015-06-05 Thread Yuri Bugelli
I've sent the entire backtrace to you privately.

Thank you.



Il giorno mer, 03/06/2015 alle 13.03 -0400, Ludovic Marcotte ha
scritto:
> On 03/06/2015 12:27, Yuri Bugelli wrote:
> > Is there a way to better check the error? Maybe increasing samba 
> > debug
> > level?
> Try installing all debugging packages. Then, start samba inside gdb 
> in 
> single process mode. Reproduce the issue and produce a stacktrace.
> 
> Have a look at this:
> 
> http://www.sogo.nu/nc/support/faq/article/how-do-i-debug-sogo.html
> 
> Thanks,
> 
> -- 
> Ludovic Marcotte
> lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
> Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
> (
> http://packetfence.org)
> 



-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Openchange / RpcProxy

2015-06-03 Thread Ludovic Marcotte

On 03/06/2015 12:27, Yuri Bugelli wrote:

Is there a way to better check the error? Maybe increasing samba debug
level?
Try installing all debugging packages. Then, start samba inside gdb in 
single process mode. Reproduce the issue and produce a stacktrace.


Have a look at this:

http://www.sogo.nu/nc/support/faq/article/how-do-i-debug-sogo.html

Thanks,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Openchange / RpcProxy

2015-06-03 Thread Yuri Bugelli
Il giorno mer, 03/06/2015 alle 16.45 +0200, Martin Simovic ha scritto:
> > 
> > On 03 Jun 2015, at 14:57, Ludovic Marcotte  
> > wrote:
> > 
> > On 03/06/2015 08:50, Martin Simovic wrote:
> > > I created fresh new user (samba-tool user add ; 
> > > openchange_newuser —create) and ended up with same error again.
> > Doing that won't automagically cleanup the SOGo database. Do what I 
> > said or as you said, test the ZEG.
> 
> OK - did not get that far as to test ZEG, but testing on Trusty I get 
> this: (samba.log)
> 
> [2015/06/03 11:07:53.351878,  0] 
> ../lib/util/become_daemon.c:136(daemon_ready)
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> [2015/06/03 11:07:53.436126,  0] libmapi/oc_log.c:52(oc_logv)
>   MAPIPROXY server mode enabled
> [2015/06/03 11:07:53.444117,  0] libmapi/oc_log.c:54(oc_logv)
>   Using MySQL backend for openchangedb: mysql
> ://openchange:somepassword@localhost/openchange
> [so-category-info] did not find exported SoClass 'SOGo' in product 
> <0x0x7f3b9c58dc78[SoProduct]: loaded code-loaded 
> bundle=/usr/lib/GNUstep/SOGo/MainUI.SOGo #classes=8 #categories=4 
> rm=0x0x7f3b9d665f28>!
> <0x0x7f3b9e1c0468[SOGoCache]> Cache cleanup interval set every 
> 300.00 seconds
> <0x0x7f3b9e1c0468[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
> 2015-06-03 16:41:47.063 samba[4194]   registered class 
> 'MAPIStoreCalendarContext' as handler of 'calendar' contexts
> 2015-06-03 16:41:47.076 samba[4194]   registered class 
> 'MAPIStoreTasksContext' as handler of 'tasks' contexts
> 2015-06-03 16:41:47.076 samba[4194]   registered class 
> 'MAPIStoreContactsContext' as handler of 'contacts' contexts
> 2015-06-03 16:41:47.076 samba[4194]   registered class 
> 'MAPIStoreNotesContext' as handler of 'notes' contexts
> 2015-06-03 16:41:47.076 samba[4194]   registered class 
> 'MAPIStoreFallbackContext' as handler of 'fallback' contexts
> 2015-06-03 16:41:47.076 samba[4194]   registered class 
> 'MAPIStoreCalendarContext' as handler of 'calendar' contexts
> 2015-06-03 16:41:47.076 samba[4194]   registered class 
> 'MAPIStoreOutboxContext' as handler of 'outbox' contexts
> 2015-06-03 16:41:47.076 samba[4194]   registered class 
> 'MAPIStoreTasksContext' as handler of 'tasks' contexts
> 2015-06-03 16:41:47.076 samba[4194]   registered class 
> 'MAPIStoreContactsContext' as handler of 'contacts' contexts
> 2015-06-03 16:41:47.076 samba[4194]   registered class 
> 'MAPIStoreMailContext' as handler of 'mail' contexts
> <0x0x7f3b9dff2378[SOGoWebDAVAclManager]> entry '{DAV:}write' already 
> exists in DAV permissions table
> <0x0x7f3b9dff2378[SOGoWebDAVAclManager]> entry '{DAV:}write
> -properties' already exists in DAV permissions table
> <0x0x7f3b9dff2378[SOGoWebDAVAclManager]> entry '{DAV:}write-content' 
> already exists in DAV permissions table
> <0x0x7f3b9dbcc0b8[MAPIStoreFallbackContext]> -[MAPIStoreContext 
> getPath:ofFMID:inMemCtx:]: you should *never* get here
> <0x0x7f3b9d47a918[MAPIStoreFallbackContext]> -[MAPIStoreContext 
> getPath:ofFMID:inMemCtx:]: you should *never* get here
> <0x0x7f3b9e17a5e8[MAPIStoreFallbackContext]> -[MAPIStoreContext 
> getPath:ofFMID:inMemCtx:]: you should *never* get here
> <0x0x7f3b9c7f64a8[MAPIStoreFallbackContext]> -[MAPIStoreContext 
> getPath:ofFMID:inMemCtx:]: you should *never* get here
> <0x0x7f3b9e2b8858[MAPIStoreFallbackContext]> -[MAPIStoreContext 
> getPath:ofFMID:inMemCtx:]: you should *never* get here
> <0x0x7f3b9eb6f398[MAPIStoreFallbackContext]> -[MAPIStoreContext 
> getPath:ofFMID:inMemCtx:]: you should *never* get here
> <0x0x7f3b9eb6f398[MAPIStoreFallbackContext]> found path 
> 'martin@fallback/0xbf9e0601/' for fmid 0xc19e0601
> [2015/06/03 16:41:47.439242,  0] ../lib/util/fault.c:72(fault_report)
>   ===
> [2015/06/03 16:41:47.439312,  0] ../lib/util/fault.c:73(fault_report)
>   INTERNAL ERROR: Signal 6 in pid 4194 (4.1.18-Debian)
>   Please read the Trouble-Shooting section of the Samba HOWTO
> [2015/06/03 16:41:47.439371,  0] ../lib/util/fault.c:75(fault_report)
>   ===
> [2015/06/03 16:41:47.439416,  0] 
> ../lib/util/fault.c:144(smb_panic_default)
>   PANIC: internal error
> 

It seems the same problem I have on my server. Look at my message from
05-25-2015.

I got this problem after updating to openchange-2.3-zentyal11.

Is there a way to better check the error? Maybe increasing samba debug
level?

I've already done the tests suggested in this thread: to create new
user, to apply openchange_user_cleanup to existing user. Nothing works
for me too.

Note: I got this same problem by manually building all the packages,
samba included.

Thanks
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Openchange / RpcProxy

2015-06-03 Thread Martin Simovic

> On 03 Jun 2015, at 17:29, Ludovic Marcotte  wrote:
> 
> On 03/06/2015 11:23, Martin Simovic wrote:
>> Outlook 2010 32-bit with all updates from Microsoft Update.
> 
> I need the exact version if I want to try reproducing the issue.

Version: 14.0.7149.5000 (32-bit)

Same thing happens with Outlook 2013 (15.0.4719.1001) MSO (15.0.4719.1000) 
32-bit

smime.p7s
Description: S/MIME cryptographic signature


Re: [SOGo] Openchange / RpcProxy

2015-06-03 Thread Ludovic Marcotte

On 03/06/2015 11:23, Martin Simovic wrote:

Outlook 2010 32-bit with all updates from Microsoft Update.


I need the exact version if I want to try reproducing the issue.

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Openchange / RpcProxy

2015-06-03 Thread Ludovic Marcotte

On 03/06/2015 11:18, Martin Simovic wrote:

Tested the ZEG. Connecting to appliance*works*  with sogo1 user. After folder 
sync is over, I sent myself (so...@example.com) an email form outook. Inbox 
fails to update, If I force “send/receive” Outlook 2010 shows sync receive 
error.


What is the exact version of Outlook you're using?

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Openchange / RpcProxy

2015-06-03 Thread Martin Simovic

> On 03 Jun 2015, at 14:57, Ludovic Marcotte  wrote:
> 
> On 03/06/2015 08:50, Martin Simovic wrote:
>> I created fresh new user (samba-tool user add ; openchange_newuser —create) 
>> and ended up with same error again.
> Doing that won't automagically cleanup the SOGo database. Do what I said or 
> as you said, test the ZEG.

OK - did not get that far as to test ZEG, but testing on Trusty I get this: 
(samba.log)

[2015/06/03 11:07:53.351878,  0] ../lib/util/become_daemon.c:136(daemon_ready)
samba: setproctitle not initialized, please either call setproctitle_init() or 
link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or 
link against libbsd-ctor.
[2015/06/03 11:07:53.436126,  0] libmapi/oc_log.c:52(oc_logv)
  MAPIPROXY server mode enabled
[2015/06/03 11:07:53.444117,  0] libmapi/oc_log.c:54(oc_logv)
  Using MySQL backend for openchangedb: 
mysql://openchange:somepassword@localhost/openchange
[so-category-info] did not find exported SoClass 'SOGo' in product 
<0x0x7f3b9c58dc78[SoProduct]: loaded code-loaded 
bundle=/usr/lib/GNUstep/SOGo/MainUI.SOGo #classes=8 #categories=4 
rm=0x0x7f3b9d665f28>!
<0x0x7f3b9e1c0468[SOGoCache]> Cache cleanup interval set every 300.00 
seconds
<0x0x7f3b9e1c0468[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
2015-06-03 16:41:47.063 samba[4194]   registered class 
'MAPIStoreCalendarContext' as handler of 'calendar' contexts
2015-06-03 16:41:47.076 samba[4194]   registered class 'MAPIStoreTasksContext' 
as handler of 'tasks' contexts
2015-06-03 16:41:47.076 samba[4194]   registered class 
'MAPIStoreContactsContext' as handler of 'contacts' contexts
2015-06-03 16:41:47.076 samba[4194]   registered class 'MAPIStoreNotesContext' 
as handler of 'notes' contexts
2015-06-03 16:41:47.076 samba[4194]   registered class 
'MAPIStoreFallbackContext' as handler of 'fallback' contexts
2015-06-03 16:41:47.076 samba[4194]   registered class 
'MAPIStoreCalendarContext' as handler of 'calendar' contexts
2015-06-03 16:41:47.076 samba[4194]   registered class 'MAPIStoreOutboxContext' 
as handler of 'outbox' contexts
2015-06-03 16:41:47.076 samba[4194]   registered class 'MAPIStoreTasksContext' 
as handler of 'tasks' contexts
2015-06-03 16:41:47.076 samba[4194]   registered class 
'MAPIStoreContactsContext' as handler of 'contacts' contexts
2015-06-03 16:41:47.076 samba[4194]   registered class 'MAPIStoreMailContext' 
as handler of 'mail' contexts
<0x0x7f3b9dff2378[SOGoWebDAVAclManager]> entry '{DAV:}write' already exists in 
DAV permissions table
<0x0x7f3b9dff2378[SOGoWebDAVAclManager]> entry '{DAV:}write-properties' already 
exists in DAV permissions table
<0x0x7f3b9dff2378[SOGoWebDAVAclManager]> entry '{DAV:}write-content' already 
exists in DAV permissions table
<0x0x7f3b9dbcc0b8[MAPIStoreFallbackContext]> -[MAPIStoreContext 
getPath:ofFMID:inMemCtx:]: you should *never* get here
<0x0x7f3b9d47a918[MAPIStoreFallbackContext]> -[MAPIStoreContext 
getPath:ofFMID:inMemCtx:]: you should *never* get here
<0x0x7f3b9e17a5e8[MAPIStoreFallbackContext]> -[MAPIStoreContext 
getPath:ofFMID:inMemCtx:]: you should *never* get here
<0x0x7f3b9c7f64a8[MAPIStoreFallbackContext]> -[MAPIStoreContext 
getPath:ofFMID:inMemCtx:]: you should *never* get here
<0x0x7f3b9e2b8858[MAPIStoreFallbackContext]> -[MAPIStoreContext 
getPath:ofFMID:inMemCtx:]: you should *never* get here
<0x0x7f3b9eb6f398[MAPIStoreFallbackContext]> -[MAPIStoreContext 
getPath:ofFMID:inMemCtx:]: you should *never* get here
<0x0x7f3b9eb6f398[MAPIStoreFallbackContext]> found path 
'martin@fallback/0xbf9e0601/' for fmid 0xc19e0601
[2015/06/03 16:41:47.439242,  0] ../lib/util/fault.c:72(fault_report)
  ===
[2015/06/03 16:41:47.439312,  0] ../lib/util/fault.c:73(fault_report)
  INTERNAL ERROR: Signal 6 in pid 4194 (4.1.18-Debian)
  Please read the Trouble-Shooting section of the Samba HOWTO
[2015/06/03 16:41:47.439371,  0] ../lib/util/fault.c:75(fault_report)
  ===
[2015/06/03 16:41:47.439416,  0] ../lib/util/fault.c:144(smb_panic_default)
  PANIC: internal error



smime.p7s
Description: S/MIME cryptographic signature


Re: [SOGo] Openchange / RpcProxy

2015-06-03 Thread Martin Simovic

> On 03 Jun 2015, at 14:57, Ludovic Marcotte  wrote:
> 
> On 03/06/2015 08:50, Martin Simovic wrote:
>> I created fresh new user (samba-tool user add ; openchange_newuser —create) 
>> and ended up with same error again.
> Doing that won't automagically cleanup the SOGo database. Do what I said or 
> as you said, test the ZEG.

Tested the ZEG. Connecting to appliance *works* with sogo1 user. After folder 
sync is over, I sent myself (so...@example.com) an email form outook. Inbox 
fails to update, If I force “send/receive” Outlook 2010 shows sync receive 
error. Oh dear.

smime.p7s
Description: S/MIME cryptographic signature


Re: [SOGo] Openchange / RpcProxy

2015-06-03 Thread Martin Simovic

> On 03 Jun 2015, at 17:21, Ludovic Marcotte  wrote:
> 
> On 03/06/2015 11:18, Martin Simovic wrote:
>> Tested the ZEG. Connecting to appliance *works* with sogo1 user. After 
>> folder sync is over, I sent myself (so...@example.com 
>> ) an email form outook. Inbox fails to update, If 
>> I force “send/receive” Outlook 2010 shows sync receive error.
> 
> What is the exact version of Outlook you're using?

Outlook 2010 32-bit with all updates from Microsoft Update.



smime.p7s
Description: S/MIME cryptographic signature


Re: [SOGo] Openchange / RpcProxy

2015-06-03 Thread Martin Simovic

> On 03 Jun 2015, at 14:57, Ludovic Marcotte  wrote:
> 
> On 03/06/2015 08:50, Martin Simovic wrote:
>> I created fresh new user (samba-tool user add ; openchange_newuser —create) 
>> and ended up with same error again.
> Doing that won't automagically cleanup the SOGo database. Do what I said or 
> as you said, test the ZEG.

I am talking about creating an user that never existed before on my system. 
openchange_user_cleanup has not helped either.

M.

smime.p7s
Description: S/MIME cryptographic signature


  1   2   3   4   >