From the docs I've been trying to map my Active Directory users to their Google Drive counterparts. The API calls return 200, but when I try to list all identities, the list is empty.
POST http://search.example.org/api/ws/v1/sources/< id >/external_identities
Authorization: Bearer < token >
Content-Type: application/json
{
"user": "adusername",
"source_user_id": "adusername@example.org"
}
I have Elasticsearch configured to authenticate against AD.
In enterprise-search.yml, I have set ent_search.auth.es_users.source: elasticsearch-native.
What am I missing?
This is all on version 7.12.
I can log into Enterprise Search with my AD user, as can other users.
Heya David - to confirm: you are looking to map users on Google Drive for the purposes of result-level permission management, correct?
Have you successfully ingested documents in the Google Drive source making sure Document-Level Permission Synchronization was turned on at connection time?
when I try to list all identities, the list is empty
Using the List API endpoint should return the appropriate mappings as defined, granted the Content Source ID is the same as the one used for setting up the mappings.
@jerrac can you send us the full curl command you're using (with -v for verbose output), and the full response back, when you attempt to add your external identity? With your token obfuscated, of course.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.