OData4ObjC icon indicating copy to clipboard operation
OData4ObjC copied to clipboard

Authentication Required Error SharePoint 2010

Open breenjoe opened this issue 12 years ago • 0 comments

I am trying to generate a proxy class for my Lists in SharePoint using the odatagen OData Client for Objective C.

On my mac at a terminal I am running the following command:

./odatagen /uri=http://mydomain/_vti_bin/listdata.svc /out=/myoutpath /auth=windows /u=DOMAIN/username /p=password

The above command continually returns an Authentication failed error as below: mac_authentication_sharepoint

I can authenticate successfully when I visit the listdata.svc URL in a browser. Authentication is set to NTLM but I have tried Kerberos for the web application also.

As I understand it the odatagen command should use the supplied credentials to authenticate to SharePoint.

Has anybody tested this proxy class generation using odatagen with SharePoint listdata.svc?

breenjoe avatar Apr 07 '13 12:04 breenjoe