R: [SOGo] Openchange with a member DC server

2013-05-09 Thread Daniele Borini
Hi Mark, 
i’m trying a similar solution, I’ve provisioned my AD structure with
exchange 2010 tools but I’m having a lots of troubles. Openchange_provision
it’s not needed, but you have to provision openchangedb. Now the troubled
parts, my users are under an OU, so theyr CN are something like:
CN=Daniele,OU=EFFEGIDI,DC=,DC=. Openchange dislikes this kind of
structure, it expect something like CN=daniele,CN=users,DC=xxx,DC=. This
cause that openchange_newuser –create works only with administrator. What
I’ve done is to change some parts of provision.py sources in order to
correctly consider my OU. 
By this way I didn’t hit a success, I’ve simply changed kind of error, it
seems exchange 2010 AD structure provision differs from openchange
provision. Creating new users in openchange returns errors because it can
find some entries inside ad structure. 
Unfortunately I have not virtual machine with, I can’t be more accurate with
error messages and thing I’ve done to workaround ‘em. Anyway, if you can
step over these problems, please share!
Cheers,
 

Daniele Borini 

EDP Manager 

Effegidi International SpA

Via Provinciale per Sacca, 55 - 43052 - Colorno - Italy 

tel +39 0521319316 

fax +39 0521319322 

e-mail d.bor...@effegidi.it 

www.effegidi.it 

Prima di stampare,pensa all'ambiente ** Think about the environment before
printing 
 
  _  

Da: Mark [mailto:mclar...@gmail.com] 
Inviato: mercoledì 8 maggio 2013 19:46
A: users@sogo.nu
Oggetto: [SOGo] Openchange with a member DC server
 
Hi all,
 
Was wondering if there are any special steps necessary for using openchange
with samba 4 as a member DC server. The samba server has replicated the AD
structure from the master which already has a exchange entry.
 
Running openchange_provision failed as there was already an entry for
exchange. I am not a windows administrator so not too familiar with AD
entries.
 
Should it just work if I point an outlook client at the ip address of the
sogo/samba server?
 
Will be testing it tomorrow when I get to a windows client tomorrow.
 
cheers
image001.gif

Re: Re: [SOGo] LDAP address book from active directory - show all fields - SearchFieldNames

2013-05-09 Thread theoutlander
Hi,

I also have a problem with using the mapping. Were you able to solve it?
I have tried in various ways to add this feature but I always get the error
NAME: NSInvalidArgumentException REASON: GSMutableArray (instance) does not
recognize AllKeys INFO: (null) and the address book no longer works. After
some time, the whole sogo crashes.

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


[SOGo] Outlook Calendars sharing and permissions

2013-05-09 Thread Deniss Gubanov

Hei!

How in SOGo works in Outlook calendar shares and setting user permissions?

When i'am trying set permissions on calender to user, then Outlook don't 
save it. Is this my issue, or OpenChange problem?


I readed in  SOGo Native Microsoft Outlook Configuration and found It 
might be impossible to view event details from a shared calendar. This 
issue is being worked  on.  Have you any progress with it?


--
Deniss Gubanov
Serverock Systems OÜ  |  Mustamäe tee 24
tel: +372 684 8400  |  www.serverock.ee

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

Re: [SOGo] LDAP address book from active directory - show all fields - SearchFieldNames

2013-05-09 Thread Martin Krpata

Hi,

yes i solved it. I had wrongly writen syntax.

Francis helped me:
mapping is a dictionary, not an array of strings.

mapping = {
o = company;
ou = department;
};


Mine active directory 2003 - mappings:

mapping = {
mozillaworkurl = wWWHomePage;
o = company;
ou = department;
street = streetAddress;
};

from .GNUstepDefaults:
keymapping/key
dict
keyo/key
stringcompany/string
keyou/key
stringdepartment/string
keymozillaworkurl/key
stringwWWHomePage/string
keystreet/key
stringstreetAddress/string
/dict

Do you have same syntax (key, dict, ...) in .GNUstepDefaults?

Kind Regards,
Martin Krpata

 Dne 9.5.2013 09:50, theoutlan...@o2.pl napsal(a):

Hi,

I also have a problem with using the mapping. Were you able to solve it?
I have tried in various ways to add this feature but I always get the error
NAME: NSInvalidArgumentException REASON: GSMutableArray (instance) does not
recognize AllKeys INFO: (null) and the address book no longer works. After
some time, the whole sogo crashes.

Kind Regards,
Outlander


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


[SOGo] sogo-ealarms-notify binary

2013-05-09 Thread Boguslaw Juza

Dear SOGo community,

There is a cron config in documentation at Cronjob -- EMail reminders 
section:


* * * * * /usr/sbin/sogo-ealarms-notify

But there is no any sogo-ealarms-notify binary in my system.
Linux CentOS 6.4, SOGo installed from CentOS-Vault repository
by yum install sogo.

Shoild I install any extra packages?

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


[SOGo] Events created by lighting not visible before sync.

2013-05-09 Thread Boguslaw Juza

Hi,

I have installed:
Thunderbird 17.0.4esr
lightning-1.9.1-sm+tb-windows.xpi
sogo-connector-17.0.3.xpi
sogo-integrator-17.0.3.xpi

When I create event in SOGo calendar, it doesn't appear in
lighting. It show ony when I refresh the calendar.

How to force the Lighting to show created events at sight?


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


Re: [SOGo] Openchange with a member DC server

2013-05-09 Thread Mark
Hi Daniele,

Thanks for the feedback. I also found some guides online  that confirm your
point about not needing to run openchange_provision if the master AD
server already has the exchange entries defined. I was able to run
openchange_provisions openchangedb successfully. I am waiting for
feedback from the windows admins now on their testing with outlook. Will
let you know if all goes well.

I have also established that its not necessary to have winbind working on
the member server if its just hosting openchange and SOGo. So thats another
step one can skip.

cheers

Mark


On Thu, May 9, 2013 at 8:17 AM, Daniele Borini d.bor...@effegidi.it wrote:

 ** ** **

 Hi Mark, 

 i’m trying a similar solution, I’ve provisioned my AD structure with
 exchange 2010 tools but I’m having a lots of troubles.
 Openchange_provision it’s not needed, but you have to provision
 openchangedb. Now the troubled parts, my users are under an OU, so theyrCN 
 are something like: CN=
 Daniele,OU=EFFEGIDI**,**DC=,DC=. Openchange dislikes this
 kind of structure, it expect something like CN=daniele,CN=users,DC=xxx,DC=
 . This cause that openchange_newuser –create works only with
 administrator. What I’ve done is to change some parts of provision.pysources 
 in order to correctly consider my OU.
 

 By this way I didn’t hit a success, I’ve simply changed kind of error, it
 seems exchange 2010 AD structure provision differs from openchangeprovision. 
 Creating new users in
 openchange returns errors because it can find some entries inside ad
 structure. 

 Unfortunately I have not virtual machine with, I can’t be more accurate
 with error messages and thing I’ve done to workaround ‘em. Anyway, if you
 can step over these problems, please share!

 Cheers,

 ** **

 *Daniele Borini* 

 *EDP Manager* 

 [image: Effegidi International SpA]

 *Via Provinciale per Sacca, 55 - 43052 - Colorno - Italy* 

 tel +39 0521319316 

 fax +39 0521319322 

 e-mail d.bor...@effegidi.it 

 www.effegidi.it 

 Prima di stampare,pensa all'ambiente ** Think about the environment before
 printing 

 ** **
  --

 *Da:* Mark [mailto:mclar...@gmail.com]
 *Inviato:* mercoledì 8 maggio 2013 19:46
 *A:* users@sogo.nu
 *Oggetto:* [SOGo] Openchange with a member DC server

 ** **

 Hi all,

 ** **

 Was wondering if there are any special steps necessary for using
 openchange with samba 4 as a member DC server. The samba server has
 replicated the AD structure from the master which already has a exchange
 entry.

 ** **

 Running openchange_provision failed as there was already an entry for
 exchange. I am not a windows administrator so not too familiar with AD
 entries.

 ** **

 Should it just work if I point an outlook client at the ip address of the
 sogo/samba server?

 ** **

 Will be testing it tomorrow when I get to a windows client tomorrow.

 ** **

 cheers

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

Re: [SOGo] Openchange with a member DC server

2013-05-09 Thread Fabio Onorini
Hi Mark,
have you run exchange setup with prepareschema option on active directory
system?
Without this operation openchange provision doesn't work.


2013/5/8 Mark mclar...@gmail.com

 Hi all,

 Was wondering if there are any special steps necessary for using
 openchange with samba 4 as a member DC server. The samba server has
 replicated the AD structure from the master which already has a exchange
 entry.

 Running openchange_provision failed as there was already an entry for
 exchange. I am not a windows administrator so not too familiar with AD
 entries.

 Should it just work if I point an outlook client at the ip address of the
 sogo/samba server?

 Will be testing it tomorrow when I get to a windows client tomorrow.

 cheers




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

Re: Re: [SOGo] LDAP address book from active directory - show all fields - SearchFieldNames

2013-05-09 Thread theoutlander
Hi,

Now it works! Thank you very much!

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


Re: [SOGo] FreeBSD port - LDAP authentication

2013-05-09 Thread Jean Raby




I can bind anonymously with the pam_ldap service and with the sogo user from
the command line to the remote ldap service.  However, when trying to login
from the SOGO Web GUI, I get the 'Wrong User Name or Password error.

The sogo log file has:

May 08 16:59:48 sogod [6910]: 0x0x809dd61f8[NGLdapConnection] Using
ldap_initialize for LDAP URL: ldap://LDAP IP:389
May 08 16:59:48 sogod [6910]: 0x0x809ed8b88[LDAPSource] NSException:
0x809dd10d8 NAME:LDAPException REASON:operation bind failed: Invalid
credentials (0x31) INFO:{login = cn=sogo,ou=people,dc=example,dc=com; }
May 08 16:59:48 sogod [6910]: SOGoRootPage Login from 'desktop IP' for user
'sogo' might not have worked - password policy: 65535  grace: -1  expire: -1
bound: 0
May 08 16:59:48 sogod [6910]: |SOGo| request took 0.018914 seconds to execute
DESKTOP IP - - [08/May/2013:16:59:48 GMT] POST /SOGo/connect HTTP/1.1 403
34/56 0.021 - - -

Can you post the logs of these connections from the openldap side?

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


Re: [SOGo] FreeBSD port - LDAP authentication

2013-05-09 Thread Paul Pathiakis
Moving on through the LDAP authentication fun.

I'm checking the sogo log file as things are just bombing out on the Web GUI 
after I authenticate.

May 08 18:46:56 sogod [10652]: 0x0x809e18e28[SOGoCache] an error occurred 
when caching value for key 'sogo+attributes': SERVER HAS FAILED AND IS 
DISABLED UNTIL TIMED RETRY
May 08 18:46:56 sogod [10652]: 0x0x809e9a248[NGLdapConnection] Using 
ldap_initialize for LDAP URL: ldap://LDAP IP:389
2013-05-08 18:46:56.070 sogod[10652] -[NGLdapConnection 
_searchAtBaseDN:qualifier:attributes:scope:]: search with at base C0A4N^C^H 
filter C0A4N^C^H for attrs C0OM^C^H
May 08 18:46:56 sogod [10652]: 0x0x809e18e28[SOGoCache] an error occurred 
when caching value for key 'sogo+attributes': SERVER HAS FAILED AND IS 
DISABLED UNTIL TIMED RETRY
May 08 18:46:56 sogod [10652]: 0x0x809e18e28[SOGoCache] an error occurred 
when caching value for key 'sogo@domina+attributes': SERVER HAS FAILED AND 
IS DISABLED UNTIL TIMED RETRY
2013-05-08 18:46:56.083 sogod[10652] PG0x0x809d27b08 SQL: BEGIN TRANSACTION

A quick web search and this is the evil memcached is not communicating error 
that is out there.

A quick ps shows that no memcached is running.  


A quick listing of the installed packages  ls -sald /var/db/pkg/mem*

Only returns libmemcached-1.0.7_1.  (the library function calls to 
memcached)  No memcached installed  (Mr. Bill:  Oh No!!!  Calling Jim 
Riggs... Jim, there's a dependency missing from the port or something is 
causing it to not be installed...)

Install it:


cd /usr/ports/databases/memcached RET
make install RET

vi /etc/rc.conf RET

add the entry:  memcached_enable=YES
save and exit.

Start memcached

/usr/local/etc/rc.d/memcached start RET

(Yay!  It runs)

Attempt another login from the Web GUI and check the logs.


May 09 09:41:58 sogod [58117]: 0x0x809e52a68[NGLdapConnection] Using 
ldap_initialize for LDAP URL: ldap://LDAP IP:389
May 09 09:41:58 sogod [58117]: SOGoRootPage successful login from 'DEKSTOP 
IP' for user 'sogo' - expire = -1  grace = -1
2013-05-09 09:41:58.685 sogod[58117] PG0x0x8087fd7c8 SQL: BEGIN TRANSACTION
2013-05-09 09:41:58.685 sogod[58117] PG0x0x8087fd7c8 SQL: SELECT 
t1.c_creationdate, t1.c_id, t1.c_lastseen, t1.c_value FROM  
sogo_sessions_folder t1 WHERE t1.c_id='jRbriIikLbZ7Z0CgXdjZTw=='
2013-05-09 09:41:58.685 sogod[58117] PG0x0x8087fd7c8 SQL: ROLLBACK TRANSACTION
2013-05-09 09:41:58.685 sogod[58117] PG0x0x809d27b08 SQL: BEGIN TRANSACTION
2013-05-09 09:41:58.686 sogod[58117] PG0x0x809d27b08 SQL: INSERT INTO 
sogo_sessions_folder (c_value, c_lastseen, c_creationdate, c_id) VALUES 
('3reKxCiH7CtKMrbbYlPo9N95pO/AGushJWFq5LUm9lAdtV0NxF8NFxu3pQQSeedOdzucN6VgK+4h/nbSjaYHdJeT6f0kWE6wjLT0T+QfhR2ay1J/CUcEicw9oZo1u1JPTHzM5NDOqaFs9GtRF8awA5kp7qKKIEisbGphMvHz2xTdHVvLAAHURfSe7OddXwJjysIqT82WswZL5oIWt+U+WA==',
 1368106918, 1368106918, 'jRbriIikLbZ7Z0CgXdjZTw==')
2013-05-09 09:41:58.686 sogod[58117] PG0x0x809d27b08 SQL: COMMIT TRANSACTION
May 09 09:41:58 sogod [58117]: 0x0x809e9ad38[NGLdapConnection] Using 
ldap_initialize for LDAP URL: ldap://LDAP IP:389
2013-05-09 09:41:58.700 sogod[58117] -[NGLdapConnection 
_searchAtBaseDN:qualifier:attributes:scope:]: search with at base A093N^C^H 
filter C0A4N^C^H for attrs C0OM^C^H
2013-05-09 09:41:58.708 sogod[58117] -[NGLdapConnection 
_searchAtBaseDN:qualifier:attributes:scope:]: search with at base  filter 
C0A4N^C^H for attrs C0OM^C^H
2013-05-09 09:41:58.718 sogod[58117] -[NGLdapConnection 
_searchAtBaseDN:qualifier:attributes:scope:]: search with at base C0A4N^C^H 
filter C0A4N^C^H for attrs C0OM^C^H
2013-05-09 09:41:58.724 sogod[58117] PG0x0x8087fd7c8 SQL: SELECT c_defaults 
FROM sogo_user_profile WHERE c_uid = 'sogo'
2013-05-09 09:41:58.725 sogod[58117] PG0x0x809d27b08 SQL: BEGIN TRANSACTION
2013-05-09 09:41:58.725 sogod[58117] PG0x0x809d27b08 SQL: UPDATE 
sogo_user_profile SET c_defaults = '{SOGoLanguage: English}'   WHERE 
c_uid = 'sogo'
2013-05-09 09:41:58.725 sogod[58117] PG0x0x809d27b08 SQL: COMMIT TRANSACTION
May 09 09:41:58 sogod [58117]: [WARN] 0x0x809e51c88[SOGoWebDAVAclManager] 
entry '{DAV:}write' already exists in DAV permissions table
May 09 09:41:58 sogod [58117]: [WARN] 0x0x809e51c88[SOGoWebDAVAclManager] 
entry '{DAV:}write-properties' already exists in DAV permissions table
May 09 09:41:58 sogod [58117]: [WARN] 0x0x809e51c88[SOGoWebDAVAclManager] 
entry '{DAV:}write-content' already exists in DAV permissions table
2013-05-09 09:41:58.734 sogod[58117] PG0x0x8087fd7c8 SQL: SELECT c_settings 
FROM sogo_user_profile WHERE c_uid = 'sogo'
May 09 09:41:58 sogod [58117]: |SOGo| request took 0.114106 seconds to execute
172.24.0.4 - - [09/May/2013:09:41:58 GMT] POST /SOGo/connect HTTP/1.1 200 
27/56 0.117 - - -
May 09 09:41:58 sogod [58117]: |SOGo| starting method 'GET' on uri '/SOGo/sogo'
May 09 09:41:58 sogod [58117]: |SOGo| request took 0.000915 seconds to execute
172.24.0.4 - - [09/May/2013:09:41:58 GMT] GET /SOGo/sogo HTTP/1.1 302 0/0 
0.001 - 

Re: [SOGo] Openchange with a member DC server

2013-05-09 Thread Mark
I will find out. I am not a windows admin. Just been asked to assist a
customer migrate to openchange and SOGo. My windows admin knowledge include
0 exchange experience. :( I will enquire and revert



On Thu, May 9, 2013 at 11:06 AM, Fabio Onorini onofa...@gmail.com wrote:

 Hi Mark,
 have you run exchange setup with prepareschema option on active directory
 system?
 Without this operation openchange provision doesn't work.


 2013/5/8 Mark mclar...@gmail.com

 Hi all,

 Was wondering if there are any special steps necessary for using
 openchange with samba 4 as a member DC server. The samba server has
 replicated the AD structure from the master which already has a exchange
 entry.

 Running openchange_provision failed as there was already an entry for
 exchange. I am not a windows administrator so not too familiar with AD
 entries.

 Should it just work if I point an outlook client at the ip address of the
 sogo/samba server?

 Will be testing it tomorrow when I get to a windows client tomorrow.

 cheers




 --
 ---
 Fabio Onorini

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

Re: [SOGo] Openchange with a member DC server

2013-05-09 Thread daniele Borini

hi,
i've prepared AD scheda with exchange setup but adding users with 
openchange_newuser --create daniele i get this error:

 Unable to find GUID for DN CN=Mailbox Store (MAILSERVER),CN=First Storage 
Group,CN=InformationStore,CN=MAILSERVER,CN=Servers,CN=First Administrative 
Group,CN=Administrative Groups,CN=effegidi,CN=Microsoft 
Exchange,CN=Services,CN=Configuration,DC=,DC=

surfing inside AD tree i found that CN=Mailbox Store (MAILSERVER),CN=First 
Storage Group,CN=InformationStore,CN=MAILSERVER completely lacks. I suppose 
openchange_provision will create those values which are related to exchange 
server. Perhaps adding these values by hand i can step to the next problem... 
who knows...





original message-
Da: Mark mclar...@gmail.com
A: users@sogo.nu
Data: Thu, 9 May 2013 18:55:40 +0200
--


I will find out. I am not a windows admin. Just been asked to assist a 
customer migrate to
openchange and SOGo. My windows admin knowledge include 0 exchange experience. 
:( I will enquire
and revert



On Thu, May 9, 2013 at 11:06 AM, Fabio Onorini onofa...@gmail.com wrote:

Hi Mark,
have you run exchange setup with prepareschema option on active directory 
system?
Without this operation openchange provision doesn't work.




2013/5/8 Mark mclar...@gmail.com

Hi all,

Was wondering if there are any special steps necessary for using openchange 
with samba
4 as a member DC server. The samba server has replicated the AD structure from 
the master
which already has a exchange entry.

Running openchange_provision failed as there was already an entry for 
exchange. I am
not a windows administrator so not too familiar with AD entries.

Should it just work if I point an outlook client at the ip address of the 
sogo/samba
server?

Will be testing it tomorrow when I get to a windows client tomorrow.

cheers


 --
---
Fabio Onorini




--


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

[SOGo] BTS activities for Thursday, May 09 2013

2013-05-09 Thread SOGo reporter
Title: BTS activities for Thursday, May 09 2013





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Thursday, May 09 2013

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
2303
	2013-05-09 10:42:36
	updated (open)
	OpenChange backend
	samba 4 panic au loggin de outlook
	
	  
	
2311
	2013-05-09 12:14:03
	new (open)
	with external server
	Sogo doesn't handle a 403 response after a REPORT request