[Cyberduck-trac] [Cyberduck] #2835: NTLM authentication should be supported

Cyberduck trac at trac.cyberduck.ch
Mon May 31 10:28:28 CEST 2010


#2835: NTLM authentication should be supported
----------------------------------+-----------------------------------------
 Reporter:  georgmaass            |        Owner:  dkocher 
     Type:  enhancement           |       Status:  reopened
 Priority:  normal                |    Milestone:  3.1     
Component:  webdav                |      Version:  3.0.3   
 Severity:  normal                |   Resolution:          
 Keywords:  Authentication, NTLM  |  
----------------------------------+-----------------------------------------
Changes (by isloat):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 I have found a problem related with that.
 I'm trying to get the property getcontenttype from a file using the webdav
 of MOSS 2007.
 But I have found the following:

 For a propfind operation of a directory, using Depth = infinity. It works
 OK and the property getcontenttype is returned.

 {{{
 <?xml version="1.0" encoding="utf-8" ?>
 <D:multistatus xmlns:D="DAV:" xmlns:Office="urn:schemas-microsoft-
 com:office:office" xmlns:Repl="http://schemas.microsoft.com/repl/"
 xmlns:Z="urn:schemas-microsoft-com:">
         <D:response>
                 <D:href>http://site/sharepoint/webdav</D:href>
                 <D:propstat>
                         <D:prop>
                                 <D:displayname>webdav</D:displayname>
                                 <D:lockdiscovery/>
                                 <D:supportedlock/>
                                 <D:isFolder>t</D:isFolder>
                                 <D:iscollection>1</D:iscollection>
                                 <D:ishidden>0</D:ishidden>
                                 <D:getcontenttype>application/octet-
 stream</D:getcontenttype>
                                 <D:getcontentlength>0</D:getcontentlength>
                                 <D:resourcetype>
                                         <D:collection/>
                                 </D:resourcetype>
                                 <Repl:authoritative-directory>t</Repl
 :authoritative-directory>
 <D:getlastmodified>2010-05-28T08:31:10Z</D:getlastmodified>
 <D:creationdate>2010-05-19T10:25:27Z</D:creationdate>
                                 <Repl:repl-
 uid>rid:{0CEF145C-3565-46AF-8078-4842B0CC7B83}</Repl:repl-uid>
 <Repl:resourcetag>rt:0CEF145C-3565-46AF-8078-4842B0CC7B83 at 00000000000</Repl:resourcetag>
 <D:getetag>&quot;{0CEF145C-3565-46AF-8078-4842B0CC7B83},0&quot;</D:getetag>
                         </D:prop>
                         <D:status>HTTP/1.1 200 OK</D:status>
                 </D:propstat>
         </D:response>
 }}}

 As you see the property getcontenttype is returned. But in the same
 response, the information of a file shows like this:

 {{{
 <D:response>
                 <D:href>http://site/sharepoint/webdav/file.txt</D:href>
                 <D:propstat>
                         <D:prop>
                                 <D:displayname>file.txt</D:displayname>
                                 <D:lockdiscovery/>
                                 <D:supportedlock>
                                         <D:lockentry>
                                                 <D:lockscope>
                                                         <D:exclusive/>
                                                 </D:lockscope>
                                                 <D:locktype>
                                                         <D:write/>
                                                 </D:locktype>
                                         </D:lockentry>
                                 </D:supportedlock>
 <D:getlastmodified>2010-05-28T08:55:16Z</D:getlastmodified>
 <D:creationdate>2010-05-28T08:55:16Z</D:creationdate>
 <D:getcontentlength>60</D:getcontentlength>
                                 <Repl:repl-
 uid>rid:{AB3A1AE1-3D65-487C-9122-4ECAEC9CA887}</Repl:repl-uid>
 <Repl:resourcetag>rt:AB3A1AE1-3D65-487C-9122-4ECAEC9CA887 at 00000000001</Repl:resourcetag>
 <D:getetag>&quot;{AB3A1AE1-3D65-487C-9122-4ECAEC9CA887},1&quot;</D:getetag>
 <Office:modifiedby>USERS\user</Office:modifiedby>
                         </D:prop>
                         <D:status>HTTP/1.1 200 OK</D:status>
                 </D:propstat>
         </D:response>
         <D:response>
 }}}

 So, the propfind of a file doesn't return the getcontenttype property.
 Even if I try to do propfind with Depth = 0 using the URL of the file.

 Is that normal? Is there any other way to get the Content Type using
 SharePoint's webdav?

 Thanks!

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/2835#comment:15>
Cyberduck <http://cyberduck.ch>
FTP, SFTP, WebDAV, Cloud Files and Amazon S3 Browser for Mac OS X.


More information about the Cyberduck-trac mailing list