Hi, I have got Serweb going but when I access admin/index.php or user_interface/index.php I get the login prompt but when I try to login it returns to the login prompt.
Looking back at the archives I see references to the domain or realm being incorrect, what realm / domain does this refer to? What needs to match this domain.
When I set up the MySQL users I had used the command export SIP_DOMAIN="SIP-PROXY.LAB" to allow me to use serctl, I see this in the output from select * from subscriber; run in mysql.
I have changed the line in the html/config.php to match how I had configured my ser.cfg: (in the ser howto these commands were on separate lines, in my config.php they were on one line, does this matter?)
/* your domain name */
$this->realm="boxb.lab"$this->domainname="boxb.lab"$this->default_domain= ereg_replace( "(www.|sip.)?(.*)", "\2", $_SERVER['SERVER_NAME']); /* initial nummerical alias for new subscriber -- don't forget to align your SER routing script to it ! */ $this->first_alias_number=82000;
I'm sure this is a mismatch between the domain / realm somewhere but I am not sure what I need to change, the SIP_DOMAIN? The server hostname? The MYSQL users? or the aliases in ser.cfg?
Many thanks in advance...
Regards, Steven Godfrey
steve wrote:
Hi, I have got Serweb going but when I access admin/index.php or user_interface/index.php I get the login prompt but when I try to login it returns to the login prompt.
is your php configured correctly? short_tags and register_globals must be turned on!
use phpinfo(); to verify your settings
klaus
Hi,
In the php.ini file I have:
register_globals = On short_tags = On
But also
short_open_tag = On
I am not sure how to run phpinfo(): is it a binary?
Thanks..
-----Original Message----- From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at] Sent: Thursday 06 May 2004 10:46 To: steve Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SerWeb authentication fails, my confusion over domain/realm referenced in archives
steve wrote:
Hi, I have got Serweb going but when I access admin/index.php or user_interface/index.php I get the login prompt but when I try to login it returns to the login prompt.
is your php configured correctly? short_tags and register_globals must be turned on!
use phpinfo(); to verify your settings
klaus
This message has been checked for all known viruses by the CitC Virus Scanning Service powered by SkyLabs. For further information visit http://www.citc.it
On 5/6/2004 12:17 PM, steve wrote:
Hi,
In the php.ini file I have:
register_globals = On short_tags = On
But also
short_open_tag = On
I am not sure how to run phpinfo(): is it a binary?
you have to create a small php script like:
<?php phpinfo(); ?>
and open it via your http server.
Another way is to use the php executable, if you have it installed. E.g.,
bash$ php -i >phpinfo.html
then open phpinfo.html in a browser.
Daniel
Thanks..
-----Original Message----- From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at] Sent: Thursday 06 May 2004 10:46 To: steve Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SerWeb authentication fails, my confusion over domain/realm referenced in archives
steve wrote:
Hi, I have got Serweb going but when I access admin/index.php or user_interface/index.php I get the login prompt but when I try to login it returns to the login prompt.
is your php configured correctly? short_tags and register_globals must be turned on!
use phpinfo(); to verify your settings
klaus
This message has been checked for all known viruses by the CitC Virus Scanning Service powered by SkyLabs. For further information visit http://www.citc.it
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Many thanks.
I have created the file.
A search for global finds register_globals => On => On
While a search for short only finds short_open_tag => On => On
Is my syntax correct in the ini file?
short_tags = On
The short_open_tag appears before the short_tags in the ini file, are they connected in anyway?
Thanks for the help..
-----Original Message----- From: Daniel-Constantin Mierla [mailto:daniel@iptel.org] Sent: Thursday 06 May 2004 11:26 To: steve Cc: 'Klaus Darilion'; serusers@lists.iptel.org Subject: Re: [Serusers] SerWeb authentication fails, my confusion over domain/realm referenced in archives
On 5/6/2004 12:17 PM, steve wrote:
Hi,
In the php.ini file I have:
register_globals = On short_tags = On
But also
short_open_tag = On
I am not sure how to run phpinfo(): is it a binary?
you have to create a small php script like:
<?php phpinfo(); ?>
and open it via your http server.
Another way is to use the php executable, if you have it installed. E.g.,
bash$ php -i >phpinfo.html
then open phpinfo.html in a browser.
Daniel
Thanks..
-----Original Message----- From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at] Sent: Thursday 06 May 2004 10:46 To: steve Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SerWeb authentication fails, my
confusion over
domain/realm referenced in archives
steve wrote:
Hi, I have got Serweb going but when I access admin/index.php or user_interface/index.php I get the login prompt but when I try to login it returns to the login prompt.
is your php configured correctly? short_tags and
register_globals must
be turned on!
use phpinfo(); to verify your settings
klaus
This message has been checked for all known viruses by the
CitC Virus
Scanning Service powered by SkyLabs. For further information visit http://www.citc.it
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
This message has been checked for all known viruses by the CitC Virus Scanning Service powered by SkyLabs. For further information visit http://www.citc.it
Yes, that's the same. So your php configuration is fine.
Have you tried to login to the admin interface as user admin with password heslo?
Is the user existing in the ser.subscriber table?
klaus
steve wrote:
Many thanks.
I have created the file.
A search for global finds register_globals => On => On
While a search for short only finds short_open_tag => On => On
Is my syntax correct in the ini file?
short_tags = On
The short_open_tag appears before the short_tags in the ini file, are they connected in anyway?
Thanks for the help..
-----Original Message----- From: Daniel-Constantin Mierla [mailto:daniel@iptel.org] Sent: Thursday 06 May 2004 11:26 To: steve Cc: 'Klaus Darilion'; serusers@lists.iptel.org Subject: Re: [Serusers] SerWeb authentication fails, my confusion over domain/realm referenced in archives
On 5/6/2004 12:17 PM, steve wrote:
Hi,
In the php.ini file I have:
register_globals = On short_tags = On
But also
short_open_tag = On
I am not sure how to run phpinfo(): is it a binary?
you have to create a small php script like:
<?php phpinfo(); ?>
and open it via your http server.
Another way is to use the php executable, if you have it installed. E.g.,
bash$ php -i >phpinfo.html
then open phpinfo.html in a browser.
Daniel
Thanks..
-----Original Message----- From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at] Sent: Thursday 06 May 2004 10:46 To: steve Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SerWeb authentication fails, my
confusion over
domain/realm referenced in archives
steve wrote:
Hi, I have got Serweb going but when I access admin/index.php or user_interface/index.php I get the login prompt but when I try to login it returns to the login prompt.
is your php configured correctly? short_tags and
register_globals must
be turned on!
use phpinfo(); to verify your settings
klaus
This message has been checked for all known viruses by the
CitC Virus
Scanning Service powered by SkyLabs. For further information visit http://www.citc.it
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
This message has been checked for all known viruses by the CitC Virus Scanning Service powered by SkyLabs. For further information visit http://www.citc.it
-----Original Message----- From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at] Sent: Thursday 06 May 2004 12:20 To: steve Cc: daniel@iptel.org; serusers@lists.iptel.org Subject: Re: [Serusers] SerWeb authentication fails, my confusion over domain/realm referenced in archives
Yes, that's the same. So your php configuration is fine.
Have you tried to login to the admin interface as user admin with password heslo?
I have tried this and other users I have created.
Is the user existing in the ser.subscriber table?
The user does exist, but this is where I think the problem is. Looking back on the list I have seen this issue many times. Help has often pointed to the domain or realm of the user in the subscriber table.
The original admin is there:
Username admin domain SIP-PROXY.LAB passwd heslo email address root@localhost perms admin
Could it be to do with the domain of the user?
Thanks again..
klaus
steve wrote:
Many thanks.
I have created the file.
A search for global finds register_globals => On => On
While a search for short only finds short_open_tag => On => On
Is my syntax correct in the ini file?
short_tags = On
The short_open_tag appears before the short_tags in the ini
file, are
they connected in anyway?
Thanks for the help..
-----Original Message----- From: Daniel-Constantin Mierla [mailto:daniel@iptel.org] Sent: Thursday 06 May 2004 11:26 To: steve Cc: 'Klaus Darilion'; serusers@lists.iptel.org Subject: Re: [Serusers] SerWeb authentication fails, my
confusion over
domain/realm referenced in archives
On 5/6/2004 12:17 PM, steve wrote:
Hi,
In the php.ini file I have:
register_globals = On short_tags = On
But also
short_open_tag = On
I am not sure how to run phpinfo(): is it a binary?
you have to create a small php script like:
<?php phpinfo(); ?>
and open it via your http server.
Another way is to use the php executable, if you have it installed. E.g.,
bash$ php -i >phpinfo.html
then open phpinfo.html in a browser.
Daniel
Thanks..
-----Original Message----- From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at] Sent: Thursday 06 May 2004 10:46 To: steve Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SerWeb authentication fails, my
confusion over
domain/realm referenced in archives
steve wrote:
Hi, I have got Serweb going but when I access admin/index.php or user_interface/index.php I get the login prompt but when
I try to
login it returns to the login prompt.
is your php configured correctly? short_tags and
register_globals must
be turned on!
use phpinfo(); to verify your settings
klaus
This message has been checked for all known viruses by the
CitC Virus
Scanning Service powered by SkyLabs. For further
information visit
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
This message has been checked for all known viruses by the
CitC Virus
Scanning Service powered by SkyLabs. For further information visit http://www.citc.it
This message has been checked for all known viruses by the CitC Virus Scanning Service powered by SkyLabs. For further information visit http://www.citc.it
See answer below.
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of steve Sent: Thursday, 6 May 2004 6:34 PM To: serusers@lists.iptel.org Subject: [Serusers] SerWeb authentication fails,my confusion over domain/realm referenced in archives
Hi, I have got Serweb going but when I access admin/index.php or user_interface/index.php I get the login prompt but when I try to login it returns to the login prompt.
Looking back at the archives I see references to the domain or realm being incorrect, what realm / domain does this refer to? What needs to match this domain.
When I set up the MySQL users I had used the command export SIP_DOMAIN="SIP-PROXY.LAB" to allow me to use serctl, I see this in the output from select * from subscriber; run in mysql.
I have changed the line in the html/config.php to match how I had configured my ser.cfg: (in the ser howto these commands were on separate lines, in my config.php they were on one line, does this matter?)
/* your domain name */
$this->realm="boxb.lab"$this->domainname="boxb.lab"$this->defa ult_domain= ereg_replace( "(www.|sip.)?(.*)", "\2", $_SERVER['SERVER_NAME']); /* initial nummerical alias for new
By default, serweb expects your web server name, which is your hostname for default apache installation, minus the www or sip part as your default_domain.
So, if your hostname is boxb.lab, the parameters in the above line will resolve to boxb.lab.
Since you are using SIP-PROXY.LAB as your SER domain, you should set the line to: $this->realm=$this->domainname=$this->default_domain="SIP-PROXY.LAB";
The other way is configure your apache to virtual host www.SIP-PROXY.LAB and you do not need to do anything on serweb.
Zeus
Thanks, I will try that and then report back.
-----Original Message----- From: Zeus Ng [mailto:zeus.ng@isquare.com.au] Sent: Thursday 06 May 2004 13:11 To: 'steve' Cc: serusers@lists.iptel.org Subject: RE: [Serusers] SerWeb authentication fails,my confusion over domain/realm referenced in archives
See answer below.
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of steve Sent: Thursday, 6 May 2004 6:34 PM To: serusers@lists.iptel.org Subject: [Serusers] SerWeb authentication fails,my confusion over domain/realm referenced in archives
Hi, I have got Serweb going but when I access admin/index.php or user_interface/index.php I get the login prompt but when I try to login it returns to the login prompt.
Looking back at the archives I see references to the domain
or realm
being incorrect, what realm / domain does this refer to?
What needs to
match this domain.
When I set up the MySQL users I had used the command export SIP_DOMAIN="SIP-PROXY.LAB" to allow me to use serctl, I see this in the output from select * from subscriber; run in mysql.
I have changed the line in the html/config.php to match how I had configured my ser.cfg: (in the ser howto these commands were on separate lines, in my config.php they were on one line, does this matter?)
/* your domain name */
$this->realm="boxb.lab"$this->domainname="boxb.lab"$this->defa ult_domain= ereg_replace( "(www.|sip.)?(.*)", "\2", $_SERVER['SERVER_NAME']); /* initial nummerical alias for new
By default, serweb expects your web server name, which is your hostname for default apache installation, minus the www or sip part as your default_domain.
So, if your hostname is boxb.lab, the parameters in the above line will resolve to boxb.lab.
Since you are using SIP-PROXY.LAB as your SER domain, you should set the line to: $this->realm=$this->domainname=$this->default_domain="SIP-PROXY.LAB";
The other way is configure your apache to virtual host www.SIP-PROXY.LAB and you do not need to do anything on serweb.
Zeus
This message has been checked for all known viruses by the CitC Virus Scanning Service powered by SkyLabs. For further information visit http://www.citc.it
Hi, I have tried both of the methods below and still get returned to the login screen.
There are no error messages, the login page just returns to the screen with the login values empty.
Are there any logs I can look at?
I have stopped the MySQL database to ensure that the query routine is working and it errors on the web page when down so that is ok.
What routine returns the web page back to the login screen? Is it if the username/password fails?
Thanks...
Since you are using SIP-PROXY.LAB as your SER domain, you
should set
the line to:
$this->realm=$this->domainname=$this->default_domain="SIP-PROXY.LAB";
The other way is configure your apache to virtual host www.SIP-PROXY.LAB and you do not need to do anything on serweb.
Zeus
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of steve Sent: Thursday 06 May 2004 13:24 To: 'Zeus Ng' Cc: serusers@lists.iptel.org Subject: RE: [Serusers] SerWeb authentication fails,my confusion over domain/realm referenced in archives
Thanks, I will try that and then report back.
-----Original Message----- From: Zeus Ng [mailto:zeus.ng@isquare.com.au] Sent: Thursday 06 May 2004 13:11 To: 'steve' Cc: serusers@lists.iptel.org Subject: RE: [Serusers] SerWeb authentication fails,my
confusion over
domain/realm referenced in archives
See answer below.
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of steve Sent: Thursday, 6 May 2004 6:34 PM To: serusers@lists.iptel.org Subject: [Serusers] SerWeb authentication fails,my confusion over domain/realm referenced in archives
Hi, I have got Serweb going but when I access admin/index.php or user_interface/index.php I get the login prompt but when I try to login it returns to the login prompt.
Looking back at the archives I see references to the domain
or realm
being incorrect, what realm / domain does this refer to?
What needs to
match this domain.
When I set up the MySQL users I had used the command export SIP_DOMAIN="SIP-PROXY.LAB" to allow me to use serctl, I
see this in
the output from select * from subscriber; run in mysql.
I have changed the line in the html/config.php to match how I had configured my ser.cfg: (in the ser howto these commands were on separate lines, in my config.php they were on one line, does this matter?)
/* your domain name */
$this->realm="boxb.lab"$this->domainname="boxb.lab"$this->defa ult_domain= ereg_replace(
"(www.|sip.)?(.*)", "\2",
$_SERVER['SERVER_NAME']); /* initial nummerical alias for new
By default, serweb expects your web server name, which is your hostname for default apache installation, minus the www or
sip part as
your default_domain.
So, if your hostname is boxb.lab, the parameters in the above line will resolve to boxb.lab.
Since you are using SIP-PROXY.LAB as your SER domain, you
should set
the line to:
$this->realm=$this->domainname=$this->default_domain="SIP-PROXY.LAB";
The other way is configure your apache to virtual host www.SIP-PROXY.LAB and you do not need to do anything on serweb.
Zeus
Hi, Still trying to narrow down this issue of the authentication failure.
I have taken everything back to the start.
So the uname of the box is labbox-b.noclan.lab, I have set the sip_domain to be labbox-b.noclan.lab, all the ser.cfg is set to labbox-b.noclan.lab.
In the config.php I have set the line for the domain to:
this->realm=labbox-b.noclan.lab$this->domainname=labbox-b.noclan.lab$this->d efault_domain=
I don't know if I need to use default domain as the box is called labbox-b.noclan.lab.
Apache is back to running without virtual hosts.
I connect to serweb on http://labbox-b.noclan.lab/admin/index.php where I type in the user name and password, and get returned to the login screen.
Is the only interaction here between Apache/PHP/MySQL and the SIP_DOMAIN or is the ser.cfg file referenced from this login routine?
Any help greatly appreciated...
Since you are using SIP-PROXY.LAB as your SER domain, you
should set
the line to:
$this->realm=$this->domainname=$this->default_domain="SIP-PROXY.LAB";
The other way is configure your apache to virtual host www.SIP-PROXY.LAB and you do not need to do anything on serweb.
Zeus
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of steve Sent: Thursday 06 May 2004 13:24 To: 'Zeus Ng' Cc: serusers@lists.iptel.org Subject: RE: [Serusers] SerWeb authentication fails,my confusion over domain/realm referenced in archives
Thanks, I will try that and then report back.
-----Original Message----- From: Zeus Ng [mailto:zeus.ng@isquare.com.au] Sent: Thursday 06 May 2004 13:11 To: 'steve' Cc: serusers@lists.iptel.org Subject: RE: [Serusers] SerWeb authentication fails,my
confusion over
domain/realm referenced in archives
See answer below.
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of steve Sent: Thursday, 6 May 2004 6:34 PM To: serusers@lists.iptel.org Subject: [Serusers] SerWeb authentication fails,my confusion over domain/realm referenced in archives
Hi, I have got Serweb going but when I access admin/index.php or user_interface/index.php I get the login prompt but when I try to login it returns to the login prompt.
Looking back at the archives I see references to the domain
or realm
being incorrect, what realm / domain does this refer to?
What needs to
match this domain.
When I set up the MySQL users I had used the command export SIP_DOMAIN="SIP-PROXY.LAB" to allow me to use serctl, I
see this in
the output from select * from subscriber; run in mysql.
I have changed the line in the html/config.php to match how I had configured my ser.cfg: (in the ser howto these commands were on separate lines, in my config.php they were on one line, does this matter?)
/* your domain name */
$this->realm="boxb.lab"$this->domainname="boxb.lab"$this->defa ult_domain= ereg_replace(
"(www.|sip.)?(.*)", "\2",
$_SERVER['SERVER_NAME']); /* initial nummerical alias for new
By default, serweb expects your web server name, which is your hostname for default apache installation, minus the www or
sip part as
your default_domain.
So, if your hostname is boxb.lab, the parameters in the above line will resolve to boxb.lab.
Since you are using SIP-PROXY.LAB as your SER domain, you
should set
the line to:
$this->realm=$this->domainname=$this->default_domain="SIP-PROXY.LAB";
The other way is configure your apache to virtual host www.SIP-PROXY.LAB and you do not need to do anything on serweb.
Zeus
Hello, please check if you have a value for phplib_id in subscriber table. Also, what version of ser and serweb do you have? There might be some incompatibilities.
Daniel
On 5/7/2004 9:23 AM, steve wrote:
Hi, Still trying to narrow down this issue of the authentication failure.
I have taken everything back to the start.
So the uname of the box is labbox-b.noclan.lab, I have set the sip_domain to be labbox-b.noclan.lab, all the ser.cfg is set to labbox-b.noclan.lab.
In the config.php I have set the line for the domain to:
this->realm=labbox-b.noclan.lab$this->domainname=labbox-b.noclan.lab$this->d efault_domain=
I don't know if I need to use default domain as the box is called labbox-b.noclan.lab.
Apache is back to running without virtual hosts.
I connect to serweb on http://labbox-b.noclan.lab/admin/index.php where I type in the user name and password, and get returned to the login screen.
Is the only interaction here between Apache/PHP/MySQL and the SIP_DOMAIN or is the ser.cfg file referenced from this login routine?
Any help greatly appreciated...
Since you are using SIP-PROXY.LAB as your SER domain, you
should set
the line to:
$this->realm=$this->domainname=$this->default_domain="SIP-PROXY.LAB";
The other way is configure your apache to virtual host www.SIP-PROXY.LAB and you do not need to do anything on serweb.
Zeus
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of steve Sent: Thursday 06 May 2004 13:24 To: 'Zeus Ng' Cc: serusers@lists.iptel.org Subject: RE: [Serusers] SerWeb authentication fails,my confusion over domain/realm referenced in archives
Thanks, I will try that and then report back.
-----Original Message----- From: Zeus Ng [mailto:zeus.ng@isquare.com.au] Sent: Thursday 06 May 2004 13:11 To: 'steve' Cc: serusers@lists.iptel.org Subject: RE: [Serusers] SerWeb authentication fails,my
confusion over
domain/realm referenced in archives
See answer below.
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of steve Sent: Thursday, 6 May 2004 6:34 PM To: serusers@lists.iptel.org Subject: [Serusers] SerWeb authentication fails,my confusion over domain/realm referenced in archives
Hi, I have got Serweb going but when I access admin/index.php or user_interface/index.php I get the login prompt but when I try to login it returns to the login prompt.
Looking back at the archives I see references to the domain
or realm
being incorrect, what realm / domain does this refer to?
What needs to
match this domain.
When I set up the MySQL users I had used the command export SIP_DOMAIN="SIP-PROXY.LAB" to allow me to use serctl, I
see this in
the output from select * from subscriber; run in mysql.
I have changed the line in the html/config.php to match how I had configured my ser.cfg: (in the ser howto these commands were on separate lines, in my config.php they were on one line, does this matter?)
/* your domain name */
$this->realm="boxb.lab"$this->domainname="boxb.lab"$this->defa ult_domain= ereg_replace(
"(www.|sip.)?(.*)", "\2",
$_SERVER['SERVER_NAME']); /* initial nummerical alias for new
By default, serweb expects your web server name, which is your hostname for default apache installation, minus the www or
sip part as
your default_domain.
So, if your hostname is boxb.lab, the parameters in the above line will resolve to boxb.lab.
Since you are using SIP-PROXY.LAB as your SER domain, you
should set
the line to:
$this->realm=$this->domainname=$this->default_domain="SIP-PROXY.LAB";
The other way is configure your apache to virtual host www.SIP-PROXY.LAB and you do not need to do anything on serweb.
Zeus
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hi, For the php id for admin user I have cf36d1931ae84e1a1c22bb5a44f8fb8a
The ser version is 0.8.12 (i386/linux)
The serweb version serweb_2004-01-04 (that was the name of the tar)
I think these are the latest stable releases, do you know if they are compatible?
Many thanks for the response...
-----Original Message----- From: Daniel-Constantin Mierla [mailto:daniel@iptel.org] Sent: Friday 07 May 2004 09:38 To: steve Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SerWeb authentication fails, my confusion over domain/realm referenced in archives
Hello, please check if you have a value for phplib_id in subscriber table. Also, what version of ser and serweb do you have? There might be some incompatibilities.
Daniel
On 5/7/2004 9:23 AM, steve wrote:
Hi, Still trying to narrow down this issue of the authentication failure.
I have taken everything back to the start.
So the uname of the box is labbox-b.noclan.lab, I have set the sip_domain to be labbox-b.noclan.lab, all the ser.cfg is set
to labbox-b.noclan.lab.
In the config.php I have set the line for the domain to:
this->realm=labbox-b.noclan.lab$this->domainname=labbox-b.noc
lan.lab$th
this->is->d efault_domain=
I don't know if I need to use default domain as the box is called labbox-b.noclan.lab.
Apache is back to running without virtual hosts.
I connect to serweb on
http://labbox-b.noclan.lab/admin/index.php where
I type in the user name and password, and get returned to
the login screen.
Is the only interaction here between Apache/PHP/MySQL and the SIP_DOMAIN or is the ser.cfg file referenced from this login routine?
Any help greatly appreciated...
Since you are using SIP-PROXY.LAB as your SER domain, you
should set
the line to:
$this->realm=$this->domainname=$this->default_domain="SIP-PR
OXY.LAB";
The other way is configure your apache to virtual host www.SIP-PROXY.LAB and you do not need to do anything on serweb.
Zeus
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of steve Sent: Thursday 06 May 2004 13:24 To: 'Zeus Ng' Cc: serusers@lists.iptel.org Subject: RE: [Serusers] SerWeb authentication fails,my
confusion over
domain/realm referenced in archives
Thanks, I will try that and then report back.
-----Original Message----- From: Zeus Ng [mailto:zeus.ng@isquare.com.au] Sent: Thursday 06 May 2004 13:11 To: 'steve' Cc: serusers@lists.iptel.org Subject: RE: [Serusers] SerWeb authentication fails,my
confusion over
domain/realm referenced in archives
See answer below.
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of steve Sent: Thursday, 6 May 2004 6:34 PM To: serusers@lists.iptel.org Subject: [Serusers] SerWeb authentication fails,my confusion over domain/realm referenced in archives
Hi, I have got Serweb going but when I access admin/index.php or user_interface/index.php I get the login prompt but when I try to login it returns to the login prompt.
Looking back at the archives I see references to the domain
or realm
being incorrect, what realm / domain does this refer to?
What needs to
match this domain.
When I set up the MySQL users I had used the command export SIP_DOMAIN="SIP-PROXY.LAB" to allow me to use serctl, I
see this in
the output from select * from subscriber; run in mysql.
I have changed the line in the html/config.php to match how I had configured my ser.cfg: (in the ser howto these commands were on separate lines, in my config.php they were on one line, does this matter?)
/* your domain name */
$this->realm="boxb.lab"$this->domainname="boxb.lab"$this->defa ult_domain= ereg_replace(
"(www.|sip.)?(.*)", "\2",
$_SERVER['SERVER_NAME']); /* initial nummerical alias for new
By default, serweb expects your web server name, which is your hostname for default apache installation, minus the www or
sip part as
your default_domain.
So, if your hostname is boxb.lab, the parameters in the above line will resolve to boxb.lab.
Since you are using SIP-PROXY.LAB as your SER domain, you
should set
the line to:
$this->realm=$this->domainname=$this->default_domain="SIP-PR
OXY.LAB";
The other way is configure your apache to virtual host www.SIP-PROXY.LAB and you do not need to do anything on serweb.
Zeus
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
This message has been checked for all known viruses by the CitC Virus Scanning Service powered by SkyLabs. For further information visit http://www.citc.it
Hello,
On 5/7/2004 10:51 AM, steve wrote:
Hi, For the php id for admin user I have cf36d1931ae84e1a1c22bb5a44f8fb8a
if your web browser has eneabled cookie support, that's ok.
The ser version is 0.8.12 (i386/linux)
The serweb version serweb_2004-01-04 (that was the name of the tar)
I think these are the latest stable releases, do you know if they are compatible?
It might be compatible, but I am not sure. ser v0.8.12 was released before 2004-01-04. I would try to get the serweb tagged as rel_0_8_12 from CVS and try again. Here are the commands to use (when asks for password press enter):
cvs -d:pserver:anonymous@cvs.serweb.berlios.de:/cvsroot/serweb login
cvs -z3 -d:pserver:anonymous@cvs.serweb.berlios.de:/cvsroot/serweb co -r rel_0_8_12 iptel
Daniel
Many thanks for the response...
-----Original Message----- From: Daniel-Constantin Mierla [mailto:daniel@iptel.org] Sent: Friday 07 May 2004 09:38 To: steve Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SerWeb authentication fails, my confusion over domain/realm referenced in archives
Hello, please check if you have a value for phplib_id in subscriber table. Also, what version of ser and serweb do you have? There might be some incompatibilities.
Daniel
On 5/7/2004 9:23 AM, steve wrote:
Hi, Still trying to narrow down this issue of the authentication failure.
I have taken everything back to the start.
So the uname of the box is labbox-b.noclan.lab, I have set the sip_domain to be labbox-b.noclan.lab, all the ser.cfg is set
to labbox-b.noclan.lab.
In the config.php I have set the line for the domain to:
this->realm=labbox-b.noclan.lab$this->domainname=labbox-b.noc
lan.lab$th
this->is->d efault_domain=
I don't know if I need to use default domain as the box is called labbox-b.noclan.lab.
Apache is back to running without virtual hosts.
I connect to serweb on
http://labbox-b.noclan.lab/admin/index.php where
I type in the user name and password, and get returned to
the login screen.
Is the only interaction here between Apache/PHP/MySQL and the SIP_DOMAIN or is the ser.cfg file referenced from this login routine?
Any help greatly appreciated...
Since you are using SIP-PROXY.LAB as your SER domain, you
should set
the line to:
$this->realm=$this->domainname=$this->default_domain="SIP-PR
OXY.LAB";
The other way is configure your apache to virtual host www.SIP-PROXY.LAB and you do not need to do anything on serweb.
Zeus
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of steve Sent: Thursday 06 May 2004 13:24 To: 'Zeus Ng' Cc: serusers@lists.iptel.org Subject: RE: [Serusers] SerWeb authentication fails,my
confusion over
domain/realm referenced in archives
Thanks, I will try that and then report back.
-----Original Message----- From: Zeus Ng [mailto:zeus.ng@isquare.com.au] Sent: Thursday 06 May 2004 13:11 To: 'steve' Cc: serusers@lists.iptel.org Subject: RE: [Serusers] SerWeb authentication fails,my
confusion over
domain/realm referenced in archives
See answer below.
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of steve Sent: Thursday, 6 May 2004 6:34 PM To: serusers@lists.iptel.org Subject: [Serusers] SerWeb authentication fails,my confusion over domain/realm referenced in archives
Hi, I have got Serweb going but when I access admin/index.php or user_interface/index.php I get the login prompt but when I try to login it returns to the login prompt.
Looking back at the archives I see references to the domain
or realm
being incorrect, what realm / domain does this refer to?
What needs to
match this domain.
When I set up the MySQL users I had used the command export SIP_DOMAIN="SIP-PROXY.LAB" to allow me to use serctl, I
see this in
the output from select * from subscriber; run in mysql.
I have changed the line in the html/config.php to match how I had configured my ser.cfg: (in the ser howto these commands were on separate lines, in my config.php they were on one line, does this matter?)
/* your domain name */
$this->realm="boxb.lab"$this->domainname="boxb.lab"$this->defa ult_domain= ereg_replace(
"(www.|sip.)?(.*)", "\2",
$_SERVER['SERVER_NAME']); /* initial nummerical alias for new
By default, serweb expects your web server name, which is your hostname for default apache installation, minus the www or
sip part as
your default_domain.
So, if your hostname is boxb.lab, the parameters in the above line will resolve to boxb.lab.
Since you are using SIP-PROXY.LAB as your SER domain, you
should set
the line to:
$this->realm=$this->domainname=$this->default_domain="SIP-PR
OXY.LAB";
The other way is configure your apache to virtual host www.SIP-PROXY.LAB and you do not need to do anything on serweb.
Zeus
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
This message has been checked for all known viruses by the CitC Virus Scanning Service powered by SkyLabs. For further information visit http://www.citc.it
Hello, I readed thread of the steve problem, but this don't look like incopatibility problem. It look like problem with php or configuration of serweb, but it is strange that there isn't any error message.
Steve, the line with your domain name in your config.php should look like this:
$this->realm=$this->domainname=$this->default_domain="labbox-b.noclan.lab";
Also be sure that domain field in table subscriber is "labbox-b.noclan.lab" (without quotation marks).
And be sure that clear_text_pw=1 in config.php
If it doesn't solve the problem, you can try add this lines to the index.php after line with page_open (array("sess" => "phplib_Session"));
echo "uname: ".$uname."<br>\n"; echo "passw: ".$passw."<br>\n"; echo "okey_x: ".$okey_x."<br>\n";
Now you can try login as admin/heslo. The page with login form should contain 3 lines at the beginning:
uname: admin passw: heslo okey_x: <some integer diferent from zero>
If it doesn't let me know.
Karel
Daniel-Constantin Mierla wrote:
Hello,
On 5/7/2004 10:51 AM, steve wrote:
Hi, For the php id for admin user I have cf36d1931ae84e1a1c22bb5a44f8fb8a
if your web browser has eneabled cookie support, that's ok.
The ser version is 0.8.12 (i386/linux)
The serweb version serweb_2004-01-04 (that was the name of the tar)
I think these are the latest stable releases, do you know if they are compatible?
It might be compatible, but I am not sure. ser v0.8.12 was released before 2004-01-04. I would try to get the serweb tagged as rel_0_8_12 from CVS and try again. Here are the commands to use (when asks for password press enter):
cvs -d:pserver:anonymous@cvs.serweb.berlios.de:/cvsroot/serweb login
cvs -z3 -d:pserver:anonymous@cvs.serweb.berlios.de:/cvsroot/serweb co -r rel_0_8_12 iptel
Daniel
Many thanks for the response...
-----Original Message----- From: Daniel-Constantin Mierla [mailto:daniel@iptel.org] Sent: Friday 07 May 2004 09:38 To: steve Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SerWeb authentication fails, my confusion over domain/realm referenced in archives
Hello, please check if you have a value for phplib_id in subscriber table. Also, what version of ser and serweb do you have? There might be some incompatibilities.
Daniel
On 5/7/2004 9:23 AM, steve wrote:
Hi, Still trying to narrow down this issue of the authentication failure.
I have taken everything back to the start.
So the uname of the box is labbox-b.noclan.lab, I have set the sip_domain to be labbox-b.noclan.lab, all the ser.cfg is set
to labbox-b.noclan.lab.
In the config.php I have set the line for the domain to:
this->realm=labbox-b.noclan.lab$this->domainname=labbox-b.noc
lan.lab$th
this->is->d efault_domain=
I don't know if I need to use default domain as the box is called labbox-b.noclan.lab.
Apache is back to running without virtual hosts.
I connect to serweb on
http://labbox-b.noclan.lab/admin/index.php where
I type in the user name and password, and get returned to
the login screen.
Is the only interaction here between Apache/PHP/MySQL and the SIP_DOMAIN or is the ser.cfg file referenced from this login routine?
Any help greatly appreciated...
Since you are using SIP-PROXY.LAB as your SER domain, you
should set
the line to:
$this->realm=$this->domainname=$this->default_domain="SIP-PR
OXY.LAB";
The other way is configure your apache to virtual host www.SIP-PROXY.LAB and you do not need to do anything on serweb.
Zeus
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of steve Sent: Thursday 06 May 2004 13:24 To: 'Zeus Ng' Cc: serusers@lists.iptel.org Subject: RE: [Serusers] SerWeb authentication fails,my
confusion over
domain/realm referenced in archives
Thanks, I will try that and then report back.
-----Original Message----- From: Zeus Ng [mailto:zeus.ng@isquare.com.au] Sent: Thursday 06 May 2004 13:11 To: 'steve' Cc: serusers@lists.iptel.org Subject: RE: [Serusers] SerWeb authentication fails,my
confusion over
domain/realm referenced in archives
See answer below.
> -----Original Message----- > From: serusers-bounces@lists.iptel.org > [mailto:serusers-bounces@lists.iptel.org] On Behalf Of steve > Sent: Thursday, 6 May 2004 6:34 PM > To: serusers@lists.iptel.org > Subject: [Serusers] SerWeb authentication fails,my confusion over > domain/realm referenced in archives > > > Hi, > I have got Serweb going but when I access admin/index.php or > user_interface/index.php I get the login prompt but when I try to > login it returns to the login prompt. > > Looking back at the archives I see references to the domain > >
or realm
> being incorrect, what realm / domain does this refer to? >
What needs to
> match this domain. > > When I set up the MySQL users I had used the command export > SIP_DOMAIN="SIP-PROXY.LAB" to allow me to use serctl, I > >
see this in
> the output from select * from subscriber; run in mysql. > > I have changed the line in the html/config.php to match how I had > configured my ser.cfg: (in the ser howto these commands were on > separate lines, in my config.php they were on one line, does this > matter?) > > /* your domain name */ > > $this->realm="boxb.lab"$this->domainname="boxb.lab"$this->defa > ult_domain= > ereg_replace( > >
"(www.|sip.)?(.*)", "\2",
> $_SERVER['SERVER_NAME']); > /* initial nummerical alias for new > >
By default, serweb expects your web server name, which is your hostname for default apache installation, minus the www or
sip part as
your default_domain.
So, if your hostname is boxb.lab, the parameters in the above line will resolve to boxb.lab.
Since you are using SIP-PROXY.LAB as your SER domain, you
should set
the line to:
$this->realm=$this->domainname=$this->default_domain="SIP-PR
OXY.LAB";
The other way is configure your apache to virtual host www.SIP-PROXY.LAB and you do not need to do anything on serweb.
Zeus
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
This message has been checked for all known viruses by the CitC Virus Scanning Service powered by SkyLabs. For further information visit http://www.citc.it
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hi, You just gave me an idea when you mentioned cookies..
I have only tried this with various versions of Mozilla, I use Firefox 0.8 on my office PC and
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 on the lab boxes.
Just tried Microsoft Internet Explorer 6 on the office PC and it works!
I had added the labbox-b.noclan.lan to the hosts file on the windows PC so it would send the correct http request to satisfy Apache and bingo it works.
I can't believe I have tried so many things over the last 2 very long days.
After the weekend I will try and summarise this and post to the list for future reference.
I'm going for a well overdue coffee.
Thanks to all the people on the list for your advice and suggestions, it is very probable that I had several problems that culminated in with browser issue. Certainly the http request needs to match the domain your admin user is in.
Just need to fix the links to the images etc and I will have a happy boss :)
Regards,
Steve Godfrey (Grommit)
-----Original Message----- From: Daniel-Constantin Mierla [mailto:daniel@iptel.org] Sent: Friday 07 May 2004 10:00 To: steve Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SerWeb authentication fails,my confusion over domain/realm referenced in archives
Hello,
On 5/7/2004 10:51 AM, steve wrote:
Hi, For the php id for admin user I have cf36d1931ae84e1a1c22bb5a44f8fb8a
if your web browser has eneabled cookie support, that's ok.
The ser version is 0.8.12 (i386/linux)
The serweb version serweb_2004-01-04 (that was the name of the tar)
I think these are the latest stable releases, do you know if
they are
compatible?
It might be compatible, but I am not sure. ser v0.8.12 was released before 2004-01-04. I would try to get the serweb tagged as rel_0_8_12 from CVS and try again. Here are the commands to use (when asks for password press enter):
cvs -d:pserver:anonymous@cvs.serweb.berlios.de:/cvsroot/serweb login
cvs -z3 -d:pserver:anonymous@cvs.serweb.berlios.de:/cvsroot/serweb co -r rel_0_8_12 iptel
Daniel
Many thanks for the response...
-----Original Message----- From: Daniel-Constantin Mierla [mailto:daniel@iptel.org] Sent: Friday 07 May 2004 09:38 To: steve Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SerWeb authentication fails, my
confusion over
domain/realm referenced in archives
Hello, please check if you have a value for phplib_id in subscriber table. Also, what version of ser and serweb do you have? There
might be some
incompatibilities.
Daniel
On 5/7/2004 9:23 AM, steve wrote:
Hi, Still trying to narrow down this issue of the
authentication failure.
I have taken everything back to the start.
So the uname of the box is labbox-b.noclan.lab, I have set the sip_domain to be labbox-b.noclan.lab, all the ser.cfg is set
to labbox-b.noclan.lab.
In the config.php I have set the line for the domain to:
this->realm=labbox-b.noclan.lab$this->domainname=labbox-b.noc
lan.lab$th
this->is->d efault_domain=
I don't know if I need to use default domain as the box is called labbox-b.noclan.lab.
Apache is back to running without virtual hosts.
I connect to serweb on
http://labbox-b.noclan.lab/admin/index.php where
I type in the user name and password, and get returned to
the login screen.
Is the only interaction here between Apache/PHP/MySQL and the SIP_DOMAIN or is the ser.cfg file referenced from this
login routine?
Any help greatly appreciated...
Since you are using SIP-PROXY.LAB as your SER domain, you
should set
the line to:
$this->realm=$this->domainname=$this->default_domain="SIP-PR
OXY.LAB";
The other way is configure your apache to virtual host www.SIP-PROXY.LAB and you do not need to do anything on serweb.
Zeus
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of steve Sent: Thursday 06 May 2004 13:24 To: 'Zeus Ng' Cc: serusers@lists.iptel.org Subject: RE: [Serusers] SerWeb authentication fails,my
confusion over
domain/realm referenced in archives
Thanks, I will try that and then report back.
-----Original Message----- From: Zeus Ng [mailto:zeus.ng@isquare.com.au] Sent: Thursday 06 May 2004 13:11 To: 'steve' Cc: serusers@lists.iptel.org Subject: RE: [Serusers] SerWeb authentication fails,my
confusion over
domain/realm referenced in archives
See answer below.
>-----Original Message----- >From: serusers-bounces@lists.iptel.org >[mailto:serusers-bounces@lists.iptel.org] On Behalf Of steve >Sent: Thursday, 6 May 2004 6:34 PM >To: serusers@lists.iptel.org >Subject: [Serusers] SerWeb authentication fails,my
confusion over
>domain/realm referenced in archives > > >Hi, >I have got Serweb going but when I access admin/index.php or >user_interface/index.php I get the login prompt but
when I try to
>login it returns to the login prompt. > >Looking back at the archives I see references to the domain > > > > or realm
>being incorrect, what realm / domain does this refer to? > > > > What needs to
>match this domain. > >When I set up the MySQL users I had used the command export >SIP_DOMAIN="SIP-PROXY.LAB" to allow me to use serctl, I > > > >
see this in
>the output from select * from subscriber; run in mysql. > >I have changed the line in the html/config.php to match
how I had
>configured my ser.cfg: (in the ser howto these commands were on >separate lines, in my config.php they were on one line,
does this
>matter?) > >/* your domain name */ > >$this->realm="boxb.lab"$this->domainname="boxb.lab"$this->defa >ult_domain= > ereg_replace( > > > >
"(www.|sip.)?(.*)", "\2",
>$_SERVER['SERVER_NAME']); > /* initial nummerical alias for new > > > > By default, serweb expects your web server name, which is your hostname for default apache installation, minus the www or
sip part as
your default_domain.
So, if your hostname is boxb.lab, the parameters in the
above line
will resolve to boxb.lab.
Since you are using SIP-PROXY.LAB as your SER domain, you
should set
the line to:
$this->realm=$this->domainname=$this->default_domain="SIP-PR
OXY.LAB";
The other way is configure your apache to virtual host www.SIP-PROXY.LAB and you do not need to do anything on serweb.
Zeus
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
This message has been checked for all known viruses by the
CitC Virus
Scanning Service powered by SkyLabs. For further information visit http://www.citc.it
This message has been checked for all known viruses by the CitC Virus Scanning Service powered by SkyLabs. For further information visit http://www.citc.it