16 messages in com.googlegroups.google-enterprise-developerRe: sharepoint connector authenticati...
FromSent OnAttachments
Bob03 Mar 2008 19:12 
Jeff Ling03 Mar 2008 22:45 
Bob04 Mar 2008 08:36 
Jeff Ling04 Mar 2008 09:30 
Bob04 Mar 2008 09:45 
Jeff Ling04 Mar 2008 09:50 
Bob04 Mar 2008 12:02 
Jeff Ling04 Mar 2008 12:08 
Michael Cizmar04 Mar 2008 13:53 
Bob05 Mar 2008 14:04 
Lisa Hirsch05 Mar 2008 14:26 
Jeff Ling05 Mar 2008 15:00 
Bob06 Mar 2008 09:28 
Amit Agrawal06 Mar 2008 22:18 
Bob07 Mar 2008 09:29 
Bob29 Mar 2008 13:59 
Subject:Re: sharepoint connector authentication error
From:Bob (sill@yahoo.com)
Date:03/05/2008 02:04:04 PM
List:com.googlegroups.google-enterprise-developer

Thanks for the patience Jeff and Michael.

I verified the user permissions and they appear to be correct. I did this by checking them on the server and coding an http soap request by hand using httpclient 3.1. The connection still does not authenticate.

I don't have a GSA and will try scaffolding the functionality of registering a manager and configuring a crawl by hand to check the feed generated by the manager that has a deployed sharepoint connector. Any documentation or further suggestions you have to assist would be appreciated.

B

On Mar 4, 3:53 pm, "Michael Cizmar" <mich@gmail.com> wrote:

No, that means that the user that you are attempting to authenticate to the SharePoint API needs to be a site collection administrator. SiteData.asmxis particular so if you called a difference website and it work that would not indicate that the user has the proper roles.

M

On Tue, Mar 4, 2008 at 2:03 PM, Bob <sill@yahoo.com> wrote:

Does that mean that the connector cannot be run outside of the GSA? The credentials I am using work with a manually configured soap request.

On Mar 4, 11:51 am, "Jeff Ling" <jeff@google.com> wrote:

You need "Site Collection Admin" account to be used with the connector.

On Tue, Mar 4, 2008 at 9:46 AM, Bob <sill@yahoo.com> wrote:

No, you would not be able to see it because it is behind my firewall.

is "sharepointserver" the real host name?

On Tue, Mar 4, 2008 at 8:36 AM, Bob <sill@yahoo.com>

wrote:

I did not use the connector installer because I am running this from the sharepoint connector source as well as outside of the tomcat server.

Here is the output from the connector.

Connected baby!. Mar 4, 2008 10:20:03 AM com.google.enterprise.connector.sharepoint.state.GlobalState getStateFileLocation WARNING: No working directory was given; using cwd Mar 4, 2008 10:20:03 AM com.google.enterprise.connector.sharepoint.state.GlobalStateloadState WARNING: state file XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \Sharepoint_state.xml' does not exist Mar 4, 2008 10:20:03 AM

com.google.enterprise.connector.sharepoint.SharepointTraversalManager

setBatchHint INFO: setBatchHint 10 Starting traversal at time 1204647603124 Mar 4, 2008 10:20:03 AM

com.google.enterprise.connector.sharepoint.SharepointTraversalManager

doTraversal INFO: traversal returned no new docs: re-fetching ... Mar 4, 2008 10:20:03 AM com.google.enterprise.connector.sharepoint.client.SharepointClient dumpLinks INFO: Links:http://companyweb:80<http://companyweb/> Mar 4, 2008 10:20:06 AM com.google.enterprise.connector.sharepoint.client.SiteDataWS getAllChildrenSites WARNING: getAllChildrenSites(): Unable to access URL[http:// sharepointserver:80/_vti_bin/SiteData.asmx] Traversal complete at time 1204647606202 Mar 4, 2008 10:20:06 AM com.google.enterprise.connector.sharepoint.client.SharepointClient updateGlobalState SEVERE:

com.google.enterprise.connector.sharepoint.client.SharepointException:

(401)Unauthorized

On Mar 4, 12:45 am, "Jeff Ling" <jeff@google.com> wrote:

Have you tried connector installer on Google enterprise support

site?

You could turn on httpclient wire logging through

logging.properties

(see

the user guide) and see what's really happening with the http authentication.

Jeff

On Mon, Mar 3, 2008 at 7:13 PM, Bob <sill@yahoo.com>

wrote:

I am having some issues using the sharepoint connector that is posted here:

http://code.google.com/p/google-enterprise-connector-sharepoint.

After trying to use the bundled jar there are many

dependencies to

the

google manager as well as to 3rd party libraries such at

JodaTime

and

Axis. After seeing that the 1.1.0 jar is not usable I started working with the source itself and got the source to resolve

dependencies

with

3rd party libs as well as with the manager. (Using 1.0.3 in case anyone is interested.) I could not test the full connectivity

as

most

of the unit tests appear to be broken. The problem I am

seeing

now is

that my client is using the connector to connect to a 2003

server

and

it appears to not be authenticating the soap request to the server. I am curious if this product is in use in any other environments

and

if

it is ready for a production environment.

I have seen some issues with NTLM authentication in older

versions

of

Axis however this may or may not be the case. I verified the connectivity as well as the login information, (username, password, domain, etc.) and soap request via a hand written soap request using HTTPCommons. Here is a code snippet of what I am calling in

my

google

sharepoint connector application. SharepointConnector spc = new SharepointConnector(sharepointUrl, domain, username, password, googleConnWorkDir, inclURLs, exclURLs, mySiteBaseURL, aliasHost, aliasPort, sharepointType); spc.setWhiteList(WHITE_LIST); spc.setWhiteList(BLACK_LIST); try { Session s = spc.login(); if(s != null){ System.out.println("Connected baby!."); TraversalManager tm = s.getTraversalManager (); tm.setBatchHint(10);

System.out.println("Starting

traversal

at

time " +System.currentTimeMillis()); DocumentList docList =

tm.startTraversal();

The code fails when the generated stub tries to establish a connection. Any suggestions would be appreciated.