Re: [SOGo] Re: Windows client can't join Samba4 domain after adding dcerpc entries into smb.conf

2013-01-24 Thread Marco Coli

Il 23/01/2013 19:48, Jean Raby ha scritto:

Could you try with these lines instead (notice the + sign):

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

### Configuration required by OpenChange server ###




Wonderfu! Now I have again samba4 ad capabilites!
Thank you very much!
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Connection/Auth/Session problems

2013-01-24 Thread Maik Derstappen
Hello,

i'm running SOGo 2.0.3a-1 on Debian and the user are in a PosgreSQL
database.
This works fine, but after sometimes the user is silently logged out
from the web UI.
Also Calendarclients like Thunderbird or ical ask sometimes for login
date, although the login date are saved in the application.
I can't find anything in the sogo logfiles thats related to this problem.

has anyone such problems?

kind regards, Maik

-- 
Maik Derstappen
Leipzig/Germany
http://inqbus.de
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Connection/Auth/Session problems

2013-01-24 Thread Christian Mack
Hello Maik Derstappen


Am 2013-01-24 13:12, schrieb Maik Derstappen:
 
 i'm running SOGo 2.0.3a-1 on Debian and the user are in a PosgreSQL
 database.
 This works fine, but after sometimes the user is silently logged out
 from the web UI.
 Also Calendarclients like Thunderbird or ical ask sometimes for login
 date, although the login date are saved in the application.
 I can't find anything in the sogo logfiles thats related to this problem.
 
 has anyone such problems?
 

Have you set a valid OCSSessionsFolderURL ?
If you have not set this, then you always will be thrown out after the
time set for SOGoCacheCleanupInterval .
That's because you don't have sessions then, just caching.

What value have you set for the cronjob /usr/sbin/sogo-tool
expire-sessions and is it active?
If active the value after expire-sessions will determine your maximum
idle time for a session in minutes.


Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] object not found: SOGo = UID

2013-01-24 Thread Ronald J. Yacketta
We have been running SOGo in production mode for 2 without any configuration 
changes to SOGo, Mail or LDAP. This week have been receiving reports of user 
getting error 'object not found: SOGo = username' when accessing the calendar 
tab.

Log shows the following:

Jan 24 08:46:55 sogod [9353]: SOGoRootPage successful login for user 'UID' - 
expire = -1  grace = -1
137.143.160.6 - - [24/Jan/2013:08:46:55 GMT] POST /SOGo/connect HTTP/1.1 200 
27/43 0.076 - - 688K
2013-01-24 08:46:55.636 sogod[9310] ERROR(-[NSNull(misc) forwardInvocation:]): 
called selector objectForKey: on NSNull !
2013-01-24 08:46:55.662 sogod[9310] ERROR(-[NSNull(misc) forwardInvocation:]): 
called selector setObject:forKey: on NSNull !
2013-01-24 08:46:55.662 sogod[9310]   didn't set return value for type 'v'
137.143.160.6 - - [24/Jan/2013:08:46:55 GMT] GET /SOGo/UIDHTTP/1.1 404 36/0 
0.028 - - 1M

Searching list archives returns results indicating that the user does not 
exist, but in this case the user is one of the first to use SOGo in production 
and has been doing all of our campus training.


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


Re: [SOGo] object not found: SOGo = UID

2013-01-24 Thread Donny Brooks



On 01/24/2013 07:57 AM, Ronald J. Yacketta wrote:

We have been running SOGo in production mode for 2 without any configuration 
changes to SOGo, Mail or LDAP. This week have been receiving reports of user 
getting error 'object not found: SOGo =  username' when accessing the calendar 
tab.

Log shows the following:

Jan 24 08:46:55 sogod [9353]: SOGoRootPage successful login for user 'UID' - 
expire = -1  grace = -1
137.143.160.6 - - [24/Jan/2013:08:46:55 GMT] POST /SOGo/connect HTTP/1.1 200 
27/43 0.076 - - 688K
2013-01-24 08:46:55.636 sogod[9310] ERROR(-[NSNull(misc) forwardInvocation:]): 
called selector objectForKey: on NSNull !
2013-01-24 08:46:55.662 sogod[9310] ERROR(-[NSNull(misc) forwardInvocation:]): 
called selector setObject:forKey: on NSNull !
2013-01-24 08:46:55.662 sogod[9310]   didn't set return value for type 'v'
137.143.160.6 - - [24/Jan/2013:08:46:55 GMT] GET /SOGo/UIDHTTP/1.1 404 36/0 
0.028 - - 1M

Searching list archives returns results indicating that the user does not 
exist, but in this case the user is one of the first to use SOGo in production 
and has been doing all of our campus training.




I had a similar issue yesterday but it was on our new machine. Ludovic 
sent this in reply to my message:



That means your SOGoUserSources is wrong. Correctly set IDFieldName and 
UIDFieldName.


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


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


Re: [SOGo] object not found: SOGo = UID

2013-01-24 Thread Ronald J. Yacketta
 Donny,

Thanks for the reply!

Wish this was the case, but we have been running SOGo in production for 2+ 
weeks without any configuration changes. Everything has been fine until this 
week when SOGo usage increased due to students and faculty returning from break.

A restored of SOGo and memcached seems to have resolved the issue for the time 
being, a bit worried that this issue will creep up over the next few days of 
usage. 

-Ron
 
On Thursday, 24 January, 2013 11:06 EST, Donny Brooks 
dbro...@mdah.state.ms.us wrote: 
 
 
 
 On 01/24/2013 07:57 AM, Ronald J. Yacketta wrote:
  We have been running SOGo in production mode for 2 without any 
  configuration changes to SOGo, Mail or LDAP. This week have been receiving 
  reports of user getting error 'object not found: SOGo =  username' when 
  accessing the calendar tab.
 
  Log shows the following:
 
  Jan 24 08:46:55 sogod [9353]: SOGoRootPage successful login for user 'UID' 
  - expire = -1  grace = -1
  137.143.160.6 - - [24/Jan/2013:08:46:55 GMT] POST /SOGo/connect HTTP/1.1 
  200 27/43 0.076 - - 688K
  2013-01-24 08:46:55.636 sogod[9310] ERROR(-[NSNull(misc) 
  forwardInvocation:]): called selector objectForKey: on NSNull !
  2013-01-24 08:46:55.662 sogod[9310] ERROR(-[NSNull(misc) 
  forwardInvocation:]): called selector setObject:forKey: on NSNull !
  2013-01-24 08:46:55.662 sogod[9310]   didn't set return value for type 'v'
  137.143.160.6 - - [24/Jan/2013:08:46:55 GMT] GET /SOGo/UIDHTTP/1.1 404 
  36/0 0.028 - - 1M
 
  Searching list archives returns results indicating that the user does not 
  exist, but in this case the user is one of the first to use SOGo in 
  production and has been doing all of our campus training.
 
 
 
 I had a similar issue yesterday but it was on our new machine. Ludovic 
 sent this in reply to my message:
 
 
 That means your SOGoUserSources is wrong. Correctly set IDFieldName and 
 UIDFieldName.
 
 -- 
 Ludovic Marcotte
 +1.514.755.3630  ::www.inverse.ca
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
 (www.packetfence.org)
 
 
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
 
 

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


[SOGo] SOGo database move - unsuccessfull

2013-01-24 Thread Khapare Joshi
Hello all,

I have been running sogo for now two years in virtual server. since users
increased I wanted to move to another physical server. I am having issue
with sogo database. I dumped the sogo database with pg_dump and tried to
restore with pg_restore. At the end of the pg_restore i get following error:

ALTER TABLE
ALTER TABLE
WARNING:  no privileges could be revoked for public
REVOKE
WARNING:  no privileges could be revoked for public
REVOKE
WARNING:  no privileges were granted for public
GRANT
WARNING:  no privileges were granted for public
GRANT

Anyway, then I tried to login to interface - i do not see any calendars,
contacts etc.

then tried with sogo-tool, I still do not see the calendars, contacts etc.

I see lots of meesage in sogo.log

0x7f8d3df2a368[SOGoCache] an error occurred when caching value for key
'session:wg1iycSZeH9KHietXslAkQ==': WRITE FAILURE
Jan 24 16:59:22 sogod [9037]: 0x0x7f8d3df2a368[SOGoCache] an error
occurred when caching value for key 'test+attributes': WRITE FAILURE
Jan 24 16:59:22 sogod [9038]: |SOGo| starting method 'POST' on uri
'/SOGo/so/test/Contacts/personal/canAccessContent'
Jan 24 16:59:22 sogod [9033]: |SOGo| starting method 'POST' on uri
'/SOGo/so/test/Contacts/test.com/canAccessContent'
Jan 24 16:59:22 sogod [9038]: 0x0x7f8d3df1bad8[SOGoCache] an error
occurred when caching value for key 'session:wg1iycSZeH9KHietXslAkQ==':
WRITE FAILURE
Jan 24 16:59:22 sogod [9033]: 0x0x7f8d3df2a358[SOGoCache] an error
occurred when caching value for key 'session:wg1iycSZeH9KHietXslAkQ==':
WRITE FAILURE
Jan 24 16:59:22 sogod [9037]: 0x0x7f8d3df2a368[SOGoCache] an error
occurred when caching value for key 'test+attributes': WRITE FAILURE
Jan 24 16:59:22 sogod [9037]: 0x0x7f8d3df2a368[SOGoCache] an error
occurred when caching value for key 't...@test.com+attributes': WRITE
FAILURE


my sogo version in old server is :
2.0.2 and in new server 2.0.3

postgres version on old server is :
8.4
and in new server 9.2

Any help would be great.

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

Re: [SOGo] SOGo database move - unsuccessfull

2013-01-24 Thread Christian Mack
Hello Khapare Joshi


Am 2013-01-24 18:08, schrieb Khapare Joshi:
 
 I have been running sogo for now two years in virtual server. since
 users increased I wanted to move to another physical server. I am having
 issue with sogo database. I dumped the sogo database with pg_dump and
 tried to restore with pg_restore. At the end of the pg_restore i get
 following error:
 
 ALTER TABLE
 ALTER TABLE
 WARNING:  no privileges could be revoked for public
 REVOKE
 WARNING:  no privileges could be revoked for public
 REVOKE
 WARNING:  no privileges were granted for public
 GRANT
 WARNING:  no privileges were granted for public
 GRANT
 
 Anyway, then I tried to login to interface - i do not see any calendars,
 contacts etc.
 
 then tried with sogo-tool, I still do not see the calendars, contacts etc.
 
 I see lots of meesage in sogo.log
 
 0x7f8d3df2a368[SOGoCache] an error occurred when caching value for key
 'session:wg1iycSZeH9KHietXslAkQ==': WRITE FAILURE
 Jan 24 16:59:22 sogod [9037]: 0x0x7f8d3df2a368[SOGoCache] an error
 occurred when caching value for key 'test+attributes': WRITE FAILURE
 Jan 24 16:59:22 sogod [9038]: |SOGo| starting method 'POST' on uri
 '/SOGo/so/test/Contacts/personal/canAccessContent'
 Jan 24 16:59:22 sogod [9033]: |SOGo| starting method 'POST' on uri
 '/SOGo/so/test/Contacts/test.com/canAccessContent
 http://test.com/canAccessContent'
 Jan 24 16:59:22 sogod [9038]: 0x0x7f8d3df1bad8[SOGoCache] an error
 occurred when caching value for key 'session:wg1iycSZeH9KHietXslAkQ==':
 WRITE FAILURE
 Jan 24 16:59:22 sogod [9033]: 0x0x7f8d3df2a358[SOGoCache] an error
 occurred when caching value for key 'session:wg1iycSZeH9KHietXslAkQ==':
 WRITE FAILURE
 Jan 24 16:59:22 sogod [9037]: 0x0x7f8d3df2a368[SOGoCache] an error
 occurred when caching value for key 'test+attributes': WRITE FAILURE
 Jan 24 16:59:22 sogod [9037]: 0x0x7f8d3df2a368[SOGoCache] an error
 occurred when caching value for key 't...@test.com
 mailto:t...@test.com+attributes': WRITE FAILURE
 
 
 my sogo version in old server is :
 2.0.2 and in new server 2.0.3
 
 postgres version on old server is :
 8.4
 and in new server 9.2
 

Obviously your user public does not get the required privileges on
your tables.
So every write operation will not work.
This applies to session information also.
So you will not get any response from SOGo.

Fix this and it will work.


Kind regards,
Christian Mack


-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Multiple Carddav accounts with Thunderbird

2013-01-24 Thread Jean-Pierre Lévy

Any hints ?

Best regards
*Jean-Pierre Lévy*
 Message original 
*Sujet: *[SOGo] Multiple Carddav accounts with Thunderbird
*De : *Jean-Pierre Lévy jp.l...@laposte.net
*Pour : *users@sogo.nu
*Date : *22/01/2013 11:59

I am using SoGo connector to access Gmail contacts from Thunderbird.

I first started to use one remote adress book witht the URL

*https://google.com/m8/carddav/principals/__uids__/j.pierre.l...@gmail.om/lists/default/*

It is working fine.

Then I tried adding another gmail account (the one of my wife) 
ganging only the email adress int he URL.


In fact, I am getting a second copy of my Gmail contacts, not of the 
other account.


Is the someting I am missing or can the SoGo connector provide only 
access to a single Carddav account ?


--
Best regards
*Jean-Pierre Lévy*




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

Re: [SOGo] SQL errors on funambol sync, what am i doing wrong?

2013-01-24 Thread John Bieling

I forgot to mention, that this is a multidomain setup.

Maybe there is something wrong in the funambol connector so that 
identifying the desired user fails in a multidomain setup, returning 
null?


Any idea? Is it a real bug?

Thanks
John



Am 23.01.2013 19:28, schrieb John Bieling:

Hi,

I am failing on the last step of my sogo setup: Funambol Sync.

I followed the installation guide:
- standard sogo install with PostgreSQL 8.4
- standard Funambol 10.0.0.3 bundle setup (using 
postgresql-9.2-1002.jdbc4.jar + json_simple_1.1.jar)

- sogo-card SyncSource setup
- SOGoOfficer changed to inverse
- FunV10 android app

What I changed from the standard setup:
- only DS Server is started,
- CTP, Inbox Listener and PIM Listener are NOT started

With my andoid device and the FunV10 app I can connect (using my sogo 
username + password) and sync ok, no error on the phone.


However the new contacts do not show up in my sogo account. I get a 
few different kind of errors in the postgresql log:



2013-01-23 18:47:34 CET ERROR:  relation null_quick does not exist 
at character 20
2013-01-23 18:47:34 CET STATEMENT:  SELECT c_name FROM null_quick 
WHERE c_component = 'vcard'


2013-01-23 18:47:34 CET ERROR:  syntax error at or near null at 
character 39
2013-01-23 18:47:34 CET STATEMENT:  SELECT c_cn, c_mail, c_o, c_name 
FROM null


2013-01-23 18:47:36 CET ERROR:  syntax error at or near null at 
character 13
2013-01-23 18:47:36 CET STATEMENT:  INSERT INTO null (c_name, 
c_content, c_creationdate, c_lastmodified, c_version) VALUES 
($1,$2,$3,$4,$5)


2013-01-23 18:47:36 CET ERROR:  current transaction is aborted, 
commands ignored until end of transaction block
2013-01-23 18:47:36 CET STATEMENT:  SELECT c_name FROM null_quick 
WHERE c_name = $1


2013-01-23 18:54:47 CET ERROR:  function upper(bigint) does not exist 
at character 45
2013-01-23 18:54:47 CET HINT:  No function matches the given name and 
argument types. You might need to add explicit type casts.
2013-01-23 18:54:47 CET STATEMENT:  select count(*) from 
fnbl_last_sync where ( UPPER(principal) = upper($1))


Any Idea? Thanks for your help.

John




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


[SOGo] updates.php not working

2013-01-24 Thread Donny Brooks
Ever since the plugins were upgraded to 10.0.3 I have had problems 
getting my clients to update automatically. Before this everything was 
fine. Now that we have a new fresh install I have gotten the updates.php 
file from github and edited for my setup. The integrators extensions.rdf 
file has been updated accordingly. I see the client hitting apache logs:



10.8.3.154 - - [24/Jan/2013:13:35:46 -0600] GET 
/plugins/updates.php?plugin=sogo-integra...@inverse.caversion=0.00platform=WINNT_x86-msvc 
HTTP/1.1 304 - - Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.8) 
Gecko/20121005 Thunderbird/10.0.8 Lightning/1.2.1


However there is no prompt saying it is updating plugins and to restart. 
What could I be missing?


Donny B.

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


[SOGo] Help installing from source

2013-01-24 Thread Steven Swarts
G'day guys,

 

I'm following this tutorial: 

 

Major steps 

 

1)  http://www.openchange.org/developers/initializing.html 

2)  http://www.openchange.org/developers/downloading.html 

3)  http://www.openchange.org/developers/building.html

4)  http://www.openchange.org/developers/configuring.html

5)  http://www.openchange.org/developers/backends/sogo/index.html

 

Now I'm trying to compile and run openchange, sogo, sope as an exchange
replacement on the Debian 6 Squeeze server.

 

So far everything is working as expected.

 

However part of the SOGo tutorial assumes that I have a user openchange
which I've created (I'm guessing from the beginning) but I didn't.

 

All I have is root user access, and so far that didn't cause any issues.

 

Does this mean that I have duped my whole system? Need to re-install
everything using sudoers and a username openchange?? Does he have to be part
of root group?

 

I couldn't find any information on the tutorial about that.

 

Thanks in advance,

Steve

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

[SOGo] BTS activities for Thursday, January 24 2013

2013-01-24 Thread SOGo reporter
Title: BTS activities for Thursday, January 24 2013





  
BTS Activities

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

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
2194
	2013-01-24 03:47:23
	new (open)
	Backend Calendar
	webclient aCal/1.36 hangs sogo on RRULE
	
	  
	
2090
	2013-01-24 12:52:18
	updated (open)
	Web Calendar
	Unable to share Calendar with LDAP Group
	
	  
	
2195
	2013-01-24 16:07:50
	new (open)
	Web Calendar
	Make "Show completed tasks" checkbox persistent
	
	  
	
1416
	2013-01-24 13:03:45
	updated (open)
	with external server
	vCard BDAY not correctly imported if format is mmdd instead of -mm-dd
	
	  
	
2192
	2013-01-24 08:36:22
	feedback (reopened)
	Web General
	ZEG web login redirects to yourhostname/SOGo/so/sogo1/Mail instead of /...
	
	  
	
2066
	2013-01-24 20:24:45
	assigned (open)
	Backend General
	options passed on the CLI are overriden by those specified in the config file
	
	  
	
2176
	2013-01-24 20:23:20
	assigned (open)
	Packaging (Debian)
	samba4-clients cannot be installed
	
	  
	
1991
	2013-01-24 16:35:44
	assigned (open)
	Web Calendar
	Subscribed Google Calendar does not update in SOGo
	
	  
	
1249
	2013-01-24 15:58:56
	resolved (fixed)
	Web Calendar
	Mini month not consistant with preoference settings
	
	  
	
2188
	2013-01-24 15:58:38
	resolved (fixed)
	Web Calendar
	"Week begins on" settings does not affect date selector when choosing the date