[SOGo] ZEG 2.04 Samba and DNS

2013-02-20 Thread christoph.ehrke
Hello,
i installed the recent ZEG image ZEG-2.0.4.ova from your download area in a
virtualbox env. The vbox is on a dedicated server and got its own public ip.

SOGo webmail works. What i want to do is to add a new domain so i can use it in
a real life scenario with outlook support. I added new domain via samba-tool
domain and outlook configuration pdf. The problem ist that outlook connection
doesn't work because a dns failure. Does this appliance use samba4's internal
dns or bind9? What about dns updates? When i executed samba-tool provision a
file  named.conf.update is generated but i can't include it in this bind setup
(unknown option update-policy when i restart bind). I need to resolve SRV
entries.

So all i want to do is add a new domain so i can use sogo on my dedicated box. 
What steps are needed? Any help would be nice.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: Re: [SOGo] Wsgi exception when trying to connect with Outlook 2007

2013-01-16 Thread christoph.ehrke
i had the same problem and i am working for weeks to get native outlook
connection to work on a dedicated server. first of all i am no python developer
so the code is very crapy and all in all it is not a good solution. i changed
the function _get_cookies in
/usr/lib/python2.7/dist-packages/openchange/web/auth/NTLMAuthHandler.py to:

def _get_cookies(env):
cookies = {}
if HTTP_COOKIE in env:
cookie_str = env[HTTP_COOKIE]

pos = cookie_str.find(;)
cookie_str = cookie_str.replace('\','')
cookie_str = cookie_str.replace(';','')

if pos != -1:
print got ntlm  + cookie_str
for pair in cookie_str.split( ):
(key, value) = pair.strip().split(=)
print in ntlm case: + key + :  + value
cookies[key] = value
else:
print no ntlm
for pair in cookie_str.split( ):
(key, value) = pair.strip().split(=)
print no ntlm case: + key + :  + value
cookies[key] = value


#print output end

return cookies

you can remove print lines. the problem is...sometimes there is a oc-ntlm-auth
cookie name in the string and sometimes there isn't. i got rid off the error
msg but outlook native connection doesn't work properly. every..lets say.. 30
secs...outlooks looses the connection to sogo/rpcproxy.  
-- 
users@sogo.nu
https://inverse.ca/sogo/lists