[OpenSIPS-Users] [opensips] [control panel]: change of admin password irgnores by cp - and strange error messages

Markus Klaus Schäffauer markus at mkschaeffauer.de
Fri Jan 16 00:49:46 CET 2015


Hi,

when I change the password using the interface (Admin -> List Admins ->
Edit Info), nothing changes. The desired password still is correct in
the password field in the database, but when trying to login with it, it
doesn't work. I still have to put the official one  - and the secret one
is not working.

So I decided to create a new admin2 with the same secret password in the
interface (as described above, but in Add Admins). Voilà, now I can
enter with admin2 and the secret password.

But now comes the super strange thing: When looking in the database,
there is an admin2-user, but no (!) password in the password-field...
wow! What is this?

I am really confused...  It seems to be that the password is not stored
in the table of the new admin user, but in some other place. If it was
just vanishing in the air, the login would'nt work. There must be
another place where the system puts the password and reads it to grant
access to the interface.

Do you have some idea what might be gone wrong?

Regards,
Markus

Am 15.01.2015 um 15:30 schrieb Alex Ionescu:
> Hi,
>
> Why don't you try changing the password using the interface (Admin ->
> List Admins -> Edit Info).
> For the MI tool you need to configure the proper path to your fifo
> file - I guess the default one is not the good one.
> For the callcenter module you need to deploy the necessary DB tables
> but if you don't need that module you can always disable that module
> (or any module) in CP by editing
> /var/www/opensips-cp/config/modules.inc.php file - you will find out
> it is very intuitive.
>
> If you have any other questions please let me know.
>
> Regards,
> Alex
>
> On 01/15/2015 11:12 AM, Markus Klaus Schäffauer wrote:
>> Hello,
>>
>> when I change the admin password (in the database), this is ignored
>> completely by the control panel.
>>
>> But I cannot work seriously with a openly known password... so why my
>> control panel is ignoring that in the database I made a password change?
>>
>> And another thing: In the control panel, section system, I get (for
>> example) the following errors:
>>
>> Dialog:
>> Array ( [0] => Cannot connect to OpenSIPS Server via Management
>> Interface (/tmp/opensips_proxy_fifo) )
>>
>> Callcenter:
>> Failed to issue query, error message : MDB2 Error: no such table[select
>> id,agentid,location,logstate,skills from cc_agents where 1 = 1 order by
>> id LIMIT 5 OFFSET 0]
>>
>> There seem to be still some errors, although I am able to register
>> clients correctly.
>>
>> Sounds really strange.
>>
>> Regards,
>> Markus
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list