[naviserver-devel] Where is nspasswd utility?

2017-08-19 Thread Roderick
Dear Sirs! I read in doc/html/manual/files/admin-maintenance.html To encrypt a password, you can copy an already-encrypted password from the /etc/passwd file or run the bin/nspasswd utility. It will prompt you for a password and return the encrypted version of the password. << But I do no

Re: [naviserver-devel] Where is nspasswd utility?

2017-08-22 Thread Roderick
On Sat, 19 Aug 2017, Gustaf Neumann wrote: % ns_crypt "password" ".."] ..UZoIyj/Hy/c or from the shell using e.g. Perl perl -le 'print crypt("password", "..");' Thanks. That helped. I am trying to understand the configuration file. Excuse me for the trivial questi

Re: [naviserver-devel] Where is nspasswd utility?

2017-08-23 Thread Roderick
To my preivious mail, I want to add the following experience. With passwd in the default place, auth with perm works, but not with htaccess (browser asks pass, but deny access). Defining a passwd not in the default place as at the end of doc/html/nsperm/files/nsperm.html, neither perm nor htacc

[naviserver-devel] Global variables not cloned?!

2017-08-28 Thread Roderick
In naviserver-4.99.15/doc/html/manual/files/tcl-overview.html we read: Tcl Interpreters During NaviServer initialization, only one interpreter exists. While modules are loaded and initialized, they may add procedures to the interpreter. When initialization is complete (all modules are load

[naviserver-devel] Source of non executable CGI scripts are shown

2017-10-17 Thread Roderick
Dear Sirs, If a cgi script is readable, but not executable, the server sends its source as text. Is this not a security problem? Rodrigo. -- Check out the vibrant tech community on one of the world's most engaging te

Re: [naviserver-devel] Source of non executable CGI scripts are shown

2017-10-20 Thread Roderick
This is different to other servers, which do not allow this. ... and apparently, this is for you unexpected behavior - which can lead to revealing unwanted information, when not carefully set up. Well, I though it was a bug, but it is indeed a feature. One needs only to be carefull. I do not

[naviserver-devel] Problems Compiling in OpenBSD

2017-12-21 Thread Roderick
(1) I cannot compile with openssl, because it seems to need openssl-1.1.0 that changed the names of some funcions of openssl-1.0.2 (EVP_MD_CTX_free for EVP_MD_CTX_destroy, etc). I failed to build openssl-1.1.0 and did not try too much. (2) Doing: cc -L../nsthread -L../nsd -L../nsdb -o nsd main

Re: [naviserver-devel] Problems Compiling in OpenBSD

2017-12-22 Thread Roderick
Thanks, Gustaf! concerning 2: build with LIBS specified should help, e.g. gmake LIBS=-lpthread I tried with the variables and at the end, the only that worked was to give manually the cc command in the two cases mentioned. When doing gmake, flag -pthread is used, but not in theese two cases.

[naviserver-devel] Problem compiling NaviServer 4.99.18 in FreeBSD 11.2

2019-08-28 Thread Roderick
Hello! Perhaps a litle hint helps. I get the following error: "" "" configure: WARNING: zlib.h: present but cannot be compiled configure: WARNING: zlib.h: check for missing prerequisite headers? configure: WARNING: zlib.h: see the Autoconf documentation configure: WARNING: zlib.h:

Re: [naviserver-devel] Problem compiling NaviServer 4.99.18 in FreeBSD 11.2

2019-08-28 Thread Roderick
Dear Gustaf, thanks for the answer! Is this a new installation or some upgrade? New, first source from sourforge, later from a hg clone from github, and then from an old version that compiled before. Configure fails in the three with the error I mentioned. For the hg clone I had to run "aut

Re: [naviserver-devel] Problem compiling NaviServer 4.99.18 in FreeBSD 11.2

2019-08-28 Thread Roderick
On Wed, 28 Aug 2019, Gustaf Neumann wrote: Can it be that you have to update some packages [3]? I thank you again. The problem was not naviserver, but indeed my FreeBSD installation. After upgrading to FreeBSD 11.3, configure runs and it compiles quite cleanly. Only "make test" made few erro

[naviserver-devel] Mercurial at Bitbucket is ending. What next?

2019-08-29 Thread Roderick
After reading something about mercurial only for cloning Naviservers Repo, I read this: https://bitbucket.org/blog/sunsetting-mercurial-support-in-bitbucket It would be nice to have NaviServer as fossil repo. :) Rodrigo ___ naviserver-devel mailin

Re: [naviserver-devel] Mercurial at Bitbucket is ending. What next?

2019-08-29 Thread Roderick
On Thu, 29 Aug 2019, Zoran Vasiljevic wrote: I believe most logical choice is git. I'm not fan of any of the systems, to be honest. Yes, it seems. I am also not a fan of anyone, and much less of this inflation of versioning systems. But I see advantages of CVS and fossil, in quite very diffe

Re: [naviserver-devel] Mercurial at Bitbucket is ending. What next?

2019-08-31 Thread Roderick
On Fri, 30 Aug 2019, Jeff Rogers wrote: It's struck me as odd that the source was hosted on bitbucket ... Perhaps the best would be to host it in a server running naviserver with fossil as cgi (or scgi or http proxy) script. :) https://fossil-scm.org/index.html/doc/trunk/www/server/ I find

[naviserver-devel] Problem Compiling in OpenBSD 6.6

2020-03-02 Thread Roderick
Dear Sirs! I am trying to compile naviserver-4.99.19 in OpenBSD 6.6, LibreSSL 3.0.2 I get: tclcrypto.c:53:12: fatal error: 'openssl/kdf.h' file not found # include And indeed this file is not in /usr/include/openssl Best regards Rodrigo ___ na