manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1415020 - /manifoldcf/branches/CONNECTORS-572/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Date Thu, 29 Nov 2012 01:26:45 GMT
Author: kwright
Date: Thu Nov 29 01:26:44 2012
New Revision: 1415020

URL: http://svn.apache.org/viewvc?rev=1415020&view=rev
Log:
Hack to get auth working for those systems where the user name has a \ prepended

Modified:
    manifoldcf/branches/CONNECTORS-572/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java

Modified: manifoldcf/branches/CONNECTORS-572/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-572/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java?rev=1415020&r1=1415019&r2=1415020&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-572/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
(original)
+++ manifoldcf/branches/CONNECTORS-572/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Thu Nov 29 01:26:44 2012
@@ -177,7 +177,7 @@ public class SharePointRepository extend
       int index = userName.indexOf("\\");
       if (index != -1)
       {
-        strippedUserName = userName.substring(index+1);
+        strippedUserName = "\\"+userName.substring(index+1);
         ntlmDomain = userName.substring(0,index);
       }
       else



Mime
View raw message