hello
i am trying to sync a openldap directory user via admin apis syncuser call with the username parameter
‘https://■■■■■■■■■■■■■■■■■■/admin/v1/users/directorysync/.../syncuser?username=q001aa’
the value for the username attribute in the source directory (opeldap) is set in duo-authproxy config as
username_attribute=uid
the openldap directory holds only 1 user with this uid.
In the duo user directory the user is active and works fine for 2FA
"response": [
{
"alias1": null,
"alias2": null,
"alias3": null,
"alias4": null,
"aliases": {},
...
"username": "q001aa",
...
}
],
"stat": "OK"
}
i have read Knowledge Base | Duo Security
and all checks seem to pass:
Open your Directory Sync configuration page and confirm which attributes you are including during the sync.
ok
Open the directory that you are syncing to Duo and check the values of these synced attributes for each user that is failing to sync.
ok
Check your Duo users and their configured aliases to verify whether other users contain these attribute values already.
ok.
there is only 1 user ‘q001aa’ in the duo all users csv export.
but a sync call aborts with:
{
"code": 40401,
"message": "Resource not found",
"message_detail": "Error syncing user q001aa: Unable to sync user \"q001aa\" because the username or an alias is the same as the username or alias of another user.",
"stat": "FAIL"
}
any idea where i took the wrong path?