tracker issue : CF-4126551

select a category, or use search below
(searches all categories and all time range)
Title:

[ANeff] Bug for: cfsharepoint's login attribute causes bad request

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 03/09/2016

Components: Documentation

Versions: 2016

Failure Type: Unspecified

Found In Build/Fixed In Build: Alpha_v12 /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Win All

Vote Count: 0

cfsharepoint's login attribute causes bad request

Repro:

<cfscript>
  loginStruct = {domain="my.domain.com", username="username", password="password"};
  cfsharepoint(action="getlistcollection", login=loginStruct, authtype="ntlm", ntlmdomain=" ", name="myResult");
  writeDump(myResult);
  /*Fails b/c this request is sent:
  --------------------------------------------
  POST /_vti_bin/Lists.asmx HTTP/1.0
  Content-Type: text/xml; charset=utf-8
  Accept: application/soap+xml, application/dime, multipart/related, text/*
  User-Agent: Axis/1.2.1
  Host: my.domain.com
  Cache-Control: no-cache
  Pragma: no-cache
  SOAPAction: "http://schemas.microsoft.com/sharepoint/soap/GetListCollection"
  Content-Length: 335
  Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
  --------------------------------------------*/
  
  cfsharepoint(action="getlistcollection", domain="my.domain.com", username="username", password="password", authtype="ntlm", ntlmdomain=" ", name="myResult");
  writeDump(myResult);
  /*Works b/c this request is sent:
  --------------------------------------------
  POST /_vti_bin/Lists.asmx HTTP/1.1
  Content-Type: text/xml; charset=utf-8
  SOAPAction: "http://schemas.microsoft.com/sharepoint/soap/GetListCollection"
  User-Agent: Jakarta Commons-HttpClient/3.1
  Host: my.domain.com
  Transfer-Encoding: chunked
  
  14f
  <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><GetListCollection xmlns="http://schemas.microsoft.com/sharepoint/soap/"/></soapenv:Body></soapenv:Envelope>
  0
  --------------------------------------------*/
</cfscript>

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4126551

External Customer Info:
External Company:  
External Customer Name: Aaron Neff
External Customer Email: adobelabs@itisdesign.com
External Test Config:

Attachments:

Comments:

Added By: PreRelease User User Name:Aaron Neff Note Added: Verified this is fixed, thanks! Checked during Beta 1. Date Added :2015-12-09 06:25:05.0 Added By: PreRelease User User Name:Aaron Neff Note Added: This can be changed to a doc bug. The docs should note that, when the login attribute is used, then the NTLM attributes go into the login struct. Thanks!, -Aaron Date Added :2015-10-20 09:26:47.0 Added By: PreRelease User User Name:Aaron Neff Note Added: Issue occurs if NTLM is required in SharePoint. Issue does not occur if Basic Auth is allowed in SharePoint. Date Added :2015-10-20 04:37:05.0 Added By: PreRelease User User Name:Aaron Neff Note Added: just FYI: back in CF9, cfsharepoint's login attribute worked w/ SharePoint 2010 Date Added :2015-10-20 00:27:49.0 Added By: PreRelease User User Name:Aaron Neff Note Added: Entered Bug. Date Added :2015-10-20 00:09:50.0
Comment by CFwatson U.
3762 | March 09, 2016 02:34:35 AM GMT