Verifying NTLM for an OData Data Service
To verify NTLM for an OData data service
2. Publish a table with primary key to a TDV Database in Data Services/Databases.
For example, publish the /shared/examples/ds_inventory/products table to a TDV Database such as Data Services/Databases/examples.
3. Open the TDV Database that contains the resource you published.
4. On the OData tab, check the NTLM check box as shown here.
5. Use the curl command line tool to verify the user/password as shown in these examples:
Note: You should get the result back if NTLM authentication passes.
For negative case: (wrong password)
Result:
<?xml version="1.0" encoding="utf-8"?>
<html>
<head/>
<body>
<div style="font-family: sans-serif; color: #990000; margin-top: 5px; margin-bottom: 5px; text-align: center">TDVCO INFORMATION SERVER
<hr style="border-style: groove;"/>
</div>
<div style="font-family: sans-serif;">
<b>Error: </b>401 Unauthorized
</div>
<div style="font-family: sans-serif;">
<b>Description: </b>Authentication failed.
</div>
</body>