Bug#896896: pidgin-sipe: all buddies are shown "offline"

2018-04-25 Thread c...@vfemail.net

Package: pidgin-sipe
Version: 1.21.1-1
Severity: grave
Tags: stretch, jessie

Lync/Skype for Business buddies all show "Offline" under pidgin-sipe 
version 1.21.1-1, even though their status shows up correctly in Skype 
for Business 2016. This issue is also seen under pidgin-sipe version 
1.18.2-1.


The dependency versions for pidgin-sipe on my system are as follows:
libc6: 2.19-18+deb8u10
libcomerr2: 1.42.12-2+b1
libglib2.0-0: 2.42.1-1+b1
libgssapi-krb5-2: 1.12.1+dfsg-19+deb8u4
libgstreamer1.0-0: 1.4.4-2+deb8u1
libk5crypto3: 1.12.1+dfsg-19+deb8u4
libkrb5-3: 1.21.1+dfsg-19+deb8u4
libnice10: 0.1.7-1
libnspr4: 2:4.12-1+debu8u1
libnss3: 2.3.26-1+debu8u3
libpurple0: 2.11.0-0+deb8u2
libxml2: 2.9.1+dfsg1-5+deb8u6
kernel: 4.16.4

-

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the 
NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  



Bug#896896: (no subject)

2018-04-25 Thread c...@vfemail.net
I downloaded and compiled pidgin-sipe 1.23.2. Under version 1.23.2, I am 
able to connect and buddies continue to show "Offline" in pidgin (just 
like under pidgin-sipe versions 1.18.2-1 and 1.21.1-1), but I am now 
also receiving the following error message from pidgin:


UCS initialization failed!
Couldn't find an Exchange server with the default Email settings. 
Therefore the contacts list will not work.

You'll need to provide Email settings in the account setup.

This is the --debug log:

(08:13:47) sipe: ucs_set_ews_url: 
'https://outlook.office365.com/EWS/Exchange.asmx'
(08:13:47) sipe: sipe_http_parse_uri: host 'outlook.office365.com' port 
443 path 'EWS/Exchange.asmx'

(08:13:47) sipe: sipe_http_transport_new: new outlook.office365.com:443
(08:13:47) sipe: transport_connect - hostname: outlook.office365.com 
port: 443

(08:13:47) sipe: using SSL
(08:13:47) dnsquery: Performing DNS lookup for outlook.office365.com
(08:13:47) dns: Successfully sent DNS request to child 20059
(08:13:47) dns: Got response for 'outlook.office365.com'
(08:13:47) dnsquery: IP resolved for outlook.office365.com
(08:13:47) proxy: Attempting connection to 
(08:13:47) proxy: Connecting to outlook.office365.com:443 with no proxy
(08:13:47) proxy: Connection in progress
(08:13:47) proxy: Connecting to outlook.office365.com:443.
(08:13:47) proxy: Connected to outlook.office365.com:443.
(08:13:47) nss: SSL version 3.3 using 128-bit AES-GCM with 128-bit AEAD MAC
Server Auth: 2048-bit RSA, Key Exchange: 256-bit ECDHE, Compression: NULL
Cipher Suite Name: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
(08:13:47) nss: subject=CN=outlook.com,O=Microsoft 
Corporation,L=Redmond,ST=Washington,C=US issuer=CN=DigiCert Cloud 
Services CA-1,O=DigiCert Inc,C=US
(08:13:47) nss: subject=CN=DigiCert Cloud Services CA-1,O=DigiCert 
Inc,C=US issuer=CN=DigiCert Global Root 
CA,OU=www.digicert.com,O=DigiCert Inc,C=US

(08:13:47) nss: partial certificate chain
(08:13:47) certificate/x509/tls_cached: Starting verify for 
outlook.office365.com

(08:13:47) certificate/x509/tls_cached: Checking for cached cert...
(08:13:47) certificate/x509/tls_cached: ...Found cached cert
(08:13:47) nss/x509: Loading certificate from 
/home/localuser/.purple/certificates/x509/tls_peers/outlook.office365.com

(08:13:47) certificate/x509/tls_cached: Peer cert matched cached
(08:13:47) nss/x509: Exporting certificate to 
/home/localuser/.purple/certificates/x509/tls_peers/outlook.office365.com
(08:13:47) util: Writing file 
/home/localuser/.purple/certificates/x509/tls_peers/outlook.office365.com
(08:13:47) nss: Trusting CN=outlook.com,O=Microsoft 
Corporation,L=Redmond,ST=Washington,C=US
(08:13:47) certificate: Successfully verified certificate for 
outlook.office365.com

(08:13:47) sipe: transport_get_socket_info: 
(08:13:47) sipe: sipe_http_transport_connected: outlook.office365.com:443
(08:13:47) sipe:
MESSAGE START >> HTTP - 2018-04-25T15:13:47.991425Z
POST /EWS/Exchange.asmx HTTP/1.1
Host: outlook.office365.com
User-Agent: Sipe/1.23.2
Content-Length: 374
Content-Type: text/xml; charset=UTF-8


xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"; 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"; > 
   
    

MESSAGE END >> HTTP - 2018-04-25T15:13:47.991425Z
(08:13:48) sipe: transport_input_common: new buffer length 4096
(08:13:48) sipe:
MESSAGE START << HTTP - 2018-04-25T15:13:48.177739Z
HTTP/1.1 401 Unauthorized
Server: Microsoft-IIS/10.0
request-id: 
X-Powered-By: ASP.NET
X-FEServer: 
WWW-Authenticate: Basic Realm=""
Date: Wed, 25 Apr 2018 15:13:47 GMT
Content-Length: 0


MESSAGE END << HTTP - 2018-04-25T15:13:48.177739Z
(08:13:48) sipe: sipmsg_find_auth_header: 'Negotiate' not found
(08:13:48) sipe: sipmsg_find_auth_header: 'NTLM' not found
(08:13:48) sipe: sip_sec_create_context: type: 1, Single Sign-On: no, 
protocol: HTTP

(08:13:48) sipe: sip_sec_acquire_cred__basic: entering
(08:13:48) sipe: sipe_http_request_response_unauthorized: init context 
target 'HTTP/outlook.office365.com' token 'Realm=""'

(08:13:48) sipe:
MESSAGE START >> HTTP - 2018-04-25T15:13:48.177931Z
POST /EWS/Exchange.asmx HTTP/1.1
Host: outlook.office365.com
User-Agent: Sipe/1.23.2
Authorization: Basic 
Content-Length: 374
Content-Type: text/xml; charset=UTF-8


xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"; 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"; > 
   
    

MESSAGE END >> HTTP - 2018-04-25T15:13:48.177931Z
(08:13:53) sipe:
MESSAGE START << HTTP - 2018-04-25T15:13:53.851001Z
HTTP/1.1 401 Unauthorized
Server: Microsoft-IIS/10.0
request-id: 
X-CalculatedFETarget: .internal.outlook.com
X-BackEndHttpStatus: 401
Set-Cookie: exchangecookie=; expires=Thu, 
25-Apr-2019 15:13:48 GMT; path=/; HttpOnly

X-FEProxyInfo: .NAMPRD20.PROD.OUTLOOK.COM
X-Cal