opennetadmin/ona

dcm.pl uses with local user

Opened this issue · 0 comments

I am trying to use the dcm.pl plugin and I have noticed that I can't use the "admin" user to add some hosts for example. However, it works with users logged from LDAP.
I am trying this command :

./dcm.pl -r add_vlan_campus name="test" -l admin -p admin

and it returns to me this :

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>401 Unauthorized</title>
</head><body>
<h1>Unauthorized</h1>
<p>This server could not verify that you
are authorized to access the document
requested.  Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn't understand how to supply
the credentials required.</p>
<hr>
<address>Apache/2.4.38 (Debian) Server at localhost Port 80</address>
</body></html>

Is it normal or does it require a specific configuration ?