[Fusioninventory-devel] Agent Login Failure

Mario Gzuk mariogzuk at technikz.de
Wed Mar 24 11:51:04 UTC 2010


Hi,
I was thinking about an large environment and the case of changing the
username or/and password. It would be nice to have an option to
"reconfigure" the clients in this way:

Server: Oldusername + oldpass was recived (check if valid)-> check if
there is a new set of username and password and give it back to the client.
Client: receives
<REPLY>
<RESPONSE>LOGIN_FAILURE</RESPONSE>
<ACCOUNDATA>
	<USERNAME>newusername</USERNAME>
	<PASWORD>newpassword</PASSOWRD>
</ACCOUNDATA>
</REPLY>
and update the configuration.
If no ACCOUNTDATA is received make another call (maybe generate an mail
to inform the admin or something simular - but this also can be done on
the server side).

But you are right @ the moment it might be enough to react to the 401.

But reconfigure (not only username/password) the clients via the normal
communication would be a nice feature.

Thank you

Gonéri Le Bouder schrieb:
> 2010/3/24 Mario Gzuk <mariogzuk at technikz.de>:
>> Hi,
>> what about an answer from the server in case of a login failure? Is this
>> needed or are you react to the HTTP/1.0 401 Unauthorized?
>> Possible answer may be:
>> <REPLY>
>> <RESPONSE>LOGIN_FAILURE</RESPONSE>
>> </REPLY>
> For now the auth is done on the HTTP level and HTTP err code are already
> enough to identify a login failure. Why do you want to do that this way?
> 
> Cheers



More information about the Fusioninventory-devel mailing list