namedmanager icon indicating copy to clipboard operation
namedmanager copied to clipboard

Spaces in Passwords Not Allowed

Open frankcrawford opened this issue 5 years ago • 2 comments

The test in htdocs/user/login-process.php files if the user's password has a space in it. The test is:

$password = security_form_input("/^\S*$/", "password_namedmanager", 1, "Please enter a password.");

The message appears to be ensure that it isn't an empty string entered, but fails. I've changed it to:

$password = security_form_input("/^\S.*$/", "password_namedmanager", 1, "Please enter a password.");

Which is less stringent, in that it only expects a non-space as the first character, and then accepts the rest of the line, although I'm sure there are other ways to do his test.

frankcrawford avatar Feb 25 '20 11:02 frankcrawford

Hello Frank Crawford.

I have meet a problem which is not noted by any logs: I have installed namedmanage-bind.noarch and namedmanage-www.noarch successfully from YUM, and updated all configure files following the wiki documents step by step.

When I executed this command: php -q /usr/share/namedmanager/bind/namedmanager_bind_configwriter.php

My shell return as:

Debug: debug      | start                | 
Debug: debug      | start                | AMBERPHPLIB STARTED
Debug: debug      | start                | Debugging for: 
Debug: debug      | start                | 
Debug: debug      | start                | Framework Load Complete.
Debug: debug      | start                | 
Debug: debug      | start                | NAMEDMANAGER LIBRARIES LOADED
Debug: debug      | start                | 
Debug: debug      | script               | Obtained filelock
Debug: debug      | bind_config          | Executing check_permissions()
Debug: debug      | soap_api             | Executing authenticate()
Debug: debug      | soap_api             | Authenticating with API as DNS server dns.test.zbj.com...
Debug: debug      | soap_api             | Authentication successful
Debug: debug      | soap_api             | Executing check_update_version()
Debug: debug      | soap_api             | System configuration is uptodate, no changes nessacary

According to the wiki documents, my configure files were checked successfully.

But in the NamedManager web, the Configuration Status & Logging Status are showing as:

  • Configuration Status | status_unsynced Last synced on 1970-01-01 08:00:01
  • Logging Status | status_unsynced Logging appears stale, last synced on 1970-01-01 08:00:01

Have you ever had this problem? If so, where should I solve the problem?

waitspring avatar Mar 13 '20 04:03 waitspring

@waitspring I don't remember ever seen this error before, although I'm not certain. I don't currently have it.

frankcrawford avatar Mar 14 '20 10:03 frankcrawford