Quantcast
Channel: Ocsinventory Q&A - Recent questions without answers
Viewing all articles
Browse latest Browse all 4599

MAC Client Basic Authentication + error 401

$
0
0

Hi together,

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:

server=https://FQDN:443/ocsinventory

realm="OCS Inventory agent area" (like in the server config file on ocs server)

user=USERNAME (plain text)

password=PASSWORD (plain text)

ssl=1

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.

Thx,

Robbat


Viewing all articles
Browse latest Browse all 4599

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>