Authentication Required Error SharePoint 2010

Apr 7, 2013 at 12:33 PM
Hi.

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:

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 tried this proxy class generation using odatagen with SharePoint listdata.svc?