we have an ocs inventory server running on debian in version 2.6. Configured with https and basic authentification.
Everything is working fine with Windows Agents but I have troubles to get the MAC OS X clients to work. On client side, i get:
Cannot establish communication : 401 Unauthorized
So on sever side i seen that the client reach the right /ocsinventory path but with a total strange user:
IPADDRESS- - [07/May/2020:13:50:34 +0200] "POST /ocsinventory HTTP/1.1" 401 5184 "-" "OCS-NG_unified_unix_agent_v2.6.1"
IPADDRESS- \xb2\xd6\xab}\xa7\x1e [07/May/2020:13:50:34 +0200] "POST /ocsinventory HTTP/1.1" 401 714 "-" "OCS-NG_unified_unix_agent_v2.6.1"
I have specified the realm, user and the password in the ocsinventory-agent.cfg in mac os with the following syntax:
realm="OCS Inventory agent area" (like in the server config file on ocs server)
user=USERNAME (plain text)
password=PASSWORD (plain text)
According to the access.log above the user name in plain text isn't recognize wright from an interpreter. Or do need to put it in a special format.