Thanks for your answer. I think you haven't understand the issue properbly. For a better understanding here a simple summerize:The main slogan of AEM is "Everything is content". That means user and groups for access management are also stored in the repository from CMS. The AEM Ldap modul reads user...
Hallo, die Sprache hier im Forum ist Englisch :-). Und wenn du dann schon dabei bist, füge noch ein paar Details mehr hinzu. So richtig klar ist nicht was du genau möchtest.
Have you tried your curl command in a console? If yes and it did work so I assume the path from you file is wrong. Usally "/content/dam/..." is the path for your asset. Any entries in error.log or any different logs? Properbly you have to add
-F file=@"/content/dam/.../mar.text"