Hi again,

One issue I'm noticing since these changes is that setting up users for the
control port has changed.
Using the default config of nsd-config.tcl from master (the same basic test
case from the top of this thread):

 sudo /usr/local/ns/bin/nsd -u nsadmin -t /usr/local/ns/conf/nsd-config.tcl
...
[19/Jan/2021:16:50:46][19522.7fcb4ff43700][-main:default-] Notice: modload:
loading module nscp from file nscp
[19/Jan/2021:16:50:46][19522.7fcb4ff43700][-main:default-] Notice:
nscp[default]: listening on [127.0.0.1]:4080
[19/Jan/2021:16:50:46][19522.7fcb4ff43700][-main:default-] Warning:
nscp[default]: no authorized users

And then obviously, no access of the cp is possible:

$ nc 127.0.0.1 4080
login:
Password:
Access denied!

Previously, the default config would allow logging into the control port
with blank user and password from the config:

ns_section "ns/server/default/module/nscp" {
    ns_param   port     4080
    #ns_param   address  0.0.0.0
}

ns_section "ns/server/default/module/nscp/users" {
    ns_param user "::"
}

Regards,
David

On Tue, 12 Jan 2021 at 11:07, David Osborne <da...@qcode.co.uk> wrote:

> Thank you for a very quick turnaround Gustaf! I'll do a build at rc4 and
> continue testing.
> Regards,
>
> On Tue, 12 Jan 2021 at 10:16, Gustaf Neumann <neum...@wu.ac.at> wrote:
>
>> On 11.01.21 16:45, Gustaf Neumann wrote:
>> > Will go through these more carefully and produce a new rc when done. -gn
>>
>> The updated version is running since yesterday on openacs.org (4 virtual
>> servers [1]), i have tested also with macOS 10.14.6, Ubuntu 20.04,
>> Fedora Core 32, OpenBSD 6.8 (LibreSSL 3.1.1), FreeBSD 12.2.
>>
>> There is also an updated release candidate on sourceforge [2]. My plan
>> would be to release on Friday.
>>
>> all the best and many thanks for your help
>>
>> -g
>>
>> [1] https://openacs.org/forums/message-view?message_id=5468281
>> [2] https://sourceforge.net/projects/naviserver/files/naviserver/4.99.20/
>>
>>
>>
>>
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to