[SOGo] SOGo 2.0 eats up to 100% mem and cpu

2013-08-08 Thread Daniel Müller
Dear All,



concerning: Version 2.0.0 (root@shiva 201209280016).

I have a small installation of SOGo 2.0 running with about 5 users tu share there calendars with Outlook and Funambol.

All the time it was running top but suddenly sogod eats up my cpu and memory until I do a restart.

My Sogo-Config: /home/sogo/G*/D*/.GNUstepDefaults:




?xml version=1.0 encoding=UTF-8?
!DOCTYPE plist PUBLIC -//GNUstep//DTD plist 0.9//EN http://www.gnustep.org/plist-0_9.xml
plist version=0.9
dict
 keyNSGlobalDomain/key
 dict
 /dict
 keysogod/key
 dict
 keyOCSFolderInfoURL/key
 stringpostgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info/string
 keyOCSSessionsFolderURL/key
 stringpostgresql://sogo:sogo@localhost:5432/sogo/sogo_sessions_folder/string
 keySOGoACLsSendEMailNotification/key
 stringYES/string
 keySOGoAppointmentSendEMailNotification/key
 stringYES/string
 keySOGoAuthenticationMethod/key
 stringLDAP/string
 keySOGoBusyOffHours/key
 stringYES/string
 keySOGoDraftsFolderName/key
 stringINBOX.Drafts/string
 keySOGoEnablePublicAccess/key
 stringYES/string
 keySOGoCalendarDefaultRoles/key
array
stringPublicDAndTViewer/string
stringConfidentialDAndTViewer/string
stringPrivateDAndTViewer/string
/array

 keySOGoFirtsDayOfWeek/key
 string1/string
 keySOGoFoldersSendEMailNotification/key
 stringYES/string
 keySOGoGoMailMessageCheck/key
 stringevery_5_minutes/string
 keySOGoIMAPServer/key
 string192.168.135.250:143/string
 keySOGoLanguage/key
 stringGerman/string
 keySOGoMailAuxiliaryUserAccountsEnabled/key
 stringYES/string
 keySOGoMailDomain/key
 stringcomm2.local/string
 keySOGoMailUseOutlookStyleReplies/key
 stringYES/string
 keySOGoMailingMechanism/key
 stringsmtp/string
 keySOGoNotifyOnExternalModifications/key
 stringYES/string
 keySOGoNotifyOnPersonalModifications/key
 stringYES/string
 keySOGoPageTitle/key
 stringTopenklinik Webmailer-Interface/string

keySOGoPasswordChangeEnabled/key
 stringYES/string
 keySOGoProfileURL/key
 stringpostgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile/string
 keySOGoSMTPServer/key
 string192.168.135.250/string
 keySOGoSentFolderName/key
 stringINBOX.Sent/string
 keySOGoSharedFolderName/key
 stringshared/string
 keySOGoSpecialFoldersInRoot/key
 stringYES/string
 keySOGoSuperUsernames/key
 array
 stringmueller/string
 stringmarstaller/string
 /array
 keySOGoTimeZone/key
 stringEurope/Berlin/string
 keySOGoTrashFolderName/key
 stringINBOX.Trash/string
 keySOGoUserSources/key
 array
 dict
 keyCNFieldName/key
 stringcn/string
 keyIDFieldName/key
 stringuid/string
 keyUIDFieldName/key
 stringuid/string
 keybaseDN/key
 stringou=users,dc=tuepdc,dc=local/string
 keybindDN/key
 stringuid=sogo,ou=users,dc=tuepdc,dc=local/string
 keybindPassword/key
 stringqwerty/string
 keycanAuthenticate/key
 stringYES/string
 keydisplayName/key
 stringBenutzer Adressen/string
 keyhostname/key
 string192.168.135.236/string
 keyid/key
 stringpublic/string
 keyisAddressBook/key
 stringYES/string
 keyport/key
 string389/string
 keyuserPasswordAlgorithm/key
 stringmd5/string
 /dict
 dict
 keyCNFieldName/key
 stringcn/string
 keyIDFieldName/key
 stringcn/string
 keyUIDFieldName/key
 stringcn/string

keyUIDFieldName/key
 stringcn/string
 keybaseDN/key
 stringou=groups,dc=tuepdc,dc=local/string
 keybindDN/key
 stringuid=sogo,ou=users,dc=tuepdc,dc=local/string
 keybindPassword/key
 stringqwerty/string
 keycanAuthenticate/key
 stringYES/string
 keydisplayName/key
 stringGruppen Adressen/string
 keyhostname/key
 string192.168.135.236/string
 keyid/key
 stringpublic_groups/string
 keyisAddressBook/key
 stringYES/string
 keyport/key
 string389/string
 /dict
 /array
 keySxVMemLimit/key
 string1024/string
 keyWOWorkersCount/key
 string2/string
 /dict
/dict
/plist

/etc/sysconfig/sogo:

PREFORK=2




[root@tplk-openchange bin]# ps ax  grep sogod
18223 ? S 13:35 /usr/sbin/sogod -WOWorkersCount 2 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
20411 ? Ss 0:11 /usr/sbin/sogod -WOWorkersCount 2 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
20618 ? Ss 0:00 /usr/sbin/sogod -WOWorkersCount 2 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
20695 pts/0 S+ 0:00 grep sogod



In my sogo.log there are infos like this..hnaging for 1 until ... minutes

Aug 08 10:16:48 sogod [18223]: [WARN] 0x0x14c3c28[WOWatchDogChild] pid 20618 has been hanging in the same request for 1 minutes

top shows:

20618 sogo 20 0 9169m 6.9g 2804 R 66.0 92.4 2:10.48 sogod
 38 root 20 0 0 0 0 D 25.4 0.0 16:19.27 kswapd0


And users can not login the web gui anymore:

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /SOGo.
How can I fix this issue?



Greetings

Daniel















Re: [SOGo] SOGo 2.0 eats up to 100% mem and cpu

2013-08-08 Thread MJ Ray
On 08/08/13 09:24, Daniel Müller wrote:
   Dear All,
 concerning: Version 2.0.0 (root@shiva 201209280016).
 I have a small installation of SOGo 2.0 running with about 5 users tu share 
 there calendars with Outlook and Funambol.
 All the time it was running top but suddenly sogod eats up my cpu and memory 
 until I do a restart.

I saw this happen on 2.0.5 and 2.0.6 when someone got their LDAP
password wrong.  It seems to have stopped after upgrading to 2.0.7

I filed it onto http://sogo.nu/bugs/view.php?id=2367

Also, please don't reply to unrelated messages because it messes up the
threading/categorisation of your message, which means it won't be read
by as many people.  Use the Compose button for new subjects.

Thanks,
-- 
MJ Ray (slef), member of www.software.coop, a for-more-than-profit co-op
http://koha-community.org supporter, web and library systems developer.
In My Opinion Only: see http://mjr.towers.org.uk/email.html
Available for hire (including development) at http://www.software.coop/
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo 2.0 eats up to 100% mem and cpu

2013-08-08 Thread Jean Raby

On 13-08-08 4:24 AM, Daniel Müller wrote:

concerning: Version 2.0.0 (root@shiva 201209280016).

Please try to reproduce that problem with 2.0.7.

Also, to debug this kind of issues, it would be really helpful to enable 
SOGoDebugRequests and post your logfile.  The next step would be to isolate the 
query that makes sogo go crazy by analyzing the logs. Then, take a pcap of the 
traffic on port 2 and look for the query.


With that we should be able to replay the query and find the issue quickly.

Like MJ said, don't reply to a thread to start a new one,  simply send a new 
mail to users@.

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


Re: [SOGo] SOGo 2.0 Microsoft authentication with Samba

2012-10-31 Thread Christian Mack
Hello Emmanuel Dreyfus


On 2012-10-31 03:14, Emmanuel Dreyfus wrote:
 Devinder Singh devinder.si...@qlc.in wrote:
 
 1. Is Authentication via SAMBA necessary for Outlook Compatibility ?
 
 This question has not been answered, but I have the same: I have an
 OpenLDAP server, where users have sambaNTPassword attribute. Is it
 required to use the Samba built-in LDAP server?
 

Outlook doesn't authenticate via LDAP. It uses MAPI with Kerberos
tickets. sambaNTPassword attributes in LDAP are therefore not
sufficient. You need SAMBA to do this.

But if you use SAMBA and its build-in LDAP connectivity for SOGo
webfrontend and XxxxDAV is up to you.


Kind regards,
Christian Mack

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


Re: [SOGo] SOGo 2.0 Microsoft authentication with Samba

2012-10-30 Thread Emmanuel Dreyfus
Devinder Singh devinder.si...@qlc.in wrote:

 1. Is Authentication via SAMBA necessary for Outlook Compatibility ?

This question has not been answered, but I have the same: I have an
OpenLDAP server, where users have sambaNTPassword attribute. Is it
required to use the Samba built-in LDAP server?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo 2.0 ZEG strange timezone behavior

2012-10-29 Thread systeembeh...@z-netwerken.nl
Same problem here. Even after updating to Sogo 2.0.2. the problem still 
occurs.
When creating an event in Outlook 2010 with normal time settings the 
webinterface in SOGo is the same as in Outlook. When creating an all-day 
event in Outlook, in SOGo webinterface it will display one day before 
the day i created it in Outlook.

When creating an all-day event in Sogo it will sync to Outlook correct.

Kernel TimeZone is the same as the SOGo config.

Regards,

Merijn

Op 22-10-12 10:08, Julien Escario schreef:

Le 20/10/2012 22:56, Wolfgang Sourdeau a écrit :

Le 12-10-09 09:13, Michal Kminek a écrit :

I had problems with all-day events created by MS Outlook using the MS
Exchange connection on my SOGo server. Therefore I decided to test 
it on

the latest ZEG edition but the problem persist.

I setup SOGo, system and Windows to use the same timezone in ZEG. I
found a strange behavior - if the timezone is GMT or any other GMT +h
zone then all all-day events created with MS Outlook (2007, 2010) go 
one

day back in the web interface. For example if I create an all-day event
to happen on 25th Oct in Outlook it is displayed as an all-day event on
24th Oct in SOGo.

If I setup the time zone as any GMT -h zone everything works fine.

Regards,
Michal Kminek





Can you retest with the next nightlies. The timezone files have been
regenerated, so it shoult not fix the problem with existing events 
but it should

for new ones...

The fix will be part of 2.0.2, which is due monday or tuesday...


That seems to be the same bug I reported Wednesday. My bug occurs from 
the web UI : did you tried also ?
Also the bug I encounter appears for a few hours/days a disappear 
without any config change.


So this could be related to timezones ?

Regards,
Julien Escario


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


Re: [SOGo] SOGo 2.0 ZEG strange timezone behavior

2012-10-22 Thread Julien Escario

Le 20/10/2012 22:56, Wolfgang Sourdeau a écrit :

Le 12-10-09 09:13, Michal Kminek a écrit :

I had problems with all-day events created by MS Outlook using the MS
Exchange connection on my SOGo server. Therefore I decided to test it on
the latest ZEG edition but the problem persist.

I setup SOGo, system and Windows to use the same timezone in ZEG. I
found a strange behavior - if the timezone is GMT or any other GMT +h
zone then all all-day events created with MS Outlook (2007, 2010) go one
day back in the web interface. For example if I create an all-day event
to happen on 25th Oct in Outlook it is displayed as an all-day event on
24th Oct in SOGo.

If I setup the time zone as any GMT -h zone everything works fine.

Regards,
Michal Kminek





Can you retest with the next nightlies. The timezone files have been
regenerated, so it shoult not fix the problem with existing events but it should
for new ones...

The fix will be part of 2.0.2, which is due monday or tuesday...


That seems to be the same bug I reported Wednesday. My bug occurs from the web 
UI : did you tried also ?
Also the bug I encounter appears for a few hours/days a disappear without any 
config change.


So this could be related to timezones ?

Regards,
Julien Escario
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo 2.0 ZEG strange timezone behavior

2012-10-20 Thread Wolfgang Sourdeau

Le 12-10-09 09:13, Michal Kminek a écrit :

I had problems with all-day events created by MS Outlook using the MS
Exchange connection on my SOGo server. Therefore I decided to test it on
the latest ZEG edition but the problem persist.

I setup SOGo, system and Windows to use the same timezone in ZEG. I
found a strange behavior - if the timezone is GMT or any other GMT +h
zone then all all-day events created with MS Outlook (2007, 2010) go one
day back in the web interface. For example if I create an all-day event
to happen on 25th Oct in Outlook it is displayed as an all-day event on
24th Oct in SOGo.

If I setup the time zone as any GMT -h zone everything works fine.

Regards,
Michal Kminek





Can you retest with the next nightlies. The timezone files have been 
regenerated, so it shoult not fix the problem with existing events but 
it should for new ones...


The fix will be part of 2.0.2, which is due monday or tuesday...


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


Re: [SOGo] SOGo 2.0 ZEG strange timezone behavior

2012-10-18 Thread Michal Kminek

Hi,

do you have correctly set your time zone in ZEG system and in SOGo?

You can adjust the ZEG system time zone by running the following command 
(it's interractive):

sudo dpkg-reconfigure tzdata

the default password is sogo

Modify the SOGo time zone too:

sudo service sogo stop
defaults write sogod SOGoTimeZone Europe/Prague
sudo service sogo start

Use your time zone name you have set in previous step.

Just to share the experience, what Windows do you use and what MS 
Outlook version?


Regards,
Michal

Dne 17.10.2012 12:56, Burkart Orlowski | Onlinehelp24 napsal(a):
Almost the same for me. An all-day event is shown over 2 days in the 
web interface but is correctly displayed in Thunderbird.
If I create an all-day event for the 16th Oct it is shown on the 16th 
and on the 17th Oct in the web interface.


Any help is appreciated,

Burkart Orlowski



On 10/09/2012 03:13 PM, Michal Kminek wrote:
I had problems with all-day events created by MS Outlook using the MS 
Exchange connection on my SOGo server. Therefore I decided to test it 
on the latest ZEG edition but the problem persist.


I setup SOGo, system and Windows to use the same timezone in ZEG. I 
found a strange behavior - if the timezone is GMT or any other GMT +h 
zone then all all-day events created with MS Outlook (2007, 2010) go 
one day back in the web interface. For example if I create an all-day 
event to happen on 25th Oct in Outlook it is displayed as an all-day 
event on 24th Oct in SOGo.


If I setup the time zone as any GMT -h zone everything works fine.

Regards,
Michal Kminek





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

Re: [SOGo] SOGo 2.0 ZEG strange timezone behavior

2012-10-17 Thread Burkart Orlowski | Onlinehelp24
Almost the same for me. An all-day event is shown over 2 days in the web 
interface but is correctly displayed in Thunderbird.
If I create an all-day event for the 16th Oct it is shown on the 16th 
and on the 17th Oct in the web interface.


Any help is appreciated,

Burkart Orlowski



On 10/09/2012 03:13 PM, Michal Kminek wrote:
I had problems with all-day events created by MS Outlook using the MS 
Exchange connection on my SOGo server. Therefore I decided to test it 
on the latest ZEG edition but the problem persist.


I setup SOGo, system and Windows to use the same timezone in ZEG. I 
found a strange behavior - if the timezone is GMT or any other GMT +h 
zone then all all-day events created with MS Outlook (2007, 2010) go 
one day back in the web interface. For example if I create an all-day 
event to happen on 25th Oct in Outlook it is displayed as an all-day 
event on 24th Oct in SOGo.


If I setup the time zone as any GMT -h zone everything works fine.

Regards,
Michal Kminek




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

[SOGo] SOGo 2.0 ZEG strange timezone behavior

2012-10-09 Thread Michal Kminek
I had problems with all-day events created by MS Outlook using the MS 
Exchange connection on my SOGo server. Therefore I decided to test it on 
the latest ZEG edition but the problem persist.


I setup SOGo, system and Windows to use the same timezone in ZEG. I 
found a strange behavior - if the timezone is GMT or any other GMT +h 
zone then all all-day events created with MS Outlook (2007, 2010) go one 
day back in the web interface. For example if I create an all-day event 
to happen on 25th Oct in Outlook it is displayed as an all-day event on 
24th Oct in SOGo.


If I setup the time zone as any GMT -h zone everything works fine.

Regards,
Michal Kminek



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

[SOGo] SOGo 2.0 Microsoft authentication with Samba

2012-10-02 Thread Devinder Singh

Hello,

On my setup, before Outlook Native Compatibility Setup, Authentication 
was done by Mysql.


For the Outlook Setup,   I added the SOGoUsers Settings for Samba as per 
doc.  After this authentication do not work.

I have configured same username and password in Samba as in Mysql.
However, After I reverted the .GNUstepDefaults  to original settings, 
authentication not working.


Sogo log mentions below

/SOGoRootPage Login for user 'devinder' might not have worked - password 
policy: 65535  grace: -1  expire: -1  bound: 0//
//localhost.localdomain - - [02/Oct/2012:11:52:12 GMT] POST 
/SOGo/connect HTTP/1.1 403 34/66 0.002 - - 0/



Queries :
1. Is Authentication via SAMBA necessary for Outlook Compatibility ?
2. Is LDAP also necessary for Outlook along with Samba as per the 
statement in help document.  Samba 4's directory can be queried over 
LDAP just like Microsoft Active Directory.



--
Thanks  Regards,
Devinder Singh Birdi

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

[SOGo] Sogo 2.0 and strange email window

2012-10-01 Thread Thomas Dilts

  
  
I just installed Sogo 2.0 and the email window tries to put the
"Subject" column into the "Attachement" column with the following
strange result.




Any suggestions on how to fix this one??

/Thomas Dilts
Sweden
  



Re: [SOGo] Sogo 2.0 and strange email window

2012-10-01 Thread Sven Schwedas
Did you install SOGo fresh, or did you update? If update, did you clean 
your browser cache?

On Mo 01 Okt 2012 12:43:13 CEST, Thomas Dilts wrote:
 I just installed Sogo 2.0 and the email window tries to put the
 Subject column into the Attachement column with the following
 strange result.




 Any suggestions on how to fix this one??

 /Thomas Dilts
 Sweden

-- 
Mit freundlichen Grüßen,
Sven SCHWEDAS
Systemadministrator
TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz
sven.schwe...@tao.at | +43 (0)664 820 4978
skype: sven.schwedas | xmpp: sven.schwe...@tao.at | www.tao.at




signature.asc
Description: OpenPGP digital signature


Re: [SOGo] Sogo 2.0 and strange email window

2012-10-01 Thread Thomas Dilts
I did an update, my server is Ubuntu 12.04, and after your question, I 
cleared the browser cache, but still the problem..



Sven Schwedas skrev 2012-10-01 12:45:

Did you install SOGo fresh, or did you update? If update, did you clean
your browser cache?

On Mo 01 Okt 2012 12:43:13 CEST, Thomas Dilts wrote:

I just installed Sogo 2.0 and the email window tries to put the
Subject column into the Attachement column with the following
strange result.




Any suggestions on how to fix this one??

/Thomas Dilts
Sweden


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


Re: [SOGo] Sogo 2.0 and strange email window

2012-10-01 Thread Thomas Dilts
A little update on this I now tried my chrome browser, and it 
displayed the email window correctly.  So now I know this is browser 
related.  Then I turned my Windows Explorer to Explorer 9 mode (I have 
explorer 10). Still bad.  Then I tried explorer 8 mode and it 
displayed correctly.  To summarize


1.  Windows Explorer 10... Bad
2. Windows Explorer 9... Bad
3. Windows Explorer 8  GOOD
4. Google Chrome 22.0   Good

Should I report this as a bug??

/Thomas


Thomas Dilts skrev 2012-10-01 12:49:
I did an update, my server is Ubuntu 12.04, and after your question, I 
cleared the browser cache, but still the problem..



Sven Schwedas skrev 2012-10-01 12:45:

Did you install SOGo fresh, or did you update? If update, did you clean
your browser cache?

On Mo 01 Okt 2012 12:43:13 CEST, Thomas Dilts wrote:

I just installed Sogo 2.0 and the email window tries to put the
Subject column into the Attachement column with the following
strange result.




Any suggestions on how to fix this one??

/Thomas Dilts
Sweden




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


Re: [SOGo] Sogo 2.0 and strange email window

2012-10-01 Thread Francis Lachapelle
Hi Thomas

On 2012-10-01, at 6:56 AM, Thomas Dilts wrote:

 A little update on this I now tried my chrome browser, and it displayed 
 the email window correctly.  So now I know this is browser related.  Then I 
 turned my Windows Explorer to Explorer 9 mode (I have explorer 10). Still 
 bad.  Then I tried explorer 8 mode and it displayed correctly.  To 
 summarize
 
 1.  Windows Explorer 10... Bad
 2. Windows Explorer 9... Bad
 3. Windows Explorer 8  GOOD
 4. Google Chrome 22.0   Good
 
 Should I report this as a bug??


I just pushed a commit for this :

https://github.com/inverse-inc/sogo/commit/403822968867faf332c337688fdb89cc876151cf

Thanks!

Francis

--
flachape...@inverse.ca :: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

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

[SOGo] SOGo 2.0

2012-09-27 Thread Piet Hein
I have just updated SOGo to 2.0. I must say version 2.0 looks fine, the little 
makeover SOGo has a little more modern appearance now. Everything appears to 
work smoothly (I will test if anything changed on my 'running out of PostgreSQL 
connections'-issue, but considering the changelog I would not expect that).

I have not tried out native Outlook compatibility, the big new feature, as I do 
not use any Outlook clients. I would expect, especially when ActiveSync is 
implemented, SOGo would be a great drop in alternative.

i want to thank everyone working on SOGo!
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-26 Thread Devinder Singh

Thanks Jean,

Command : which python
Result:  /usr/local/bin/python

Command : python -V
Result:Python 2.7

Command : echo -e 'import sys\nprint sys.path' | python
Result:
['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', 
'/usr/local/lib/python2.7/plat-linux2', 
'/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', 
'/usr/local/lib/python2.7/lib-dynload', 
'/usr/local/lib/python2.7/site-packages']


However,  The issue seems to be for the below problem.  Kindly note the 
sitepackage libraries for python 2.6 version whereas 2.7 is the one 
installed.


Command :  rpm -ql samba4 | grep samba/__init__.py
Result:
/usr/lib/python2.6/site-packages/samba/__init__.py
/usr/lib/python2.6/site-packages/samba/__init__.pyc
/usr/lib/python2.6/site-packages/samba/__init__.pyo

Also PYTHONPATH is null.  Kindly guide what is the proper value to be 
set, since found different variations when googled.


Kindly guide.

Thanks  Regards,
Devinder Singh Birdi

On 9/25/2012 6:22 PM, Jean Raby wrote:

On 12-09-25 3:47 AM, Devinder Singh wrote:

Hi Jean,

I followed the below activities but yet receive the same error

1. Removed samba4-libs and reinstalled samba4-4.0.0beta5-3.el6.1.i686
Result - Their was no change and received same error
2. Removed all samba packages fetch by  rpm -qa | grep samba  and
reinstalled samba4-4.0.0beta5-3.el6.1.i686
Result - Their was no change in received same error

Any help ?


Hmm, looks like python doesn't find the samba module for some reason.
Can you show the output of 'rpm -ql samba4 | grep samba/__init__.py' ?
What is the content the for PYTHONPATH env variable?

Could you run the following commands and send the full output?
  which python; python -V; echo -e 'import sys\nprint sys.path' | python

Thanks.


Thanks  Regards,
Devinder Singh Birdi

On 9/24/2012 8:09 PM, Jean Raby wrote:

On 12-09-24 10:04 AM, Devinder Singh wrote:

Hi Jean,

Below is the output of  rpm -qa | grep samba 

samba-client-3.5.10-125.el6.i686
samba4-libs-4.0.0-23.alpha11.el6.i686
samba-common-3.5.10-125.el6.i686
samba-winbind-clients-3.5.10-125.el6.i686
samba4-4.0.0beta5-3.el6.1.i686


Can you try removing samba4-libs? (and reinstalling samba4)

I just tested again on el6 and it works fine here, so there might be
an issue/conflict with the packages installed on your machine.




Thanks Regards,
Devinder Singh Birdi

On 9/24/2012 6:58 PM, Jean Raby wrote:

On 12-09-24 8:24 AM, Devinder Singh wrote:

Thanks Sebastien,

Provision script is available in /usr/sbin/ and thats where I ran 
the

command.

I did not find the Provision script in /usr/share/samba/setup.

However, I copied provision script from /usr/sbin/ to
/usr/share/samba/setup and ran the command.

Yet got the same error

[root@linux sbin]# cd /usr/share/samba/setup/
[root@linux setup]# ./provision --realm=example.com
--domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'
Traceback (most recent call last):
File ./provision, line 33, in module
import samba
ImportError: No module named samba


On which distribution do you see this error?
Depending on the distro in use, can you show the output of 'dpkg -l |
grep samba' or 'rpm -qa | grep samba' ?

Thanks.


Kindly guide.


Thanks Regards,
Devinder Singh Birdi

On 9/21/2012 8:29 PM, Sébastien Blin wrote:


Le 21/09/2012 16:41, Devinder Singh a écrit :

Hi All,

I am facing the below issue when I run the command as per the
instructions given in the SOGo Native Microsoft Outlook
Configuration 2.0.

provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'
Traceback (most recent call last):
File /usr/sbin/provision, line 33, in module
import samba
*ImportError: No module named samba*


In SOGo instruction, it's write this :

The provision script might be located in /usr/share/samba/setup

Test it :

cd /usr/share/samba/setup

./provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'




Below command returns nothing. Is their any problem in Samba
installation ?

[root@linux opt]# /etc/init.d/samba4 start
[root@linux opt]#


Samba4 is installed as per the guidelines provided. Installed the
samba using rpm --replacefiles command since their was conflict 
with

older versions of the libs.

Kindly guide.

















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

Re: [SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-26 Thread Devinder Singh

Hi Jean,

Well I was able to execute by adding below PYTHONPATH line in the 
bashprofile.


PYTHONPATH=$PYTHONPATH:/usr/local/bin/python2.7:/usr/lib/python2.7/site-packages/:/usr/lib/python2.6/site-packages/:/usr/lib/python2.6/site-packages/samba

Maybe we should add this as well into the Guidelines.

Thanks  Regards,
Devinder Singh Birdi

On 9/26/2012 12:50 PM, Devinder Singh wrote:

Thanks Jean,

Command : which python
Result:  /usr/local/bin/python

Command : python -V
Result:Python 2.7

Command : echo -e 'import sys\nprint sys.path' | python
Result:
['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', 
'/usr/local/lib/python2.7/plat-linux2', 
'/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', 
'/usr/local/lib/python2.7/lib-dynload', 
'/usr/local/lib/python2.7/site-packages']


However,  The issue seems to be for the below problem.  Kindly note 
the sitepackage libraries for python 2.6 version whereas 2.7 is the 
one installed.


Command :  rpm -ql samba4 | grep samba/__init__.py
Result:
/usr/lib/python2.6/site-packages/samba/__init__.py
/usr/lib/python2.6/site-packages/samba/__init__.pyc
/usr/lib/python2.6/site-packages/samba/__init__.pyo

Also PYTHONPATH is null.  Kindly guide what is the proper value to be 
set, since found different variations when googled.


Kindly guide.
Thanks  Regards,
Devinder Singh Birdi
On 9/25/2012 6:22 PM, Jean Raby wrote:

On 12-09-25 3:47 AM, Devinder Singh wrote:

Hi Jean,

I followed the below activities but yet receive the same error

1. Removed samba4-libs and reinstalled samba4-4.0.0beta5-3.el6.1.i686
Result - Their was no change and received same error
2. Removed all samba packages fetch by  rpm -qa | grep samba  and
reinstalled samba4-4.0.0beta5-3.el6.1.i686
Result - Their was no change in received same error

Any help ?


Hmm, looks like python doesn't find the samba module for some reason.
Can you show the output of 'rpm -ql samba4 | grep samba/__init__.py' ?
What is the content the for PYTHONPATH env variable?

Could you run the following commands and send the full output?
  which python; python -V; echo -e 'import sys\nprint sys.path' | python

Thanks.


Thanks  Regards,
Devinder Singh Birdi

On 9/24/2012 8:09 PM, Jean Raby wrote:

On 12-09-24 10:04 AM, Devinder Singh wrote:

Hi Jean,

Below is the output of  rpm -qa | grep samba 

samba-client-3.5.10-125.el6.i686
samba4-libs-4.0.0-23.alpha11.el6.i686
samba-common-3.5.10-125.el6.i686
samba-winbind-clients-3.5.10-125.el6.i686
samba4-4.0.0beta5-3.el6.1.i686


Can you try removing samba4-libs? (and reinstalling samba4)

I just tested again on el6 and it works fine here, so there might be
an issue/conflict with the packages installed on your machine.




Thanks Regards,
Devinder Singh Birdi

On 9/24/2012 6:58 PM, Jean Raby wrote:

On 12-09-24 8:24 AM, Devinder Singh wrote:

Thanks Sebastien,

Provision script is available in /usr/sbin/ and thats where I 
ran the

command.

I did not find the Provision script in /usr/share/samba/setup.

However, I copied provision script from /usr/sbin/ to
/usr/share/samba/setup and ran the command.

Yet got the same error

[root@linux sbin]# cd /usr/share/samba/setup/
[root@linux setup]# ./provision --realm=example.com
--domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'
Traceback (most recent call last):
File ./provision, line 33, in module
import samba
ImportError: No module named samba


On which distribution do you see this error?
Depending on the distro in use, can you show the output of 'dpkg 
-l |

grep samba' or 'rpm -qa | grep samba' ?

Thanks.


Kindly guide.


Thanks Regards,
Devinder Singh Birdi

On 9/21/2012 8:29 PM, Sébastien Blin wrote:


Le 21/09/2012 16:41, Devinder Singh a écrit :

Hi All,

I am facing the below issue when I run the command as per the
instructions given in the SOGo Native Microsoft Outlook
Configuration 2.0.

provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'
Traceback (most recent call last):
File /usr/sbin/provision, line 33, in module
import samba
*ImportError: No module named samba*


In SOGo instruction, it's write this :

The provision script might be located in /usr/share/samba/setup

Test it :

cd /usr/share/samba/setup

./provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'




Below command returns nothing. Is their any problem in Samba
installation ?

[root@linux opt]# /etc/init.d/samba4 start
[root@linux opt]#


Samba4 is installed as per the guidelines provided. Installed the
samba using rpm --replacefiles command since their was 
conflict with

older versions of the libs.

Kindly guide.



















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

Re: [SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-26 Thread Jean Raby

On 12-09-26 3:20 AM, Devinder Singh wrote:

Thanks Jean,

Command : which python
Result: /usr/local/bin/python

This is wrong, well, not wrong, but it is not the system python,
so that's why it was not finding the samba modules.

Use /usr/bin/python /usr/sbin/provision ...
that should work correctly.



Command : python -V
Result: Python 2.7

Command : echo -e 'import sys\nprint sys.path' | python
Result:
['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7',
'/usr/local/lib/python2.7/plat-linux2',
'/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old',
'/usr/local/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/site-packages']

However, The issue seems to be for the below problem. Kindly note the
sitepackage libraries for python 2.6 version whereas 2.7 is the one
installed.

Command : rpm -ql samba4 | grep samba/__init__.py
Result:
/usr/lib/python2.6/site-packages/samba/__init__.py
/usr/lib/python2.6/site-packages/samba/__init__.pyc
/usr/lib/python2.6/site-packages/samba/__init__.pyo

Also PYTHONPATH is null. Kindly guide what is the proper value to be
set, since found different variations when googled.

Kindly guide.

Thanks  Regards,
Devinder Singh Birdi

On 9/25/2012 6:22 PM, Jean Raby wrote:

On 12-09-25 3:47 AM, Devinder Singh wrote:

Hi Jean,

I followed the below activities but yet receive the same error

1. Removed samba4-libs and reinstalled samba4-4.0.0beta5-3.el6.1.i686
Result - Their was no change and received same error
2. Removed all samba packages fetch by  rpm -qa | grep samba  and
reinstalled samba4-4.0.0beta5-3.el6.1.i686
Result - Their was no change in received same error

Any help ?


Hmm, looks like python doesn't find the samba module for some reason.
Can you show the output of 'rpm -ql samba4 | grep samba/__init__.py' ?
What is the content the for PYTHONPATH env variable?

Could you run the following commands and send the full output?
which python; python -V; echo -e 'import sys\nprint sys.path' | python

Thanks.


Thanks Regards,
Devinder Singh Birdi

On 9/24/2012 8:09 PM, Jean Raby wrote:

On 12-09-24 10:04 AM, Devinder Singh wrote:

Hi Jean,

Below is the output of  rpm -qa | grep samba 

samba-client-3.5.10-125.el6.i686
samba4-libs-4.0.0-23.alpha11.el6.i686
samba-common-3.5.10-125.el6.i686
samba-winbind-clients-3.5.10-125.el6.i686
samba4-4.0.0beta5-3.el6.1.i686


Can you try removing samba4-libs? (and reinstalling samba4)

I just tested again on el6 and it works fine here, so there might be
an issue/conflict with the packages installed on your machine.




Thanks Regards,
Devinder Singh Birdi

On 9/24/2012 6:58 PM, Jean Raby wrote:

On 12-09-24 8:24 AM, Devinder Singh wrote:

Thanks Sebastien,

Provision script is available in /usr/sbin/ and thats where I ran
the
command.

I did not find the Provision script in /usr/share/samba/setup.

However, I copied provision script from /usr/sbin/ to
/usr/share/samba/setup and ran the command.

Yet got the same error

[root@linux sbin]# cd /usr/share/samba/setup/
[root@linux setup]# ./provision --realm=example.com
--domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'
Traceback (most recent call last):
File ./provision, line 33, in module
import samba
ImportError: No module named samba


On which distribution do you see this error?
Depending on the distro in use, can you show the output of 'dpkg -l |
grep samba' or 'rpm -qa | grep samba' ?

Thanks.


Kindly guide.


Thanks Regards,
Devinder Singh Birdi

On 9/21/2012 8:29 PM, Sébastien Blin wrote:


Le 21/09/2012 16:41, Devinder Singh a écrit :

Hi All,

I am facing the below issue when I run the command as per the
instructions given in the SOGo Native Microsoft Outlook
Configuration 2.0.

provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'
Traceback (most recent call last):
File /usr/sbin/provision, line 33, in module
import samba
*ImportError: No module named samba*


In SOGo instruction, it's write this :

The provision script might be located in /usr/share/samba/setup

Test it :

cd /usr/share/samba/setup

./provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'




Below command returns nothing. Is their any problem in Samba
installation ?

[root@linux opt]# /etc/init.d/samba4 start
[root@linux opt]#


Samba4 is installed as per the guidelines provided. Installed the
samba using rpm --replacefiles command since their was conflict
with
older versions of the libs.

Kindly guide.




















--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  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] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-25 Thread Devinder Singh

Hi Jean,

I followed the below activities but yet receive the same error

1. Removed samba4-libs and reinstalled samba4-4.0.0beta5-3.el6.1.i686
Result   -Their was no change and received same error
2. Removed all samba packages fetch by   rpm -qa | grep samba  and 
reinstalled samba4-4.0.0beta5-3.el6.1.i686

Result-Their was no change in received same error

Any help ?

Thanks  Regards,
Devinder Singh Birdi

On 9/24/2012 8:09 PM, Jean Raby wrote:

On 12-09-24 10:04 AM, Devinder Singh wrote:

Hi Jean,

Below is the output of  rpm -qa | grep samba 

samba-client-3.5.10-125.el6.i686
samba4-libs-4.0.0-23.alpha11.el6.i686
samba-common-3.5.10-125.el6.i686
samba-winbind-clients-3.5.10-125.el6.i686
samba4-4.0.0beta5-3.el6.1.i686


Can you try removing samba4-libs? (and reinstalling samba4)

I just tested again on el6 and it works fine here, so there might be 
an issue/conflict with the packages installed on your machine.





Thanks  Regards,
Devinder Singh Birdi

On 9/24/2012 6:58 PM, Jean Raby wrote:

On 12-09-24 8:24 AM, Devinder Singh wrote:

Thanks Sebastien,

Provision script is available in /usr/sbin/ and thats where I ran the
command.

I did not find the Provision script in /usr/share/samba/setup.

However, I copied provision script from /usr/sbin/ to
/usr/share/samba/setup and ran the command.

Yet got the same error

[root@linux sbin]# cd /usr/share/samba/setup/
[root@linux setup]# ./provision --realm=example.com 
--domain=OPENCHANGE

--adminpass='%1OpenChange' --server-role='domain controller'
Traceback (most recent call last):
File ./provision, line 33, in module
import samba
ImportError: No module named samba


On which distribution do you see this error?
Depending on the distro in use, can you show the output of 'dpkg -l |
grep samba' or 'rpm -qa | grep samba' ?

Thanks.


Kindly guide.


Thanks Regards,
Devinder Singh Birdi

On 9/21/2012 8:29 PM, Sébastien Blin wrote:


Le 21/09/2012 16:41, Devinder Singh a écrit :

Hi All,

I am facing the below issue when I run the command as per the
instructions given in the SOGo Native Microsoft Outlook
Configuration 2.0.

provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'
Traceback (most recent call last):
File /usr/sbin/provision, line 33, in module
import samba
*ImportError: No module named samba*


In SOGo instruction, it's write this :

The provision script might be located in /usr/share/samba/setup

Test it :

cd /usr/share/samba/setup

./provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'




Below command returns nothing. Is their any problem in Samba
installation ?

[root@linux opt]# /etc/init.d/samba4 start
[root@linux opt]#


Samba4 is installed as per the guidelines provided. Installed the
samba using rpm --replacefiles command since their was conflict with
older versions of the libs.

Kindly guide.












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

Re: [SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-25 Thread Jean Raby

On 12-09-25 3:47 AM, Devinder Singh wrote:

Hi Jean,

I followed the below activities but yet receive the same error

1. Removed samba4-libs and reinstalled samba4-4.0.0beta5-3.el6.1.i686
Result - Their was no change and received same error
2. Removed all samba packages fetch by  rpm -qa | grep samba  and
reinstalled samba4-4.0.0beta5-3.el6.1.i686
Result - Their was no change in received same error

Any help ?


Hmm, looks like python doesn't find the samba module for some reason.
Can you show the output of 'rpm -ql samba4 | grep samba/__init__.py' ?
What is the content the for PYTHONPATH env variable?

Could you run the following commands and send the full output?
  which python; python -V; echo -e 'import sys\nprint sys.path' | python

Thanks.


Thanks  Regards,
Devinder Singh Birdi

On 9/24/2012 8:09 PM, Jean Raby wrote:

On 12-09-24 10:04 AM, Devinder Singh wrote:

Hi Jean,

Below is the output of  rpm -qa | grep samba 

samba-client-3.5.10-125.el6.i686
samba4-libs-4.0.0-23.alpha11.el6.i686
samba-common-3.5.10-125.el6.i686
samba-winbind-clients-3.5.10-125.el6.i686
samba4-4.0.0beta5-3.el6.1.i686


Can you try removing samba4-libs? (and reinstalling samba4)

I just tested again on el6 and it works fine here, so there might be
an issue/conflict with the packages installed on your machine.




Thanks Regards,
Devinder Singh Birdi

On 9/24/2012 6:58 PM, Jean Raby wrote:

On 12-09-24 8:24 AM, Devinder Singh wrote:

Thanks Sebastien,

Provision script is available in /usr/sbin/ and thats where I ran the
command.

I did not find the Provision script in /usr/share/samba/setup.

However, I copied provision script from /usr/sbin/ to
/usr/share/samba/setup and ran the command.

Yet got the same error

[root@linux sbin]# cd /usr/share/samba/setup/
[root@linux setup]# ./provision --realm=example.com
--domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'
Traceback (most recent call last):
File ./provision, line 33, in module
import samba
ImportError: No module named samba


On which distribution do you see this error?
Depending on the distro in use, can you show the output of 'dpkg -l |
grep samba' or 'rpm -qa | grep samba' ?

Thanks.


Kindly guide.


Thanks Regards,
Devinder Singh Birdi

On 9/21/2012 8:29 PM, Sébastien Blin wrote:


Le 21/09/2012 16:41, Devinder Singh a écrit :

Hi All,

I am facing the below issue when I run the command as per the
instructions given in the SOGo Native Microsoft Outlook
Configuration 2.0.

provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'
Traceback (most recent call last):
File /usr/sbin/provision, line 33, in module
import samba
*ImportError: No module named samba*


In SOGo instruction, it's write this :

The provision script might be located in /usr/share/samba/setup

Test it :

cd /usr/share/samba/setup

./provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'




Below command returns nothing. Is their any problem in Samba
installation ?

[root@linux opt]# /etc/init.d/samba4 start
[root@linux opt]#


Samba4 is installed as per the guidelines provided. Installed the
samba using rpm --replacefiles command since their was conflict with
older versions of the libs.

Kindly guide.















--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  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] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-24 Thread Devinder Singh

Thanks Sebastien,

Provision script is available in /usr/sbin/  and thats where I ran the 
command.


I did not find the Provision script in /usr/share/samba/setup.

However, I copied provision script from /usr/sbin/  to 
/usr/share/samba/setup   and ran the command.


Yet got the same error

[root@linux sbin]# cd /usr/share/samba/setup/
[root@linux setup]# ./provision --realm=example.com --domain=OPENCHANGE 
--adminpass='%1OpenChange' --server-role='domain controller'

Traceback (most recent call last):
  File ./provision, line 33, in module
import samba
ImportError: No module named samba

Kindly guide.


Thanks  Regards,
Devinder Singh Birdi

On 9/21/2012 8:29 PM, Sébastien Blin wrote:


Le 21/09/2012 16:41, Devinder Singh a écrit :

Hi All,

I am facing the below issue when I run the command as per the 
instructions given in the SOGo Native Microsoft Outlook 
Configuration 2.0.


provision --realm=example.com --domain=OPENCHANGE 
--adminpass='%1OpenChange' --server-role='domain controller'

Traceback (most recent call last):
  File /usr/sbin/provision, line 33, in module
import samba
*ImportError: No module named samba*


In SOGo instruction, it's write this :

The provision script might be located in /usr/share/samba/setup

Test it :

cd /usr/share/samba/setup

./provision --realm=example.com --domain=OPENCHANGE 
--adminpass='%1OpenChange' --server-role='domain controller'





Below command returns nothing. Is their any problem in Samba 
installation ?


[root@linux opt]# /etc/init.d/samba4 start
[root@linux opt]#


Samba4 is installed as per the guidelines provided. Installed the 
samba using rpm --replacefiles command since their was conflict with 
older versions of the libs.


Kindly guide.


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

Re: [SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-24 Thread Jean Raby

On 12-09-24 8:24 AM, Devinder Singh wrote:

Thanks Sebastien,

Provision script is available in /usr/sbin/ and thats where I ran the
command.

I did not find the Provision script in /usr/share/samba/setup.

However, I copied provision script from /usr/sbin/ to
/usr/share/samba/setup and ran the command.

Yet got the same error

[root@linux sbin]# cd /usr/share/samba/setup/
[root@linux setup]# ./provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'
Traceback (most recent call last):
File ./provision, line 33, in module
import samba
ImportError: No module named samba


On which distribution do you see this error?
Depending on the distro in use, can you show the output of 'dpkg -l | 
grep samba'  or 'rpm -qa | grep samba' ?


Thanks.


Kindly guide.


Thanks  Regards,
Devinder Singh Birdi

On 9/21/2012 8:29 PM, Sébastien Blin wrote:


Le 21/09/2012 16:41, Devinder Singh a écrit :

Hi All,

I am facing the below issue when I run the command as per the
instructions given in the SOGo Native Microsoft Outlook
Configuration 2.0.

provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'
Traceback (most recent call last):
File /usr/sbin/provision, line 33, in module
import samba
*ImportError: No module named samba*


In SOGo instruction, it's write this :

The provision script might be located in /usr/share/samba/setup

Test it :

cd /usr/share/samba/setup

./provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'




Below command returns nothing. Is their any problem in Samba
installation ?

[root@linux opt]# /etc/init.d/samba4 start
[root@linux opt]#


Samba4 is installed as per the guidelines provided. Installed the
samba using rpm --replacefiles command since their was conflict with
older versions of the libs.

Kindly guide.





--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  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] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-24 Thread Devinder Singh

Hi Jean,

Below is the output of   rpm -qa | grep samba 

samba-client-3.5.10-125.el6.i686
samba4-libs-4.0.0-23.alpha11.el6.i686
samba-common-3.5.10-125.el6.i686
samba-winbind-clients-3.5.10-125.el6.i686
samba4-4.0.0beta5-3.el6.1.i686



Thanks  Regards,
Devinder Singh Birdi

On 9/24/2012 6:58 PM, Jean Raby wrote:

On 12-09-24 8:24 AM, Devinder Singh wrote:

Thanks Sebastien,

Provision script is available in /usr/sbin/ and thats where I ran the
command.

I did not find the Provision script in /usr/share/samba/setup.

However, I copied provision script from /usr/sbin/ to
/usr/share/samba/setup and ran the command.

Yet got the same error

[root@linux sbin]# cd /usr/share/samba/setup/
[root@linux setup]# ./provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'
Traceback (most recent call last):
File ./provision, line 33, in module
import samba
ImportError: No module named samba


On which distribution do you see this error?
Depending on the distro in use, can you show the output of 'dpkg -l | 
grep samba'  or 'rpm -qa | grep samba' ?


Thanks.


Kindly guide.


Thanks  Regards,
Devinder Singh Birdi

On 9/21/2012 8:29 PM, Sébastien Blin wrote:


Le 21/09/2012 16:41, Devinder Singh a écrit :

Hi All,

I am facing the below issue when I run the command as per the
instructions given in the SOGo Native Microsoft Outlook
Configuration 2.0.

provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'
Traceback (most recent call last):
File /usr/sbin/provision, line 33, in module
import samba
*ImportError: No module named samba*


In SOGo instruction, it's write this :

The provision script might be located in /usr/share/samba/setup

Test it :

cd /usr/share/samba/setup

./provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'




Below command returns nothing. Is their any problem in Samba
installation ?

[root@linux opt]# /etc/init.d/samba4 start
[root@linux opt]#


Samba4 is installed as per the guidelines provided. Installed the
samba using rpm --replacefiles command since their was conflict with
older versions of the libs.

Kindly guide.







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

Re: [SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-24 Thread Jean Raby

On 12-09-24 10:04 AM, Devinder Singh wrote:

Hi Jean,

Below is the output of  rpm -qa | grep samba 

samba-client-3.5.10-125.el6.i686
samba4-libs-4.0.0-23.alpha11.el6.i686
samba-common-3.5.10-125.el6.i686
samba-winbind-clients-3.5.10-125.el6.i686
samba4-4.0.0beta5-3.el6.1.i686


Can you try removing samba4-libs? (and reinstalling samba4)

I just tested again on el6 and it works fine here, so there might be an 
issue/conflict with the packages installed on your machine.





Thanks  Regards,
Devinder Singh Birdi

On 9/24/2012 6:58 PM, Jean Raby wrote:

On 12-09-24 8:24 AM, Devinder Singh wrote:

Thanks Sebastien,

Provision script is available in /usr/sbin/ and thats where I ran the
command.

I did not find the Provision script in /usr/share/samba/setup.

However, I copied provision script from /usr/sbin/ to
/usr/share/samba/setup and ran the command.

Yet got the same error

[root@linux sbin]# cd /usr/share/samba/setup/
[root@linux setup]# ./provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'
Traceback (most recent call last):
File ./provision, line 33, in module
import samba
ImportError: No module named samba


On which distribution do you see this error?
Depending on the distro in use, can you show the output of 'dpkg -l |
grep samba' or 'rpm -qa | grep samba' ?

Thanks.


Kindly guide.


Thanks Regards,
Devinder Singh Birdi

On 9/21/2012 8:29 PM, Sébastien Blin wrote:


Le 21/09/2012 16:41, Devinder Singh a écrit :

Hi All,

I am facing the below issue when I run the command as per the
instructions given in the SOGo Native Microsoft Outlook
Configuration 2.0.

provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'
Traceback (most recent call last):
File /usr/sbin/provision, line 33, in module
import samba
*ImportError: No module named samba*


In SOGo instruction, it's write this :

The provision script might be located in /usr/share/samba/setup

Test it :

cd /usr/share/samba/setup

./provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'




Below command returns nothing. Is their any problem in Samba
installation ?

[root@linux opt]# /etc/init.d/samba4 start
[root@linux opt]#


Samba4 is installed as per the guidelines provided. Installed the
samba using rpm --replacefiles command since their was conflict with
older versions of the libs.

Kindly guide.










--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


[SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-21 Thread Devinder Singh

Hi All,

I am facing the below issue when I run the command as per the 
instructions given in the SOGo Native Microsoft Outlook Configuration 2.0.


provision --realm=example.com --domain=OPENCHANGE 
--adminpass='%1OpenChange' --server-role='domain controller'

Traceback (most recent call last):
  File /usr/sbin/provision, line 33, in module
import samba
*ImportError: No module named samba*


Below command returns nothing. Is their any problem in Samba installation ?

[root@linux opt]# /etc/init.d/samba4 start
[root@linux opt]#


Samba4 is installed as per the guidelines provided. Installed the samba 
using rpm --replacefiles command since their was conflict with older 
versions of the libs.


Kindly guide.

--
Thanks  Regards,
Devinder Singh Birdi

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

Re: [SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-21 Thread Sébastien Blin


Le 21/09/2012 16:41, Devinder Singh a écrit :

Hi All,

I am facing the below issue when I run the command as per the 
instructions given in the SOGo Native Microsoft Outlook Configuration 
2.0.


provision --realm=example.com --domain=OPENCHANGE 
--adminpass='%1OpenChange' --server-role='domain controller'

Traceback (most recent call last):
  File /usr/sbin/provision, line 33, in module
import samba
*ImportError: No module named samba*


In SOGo instruction, it's write this :

The provision script might be located in /usr/share/samba/setup

Test it :

cd /usr/share/samba/setup

./provision --realm=example.com --domain=OPENCHANGE 
--adminpass='%1OpenChange' --server-role='domain controller'





Below command returns nothing. Is their any problem in Samba 
installation ?


[root@linux opt]# /etc/init.d/samba4 start
[root@linux opt]#


Samba4 is installed as per the guidelines provided. Installed the 
samba using rpm --replacefiles command since their was conflict with 
older versions of the libs.


Kindly guide.

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

[SOGo] SOGo 2.0 nightly build: CardDAV, SSL and port 8843

2012-09-07 Thread Marek Skubela

Hello,

I'm trying to set up CardDAV on separate port (8843) without any luck.

I am using SOGO 2.0.0.20120907-1 on Ubuntu 10.04 with Apache 2.2.14.

My CardDAV VHost is as follows:

VirtualHost *:8843
ServerName mail.example.pl

SSLEngine on
SSLCertificateFile /etc/ssl/certs/cert.pem
SSLCertificateKeyFile /etc/ssl/private/key.key
SSLProtocol all -SSLv2

RewriteEngine Off
ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On
ProxyPassInterpolateEnv On
ProxyPass /principals http://127.0.0.1:2/SOGo/dav/ interpolate
ProxyPass /SOGo/ http://127.0.0.1:2/SOGo interpolate
ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate
Location /
Order allow,deny
Allow from all
/Location
Proxy http://127.0.0.1:2
# Directive replaces previous header with that name.
RequestHeader set x-webobjects-server-port 8843
RequestHeader set x-webobjects-server-name mail.example.pl:8843
RequestHeader set x-webobjects-server-url  
https://mail.example.pl:8843;

RequestHeader set x-webobjects-server-protocol HTTP/1.0
RequestHeader set x-webobjects-remote-host 127.0.0.1
AddDefaultCharset UTF-8
/Proxy
LogLevel debug
ErrorLog /var/log/apache2/sogo-ab-error.log
CustomLog /var/log/apache2/sogo-ab-access.log combined
/VirtualHost

When I try to connect with Android CardDAV client on port 8843:

10.1.0.12 - - [07/Sep/2012:11:17:18 +0200] PROPFIND 
/.well-known/carddav HTTP/1.1 404 1905 - CardDAV-Sync (Android) 
(like iOS/5.0.1 (9A405) dataaccessd/1.0) gzip
10.1.0.12 - - [07/Sep/2012:11:17:18 +0200] PROPFIND /SOGo/dav/ 
HTTP/1.1 401 445 - CardDAV-Sync (Android) (like iOS/5.0.1 (9A405) 
dataaccessd/1.0) gzip
10.1.0.12 - - [07/Sep/2012:11:17:19 +0200] PROPFIND /SOGo/dav/ 
HTTP/1.1 207 2189 - CardDAV-Sync (Android) (like iOS/5.0.1 (9A405) 
dataaccessd/1.0) gzip


And then I see that it switches to 443 port, because in ssl-access log I 
then see:


10.1.0.12 - - [07/Sep/2012:11:17:20 +0200] PROPFIND 
/SOGo/dav/marek.skubela%40example.pl/ HTTP/1.1 401 1757 - 
CardDAV-Sync (Android) (like iOS/5.0.1 (9A405) dataaccessd/1.0) gzip
10.1.0.12 - - [07/Sep/2012:11:17:21 +0200] PROPFIND 
/SOGo/dav/marek.skubela%40example.pl/ HTTP/1.1 207 2219 - 
CardDAV-Sync (Android) (like iOS/5.0.1 (9A405) dataaccessd/1.0) gzip
10.1.0.12 - - [07/Sep/2012:11:17:21 +0200] PROPFIND 
/SOGo/dav/marek.skubela%40example.pl/Contacts/ HTTP/1.1 401 445 - 
CardDAV-Sync (Android) (like iOS/5.0.1 (9A405) dataaccessd/1.0) gzip
10.1.0.12 - - [07/Sep/2012:11:17:22 +0200] PROPFIND 
/SOGo/dav/marek.skubela%40example.pl/Contacts/ HTTP/1.1 207 2481 - 
CardDAV-Sync (Android) (like iOS/5.0.1 (9A405) dataaccessd/1.0) gzip


Similar behaviour I've noticed with Apple AddressBook.
If I disable the 443 port, none of the clients work at all.

I tested PROPFIND request manually with curl on 8843 and
the responses seem valid. Is there something in SOGo that
redirects requests to 443 port?

TIA,
Marek Skubela
marek.skub...@dignum.pl
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] sogo 2.0 rc4 multi domain error

2012-08-16 Thread Selçuk Mıynat

Hi,

I'm trying to use multi domain setup with SOGo 2.0rc4.

If I use SOGoEnableDomainBasedUID and SOGoLoginDomains together, there 
is a dropdown menu in the web interface, listing my two domains. I can 
login with selecting a domain from this list and type test as username.


But I want to login with my full username, like t...@example.com and 
not selecting a domain from the list. If I delete SOGoLoginDomains from 
my config., dropdown menu dissappears but I get this error message at 
the sogo.log and I couldn't login:



Aug 16 12:20:55 sogod [24370]: SOGoRootPage Login for user 
't...@example.com' might not have worked - password policy: 65535 grace: 
-1  expire: -1  bound: 0
127.0.0.1 - - [16/Aug/2012:12:20:55 GMT] POST /SOGo/connect HTTP/1.1 
403 34/50 0.004 - - 0


Here is my .GNUStepDefaults file:

?xml version=1.0 encoding=UTF-8?
!DOCTYPE plist PUBLIC -//GNUstep//DTD plist 0.9//EN 
http://www.gnustep.org/plist-0_9.xml;

plist version=0.9
dict
keyNSGlobalDomain/key
dict
/dict
keysogod/key
dict
keyOCSFolderInfoURL/key
stringpostgresql://sogo:sogo@127.0.0.1:5432/sogo/sogo_folder_info/string
keyOCSSessionsFolderURL/key
stringpostgresql://sogo:sogo@127.0.0.1:5432/sogo/sogo_sessions_folder/string
keySOGoACLsSendEMailNotifications/key
stringYES/string
keySOGoAppointmentSendEMailNotifications/key
stringYES/string
keySOGoDraftsFolderName/key
stringDrafts/string
keySOGoFoldersSendEMailNotifications/key
stringYES/string
keySOGoIMAPServer/key
stringlocalhost/string
keySOGoLanguage/key
stringEnglish/string
keySOGoMailingMechanism/key
stringsmtp/string
keySOGoPageTitle/key
stringtestmail/string
keySOGoProfileURL/key
stringpostgresql://sogo:sogo@127.0.0.1:5432/sogo/sogo_user_profile/string
keySOGoSMTPServer/key
stringlocalhost/string
keySOGoSentFolderName/key
stringSent/string
keySOGoTimeZone/key
stringEurope/Istanbul/string
keySOGoTrashFolderName/key
stringTrash/string
keySOGoEnableDomainBasedUID/key
stringYES/string
keySOGoLoginDomains/key
array
stringexample.com/string
stringtest.com/string
/array
keydomains/key
dict
keyexample.com/key
dict
keySOGoDraftsFolderName/key
stringDrafts/string
keySOGoMailDomain/key
stringexample.com/string
keySOGoUserSources/key
array
dict
keyCNFieldName/key
stringcn/string
keyIDFieldName/key
stringuid/string
keyUIDFieldName/key
stringuid/string
keybaseDN/key
stringcn=admins,dc=example,dc=com/string
keybindDN/key
stringuid=testmail,dc=example,dc=com/string
keybindPassword/key
string123456/string
keycanAuthenticate/key
stringYES/string
keydisplayName/key
stringShared Addresses/string
keyhostname/key
string192.168.2.2/string
keyid/key
stringpublic/string
keyisAddressBook/key
stringYES/string
keyport/key
string389/string
keytype/key
stringldap/string
/dict
/array
/dict
keytest.com/key
dict
keySOGoDraftsFolderName/key
stringDrafts/string
keySOGoMailDomain/key
stringtest.com/string
keySOGoUserSources/key
array
dict
keyCNFieldName/key
stringcn/string
keyIDFieldName/key
stringuid/string
keyUIDFieldName/key
stringuid/string
keybaseDN/key
stringou=users,dc=test,dc=com/string
keybindDN/key
stringuid=sogo,ou=users,dc=test,dc=com/string
keybindPassword/key
string123456/string
keycanAuthenticate/key
stringYES/string
keydisplayName/key
stringDOM2/string
keyhostname/key
stringlocalhost/string
keyid/key
stringpublic_test/string
keyisAddressBook/key
stringYES/string
keyport/key
string9009/string
keytype/key
stringldap/string
/dict
/array
/dict
/dict
/dict
/dict
/plist

How can I achieve this, anybody knows?

--
Selçuk Mıynat

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


Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s

2012-08-03 Thread Daniel Müller
No chance on 4 s with: https://userid@server/SOGo/dav/userid/.
 Is it because of the certificate? it is a non-official.
The iphone
is testing after I choose finish and prompting everything all right and no 
SOgo Calendar shows up within the calendar options. I only have the cloud, 
personal and professional.
Do I have to configure something within apache?
Can someone post his experience with an IPHONE 4s?


 Original-Nachricht 
 Datum: Wed, 01 Aug 2012 10:40:09 +0200
 Von: Philippe CUIF philippe.c...@vetoquinol.com
 An: users@sogo.nu
 Betreff: Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s

 Working here with 2.0.0 RC3 and iPhone 4 (no S) running IOS 5.1.1
 (latest).
 
 The only difference is a / at the end of the URL 
 (https://userid@server/SOGo/dav/userid/)
 
 As we are using a non-official certificate for SSL, it takes quit a long 
 time for the iPhone to set up the caldav account. It even fails to 
 communicate in SSL the first time. We have to accept to fallback to non 
 SSL. Obviously it does'nt work better but it is the stupid way Apple 
 forces us to go through ... Once it fails a second time, we can acces 
 the advanced parameters pane and re check SSL, set port to 443 and 
 adjust the URL.
 
 If only we could set up things manually right from the start ... how 
 much time we would save instead of waiting for the machine to fail :D
 
  Changed the url several times. Deleted myusername in front of IP. The
 same.
 
 
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s

2012-08-03 Thread Wolfgang Hennerbichler
You can always import the certificate of your CA into your iphone by pointing 
safari to the certificate file of the CA, then it's a trusted certificate, and 
you don't have to wait any longer. 
other than that I can report that sogo 1.3.17-1 works on my iphone 4s, like a 
charm. didn't try sogo 2.0 though. 

On Aug 3, 2012, at 08:09 , Daniel Müller wrote:

 No chance on 4 s with: https://userid@server/SOGo/dav/userid/.
 Is it because of the certificate? it is a non-official.
 The iphone
 is testing after I choose finish and prompting everything all right and no 
 SOgo Calendar shows up within the calendar options. I only have the cloud, 
 personal and professional.
 Do I have to configure something within apache?
 Can someone post his experience with an IPHONE 4s?
 
 
  Original-Nachricht 
 Datum: Wed, 01 Aug 2012 10:40:09 +0200
 Von: Philippe CUIF philippe.c...@vetoquinol.com
 An: users@sogo.nu
 Betreff: Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s
 
 Working here with 2.0.0 RC3 and iPhone 4 (no S) running IOS 5.1.1
 (latest).
 
 The only difference is a / at the end of the URL 
 (https://userid@server/SOGo/dav/userid/)
 
 As we are using a non-official certificate for SSL, it takes quit a long 
 time for the iPhone to set up the caldav account. It even fails to 
 communicate in SSL the first time. We have to accept to fallback to non 
 SSL. Obviously it does'nt work better but it is the stupid way Apple 
 forces us to go through ... Once it fails a second time, we can acces 
 the advanced parameters pane and re check SSL, set port to 443 and 
 adjust the URL.
 
 If only we could set up things manually right from the start ... how 
 much time we would save instead of waiting for the machine to fail :D
 
 Changed the url several times. Deleted myusername in front of IP. The
 same.
 
 
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists

-- 
http://www.wogri.com

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

Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s

2012-08-03 Thread Daniel Müller
And your SOGo Calendar shows up in your calendar options?
 Original-Nachricht 
 Datum: Fri, 3 Aug 2012 08:12:34 +0200
 Von: Wolfgang Hennerbichler wo...@wogri.com
 An: users@sogo.nu
 Betreff: Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s

 You can always import the certificate of your CA into your iphone by
 pointing safari to the certificate file of the CA, then it's a trusted
 certificate, and you don't have to wait any longer. 
 other than that I can report that sogo 1.3.17-1 works on my iphone 4s,
 like a charm. didn't try sogo 2.0 though. 
 
 On Aug 3, 2012, at 08:09 , Daniel Müller wrote:
 
  No chance on 4 s with: https://userid@server/SOGo/dav/userid/.
  Is it because of the certificate? it is a non-official.
  The iphone
  is testing after I choose finish and prompting everything all right and
 no SOgo Calendar shows up within the calendar options. I only have the
 cloud, personal and professional.
  Do I have to configure something within apache?
  Can someone post his experience with an IPHONE 4s?
  
  
   Original-Nachricht 
  Datum: Wed, 01 Aug 2012 10:40:09 +0200
  Von: Philippe CUIF philippe.c...@vetoquinol.com
  An: users@sogo.nu
  Betreff: Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s
  
  Working here with 2.0.0 RC3 and iPhone 4 (no S) running IOS 5.1.1
  (latest).
  
  The only difference is a / at the end of the URL 
  (https://userid@server/SOGo/dav/userid/)
  
  As we are using a non-official certificate for SSL, it takes quit a
 long 
  time for the iPhone to set up the caldav account. It even fails to 
  communicate in SSL the first time. We have to accept to fallback to non
  SSL. Obviously it does'nt work better but it is the stupid way Apple 
  forces us to go through ... Once it fails a second time, we can acces 
  the advanced parameters pane and re check SSL, set port to 443 and 
  adjust the URL.
  
  If only we could set up things manually right from the start ... how 
  much time we would save instead of waiting for the machine to fail :D
  
  Changed the url several times. Deleted myusername in front of IP. The
  same.
  
  
  -- 
  users@sogo.nu
  https://inverse.ca/sogo/lists
  -- 
  users@sogo.nu
  https://inverse.ca/sogo/lists
 
 -- 
 http://www.wogri.com
 
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s

2012-08-03 Thread Wolfgang Hennerbichler
You mean like in this screenshot? http://www.wogri.at/fileadmin/files/sogo.png

On Aug 3, 2012, at 08:15 , Daniel Müller wrote:

 And your SOGo Calendar shows up in your calendar options?
  Original-Nachricht 
 Datum: Fri, 3 Aug 2012 08:12:34 +0200
 Von: Wolfgang Hennerbichler wo...@wogri.com
 An: users@sogo.nu
 Betreff: Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s
 
 You can always import the certificate of your CA into your iphone by
 pointing safari to the certificate file of the CA, then it's a trusted
 certificate, and you don't have to wait any longer. 
 other than that I can report that sogo 1.3.17-1 works on my iphone 4s,
 like a charm. didn't try sogo 2.0 though. 
 
 On Aug 3, 2012, at 08:09 , Daniel Müller wrote:
 
 No chance on 4 s with: https://userid@server/SOGo/dav/userid/.
 Is it because of the certificate? it is a non-official.
 The iphone
 is testing after I choose finish and prompting everything all right and
 no SOgo Calendar shows up within the calendar options. I only have the
 cloud, personal and professional.
 Do I have to configure something within apache?
 Can someone post his experience with an IPHONE 4s?
 
 
  Original-Nachricht 
 Datum: Wed, 01 Aug 2012 10:40:09 +0200
 Von: Philippe CUIF philippe.c...@vetoquinol.com
 An: users@sogo.nu
 Betreff: Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s
 
 Working here with 2.0.0 RC3 and iPhone 4 (no S) running IOS 5.1.1
 (latest).
 
 The only difference is a / at the end of the URL 
 (https://userid@server/SOGo/dav/userid/)
 
 As we are using a non-official certificate for SSL, it takes quit a
 long 
 time for the iPhone to set up the caldav account. It even fails to 
 communicate in SSL the first time. We have to accept to fallback to non
 SSL. Obviously it does'nt work better but it is the stupid way Apple 
 forces us to go through ... Once it fails a second time, we can acces 
 the advanced parameters pane and re check SSL, set port to 443 and 
 adjust the URL.
 
 If only we could set up things manually right from the start ... how 
 much time we would save instead of waiting for the machine to fail :D
 
 Changed the url several times. Deleted myusername in front of IP. The
 same.
 
 
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
 
 -- 
 http://www.wogri.com
 
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists

-- 
http://www.wogri.com

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

Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s

2012-08-03 Thread Daniel Müller
Yes,

I can do the configuration as many time I want. And the calandar is not shown 
up!!
 Original-Nachricht 
 Datum: Fri, 3 Aug 2012 08:19:55 +0200
 Von: Wolfgang Hennerbichler wo...@wogri.com
 An: users@sogo.nu
 Betreff: Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s

 You mean like in this screenshot?
 http://www.wogri.at/fileadmin/files/sogo.png
 
 On Aug 3, 2012, at 08:15 , Daniel Müller wrote:
 
  And your SOGo Calendar shows up in your calendar options?
   Original-Nachricht 
  Datum: Fri, 3 Aug 2012 08:12:34 +0200
  Von: Wolfgang Hennerbichler wo...@wogri.com
  An: users@sogo.nu
  Betreff: Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s
  
  You can always import the certificate of your CA into your iphone by
  pointing safari to the certificate file of the CA, then it's a trusted
  certificate, and you don't have to wait any longer. 
  other than that I can report that sogo 1.3.17-1 works on my iphone 4s,
  like a charm. didn't try sogo 2.0 though. 
  
  On Aug 3, 2012, at 08:09 , Daniel Müller wrote:
  
  No chance on 4 s with: https://userid@server/SOGo/dav/userid/.
  Is it because of the certificate? it is a non-official.
  The iphone
  is testing after I choose finish and prompting everything all right
 and
  no SOgo Calendar shows up within the calendar options. I only have
 the
  cloud, personal and professional.
  Do I have to configure something within apache?
  Can someone post his experience with an IPHONE 4s?
  
  
   Original-Nachricht 
  Datum: Wed, 01 Aug 2012 10:40:09 +0200
  Von: Philippe CUIF philippe.c...@vetoquinol.com
  An: users@sogo.nu
  Betreff: Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s
  
  Working here with 2.0.0 RC3 and iPhone 4 (no S) running IOS 5.1.1
  (latest).
  
  The only difference is a / at the end of the URL 
  (https://userid@server/SOGo/dav/userid/)
  
  As we are using a non-official certificate for SSL, it takes quit a
  long 
  time for the iPhone to set up the caldav account. It even fails to 
  communicate in SSL the first time. We have to accept to fallback to
 non
  SSL. Obviously it does'nt work better but it is the stupid way Apple 
  forces us to go through ... Once it fails a second time, we can acces
  the advanced parameters pane and re check SSL, set port to 443 and 
  adjust the URL.
  
  If only we could set up things manually right from the start ... how 
  much time we would save instead of waiting for the machine to fail :D
  
  Changed the url several times. Deleted myusername in front of IP.
 The
  same.
  
  
  -- 
  users@sogo.nu
  https://inverse.ca/sogo/lists
  -- 
  users@sogo.nu
  https://inverse.ca/sogo/lists
  
  -- 
  http://www.wogri.com
  
  -- 
  users@sogo.nu
  https://inverse.ca/sogo/lists
  -- 
  users@sogo.nu
  https://inverse.ca/sogo/lists
 
 -- 
 http://www.wogri.com
 
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s

2012-08-01 Thread Daniel Müller
Changed the url several times. Deleted myusername in front of IP. The same.

 Original-Nachricht 
 Datum: Tue, 31 Jul 2012 14:13:45 +0200
 Von: Martin Rabl martin.r...@rablnet.de
 An: users@sogo.nu
 Betreff: Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s

 Maybe the  Account-URL: with the username in the URL is false.
 
 Am 31.07.2012 14:10, schrieb Daniel Müller:
  Dear all,
  I try
  SOGo:Version 2.0.0 (root@vizzini.openchange.local 201112120725)
  to sync with my IPHONE 4s without any success.
 
  This are my settings on IPHONE 4S:
  Server: My.server.ip
  Username: myusername
  password: mypassword
  SSL yes
  Port: 443
  Account-URL: https://myusern...@my.server.ip/SOGo/dav/myusername
 
  as I save the settings they gave no errors!
  My Sync (pull) settings are: sync all.
 
  Any Idea?
 
  Greetings
  Daniel
 
 
 
 
 
 
 -- 
 Greetings,
 
 Martin Rabl
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s

2012-08-01 Thread Philippe CUIF

Working here with 2.0.0 RC3 and iPhone 4 (no S) running IOS 5.1.1 (latest).

The only difference is a / at the end of the URL 
(https://userid@server/SOGo/dav/userid/)


As we are using a non-official certificate for SSL, it takes quit a long 
time for the iPhone to set up the caldav account. It even fails to 
communicate in SSL the first time. We have to accept to fallback to non 
SSL. Obviously it does'nt work better but it is the stupid way Apple 
forces us to go through ... Once it fails a second time, we can acces 
the advanced parameters pane and re check SSL, set port to 443 and 
adjust the URL.


If only we could set up things manually right from the start ... how 
much time we would save instead of waiting for the machine to fail :D



Changed the url several times. Deleted myusername in front of IP. The same.



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

Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s

2012-08-01 Thread Chris Moules
A manual installation of the certificate on the device up front should work.
You can do that via your web server. Just make sure that you have the correct 
MIME type setup for download/install.
Or if you have any MDM service you can install it via that.

If you have a Root CA just install the CA certificate. Easy-RSA from OpenVPN is 
not bad for a simple CA.
https://github.com/OpenVPN/easy-rsa

I have not used SOGo 2 yet, just 1.X.

Chris

On 01/08/12 10:40, Philippe CUIF wrote:
 Working here with 2.0.0 RC3 and iPhone 4 (no S) running IOS 5.1.1 (latest).
 
 The only difference is a / at the end of the URL 
 (https://userid@server/SOGo/dav/userid/)
 
 As we are using a non-official certificate for SSL, it takes quit a long time 
 for the iPhone to set up the caldav account. It
 even fails to communicate in SSL the first time. We have to accept to 
 fallback to non SSL. Obviously it does'nt work better but
 it is the stupid way Apple forces us to go through ... Once it fails a second 
 time, we can acces the advanced parameters pane
 and re check SSL, set port to 443 and adjust the URL.
 
 If only we could set up things manually right from the start ... how much 
 time we would save instead of waiting for the machine
 to fail :D
 
 Changed the url several times. Deleted myusername in front of IP. The same.

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


[SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s

2012-07-31 Thread Daniel Müller
Dear all,
I try
SOGo:Version 2.0.0 (root@vizzini.openchange.local 201112120725)
to sync with my IPHONE 4s without any success.

This are my settings on IPHONE 4S:
Server: My.server.ip
Username: myusername
password: mypassword
SSL yes
Port: 443
Account-URL: https://myusern...@my.server.ip/SOGo/dav/myusername

as I save the settings they gave no errors!
My Sync (pull) settings are: sync all.

Any Idea?

Greetings
Daniel




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


Re: [SOGo] SOGo 2.0 dows not sync calandar with Iphone 4s

2012-07-31 Thread Martin Rabl

Maybe the  Account-URL: with the username in the URL is false.

Am 31.07.2012 14:10, schrieb Daniel Müller:

Dear all,
I try
SOGo:Version 2.0.0 (root@vizzini.openchange.local 201112120725)
to sync with my IPHONE 4s without any success.

This are my settings on IPHONE 4S:
Server: My.server.ip
Username: myusername
password: mypassword
SSL yes
Port: 443
Account-URL: https://myusern...@my.server.ip/SOGo/dav/myusername

as I save the settings they gave no errors!
My Sync (pull) settings are: sync all.

Any Idea?

Greetings
Daniel







--
Greetings,

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


[SOGo] sogo 2.0 rc1 compilation error

2012-06-13 Thread Selçuk Mıynat

Hi,

i'm trying to install sogo 2.0. i have compiled gnustep and sope. but i 
couldn't compile sogo. when i try to compile, it gave me this error:


/usr/local/lib/libgnustep-base.so: file not recognized: File truncated
collect2: ld returned 1 exit status
make[3]: *** [Appointments.SOGo/./Appointments] Error 1
make[2]: *** [Appointments.all.wobundle.variables] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2

How can i solve this issue?

Cheers.

--
Selçuk Mıynat

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


Re: [SOGo] sogo 2.0 rc1 compilation error

2012-06-13 Thread Sven Schwedas
 /usr/local/lib/libgnustep-base.so: file not recognized: File truncated

Make sure you installed gnustep correctly.

-- 
Mit freundlichen Grüßen,
Sven SCHWEDAS
Systemadministrator
TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz
sven.schwe...@tao.at | +43 (0)664 820 4978
skype: sven.schwedas | xmpp: sven.schwe...@tao.at | www.tao.at



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] sogo 2.0 rc1 compilation error

2012-06-13 Thread Selçuk Mıynat

On 06/13/2012 12:41 PM, Sven Schwedas wrote:

/usr/local/lib/libgnustep-base.so: file not recognized: File truncated

Make sure you installed gnustep correctly.


Hi,

i've reinstalled gnustep with gnustep-startup-0.28.0 package. i checked 
it with an example script and it works.


Any ideas?

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


Re: [SOGo] SOGo 2.0 beta : LDAP NSInvalidArgumentException

2012-02-16 Thread Rémi Cailletaud
Le 16/02/2012 02:53, Ludovic Marcotte a écrit :
 On 14/02/12 09:36, Rémi Cailletaud wrote:
 this one is not ok ?
 A fix has just been pushed. You should try the upcoming nightly builds
 for SOPE (sope-ldap) - available in about 10 hours from now.

The fix seems to work properly. Thx !!

Cheers,
rémi

 
 Thanks,
 


-- 
Rémi Cailletaud - IE CNRS
3S-R - Laboratoire Sols, Solides, Structures - Risques
BP53, 38041 Grenoble CEDEX 0
FRANCE
remi.caillet...@hmg.inpg.fr
Tél: +33 (0)4 76 82 52 78
Fax: +33 (0)4 76 82 70 43




smime.p7s
Description: Signature cryptographique S/MIME


Re: [SOGo] SOGo 2.0 beta : LDAP NSInvalidArgumentException

2012-02-15 Thread Ludovic Marcotte

On 14/02/12 09:36, Rémi Cailletaud wrote:

this one is not ok ?
A fix has just been pushed. You should try the upcoming nightly builds 
for SOPE (sope-ldap) - available in about 10 hours from now.


Thanks,

--
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] SOGo 2.0 beta : LDAP NSInvalidArgumentException

2012-02-14 Thread Rémi Cailletaud
Le 31/01/2012 11:51, Rémi Cailletaud a écrit :
 Hi all,
 
 Le 26/01/2012 21:05, Wolfgang Sourdeau a écrit :
 Can you produce a new backtrace after installing the debug package for
 SOPE?
 
 Here is the bt with sope4.9-dbg installed.

this one is not ok ?

 
 Thx,
 rémi
 
 
 #0  -[NSException raise] (self=0x1dfe150, _cmd=0x7f97e70303c0) at
 NSException.m:945
 #1  0x7f97e6c4ed78 in +[NSException raise:format:]
 (self=0x7f97e702ffe0, _cmd=value optimized out, name=0x7f97e70305a0,
 format=0x7f97e6fef620) at NSException.m:825
 #2  0x7f97e6ba1261 in -[GSInlineArray initWithObjects:count:]
 (self=0x0, _cmd=value optimized out, objects=0x1d8ade0, count=2) at
 GSArray.m:426
 #3  0x7f97e7f0fac5 in -[NGLdapAttribute allStringValues]
 (self=value optimized out, _cmd=value optimized out) at
 NGLdapAttribute.m:221
 #4  0x7f97e96910dd in ?? () from /usr/lib/libSOGo.so.2
 #5  0x7f97e969129e in ?? () from /usr/lib/libSOGo.so.2
 #6  0x7f97e9696189 in ?? () from /usr/lib/libSOGo.so.2
 #7  0x7f97e9696e5e in ?? () from /usr/lib/libSOGo.so.2
 #8  0x7f97df411dd5 in -[SOGoContactSourceFolder
 lookupContactsWithFilter:onCriteria:sortBy:ordering:] (self=0x1c8c860,
 _cmd=0x7f97ded712d0, filter=0x211e480,
 criteria=0x1d97880, sortKey=0x1ceba40,
 sortOrdering=NSOrderedAscending) at SOGoContactSourceFolder.m:326
 #9  0x7f97deb641dc in -[UIxContactsListActions contactInfos]
 (self=0x1c6a400, _cmd=0x7f97ded712f0) at UIxContactsListActions.m:110
 #10 0x7f97deb6425d in -[UIxContactsListActions contactsListAction]
 (self=0x1c6a400, _cmd=0x1d96e90) at UIxContactsListActions.m:130
 #11 0x7f97e8653e89 in -[SoActionInvocation
 callOnObject:withPositionalParametersWhenNotNil:inContext:] () from
 /usr/lib/libNGObjWeb.so.4.9
 #12 0x7f97e864f180 in -[SoObjectMethodDispatcher dispatchInContext:]
 () from /usr/lib/libNGObjWeb.so.4.9
 #13 0x7f97e8651508 in -[SoObjectRequestHandler
 handleRequest:inContext:session:application:] () from
 /usr/lib/libNGObjWeb.so.4.9
 #14 0x7f97e85e0b0b in -[WORequestHandler handleRequest:]
 (self=0x19099d0, _cmd=value optimized out, _request=0x1d60e30) at
 WORequestHandler.m:241
 #15 0x7f97e85a650c in -[WOCoreApplication
 dispatchRequest:usingHandler:] (self=0x16fa210, _cmd=value optimized
 out, _request=0x1d60e30, handler=0x19099d0)
 at WOCoreApplication.m:704
 #16 0x004032a1 in -[SOGo dispatchRequest:] (self=0x16fa210,
 _cmd=0x7f97e8962dc0, _request=0x1d60e30) at SOGo.m:451
 #17 0x7f97e8640e45 in -[WOHttpTransaction _run] (self=0x1bf36d0,
 _cmd=value optimized out) at WOHttpTransaction.m:581
 #18 0x7f97e8641038 in -[WOHttpTransaction run] (self=0x1bf36d0,
 _cmd=value optimized out) at WOHttpTransaction.m:634
 #19 0x7f97e863d269 in -[WOHttpAdaptor runConnection:]
 (self=0x1b074e0, _cmd=value optimized out, _socket=0x1db79a0) at
 WOHttpAdaptor.m:384
 #20 0x7f97e863d476 in -[WOHttpAdaptor _handleAcceptedConnection:]
 (self=0x1b074e0, _cmd=value optimized out, _connection=0x1db79a0) at
 WOHttpAdaptor.m:418
 #21 0x7f97e863d8f2 in -[WOHttpAdaptor _handleConnection:]
 (self=0x1b074e0, _cmd=value optimized out, connection=0x1db79a0) at
 WOHttpAdaptor.m:477
 #22 0x7f97e863db28 in -[WOHttpAdaptor acceptControlMessage:]
 (self=0x1b074e0, _cmd=value optimized out, aNotification=value
 optimized out) at WOHttpAdaptor.m:516
 #23 0x7f97e6c87c32 in -[NSNotificationCenter _postAndRelease:]
 (self=value optimized out, _cmd=value optimized out,
 notification=value optimized out)
 at NSNotificationCenter.m:1161
 #24 0x7f97e6d746a1 in -[GSRunLoopCtxt pollUntil:within:]
 (self=0x18b11e0, _cmd=value optimized out, milliseconds=value
 optimized out, contexts=0x192d7f0)
 at GSRunLoopCtxt.m:636
 #25 0x7f97e6cc7c01 in -[NSRunLoop acceptInputForMode:beforeDate:]
 (self=0x19584c0, _cmd=value optimized out, mode=0x7f97e706d600,
 limit_date=value optimized out)
 at NSRunLoop.m:1197
 #26 0x7f97e6cc6ba0 in -[NSRunLoop runMode:beforeDate:]
 (self=0x19584c0, _cmd=value optimized out, mode=0x7f97e706d600,
 date=0x1bd1a10) at NSRunLoop.m:1265
 #27 0x7f97e85a5e79 in -[WOCoreApplication run] (self=0x16fa210,
 _cmd=value optimized out) at WOCoreApplication.m:576
 #28 0x00402915 in -[SOGo run] (self=0x16fa210,
 _cmd=0x7f97e8908680) at SOGo.m:275
 #29 0x7f97e85ea853 in -[WOWatchDog _spawnChild:] (self=0x19f6fd0,
 _cmd=value optimized out, child=0x1913280) at
 WOWatchDogApplicationMain.m:563
 #30 0x7f97e85e9a26 in -[WOWatchDog _ensureChildren] (self=0x19f6fd0,
 _cmd=value optimized out) at WOWatchDogApplicationMain.m:653
 #31 0x7f97e85ea0da in -[WOWatchDog run:argc:argv:] (self=0x19f6fd0,
 _cmd=value optimized out, newAppName=value optimized out,
 newArgC=value optimized out,
 newArgV=0x7fff95528358) at WOWatchDogApplicationMain.m:927
 #32 0x7f97e85eb10a in WOWatchDogApplicationMain (appName=0x6084a0,
 argc=value optimized out, argv=value optimized out) at
 WOWatchDogApplicationMain.m:1036
 #33 

Re: [SOGo] SOGo 2.0 beta : LDAP NSInvalidArgumentException

2012-02-07 Thread Ludovic Marcotte

On 24/01/12 12:25, Rémi Cailletaud wrote:

... and the self (self reply) : the backtrace. sorry for the noise.


Breakpoint 1, -[NSException raise] (self=0x2e51850, _cmd=0x7faef92ab3c0)
at NSException.m:945
945 NSException.m: Aucun fichier ou dossier de ce type.
in NSException.m
(gdb) bt
#0  -[NSException raise] (self=0x2e51850, _cmd=0x7faef92ab3c0) at
NSException.m:945
#1  0x7faef8ec9d78 in +[NSException raise:format:]
(self=0x7faef92aafe0, _cmd=value optimized out, name=0x7faef92ab5a0,
 format=0x7faef926a620) at NSException.m:825
#2  0x7faef8e1c261 in -[GSInlineArray initWithObjects:count:]
(self=0x0, _cmd=value optimized out, objects=0x2e54cb0, count=3)
 at GSArray.m:426
#3  0x7faefa18aac5 in ?? () from /usr/lib/libNGLdap.so.4.9
#4  0x7faefb90c0dd in ?? () from /usr/lib/libSOGo.so.2
#5  0x7faefb90c29e in ?? () from /usr/lib/libSOGo.so.2
#6  0x7faefb911189 in ?? () from /usr/lib/libSOGo.so.2
#7  0x7faefb911e5e in ?? () from /usr/lib/libSOGo.so.2
#8  0x7faef168cdd5 in -[SOGoContactSourceFolder
lookupContactsWithFilter:onCriteria:sortBy:ordering:] (self=0x2cb0d70,
_cmd=0x7faef0fec2d0,
 filter=0x2b401c0, criteria=0x2afcfd0, sortKey=0x29811a0,
sortOrdering=NSOrderedAscending) at SOGoContactSourceFolder.m:326
#9  0x7faef0ddf1dc in -[UIxContactsListActions contactInfos]
(self=0x2b1b650, _cmd=0x7faef0fec2f0) at UIxContactsListActions.m:110
#10 0x7faef0ddf25d in -[UIxContactsListActions contactsListAction]
(self=0x2b1b650, _cmd=0x279fb70) at UIxContactsListActions.m:130
#11 0x7faefa8cee89 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#12 0x7faefa8ca180 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#13 0x7faefa8cc508 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#14 0x7faefa85bb0b in ?? () from /usr/lib/libNGObjWeb.so.4.9
#15 0x7faefa82150c in ?? () from /usr/lib/libNGObjWeb.so.4.9
#16 0x004032a1 in -[SOGo dispatchRequest:] (self=0x2673350,
_cmd=0x7faefabdddc0, _request=0x2a1a630) at SOGo.m:451
#17 0x7faefa8bbe45 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#18 0x7faefa8bc038 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#19 0x7faefa8b8269 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#20 0x7faefa8b8476 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#21 0x7faefa8b88f2 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#22 0x7faefa8b8b28 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#23 0x7faef8f02c32 in -[NSNotificationCenter _postAndRelease:]
(self=value optimized out, _cmd=value optimized out,
 notification=value optimized out) at NSNotificationCenter.m:1161
#24 0x7faef8fef6a1 in -[GSRunLoopCtxt pollUntil:within:]
(self=0x26121e0, _cmd=value optimized out, milliseconds=value
optimized out,
 contexts=0x268e7f0) at GSRunLoopCtxt.m:636
#25 0x7faef8f42c01 in -[NSRunLoop acceptInputForMode:beforeDate:]
(self=0x26b94c0, _cmd=value optimized out, mode=0x7faef92e8600,
 limit_date=value optimized out) at NSRunLoop.m:1197
#26 0x7faef8f41ba0 in -[NSRunLoop runMode:beforeDate:]
(self=0x26b94c0, _cmd=value optimized out, mode=0x7faef92e8600,
date=0x265d660)
 at NSRunLoop.m:1265
#27 0x7faefa820e79 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#28 0x00402915 in -[SOGo run] (self=0x2673350,
_cmd=0x7faefab83680) at SOGo.m:275
#29 0x7faefa865853 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#30 0x7faefa864a26 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#31 0x7faefa8650da in ?? () from /usr/lib/libNGObjWeb.so.4.9
#32 0x7faefa86610a in WOWatchDogApplicationMain () from
/usr/lib/libNGObjWeb.so.4.9
#33 0x00401ae5 in main (argc=7, argv=0x7fffdc06eb08,
env=0x7fffdc06eb48) at sogod.m:53
Can you install the SOGo and SOPE debugging symbols prior generating 
your stacktrace?


--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +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] SOGo 2.0 beta : LDAP NSInvalidArgumentException

2012-01-26 Thread Rémi Cailletaud
Le 25/01/2012 21:47, Ludovic Marcotte a écrit :
 On 25/01/12 04:59, Rémi Cailletaud wrote:
 That's not better : same exception.
 You could install the debug symbols for the GNUstep/SOPE/SOGo packages
 and produce a stack trace with a breakpoint on raise. It has been
 covered multiple times in the mailing list how you can do that.

hem, I already did it in the thread (third mail). sorry for the
multi-mailing...

 We finally found which field causes the exception : guilty accounts are
 those with several user certificates. With only one, there is no problem.
 Please show us the complete LDIF entry for the two examples.

I attached a bad ldif. The first user has two certificates. Deleting the
second one make the ldif good...

 We reproduce this bug on two different test servers. Changing database
 backend to mysql has no effect.

 We did not face the bug on Sogo 1.3 (with mysql).
 2.0 has had the LDAP code quite overhauled.
 Should I fill a bug report ?
 No, not right now.

Thx again for your work,
rémi


-- 
Rémi Cailletaud - IE CNRS
3S-R - Laboratoire Sols, Solides, Structures - Risques
BP53, 38041 Grenoble CEDEX 0
FRANCE
remi.caillet...@hmg.inpg.fr
Tél: +33 (0)4 76 82 52 78
Fax: +33 (0)4 76 82 70 43

dn: OU=Tests,OU=Utilisateurs,DC=3S-Mail,DC=local
changetype: add
objectClass: top
objectClass: organizationalUnit
ou: Tests
distinguishedName: OU=Tests,OU=Utilisateurs,DC=3S-Mail,DC=local
instanceType: 4
whenCreated: 20120126083019.0Z
whenChanged: 20120126085147.0Z
uSNCreated: 16797
uSNChanged: 16825
name: Tests
objectGUID:: 8MBZ5rSUT0C3HQtpY8jSdw==
objectCategory: 
 CN=Organizational-Unit,CN=Schema,CN=Configuration,DC=3S-Mail,DC=local
dSCorePropagationData: 20120126083019.0Z
dSCorePropagationData: 20120126083019.0Z
dSCorePropagationData: 1601010100.0Z

dn: CN=Georges Abitbol,OU=Tests,OU=Utilisateurs,DC=3S-Mail,DC=local
changetype: add
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn: Georges Abitbol
sn: Abitbol
c: FR
postalCode: 757575
postOfficeBox: 45484
userCertificate:: 
 MIICvDCCAiUCEEoZ0jiMglkcpV1zXxVd3KMwDQYJKoZIhvcNAQEEBQAwgZ4xHzAdBgNVBAoTFlZlcm
 lTaWduIFRydXN0IE5ldHdvcmsxFzAVBgNVBAsTDlZlcmlTaWduLCBJbmMuMSwwKgYDVQQLEyNWZXJp
 U2lnbiBUaW1lIFN0YW1waW5nIFNlcnZpY2UgUm9vdDE0MDIGA1UECxMrTk8gTElBQklMSVRZIEFDQ0
 VQVEVELCAoYyk5NyBWZXJpU2lnbiwgSW5jLjAeFw05NzA1MTIwMDAwMDBaFw0wNDAxMDcyMzU5NTla
 MIGeMR8wHQYDVQQKExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMRcwFQYDVQQLEw5WZXJpU2lnbiwgSW
 5jLjEsMCoGA1UECxMjVmVyaVNpZ24gVGltZSBTdGFtcGluZyBTZXJ2aWNlIFJvb3QxNDAyBgNVBAsT
 K05PIExJQUJJTElUWSBBQ0NFUFRFRCwgKGMpOTcgVmVyaVNpZ24sIEluYy4wgZ8wDQYJKoZIhvcNAQ
 EBBQADgY0AMIGJAoGBANMuIPBofCwtLoEcsQaypwu3EQ1X2lPYdePJMyqy1PYJWzTz6ZD+CQzQ2xta
 uc3n9oixncCHJet9WBBzanjLcRX9xlj2KatYXpYE/S1iEViBHMpxlNUiWC/VzBQFhDa6lKq0TUrp7j
 sirVaZfiGcbIbASkeXarSmNtX8CS3TtDmbAgMBAAEwDQYJKoZIhvcNAQEEBQADgYEAYVUOPnvHkhJ+
 ERCOIszUsxMrW+hE5At4nqR+86cHch7iWe/MhOOJlEzbTmHvs6T7Rj1QNAufcFb2jip/F87lY795aQ
 dzLrCVKIr17aqp0l3NCsoQCY/Os68olsR5KYSS3P+6Z0JIppAQ5L9h+JxT5ZPRcz/4/Z1PhKxV0f0R
 Y2M=
userCertificate:: 
 MIICPDCCAaUCEHC65B0Q2Sk0tjjKewPMur8wDQYJKoZIhvcNAQECBQAwXzELMAkGA1UEBhMCVVMxFz
 AVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENl
 cnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2MDEyOTAwMDAwMFoXDTI4MDgwMTIzNTk1OVowXzELMA
 kGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1Ymxp
 YyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQ
 KBgQDJXFme8huKARS0EN8EQNvjV69qRUCPhAwL0TPZ2RHP7gJYHyX3KqhEBarsAx94f56TuZoAqiN9
 1qyFomNFx3InzPRMxnVx0jnvT0Lwdd8KkMaOIG+YD/isI19wKTakyYbnsZogy1Olhec9vn2a/iRFM9
 x2Fe0PonFkTGUugWhFpwIDAQABMA0GCSqGSIb3DQEBAgUAA4GBALtMEivPLCYATxQT3ab7/AoRhIzz
 KBxnki98tsX63/Dolbwdj2wsqFHMc9ikwFPwTtYmwHYBV4GSXiHx0bH/59AhWM1pF+NEHJwZRDmJXN
 ycAA9WjQKZ7aKQRUzkuxCkPfAyAw7xzvjoyVGM5mKf5p/AfbdynMk2OmufTqj/ZA1k
givenName: Georges
distinguishedName: 
 CN=Georges Abitbol,OU=Tests,OU=Utilisateurs,DC=3S-Mail,DC=local
instanceType: 4
whenCreated: 20120126082836.0Z
whenChanged: 20120126084528.0Z
displayName: Georges Abitbol
uSNCreated: 16788
memberOf:: 
 Q049R3JvdXBlIGRlcyBtYWxob25uw6p0ZXMsT1U9VXRpbGlzYXRldXJzLERDPTNTLU1haWwsREM9bG
 9jYWw=
uSNChanged: 16821
co: France
name: Georges Abitbol
objectGUID:: qpSuHV6/I0iCQ6qC302yHA==
userAccountControl: 512
badPwdCount: 0
codePage: 0
countryCode: 250
badPasswordTime: 0
lastLogoff: 0
lastLogon: 0
pwdLastSet: 129720408656933977
primaryGroupID: 513
objectSid:: AQUAAAUV1QulUSZLE/uVqbwnVgQAAA==
accountExpires: 9223372036854775807
logonCount: 0
sAMAccountName: gabitbol
sAMAccountType: 805306368
userPrincipalName: gabitbol@3S-Mail.local
lockoutTime: 0
objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=3S-Mail,DC=local
dSCorePropagationData: 20120126083025.0Z
dSCorePropagationData: 20120126083019.0Z
dSCorePropagationData: 1601010100.0Z
lastLogonTimestamp: 129720411288895924
middleName: gabitbol

dn: CN=Peter et. Steven,OU=Tests,OU=Utilisateurs,DC=3S-Mail,DC=local
changetype: add
objectClass: top
objectClass: 

Re: [SOGo] SOGo 2.0 beta : LDAP NSInvalidArgumentException

2012-01-26 Thread Rémi Cailletaud
Hi all,

 Can you produce a new backtrace after installing the debug package for
 SOPE?

Oops,  did not notice that sope-dbg was not installed... I'm away from
computer for few days,  will post the bt next week.

Cheers,

rémi



 Thanks!


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



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


Re: [SOGo] SOGo 2.0 beta : LDAP NSInvalidArgumentException

2012-01-25 Thread Rémi Cailletaud
Hi Francis,

Thanks for your answer...

Le 24/01/2012 21:35, Francis Lachapelle a écrit :
 Hi Rémi
 
 On 2012-01-24, at 11:19 AM, Rémi Cailletaud wrote:
 
 I try to install SOGo 2.0 and face a strange error. The scenario is :

 - fresh Debian Squeeze install ;
 - SOGo from inverse nightly repository ;
 - PGSQL ;
 - apache2.

 - the source auth is an Active Directory :

SOGoUserSources = (
{
type = ldap;
CNFieldName = cn;
IDFieldName = cn;
UIDFieldName = sAMAccountName;
 
 Try setting IDFieldName to sAMAccountName.

That's not better : same exception.

We finally found which field causes the exception : guilty accounts are
those with several user certificates. With only one, there is no problem.

We reproduce this bug on two different test servers. Changing database
backend to mysql has no effect.

We did not face the bug on Sogo 1.3 (with mysql).

Should I fill a bug report ?

Thanks for your work...

rémi

 
baseDN = OU=Users,DC=domain,DC=local;
bindDN = read@domain.local;
bindPassword = passwd;
bindFields = (middleName);
canAuthenticate = YES;
displayName = Domain;
hostname = 194.254.65.56;
id = DOMAIN;
isAddressBook = YES;
port = 389;
  scope = sub;
}

 - some users cannot login. in fact, they can login, but sogo raises an
 exception. we tried to search if they have particular LDAP field, but
 nothing like that.

 EXCEPTION: NSException: 0x1564bc0 NAME:NSInvalidArgumentException
 REASON:Tried to init array with nil object INFO:(nil)

 - in same time, searching the address book if those users are in the
 ldap search scope does not work : same exception in Sogo log.

 - putting these users out of ldap search scope make the address book
 functional...

 We did not manage to understand which LDAP entries can cause this
 exception. Trying to remove most of the fileds, accents, not alpha char
 was unsuccessful...

 I paste the commented log of an unsuccessful login attempt. I tried to
 activate some other debug output, but nothing interesting :


 Jan 24 16:55:30 sogod [31741]: 0x0x10aa5a0[WOWatchDog] child spawned
 with pid 31751
 Jan 24 16:55:30 sogod [31751]: 0x0x128e7e0[SOGoCache] Cache cleanup
 interval set every 300.00 seconds
 Jan 24 16:55:30 sogod [31751]: 0x0x128e7e0[SOGoCache] Using host(s)
 'localhost' as server(s)
 2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): SoDebugKeyLookup is
 enabled!
 2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): SoDebugBaseURL is
 enabled!
 2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): relative base URLs
 are enabled.
 2012-01-24 16:55:30.767 sogod[31751] ERROR(-[NGBundleManager
 bundleWithPath:]): could not create bundle for path:
 '/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.20/Resources/SSL.bundle'
 2012-01-24 16:55:30.773 sogod[31751] WOCompoundElement: pool embedding
 is on.
 2012-01-24 16:55:30.773 sogod[31751] WOCompoundElement: id logging is on.
 Jan 24 16:55:30 sogod [31751]: SOGoRootPage successful login for user
 'jertest' - expire = -1  grace = -1

 - Login seems to be successful

 Jan 24 16:55:30 sogod [31751]: [ERROR] 0x0x1562420[NGLdapAttribute]
 cound not convert value of objectSid to string

 - I think we can ignore this, as some users that have no problem cause
 this error

 EXCEPTION: NSException: 0x1564bc0 NAME:NSInvalidArgumentException
 REASON:Tried to init array with nil object INFO:(nil)

 - This one appears only when login with a bad user, and searching in
 a address book with some bad users.

 Jan 24 16:55:30 sogod [31741]: 0x0x108bea0[WOWatchDogChild] child
 31751 exited
 Jan 24 16:55:30 sogod [31741]: 0x0x108bea0[WOWatchDogChild]
 (terminated due to signal 6)
 Jan 24 16:55:30 sogod [31741]: 0x0x108bea0[WOWatchDogChild] avoiding
 to respawn child before 2012-01-24 16:55:35 +0100


 Thanks for your help,
 rémi

 -- 
 Rémi Cailletaud - IE CNRS
 3S-R - Laboratoire Sols, Solides, Structures - Risques
 BP53, 38041 Grenoble CEDEX 0
 FRANCE
 remi.caillet...@hmg.inpg.fr
 Tél: +33 (0)4 76 82 52 78
 Fax: +33 (0)4 76 82 70 43
 
 --
 flachape...@inverse.ca :: +1.514.755.3640 :: http://www.inverse.ca
 Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
 (http://packetfence.org)
 


-- 
Rémi Cailletaud - IE CNRS
3S-R - Laboratoire Sols, Solides, Structures - Risques
BP53, 38041 Grenoble CEDEX 0
FRANCE
remi.caillet...@hmg.inpg.fr
Tél: +33 (0)4 76 82 52 78
Fax: +33 (0)4 76 82 70 43




smime.p7s
Description: Signature cryptographique S/MIME


Re: [SOGo] SOGo 2.0 beta : LDAP NSInvalidArgumentException

2012-01-25 Thread Ludovic Marcotte

On 25/01/12 04:59, Rémi Cailletaud wrote:

That's not better : same exception.
You could install the debug symbols for the GNUstep/SOPE/SOGo packages 
and produce a stack trace with a breakpoint on raise. It has been 
covered multiple times in the mailing list how you can do that.

We finally found which field causes the exception : guilty accounts are
those with several user certificates. With only one, there is no problem.

Please show us the complete LDIF entry for the two examples.

We reproduce this bug on two different test servers. Changing database
backend to mysql has no effect.

We did not face the bug on Sogo 1.3 (with mysql).

2.0 has had the LDAP code quite overhauled.

Should I fill a bug report ?

No, not right now.

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +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


[SOGo] SOGo 2.0 beta : LDAP NSInvalidArgumentException

2012-01-24 Thread Rémi Cailletaud
Hi,

I try to install SOGo 2.0 and face a strange error. The scenario is :

- fresh Debian Squeeze install ;
- SOGo from inverse nightly repository ;
- PGSQL ;
- apache2.

- the source auth is an Active Directory :

SOGoUserSources = (
{
type = ldap;
CNFieldName = cn;
IDFieldName = cn;
UIDFieldName = sAMAccountName;
baseDN = OU=Users,DC=domain,DC=local;
bindDN = read@domain.local;
bindPassword = passwd;
bindFields = (middleName);
canAuthenticate = YES;
displayName = Domain;
hostname = 194.254.65.56;
id = DOMAIN;
isAddressBook = YES;
port = 389;
scope = sub;
}

- some users cannot login. in fact, they can login, but sogo raises an
exception. we tried to search if they have particular LDAP field, but
nothing like that.

EXCEPTION: NSException: 0x1564bc0 NAME:NSInvalidArgumentException
REASON:Tried to init array with nil object INFO:(nil)

- in same time, searching the address book if those users are in the
ldap search scope does not work : same exception in Sogo log.

- putting these users out of ldap search scope make the address book
functional...

We did not manage to understand which LDAP entries can cause this
exception. Trying to remove most of the fileds, accents, not alpha char
was unsuccessful...

I paste the commented log of an unsuccessful login attempt. I tried to
activate some other debug output, but nothing interesting :


Jan 24 16:55:30 sogod [31741]: 0x0x10aa5a0[WOWatchDog] child spawned
with pid 31751
Jan 24 16:55:30 sogod [31751]: 0x0x128e7e0[SOGoCache] Cache cleanup
interval set every 300.00 seconds
Jan 24 16:55:30 sogod [31751]: 0x0x128e7e0[SOGoCache] Using host(s)
'localhost' as server(s)
2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): SoDebugKeyLookup is
enabled!
2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): SoDebugBaseURL is
enabled!
2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): relative base URLs
are enabled.
2012-01-24 16:55:30.767 sogod[31751] ERROR(-[NGBundleManager
bundleWithPath:]): could not create bundle for path:
'/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.20/Resources/SSL.bundle'
2012-01-24 16:55:30.773 sogod[31751] WOCompoundElement: pool embedding
is on.
2012-01-24 16:55:30.773 sogod[31751] WOCompoundElement: id logging is on.
Jan 24 16:55:30 sogod [31751]: SOGoRootPage successful login for user
'jertest' - expire = -1  grace = -1

- Login seems to be successful

Jan 24 16:55:30 sogod [31751]: [ERROR] 0x0x1562420[NGLdapAttribute]
cound not convert value of objectSid to string

- I think we can ignore this, as some users that have no problem cause
this error

EXCEPTION: NSException: 0x1564bc0 NAME:NSInvalidArgumentException
REASON:Tried to init array with nil object INFO:(nil)

- This one appears only when login with a bad user, and searching in
a address book with some bad users.

Jan 24 16:55:30 sogod [31741]: 0x0x108bea0[WOWatchDogChild] child
31751 exited
Jan 24 16:55:30 sogod [31741]: 0x0x108bea0[WOWatchDogChild]
(terminated due to signal 6)
Jan 24 16:55:30 sogod [31741]: 0x0x108bea0[WOWatchDogChild] avoiding
to respawn child before 2012-01-24 16:55:35 +0100


Thanks for your help,
rémi

-- 
Rémi Cailletaud - IE CNRS
3S-R - Laboratoire Sols, Solides, Structures - Risques
BP53, 38041 Grenoble CEDEX 0
FRANCE
remi.caillet...@hmg.inpg.fr
Tél: +33 (0)4 76 82 52 78
Fax: +33 (0)4 76 82 70 43

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


Re: [SOGo] SOGo 2.0 beta : LDAP NSInvalidArgumentException

2012-01-24 Thread Rémi Cailletaud
Hi again,

I made a self reply : investigating the postgresql log, I can see :

2012-01-24 17:30:51 CET LOG:  n'a pas pu recevoir les données du client
: Connexion ré-initialisée par le correspondant
2012-01-24 17:30:51 CET LOG:  fin de fichier (EOF) inattendue de la
connexion du client

(in english : the connection was reinitialized by client
unexpected EOF)

Should I fill a bug report ?

Cheers,
rémi

Le 24/01/2012 17:19, Rémi Cailletaud a écrit :
 Hi,
 
 I try to install SOGo 2.0 and face a strange error. The scenario is :
 
 - fresh Debian Squeeze install ;
 - SOGo from inverse nightly repository ;
 - PGSQL ;
 - apache2.
 
 - the source auth is an Active Directory :
 
 SOGoUserSources = (
 {
 type = ldap;
 CNFieldName = cn;
 IDFieldName = cn;
 UIDFieldName = sAMAccountName;
 baseDN = OU=Users,DC=domain,DC=local;
 bindDN = read@domain.local;
 bindPassword = passwd;
 bindFields = (middleName);
 canAuthenticate = YES;
 displayName = Domain;
 hostname = 194.254.65.56;
 id = DOMAIN;
 isAddressBook = YES;
 port = 389;
   scope = sub;
 }
 
 - some users cannot login. in fact, they can login, but sogo raises an
 exception. we tried to search if they have particular LDAP field, but
 nothing like that.
 
 EXCEPTION: NSException: 0x1564bc0 NAME:NSInvalidArgumentException
 REASON:Tried to init array with nil object INFO:(nil)
 
 - in same time, searching the address book if those users are in the
 ldap search scope does not work : same exception in Sogo log.
 
 - putting these users out of ldap search scope make the address book
 functional...
 
 We did not manage to understand which LDAP entries can cause this
 exception. Trying to remove most of the fileds, accents, not alpha char
 was unsuccessful...
 
 I paste the commented log of an unsuccessful login attempt. I tried to
 activate some other debug output, but nothing interesting :
 
 
 Jan 24 16:55:30 sogod [31741]: 0x0x10aa5a0[WOWatchDog] child spawned
 with pid 31751
 Jan 24 16:55:30 sogod [31751]: 0x0x128e7e0[SOGoCache] Cache cleanup
 interval set every 300.00 seconds
 Jan 24 16:55:30 sogod [31751]: 0x0x128e7e0[SOGoCache] Using host(s)
 'localhost' as server(s)
 2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): SoDebugKeyLookup is
 enabled!
 2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): SoDebugBaseURL is
 enabled!
 2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): relative base URLs
 are enabled.
 2012-01-24 16:55:30.767 sogod[31751] ERROR(-[NGBundleManager
 bundleWithPath:]): could not create bundle for path:
 '/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.20/Resources/SSL.bundle'
 2012-01-24 16:55:30.773 sogod[31751] WOCompoundElement: pool embedding
 is on.
 2012-01-24 16:55:30.773 sogod[31751] WOCompoundElement: id logging is on.
 Jan 24 16:55:30 sogod [31751]: SOGoRootPage successful login for user
 'jertest' - expire = -1  grace = -1
 
 - Login seems to be successful
 
 Jan 24 16:55:30 sogod [31751]: [ERROR] 0x0x1562420[NGLdapAttribute]
 cound not convert value of objectSid to string
 
 - I think we can ignore this, as some users that have no problem cause
 this error
 
 EXCEPTION: NSException: 0x1564bc0 NAME:NSInvalidArgumentException
 REASON:Tried to init array with nil object INFO:(nil)
 
 - This one appears only when login with a bad user, and searching in
 a address book with some bad users.
 
 Jan 24 16:55:30 sogod [31741]: 0x0x108bea0[WOWatchDogChild] child
 31751 exited
 Jan 24 16:55:30 sogod [31741]: 0x0x108bea0[WOWatchDogChild]
 (terminated due to signal 6)
 Jan 24 16:55:30 sogod [31741]: 0x0x108bea0[WOWatchDogChild] avoiding
 to respawn child before 2012-01-24 16:55:35 +0100
 
 
 Thanks for your help,
 rémi
 


-- 
Rémi Cailletaud - IE CNRS
3S-R - Laboratoire Sols, Solides, Structures - Risques
BP53, 38041 Grenoble CEDEX 0
FRANCE
remi.caillet...@hmg.inpg.fr
Tél: +33 (0)4 76 82 52 78
Fax: +33 (0)4 76 82 70 43




smime.p7s
Description: Signature cryptographique S/MIME


Re: [SOGo] SOGo 2.0 beta : LDAP NSInvalidArgumentException

2012-01-24 Thread Rémi Cailletaud
... and the self (self reply) : the backtrace. sorry for the noise.


Breakpoint 1, -[NSException raise] (self=0x2e51850, _cmd=0x7faef92ab3c0)
at NSException.m:945
945 NSException.m: Aucun fichier ou dossier de ce type.
in NSException.m
(gdb) bt
#0  -[NSException raise] (self=0x2e51850, _cmd=0x7faef92ab3c0) at
NSException.m:945
#1  0x7faef8ec9d78 in +[NSException raise:format:]
(self=0x7faef92aafe0, _cmd=value optimized out, name=0x7faef92ab5a0,
format=0x7faef926a620) at NSException.m:825
#2  0x7faef8e1c261 in -[GSInlineArray initWithObjects:count:]
(self=0x0, _cmd=value optimized out, objects=0x2e54cb0, count=3)
at GSArray.m:426
#3  0x7faefa18aac5 in ?? () from /usr/lib/libNGLdap.so.4.9
#4  0x7faefb90c0dd in ?? () from /usr/lib/libSOGo.so.2
#5  0x7faefb90c29e in ?? () from /usr/lib/libSOGo.so.2
#6  0x7faefb911189 in ?? () from /usr/lib/libSOGo.so.2
#7  0x7faefb911e5e in ?? () from /usr/lib/libSOGo.so.2
#8  0x7faef168cdd5 in -[SOGoContactSourceFolder
lookupContactsWithFilter:onCriteria:sortBy:ordering:] (self=0x2cb0d70,
_cmd=0x7faef0fec2d0,
filter=0x2b401c0, criteria=0x2afcfd0, sortKey=0x29811a0,
sortOrdering=NSOrderedAscending) at SOGoContactSourceFolder.m:326
#9  0x7faef0ddf1dc in -[UIxContactsListActions contactInfos]
(self=0x2b1b650, _cmd=0x7faef0fec2f0) at UIxContactsListActions.m:110
#10 0x7faef0ddf25d in -[UIxContactsListActions contactsListAction]
(self=0x2b1b650, _cmd=0x279fb70) at UIxContactsListActions.m:130
#11 0x7faefa8cee89 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#12 0x7faefa8ca180 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#13 0x7faefa8cc508 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#14 0x7faefa85bb0b in ?? () from /usr/lib/libNGObjWeb.so.4.9
#15 0x7faefa82150c in ?? () from /usr/lib/libNGObjWeb.so.4.9
#16 0x004032a1 in -[SOGo dispatchRequest:] (self=0x2673350,
_cmd=0x7faefabdddc0, _request=0x2a1a630) at SOGo.m:451
#17 0x7faefa8bbe45 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#18 0x7faefa8bc038 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#19 0x7faefa8b8269 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#20 0x7faefa8b8476 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#21 0x7faefa8b88f2 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#22 0x7faefa8b8b28 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#23 0x7faef8f02c32 in -[NSNotificationCenter _postAndRelease:]
(self=value optimized out, _cmd=value optimized out,
notification=value optimized out) at NSNotificationCenter.m:1161
#24 0x7faef8fef6a1 in -[GSRunLoopCtxt pollUntil:within:]
(self=0x26121e0, _cmd=value optimized out, milliseconds=value
optimized out,
contexts=0x268e7f0) at GSRunLoopCtxt.m:636
#25 0x7faef8f42c01 in -[NSRunLoop acceptInputForMode:beforeDate:]
(self=0x26b94c0, _cmd=value optimized out, mode=0x7faef92e8600,
limit_date=value optimized out) at NSRunLoop.m:1197
#26 0x7faef8f41ba0 in -[NSRunLoop runMode:beforeDate:]
(self=0x26b94c0, _cmd=value optimized out, mode=0x7faef92e8600,
date=0x265d660)
at NSRunLoop.m:1265
#27 0x7faefa820e79 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#28 0x00402915 in -[SOGo run] (self=0x2673350,
_cmd=0x7faefab83680) at SOGo.m:275
#29 0x7faefa865853 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#30 0x7faefa864a26 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#31 0x7faefa8650da in ?? () from /usr/lib/libNGObjWeb.so.4.9
#32 0x7faefa86610a in WOWatchDogApplicationMain () from
/usr/lib/libNGObjWeb.so.4.9
#33 0x00401ae5 in main (argc=7, argv=0x7fffdc06eb08,
env=0x7fffdc06eb48) at sogod.m:53


Le 24/01/2012 17:46, Rémi Cailletaud a écrit :
 Hi again,
 
 I made a self reply : investigating the postgresql log, I can see :
 
 2012-01-24 17:30:51 CET LOG:  n'a pas pu recevoir les données du client
 : Connexion ré-initialisée par le correspondant
 2012-01-24 17:30:51 CET LOG:  fin de fichier (EOF) inattendue de la
 connexion du client
 
 (in english : the connection was reinitialized by client
 unexpected EOF)
 
 Should I fill a bug report ?
 
 Cheers,
 rémi
 
 Le 24/01/2012 17:19, Rémi Cailletaud a écrit :
 Hi,

 I try to install SOGo 2.0 and face a strange error. The scenario is :

 - fresh Debian Squeeze install ;
 - SOGo from inverse nightly repository ;
 - PGSQL ;
 - apache2.

 - the source auth is an Active Directory :

 SOGoUserSources = (
 {
 type = ldap;
 CNFieldName = cn;
 IDFieldName = cn;
 UIDFieldName = sAMAccountName;
 baseDN = OU=Users,DC=domain,DC=local;
 bindDN = read@domain.local;
 bindPassword = passwd;
 bindFields = (middleName);
 canAuthenticate = YES;
 displayName = Domain;
 hostname = 194.254.65.56;
 id = DOMAIN;
 isAddressBook = YES;
 port = 389;
  scope = sub;
 }

 - some 

Re: [SOGo] SOGo 2.0 beta : LDAP NSInvalidArgumentException

2012-01-24 Thread Francis Lachapelle
Hi Rémi

On 2012-01-24, at 11:19 AM, Rémi Cailletaud wrote:

 I try to install SOGo 2.0 and face a strange error. The scenario is :
 
 - fresh Debian Squeeze install ;
 - SOGo from inverse nightly repository ;
 - PGSQL ;
 - apache2.
 
 - the source auth is an Active Directory :
 
SOGoUserSources = (
{
type = ldap;
CNFieldName = cn;
IDFieldName = cn;
UIDFieldName = sAMAccountName;

Try setting IDFieldName to sAMAccountName.

baseDN = OU=Users,DC=domain,DC=local;
bindDN = read@domain.local;
bindPassword = passwd;
bindFields = (middleName);
canAuthenticate = YES;
displayName = Domain;
hostname = 194.254.65.56;
id = DOMAIN;
isAddressBook = YES;
port = 389;
   scope = sub;
}
 
 - some users cannot login. in fact, they can login, but sogo raises an
 exception. we tried to search if they have particular LDAP field, but
 nothing like that.
 
 EXCEPTION: NSException: 0x1564bc0 NAME:NSInvalidArgumentException
 REASON:Tried to init array with nil object INFO:(nil)
 
 - in same time, searching the address book if those users are in the
 ldap search scope does not work : same exception in Sogo log.
 
 - putting these users out of ldap search scope make the address book
 functional...
 
 We did not manage to understand which LDAP entries can cause this
 exception. Trying to remove most of the fileds, accents, not alpha char
 was unsuccessful...
 
 I paste the commented log of an unsuccessful login attempt. I tried to
 activate some other debug output, but nothing interesting :
 
 
 Jan 24 16:55:30 sogod [31741]: 0x0x10aa5a0[WOWatchDog] child spawned
 with pid 31751
 Jan 24 16:55:30 sogod [31751]: 0x0x128e7e0[SOGoCache] Cache cleanup
 interval set every 300.00 seconds
 Jan 24 16:55:30 sogod [31751]: 0x0x128e7e0[SOGoCache] Using host(s)
 'localhost' as server(s)
 2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): SoDebugKeyLookup is
 enabled!
 2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): SoDebugBaseURL is
 enabled!
 2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): relative base URLs
 are enabled.
 2012-01-24 16:55:30.767 sogod[31751] ERROR(-[NGBundleManager
 bundleWithPath:]): could not create bundle for path:
 '/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.20/Resources/SSL.bundle'
 2012-01-24 16:55:30.773 sogod[31751] WOCompoundElement: pool embedding
 is on.
 2012-01-24 16:55:30.773 sogod[31751] WOCompoundElement: id logging is on.
 Jan 24 16:55:30 sogod [31751]: SOGoRootPage successful login for user
 'jertest' - expire = -1  grace = -1
 
 - Login seems to be successful
 
 Jan 24 16:55:30 sogod [31751]: [ERROR] 0x0x1562420[NGLdapAttribute]
 cound not convert value of objectSid to string
 
 - I think we can ignore this, as some users that have no problem cause
 this error
 
 EXCEPTION: NSException: 0x1564bc0 NAME:NSInvalidArgumentException
 REASON:Tried to init array with nil object INFO:(nil)
 
 - This one appears only when login with a bad user, and searching in
 a address book with some bad users.
 
 Jan 24 16:55:30 sogod [31741]: 0x0x108bea0[WOWatchDogChild] child
 31751 exited
 Jan 24 16:55:30 sogod [31741]: 0x0x108bea0[WOWatchDogChild]
 (terminated due to signal 6)
 Jan 24 16:55:30 sogod [31741]: 0x0x108bea0[WOWatchDogChild] avoiding
 to respawn child before 2012-01-24 16:55:35 +0100
 
 
 Thanks for your help,
 rémi
 
 -- 
 Rémi Cailletaud - IE CNRS
 3S-R - Laboratoire Sols, Solides, Structures - Risques
 BP53, 38041 Grenoble CEDEX 0
 FRANCE
 remi.caillet...@hmg.inpg.fr
 Tél: +33 (0)4 76 82 52 78
 Fax: +33 (0)4 76 82 70 43

--
flachape...@inverse.ca :: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

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

Re: Re: [SOGo] sogo 2.0.beta2 on debian squeeze 64 bit vmware esx4.1 talloc not found

2011-11-23 Thread stasou
You need to install python modules. Debian or Ubuntu:

sudo apt-get install python-talloc

After that you might get an error about ldb module... So, you do:

sudo apt-get install python-ldb

And that seems to make me advance for the moment...
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] sogo 2.0.beta2 on debian squeeze 64 bit vmware esx4.1 talloc not found

2011-10-27 Thread Gerhard W. Recher (abuse)
hi

i got stuck with beta2

all things are fine until step: add user to samba

sogo@sogo:~/openchange/sogo/samba4$ sudo PYTHONPATH=$PYTHONPATH
./bin/samba-tool domain passwordsettings set --complexity=off
Traceback (most recent call last):
  File ./bin/samba-tool, line 30, in module
from samba.netcmd.domain import cmd_domain
  File bin/python/samba/netcmd/domain.py, line 44, in module
from samba.samba3 import Samba3
  File bin/python/samba/samba3/__init__.py, line 29, in module
import passdb
ImportError: /usr/local/samba/lib/ldb/libccan.so.0: version
`SAMBA_4.0.0ALPHA17' not found (required by
/usr/local/samba/lib/libsmbconf.so.0)




sogo@sogo:~/openchange/sogo/samba4$ echo $PYTHONPATH
:/usr/local/samba/lib/python2.6/site-packages


and sudo without path

sogo@sogo:~/openchange/sogo/samba4$ sudo  ./bin/samba-tool domain
passwordsettings set --complexity=off
Traceback (most recent call last):
  File ./bin/samba-tool, line 26, in module
from samba import netcmd
  File bin/python/samba/__init__.py, line 29, in module
import samba.param
ImportError: No module named talloc



shall i switch to ubunto server 11.10 64 bit ?

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


Re: [SOGo] sogo 2.0.Beta have i missed a step ?

2011-10-27 Thread Gerhard W. Recher (abuse)
Am 26.10.2011 23:28, schrieb Frank Ellebrecht:
 Hello Gerhard,

 You really should try out Dovecot. Although Debian ships with version
 1.2.15, you should take a look at version 2.x. Installing it is as
 easy as adding

 # Prebuilt binaries for Dovecot v2.0x
 deb http://xi.rename -it.nl/debian/stable-auto/dovecot-2.0 main

 to your /etc/apt/sources.list and then apt-get update  apt-get
 install dovecot-imapd dovecot-sieve ... (see
 http://wiki2.dovecot.org/PrebuiltBinaries for further information).
 It is a great piece of software and mostly well documented. AFAIR
 there is some support for changing from other mail servers to Dovecot.
 (There also was an article about Dovecot in the September 2010 issue
 of the German Linux Magazin).

 Regards,
 Frank

 Am 26.10.2011 22:35, schrieb Gerhard W. Recher (abuse):
 Am 26.10.2011 22:33, schrieb Ludovic Marcotte:
 On 26/10/11 16:19, Gerhard W. Recher (abuse) wrote:
 cyrus2.2 as of squeeze apt-get
 QRESYNC was added in Cyrus 2.4.

 so i have to switch to dovcut ? debian squeeze has only this version 2.2
 . very sad

 -- gerhard

Hi frank,

thx for reply... i will switch over from squeeze to ubuntu server 11.10
64 bit...

will do this this evening

-- gerhard

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


Re: [SOGo] sogo 2.0.beta2 on debian squeeze 64 bit vmware esx4.1 talloc not found

2011-10-27 Thread christophschroedercs
Hello,

had the same Problem. Here is how to fix it:

Specify '../python' as pythonpath, so that python is in
~/openchange/sogo/python.

Hope that helps.

Kind regards,
Christoph Schröder-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] sogo 2.0.Beta have i missed a step ?

2011-10-26 Thread Gerhard W. Recher (abuse)
Hi

sorry for posting again, but nobody answered yet.

I just installed a new sogo 2.0.0 Beta in a vm-ware esx4.1 64 bit debian 
squeeze 


I followed all steps from:

http://www.sogo.nu/files/docs/SOGo%20Native%20Microsoft%20Outlook%20Configuration.pdf


I have configured postfix with cyrus

in webinteface i can access my cyrus mailbox. and do all things i want to
do sending mails moving mails around, creating folders etc...

I see contacts in outlok2010 and i see tasks and calender and contacts
sync between webclient and outlook is perfect

but I have no content in inbox of outlook client !
I can sent email with outlook client, but also these email do not show
up in webmail sogo sent folder !


have i missed some configuration steps ?


-- gerhard

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


Re: [SOGo] sogo 2.0.Beta have i missed a step ?

2011-10-26 Thread Ludovic Marcotte

On 26/10/11 15:03, Gerhard W. Recher (abuse) wrote:

have i missed some configuration steps ?
Are you sure the password specified in the openchange.ldb file is the 
same as your IMAP's password? By default, it's not the case, even if you 
specified the right password when creating the Samba 4 user.


Just run:

echo %s/:username@/:password@/g
w
q
 | /usr/local/samba/bin/ldbedit -H 
/usr/local/samba/private/openchange.ldb -e ex


by replacing username with the actual username and password by the 
actually user's IMAP password.


Regards,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +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] sogo 2.0.Beta have i missed a step ?

2011-10-26 Thread Gerhard W. Recher (abuse)
Am 26.10.2011 21:43, schrieb Ludovic Marcotte:
 On 26/10/11 15:39, Gerhard W. Recher (abuse) wrote:
 MAPIStoreInboxFolder:0x134af50:folderINBOX  uid '(nil)' has modseq
 '(nil)'
 /usr/local/samba/sbin/samba: Uncaught exception
 NSInvalidArgumentException, reason: Tried to add nil key to dictionary
 Your IMAP server does not support the QRESYNC IMAP extension - it's
 required.

hmm it's cyrus because of sieve

any hint's ???

-- gerhard

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


Re: [SOGo] sogo 2.0.Beta have i missed a step ?

2011-10-26 Thread Ludovic Marcotte

On 26/10/11 16:13, Gerhard W. Recher (abuse) wrote:

hmm it's cyrus because of sieve

any hint's ???


Which version of Cyrus?

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +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] sogo 2.0.Beta have i missed a step ?

2011-10-26 Thread Gerhard W. Recher (abuse)
Am 26.10.2011 22:14, schrieb Ludovic Marcotte:
 On 26/10/11 16:13, Gerhard W. Recher (abuse) wrote:
 hmm it's cyrus because of sieve

 any hint's ???

 Which version of Cyrus?

cyrus2.2 as of squeeze apt-get


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


Re: [SOGo] sogo 2.0.Beta have i missed a step ?

2011-10-26 Thread Ludovic Marcotte

On 26/10/11 16:19, Gerhard W. Recher (abuse) wrote:

cyrus2.2 as of squeeze apt-get

QRESYNC was added in Cyrus 2.4.

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +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] sogo 2.0.Beta have i missed a step ?

2011-10-26 Thread Gerhard W. Recher (abuse)
Am 26.10.2011 22:33, schrieb Ludovic Marcotte:
 On 26/10/11 16:19, Gerhard W. Recher (abuse) wrote:
 cyrus2.2 as of squeeze apt-get
 QRESYNC was added in Cyrus 2.4.

so i have to switch to dovcut ? debian squeeze has only this version 2.2
. very sad

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


Re: [SOGo] sogo 2.0.Beta have i missed a step ?

2011-10-26 Thread Frank Ellebrecht

Hello Gerhard,

You really should try out Dovecot. Although Debian ships with version 
1.2.15, you should take a look at version 2.x. Installing it is as easy 
as adding


# Prebuilt binaries for Dovecot v2.0x
deb http://xi.rename -it.nl/debian/stable-auto/dovecot-2.0 main

to your /etc/apt/sources.list and then apt-get update  apt-get install 
dovecot-imapd dovecot-sieve ... (see 
http://wiki2.dovecot.org/PrebuiltBinaries for further information). It 
is a great piece of software and mostly well documented. AFAIR there is 
some support for changing from other mail servers to Dovecot. (There 
also was an article about Dovecot in the September 2010 issue of the 
German Linux Magazin).


Regards,
Frank

Am 26.10.2011 22:35, schrieb Gerhard W. Recher (abuse):

Am 26.10.2011 22:33, schrieb Ludovic Marcotte:

On 26/10/11 16:19, Gerhard W. Recher (abuse) wrote:

cyrus2.2 as of squeeze apt-get

QRESYNC was added in Cyrus 2.4.


so i have to switch to dovcut ? debian squeeze has only this version 2.2
. very sad

-- gerhard


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