Thanks.

But I am passing the JSON for creating repository connector in below format. 
Where do I mention the encryption parameters?.

{"repositoryconnection":
{"description":"","
name":"344_RepConnector",
"configuration":{"_PARAMETER_":
[{"_value_":"<<IP>>","_attribute_name":"Server"},
{"_value_":"<<domain>>","_attribute_name":"Domain/Realm"},
{"_value_":"<<username>>","_attribute_name":"User Name"},
{"_value_":"<<password>>","_attribute_name":"Password"},
{"_value_":"true","_attribute_name":"Use SIDs"}]},
"class_name":"org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector","isnew":"true"}}


Regards,
Smitha

From: Will Martin [mailto:[email protected]]
Sent: Tuesday, June 9, 2015 6:54 AM
To: [email protected]; [email protected]
Cc: Karl Wright
Subject: RE: MCF API Services

Using a domain user:

Domain suffix should be filled in and username should just be the name. You 
enter the password as clearText, use the DIGEST and UsePrincipalName

Local user: is the same except you don't provide the domain suffix.

Does either of these help? Have you validated login on the remote machine? If 
you have access.

From: Smitha S [mailto:[email protected]]
Sent: Monday, June 08, 2015 9:18 PM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Cc: Karl Wright
Subject: MCF API Services

Hi Karl,

I am using MCF REST API services for creating connectors and jobs. I am stuck 
in two places. Could you please help me here.


1.       Repository Connector Creation: How do we specify password for creating 
a repository connector with window share. Is MCF expecting the password to be 
encrypted in any special format. When I try to pass the password as a normal 
string, the connector is created with a connection status as "Couldn't connect 
to server: Logon failure: unknown user name or bad password.". How do I pass 
password here.



2.       Job Status history: I have created and scheduled a job using MCF Rest 
API. The requirement is to get the job running history with info of job start 
time, job end time, number of documents processed etc. Using  jobstatus/jobid, 
I can get the last job run details. But how do I fetch the previous run details.

Could you please provide some insights for the above two points. I really 
appreciate your help in resolving all MCF queries.

Thanks in advance

Regards,
Smitha

Reply via email to