[OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0

Alex Ionescu alex at opensips.org
Fri Mar 12 17:02:21 CET 2010


Sorry,

My mistake ... the MD5 should be applied on the value not on the field 
name ... So, it is :

INSERT INTO ocp_admin_privileges 
(username,password,ha1,available_tools,permissions) values 
('admin','admin',md5('admin:admin'),'all','all');

On 3/12/2010 13:06, Alex Ionescu wrote:
> Hi,
>
> The problem seems to be your "step 11" :
>
>   step 11. INSERT INTO ocp_admin_privileges 
> (username,password,ha1,available_tools,permissions) values 
> ('admin','admin','admin:admin','all','all');
>
> You must encode the *ha1* field. So, I believe that the correct query 
> would be :
>
> INSERT INTO ocp_admin_privileges 
> (username,password,md5(ha1),available_tools,permissions) values 
> ('admin','admin','admin:admin','all','all');
>
> Anyway, you can always check the INSTALL file (I think the query is 
> located on line 102 or 103).
>
> Regards,
>
> Alex
>
> On 3/12/2010 12:41, Do Nguyen Ha wrote:
>>   step 11. INSERT INTO ocp_admin_privileges 
>> (username,password,ha1,available_tools,permissions) values 
>> ('admin','admin','admin:admin','all','all');
>
>
> -- 
> Alex Ionescu
> www.voice-system.ro  
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>    


-- 
Alex Ionescu
www.voice-system.ro

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100312/31660568/attachment.htm 


More information about the Users mailing list