Deploy-Client-Agent Server Password

Antworten
lomiranda
Beiträge: 2
Registriert: 04 Feb 2014, 21:41

Deploy-Client-Agent Server Password

Beitrag von lomiranda »

When I try to install the client agent, it always prompt a window requesting the user and password of the opsi-configed. How can I configure the server to pass the correct informations?
I'm having problems installating the agent via deploy. It does install the agent, but the other packages can't be installed because the client can't connect with the server, having an authentication failure.
holgerv
Beiträge: 288
Registriert: 20 Aug 2012, 09:35

Re: Deploy-Client-Agent Server Password

Beitrag von holgerv »

You may look at /var/lib/opsi/depot/opsi-client-agent/files/opsi/cfg/config.ini. There's a section "[installation]" where you can set user/passwort in these lines:

Code: Alles auswählen

service_user=YOURUSER
service_password=none
service_hidden_password=YOURPASSWORDBASE64
Regards


Holger
lomiranda
Beiträge: 2
Registriert: 04 Feb 2014, 21:41

Re: Deploy-Client-Agent Server Password

Beitrag von lomiranda »

Thanks holgerv,

But it still asks for the "correct information". However, I have found another error (thanks to this post http://devel.itsolution2.de/wordpress/2 ... ntication/):
On the windows machine, in the opsiclientd.conf file, the host_id was a mix of the hostname of the machine with it's IP, while in the /etc/opsi/pckeys the host_id it was only the IP.
I uninstalled the agent and deployed it again giving the hostname instead the IP, and it worked.
I'm still testing the system, it's excellent, but it has a few UI issues, like when the "configed" freezes and I have to close and open it again.
Antworten