<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I will investigate the problem and will let you know if I find any
issue.<br>
<br>
Regards,<br>
Alex<br>
<br>
On 3/13/2010 06:39, Do Nguyen Ha wrote:
<blockquote cite="mid:963713.51926.qm@web32407.mail.mud.yahoo.com"
type="cite">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td
style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;"
valign="top"><br>
Hi Alex<br>
<br>
here is mysql query:<br>
mysql> select * from ocp_admin_privileges\G;<br>
*************************** 1. row ***************************<br>
id: 58<br>
first_name:<br>
last_name:<br>
username: admin<br>
password: admin<br>
ha1: d2abaa37a7c3db1137d385e1d8c15fd2<br>
available_tools: all<br>
permissions: all<br>
<br>
so i am still getting the invalid username on opensips-cp version 4<br>
the i remove the folder opensips-cp version 4 and replace with
opensips-cp version 3 and now it works without problem with opensips-cp
version 3<br>
<br>
i dont change anything and step i do :<br>
step 1. cd /var/www<br>
step 2. delete folder opensips-cp<br>
step 3. download the opensips-cp_3.0.tar.gz<br>
step 4. untar the file opensips-cp_3.0<br>
step 5. chown www-data:www-data opensips-cp -R<br>
<br>
Thank you for your help<br>
Ha<br>
<br>
--- On <b>Fri, 3/12/10, Alex Ionescu <i><a class="moz-txt-link-rfc2396E" href="mailto:alex@opensips.org"><alex@opensips.org></a></i></b>
wrote:<br>
<blockquote
style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>
From: Alex Ionescu <a class="moz-txt-link-rfc2396E" href="mailto:alex@opensips.org"><alex@opensips.org></a><br>
Subject: Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0<br>
To: "OpenSIPS users mailling list" <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a><br>
Date: Friday, March 12, 2010, 9:02 AM<br>
<br>
<div id="yiv1014184499"> Sorry,<br>
<br>
My mistake ... the MD5 should be applied on the value not on the field
name ... So, it is : <br>
<br>
INSERT INTO ocp_admin_privileges
(username,password,ha1,available_tools,permissions) values
('admin','admin',md5('admin:admin'),'all','all');<br>
<br>
On 3/12/2010 13:06, Alex Ionescu wrote:
<blockquote type="cite">
<title></title>
Hi,<br>
<br>
The problem seems to be your "step 11" :<br>
<br>
step 11. INSERT INTO ocp_admin_privileges
(username,password,ha1,available_tools,permissions) values
('admin','admin','admin:admin','all','all');<br>
<br>
You must encode the <b>ha1</b> field. So, I believe that the correct
query would be : <br>
<br>
INSERT INTO ocp_admin_privileges
(username,password,md5(ha1),available_tools,permissions) values
('admin','admin','admin:admin','all','all');<br>
<br>
Anyway, you can always check the INSTALL file (I think the query is
located on line 102 or 103).<br>
<br>
Regards,<br>
<br>
Alex<br>
<br>
On 3/12/2010 12:41, Do Nguyen Ha wrote:
<blockquote type="cite"> step 11. INSERT INTO
ocp_admin_privileges
(username,password,ha1,available_tools,permissions) values
('admin','admin','admin:admin','all','all');</blockquote>
<br>
<br>
<pre class="moz-signature">--
Alex Ionescu
<a moz-do-not-send="true" rel="nofollow"
class="moz-txt-link-abbreviated" target="_blank"
href="http://www.voice-system.ro">www.voice-system.ro</a> </pre>
<pre><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" rel="nofollow"
class="moz-txt-link-abbreviated"
ymailto="mailto:Users@lists.opensips.org" target="_blank"
href="/mc/compose?to=Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" rel="nofollow" class="moz-txt-link-freetext"
target="_blank"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature">--
Alex Ionescu
<a moz-do-not-send="true" rel="nofollow"
class="moz-txt-link-abbreviated" target="_blank"
href="http://www.voice-system.ro">www.voice-system.ro</a> </pre>
</div>
<br>
-----Inline Attachment Follows-----<br>
<br>
<div class="plainMail">_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
ymailto="mailto:Users@lists.opensips.org"
href="/mc/compose?to=Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div>
</blockquote>
</td>
</tr>
</tbody>
</table>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Alex Ionescu
<a class="moz-txt-link-abbreviated" href="http://www.voice-system.ro">www.voice-system.ro</a> </pre>
</body>
</html>