Re: Re: [SOGo] Native Outlook connection
Did you join your windows client to the domain? I have managed to connect Outlook with the SOGo server. To avoid confusion for new users - it should be noted that it is NOT compulsive to have joined the domain before being able to connect with Outlook. I have set up SOGo first time and that was a bit misleading. Regards, Dirk Did you set the dns server to be your samba4 ADS/Openchange/SOGo? Did you set your samba4 to be your time server? -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Native Outlook connection - promising progress
Is actually ntp version 4.2.4 sufficient for native Outlook functionality in Sogo 2.0.2 - I've read in this article .. http://www.whitemiceconsulting.com/2010/12/configuration-of-ntp-for-samba4.html .. that ms-sntp has initially been added with ntp 4.2.6 ? Do I have to update ntp? I'm runnning centOS 6.3. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: Re: Re: Re: [SOGo] Native Outlook connection
nslookup airwerk.net : Server: UnKnown Address: 192.168.40.2 If I do nslookup | set type=SRV | _ldap._tcp.dc._msdcs.airwerk.net : Server: UnKnown Address: 192.168.40.2 *** _ldap._tcp.dc._msdcs.airwerk.net cannot be found by UnKnown: Non-existent domain The Address 192.168.40.2 is the address of the networks nameserver. My DNS structure was actually fine by now, but I'm not sure anymore. A ping to the Sogo Server remote.airwerk.net results in the Sogo Server's IP 192.168.40.1 ... This is db.airwerk.net : $TTL86400 @ IN SOA airwerk.net. dirk.airwerk.com. ( 2012100401 ; Serial no., based on date 3600 ; Refresh after 6 hours 3600 ; Retry after 1 hour 86400 ; Expire after 7 days 3600 ) ; Minimum TTL of 1 hour ; IN NS remote.airwerk.net. xmail IN A 192.168.40.3 remote IN A 192.168.40.1 @ IN MX 10 xmail.airwerk.net. mailIN CNAME xmail _autodiscover._tcp.airwerk.net. SRV 0 0 443 remote.airwerk.net. Anything obscure in there? -- users@sogo.nu https://inverse.ca/sogo/lists
Re: Re: Re: Re: Re: [SOGo] Native Outlook connection
When I do a tcpdump on port 53 on the Sogo Server I get this line: IP 192.168.40.2.domain 192.168.40.1.41472: 58823 NXDomain* 0/1/0 (120) The IP *.2 is the nameserver, the*.1 is the Sogo Server, that looks bad in my eyes By the way - I don't want my email address shown in my posts, I'd prefer my real name shown! But I couldn't find a way to change that in the preferences of the list, how is this done? -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Native Outlook connection
You perform nslookup to find a record matching _ldap._tcp.dc._msdcs.airwerk.net but you have only _autodiscover._tcp.airwerk.net in your zone file. Michal Dne 13.12.2012 11:50, werdi4...@gmail.com napsal(a): nslookup airwerk.net : Server: UnKnown Address: 192.168.40.2 If I do nslookup | set type=SRV | _ldap._tcp.dc._msdcs.airwerk.net : Server: UnKnown Address: 192.168.40.2 *** _ldap._tcp.dc._msdcs.airwerk.net cannot be found by UnKnown: Non-existent domain The Address 192.168.40.2 is the address of the networks nameserver. My DNS structure was actually fine by now, but I'm not sure anymore. A ping to the Sogo Server remote.airwerk.net results in the Sogo Server's IP 192.168.40.1 ... This is db.airwerk.net : $TTL86400 @ IN SOA airwerk.net. dirk.airwerk.com. ( 2012100401 ; Serial no., based on date 3600 ; Refresh after 6 hours 3600 ; Retry after 1 hour 86400 ; Expire after 7 days 3600 ) ; Minimum TTL of 1 hour ; IN NS remote.airwerk.net. xmail IN A 192.168.40.3 remote IN A 192.168.40.1 @ IN MX 10 xmail.airwerk.net. mailIN CNAME xmail _autodiscover._tcp.airwerk.net. SRV 0 0 443 remote.airwerk.net. Anything obscure in there? -- users@sogo.nu https://inverse.ca/sogo/lists
Re: Re: [SOGo] Native Outlook connection
Hi Michal, you're right, but changing the line unfortunately doesn't heal the problem. Thanks for your input, Dirk -- users@sogo.nu https://inverse.ca/sogo/lists
Re: Re: Re: Re: [SOGo] Native Outlook connection
Sorry, my last post was sent while I was writing ... here it is in full length again: I did get further. I had port 53 of the Sogo server not open in both directions and I also had an incomplete entry. Now, when I do on the Vista Client: nslookup , set type=SRV, -ldap.tcp.dc._msdcs.airwerk.net it returns: Server: UnKnown Address: 192.168.40.1 _ldap._tcp.dc._msdcs.airwerk.net SRV service location: priority = 0 weight = 100 port = 389 srv hostname = remote.airwerk.net _msdcs.airwerk.net nameserver = remote.airwerk.net So, that looks much better. But, still, when I try to join the domain airwerk.net,a tcpdump -n -s 1500 -i eth0 udp port 53 has these lines and the domain join fails: tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 1500 bytes 15:11:53.607257 IP 192.168.40.167.62539 192.168.40.1.domain: 57690+ SRV? _ldap._tcp.dc._msdcs.AIRWERK.NET. (50) 15:11:53.616173 IP 192.168.40.1.domain 192.168.40.167.62539: 57690*- 1/1/0 SRV remote.airwerk.net.:389 0 100 (102) 15:11:59.764022 IP 192.168.40.167.56871 192.168.40.1.domain: 48069+ SOA? airwerk-nb3.airwerk.local. (43) 15:11:59.767943 IP 192.168.40.1.domain 192.168.40.167.56871: 48069 Refused- 0/0/0 (43) I think i still have to investigate my DNS structure. Many thanks for all your help, you really helped me on! Dirk -- users@sogo.nu https://inverse.ca/sogo/lists
Re: Re: [SOGo] Native Outlook connection
Hi Daniel, many thanks, your questions opened my eyes much wider. Did you join your windows client to the domain? I'm very embarrassed to have to say - I haven't... Now that I'm trying to do so, the error message on the WinVista machine is: (SRV) for _ldap._tcp.dc._msdcs.AIRWERK.NET - DNS entry not existing. Did you set the dns server to be your samba4 ADS/Openchange/SOGo? There is a nameserver entry with the sogo machine's ip in /etc/resolv.conf alongside another nameserver entry. Should it be only the sogo IP, no other nameserver? Did you set your samba4 to be your time server? I have not by now. I read in a forum, a couple of days ago, that my ntp version (ntp.x86_64 4.2.4p8-2.el6.centos) is not ready for samba4? Is this write, do I have to update the ntp package? Many thanks and best regards Dirk -- users@sogo.nu https://inverse.ca/sogo/lists
Re: Re: [SOGo] Native Outlook connection
Hi, You could try with the openchangeclient to see if your server works, because in some circumstance, Outlook change the server name and point to another than yours : Like on OpenChange site, you can do this on your OpenChange Server box : - Create a profile (change according to your setup) : /usr/local/samba/bin/mapiprofile --create -P testing -S -I 192.168.102.48 --domain=OC --realm=oc.local --username=JohnDoe --password=openchange - Verify that your profile is created : /usr/local/samba/bin/mapiprofile --list - Check your mailbox with OpenChange client : /usr/local/samba/bin/openchangeclient --mailbox Also, I noticed that sometimes, it is best to connect to the SOGo Web interface just after the samba has been launch and next, connect with Outlook. Regards, MARIADASSOU Romain Hi Romain, many thanks for these tips! When I try to install openchange-client.x86_64 on centOS 6 it fails to install: -- Processing Dependency: libocpf.so.0()(64bit) for package: openchange-client-0.9-7.el6.x86_64 -- Processing Dependency: libmapiadmin.so.0()(64bit) for package: openchange-client-0.9-7.el6.x86_64 -- Processing Dependency: libmapi-openchange.so.0()(64bit) for package: openchange-client-0.9-7.el6.x86_64 -- Finished Dependency Resolution Error: Package: openchange-client-0.9-7.el6.x86_64 (base) Requires: libocpf.so.0()(64bit) Available: openchange-0.9-7.el6.x86_64 (base) libocpf.so.0()(64bit) Installed: openchange-1.0.0.20121208.sogo-1.centos6.x86_64 (@SOGo) Not found Error: Package: openchange-client-0.9-7.el6.x86_64 (base) Requires: libmapi-openchange.so.0()(64bit) Available: openchange-0.9-7.el6.x86_64 (base) libmapi-openchange.so.0()(64bit) Installed: openchange-1.0.0.20121208.sogo-1.centos6.x86_64 (@SOGo) Not found Error: Package: openchange-client-0.9-7.el6.x86_64 (base) Requires: libmapiadmin.so.0()(64bit) Available: openchange-0.9-7.el6.x86_64 (base) libmapiadmin.so.0()(64bit) Installed: openchange-1.0.0.20121208.sogo-1.centos6.x86_64 (@SOGo) Not found You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Any idea? It seems that it is not happy with the libocpf.so.0, libmapi-openchange.so and libmapiadmin.so from the openchnage package by the sogo packages!? Regards, Dirk -- users@sogo.nu https://inverse.ca/sogo/lists
Re: Re: Re: [SOGo] Native Outlook connection
These lines are a snip from /var/log/messages when the SOGO machine boots up: Dec 12 17:36:34 remote named-sdb[1442]: using up to 4096 sockets Dec 12 17:36:34 remote named-sdb[1442]: SDB ldap zone database module loaded. Dec 12 17:36:34 remote named-sdb[1442]: SDB postgreSQL DB zone database module loaded. Dec 12 17:36:34 remote named-sdb[1442]: SDB sqlite3 DB zone database module loaded. Dec 12 17:36:34 remote named-sdb[1442]: SDB directory DB zone database module loaded. Dec 12 17:36:34 remote named-sdb[1442]: loading configuration from '/etc/named.conf' Dec 12 17:36:34 remote named-sdb[1442]: reading built-in trusted keys from file '/etc/named.iscdlv.key' Dec 12 17:36:34 remote named-sdb[1442]: using default UDP/IPv4 port range: [1024, 65535] Dec 12 17:36:34 remote named-sdb[1442]: using default UDP/IPv6 port range: [1024, 65535] Dec 12 17:36:34 remote named-sdb[1442]: listening on IPv4 interface lo, 127.0.0.1#53 Dec 12 17:36:34 remote named-sdb[1442]: listening on IPv6 interface lo, ::1#53 Dec 12 17:36:34 remote named-sdb[1442]: generating session key for dynamic DNS Dec 12 17:36:34 remote named-sdb[1442]: sizing zone task pool based on 6 zones Dec 12 17:36:34 remote named-sdb[1442]: Loading 'AD DNS Zone' using driver dlopen Dec 12 17:36:34 remote named-sdb[1442]: samba_dlz: started for DN DC=airwerk,DC=net Dec 12 17:36:34 remote named-sdb[1442]: samba_dlz: starting configure Dec 12 17:36:34 remote named-sdb[1442]: samba_dlz: configured writeable zone 'airwerk.net' Dec 12 17:36:34 remote named-sdb[1442]: samba_dlz: configured writeable zone '_msdcs.airwerk.net' Dec 12 17:36:34 remote named-sdb[1442]: using built-in DLV key for view _default I can not understand why WinVista says, that the DNS zone '_msdcs.airwerk.net' cannot be found, the above lines show that it's being populated, am I right? Is there another place in a WindowsVista machine where I have to announce DNS servers, aside from the ip4 settings of the network card? Regards, Dirk -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Native Outlook connection
Hi, You could try with the openchangeclient to see if your server works, because in some circumstance, Outlook change the server name and point to another than yours : Like on OpenChange site, you can do this on your OpenChange Server box : - Create a profile (change according to your setup) : /usr/local/samba/bin/mapiprofile --create -P testing -S -I 192.168.102.48 --domain=OC --realm=oc.local --username=JohnDoe --password=openchange - Verify that your profile is created : /usr/local/samba/bin/mapiprofile --list - Check your mailbox with OpenChange client : /usr/local/samba/bin/openchangeclient --mailbox Also, I noticed that sometimes, it is best to connect to the SOGo Web interface just after the samba has been launch and next, connect with Outlook. Regards, MARIADASSOU Romain Le 11/12/2012 22:26, werdi4...@gmail.com a écrit : Hi, I have setup sogo (2.0_20121211-1.centos6) on centOS 6.3. The db is postgresql 8.4, imap daemon is dovecot 2.1.1 and the smtp daemon is postfix 2.6.6. The server runs nice, all before mentioned parts reside on one machine,TLS is enabled and works fine in Webmail and Thunderbird. However, the native Outlook connection doesn't want to work... Samba DNS implementation is setup, I can do: host -t SRV _ldap._tcp.airwerk.net _ldap._tcp.airwerk.net has SRV record 0 100 389 remote.airwerk.net. host -t SRV _kerberos._udp.airwerk.net _kerberos._udp.airwerk.net has SRV record 0 100 88 remote.airwerk.net. Testing Samba is fine: smbclient -L localhost -U dwerner Enter dwerner's password: Domain=[AIRWERK] OS=[Unix] Server=[Samba 4.0.0beta5-4.centos6.1] Sharename Type Comment - --- netlogonDisk sysvol Disk IPC$IPC IPC Service Domain=[AIRWERK] OS=[Unix] Server=[Samba 4.0.0beta5-4.centos6.1] Server Comment ---- WorkgroupMaster ---- Console output of this request: snip using SPNEGO Selected protocol [8][NT LANMAN 1.0] Got NTLMSSP neg_flags=0x60088215 Got user=[dwerner] domain=[AIRWERK] workstation=[REMOTE] len1=24 len2=148 auth_check_password_send: Checking password for unmapped user [AIRWERK]\[dwerner]@[REMOTE] auth_check_password_send: mapped user is: [AIRWERK]\[dwerner]@[REMOTE] NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 ipv4:127.0.0.1:54056 closed connection to service IPC$ Terminating connection - 'NT_STATUS_END_OF_FILE' Terminating connection - 'NT_STATUS_END_OF_FILE' single_terminate: reason[NT_STATUS_END_OF_FILE] using SPNEGO Selected protocol [8][NT LANMAN 1.0] Got NTLMSSP neg_flags=0x60088215 Got user=[dwerner] domain=[AIRWERK] workstation=[REMOTE] len1=24 len2=148 auth_check_password_send: Checking password for unmapped user [AIRWERK]\[dwerner]@[REMOTE] auth_check_password_send: mapped user is: [AIRWERK]\[dwerner]@[REMOTE] NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 ipv4:127.0.0.1:60096 closed connection to service IPC$ Terminating connection - 'NT_STATUS_END_OF_FILE' Terminating connection - 'NT_STATUS_END_OF_FILE' single_terminate: reason[NT_STATUS_END_OF_FILE] Terminating connection - 'wbsrv_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED' single_terminate: reason[wbsrv_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED] Terminating connection - 'NT_STATUS_CONNECTION_DISCONNECTED' /snip This is the console output when samba is started like: samba -d3 -i -M single snip lpcfg_load: refreshing parameters from /etc/samba4/smb.conf params.c:pm_process() - Processing configuration file /etc/samba4/smb.conf samba version 4.0.0beta5-4.centos6.1 started. Copyright Andrew Tridgell and the Samba Team 1992-2012 GENSEC backend 'gssapi_spnego' registered GENSEC backend 'gssapi_krb5' registered GENSEC backend 'gssapi_krb5_sasl' registered GENSEC backend 'sasl-DIGEST-MD5' registered GENSEC backend 'schannel' registered GENSEC backend 'spnego' registered GENSEC backend 'ntlmssp' registered GENSEC backend 'krb5' registered GENSEC backend 'fake_gssapi_krb5' registered NTPTR backend 'simple_ldb' NTVFS backend 'default' for type 1 registered NTVFS backend 'posix' for type 1 registered NTVFS backend 'unixuid' for type 1 registered NTVFS backend 'unixuid' for type 3 registered NTVFS backend 'unixuid' for type 2 registered NTVFS backend 'cifs' for type 1 registered NTVFS backend 'smb2' for type 1 registered NTVFS backend 'simple' for type 1 registered NTVFS backend 'cifsposix' for type 1 registered NTVFS backend 'default' for type 3 registered NTVFS backend 'default' for type 2 registered NTVFS backend 'nbench' for type 1 registered PROCESS_MODEL 'single' registered PROCESS_MODEL 'standard' registered PROCESS_MODEL 'prefork' registered PROCESS_MODEL 'onefork' registered AUTH backend 'sam' registered AUTH backend
Re: [SOGo] Native Outlook connection
Did you join your windows client to the domain? Did you set the dns server to be your samba4 ADS/Openchange/SOGo? Did you set your samba4 to be your time server? Original-Nachricht Datum: Tue, 11 Dec 2012 16:26:51 -0500 (EST) Von: werdi4...@gmail.com An: users@sogo.nu Betreff: [SOGo] Native Outlook connection Hi, I have setup sogo (2.0_20121211-1.centos6) on centOS 6.3. The db is postgresql 8.4, imap daemon is dovecot 2.1.1 and the smtp daemon is postfix 2.6.6. The server runs nice, all before mentioned parts reside on one machine,TLS is enabled and works fine in Webmail and Thunderbird. However, the native Outlook connection doesn't want to work... Samba DNS implementation is setup, I can do: host -t SRV _ldap._tcp.airwerk.net _ldap._tcp.airwerk.net has SRV record 0 100 389 remote.airwerk.net. host -t SRV _kerberos._udp.airwerk.net _kerberos._udp.airwerk.net has SRV record 0 100 88 remote.airwerk.net. Testing Samba is fine: smbclient -L localhost -U dwerner Enter dwerner's password: Domain=[AIRWERK] OS=[Unix] Server=[Samba 4.0.0beta5-4.centos6.1] Sharename Type Comment - --- netlogonDisk sysvol Disk IPC$IPC IPC Service Domain=[AIRWERK] OS=[Unix] Server=[Samba 4.0.0beta5-4.centos6.1] Server Comment ---- WorkgroupMaster ---- Console output of this request: snip using SPNEGO Selected protocol [8][NT LANMAN 1.0] Got NTLMSSP neg_flags=0x60088215 Got user=[dwerner] domain=[AIRWERK] workstation=[REMOTE] len1=24 len2=148 auth_check_password_send: Checking password for unmapped user [AIRWERK]\[dwerner]@[REMOTE] auth_check_password_send: mapped user is: [AIRWERK]\[dwerner]@[REMOTE] NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 ipv4:127.0.0.1:54056 closed connection to service IPC$ Terminating connection - 'NT_STATUS_END_OF_FILE' Terminating connection - 'NT_STATUS_END_OF_FILE' single_terminate: reason[NT_STATUS_END_OF_FILE] using SPNEGO Selected protocol [8][NT LANMAN 1.0] Got NTLMSSP neg_flags=0x60088215 Got user=[dwerner] domain=[AIRWERK] workstation=[REMOTE] len1=24 len2=148 auth_check_password_send: Checking password for unmapped user [AIRWERK]\[dwerner]@[REMOTE] auth_check_password_send: mapped user is: [AIRWERK]\[dwerner]@[REMOTE] NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 ipv4:127.0.0.1:60096 closed connection to service IPC$ Terminating connection - 'NT_STATUS_END_OF_FILE' Terminating connection - 'NT_STATUS_END_OF_FILE' single_terminate: reason[NT_STATUS_END_OF_FILE] Terminating connection - 'wbsrv_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED' single_terminate: reason[wbsrv_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED] Terminating connection - 'NT_STATUS_CONNECTION_DISCONNECTED' /snip This is the console output when samba is started like: samba -d3 -i -M single snip lpcfg_load: refreshing parameters from /etc/samba4/smb.conf params.c:pm_process() - Processing configuration file /etc/samba4/smb.conf samba version 4.0.0beta5-4.centos6.1 started. Copyright Andrew Tridgell and the Samba Team 1992-2012 GENSEC backend 'gssapi_spnego' registered GENSEC backend 'gssapi_krb5' registered GENSEC backend 'gssapi_krb5_sasl' registered GENSEC backend 'sasl-DIGEST-MD5' registered GENSEC backend 'schannel' registered GENSEC backend 'spnego' registered GENSEC backend 'ntlmssp' registered GENSEC backend 'krb5' registered GENSEC backend 'fake_gssapi_krb5' registered NTPTR backend 'simple_ldb' NTVFS backend 'default' for type 1 registered NTVFS backend 'posix' for type 1 registered NTVFS backend 'unixuid' for type 1 registered NTVFS backend 'unixuid' for type 3 registered NTVFS backend 'unixuid' for type 2 registered NTVFS backend 'cifs' for type 1 registered NTVFS backend 'smb2' for type 1 registered NTVFS backend 'simple' for type 1 registered NTVFS backend 'cifsposix' for type 1 registered NTVFS backend 'default' for type 3 registered NTVFS backend 'default' for type 2 registered NTVFS backend 'nbench' for type 1 registered PROCESS_MODEL 'single' registered PROCESS_MODEL 'standard' registered PROCESS_MODEL 'prefork' registered PROCESS_MODEL 'onefork' registered AUTH backend 'sam' registered AUTH backend 'sam_ignoredomain' registered AUTH backend 'anonymous' registered AUTH backend 'winbind' registered AUTH backend 'winbind_wbclient' registered AUTH backend 'name_to_ntstatus' registered AUTH backend 'unix' registered SHARE backend [classic] registered. SHARE backend [ldb] registered. ldb_wrap open of privilege.ldb samba: using 'single' process model DCERPC endpoint server 'rpcecho' registered DCERPC endpoint server