Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Cosmetic errors with user-manager (amd64)

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    3 Posts 3 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • _ Offline
      _igor_
      last edited by

      If any setting is made here, the following message can not be closed. Why appears this message, when no test was made? Only clicked "save", not "save and test".

      actual snap from Wed Feb 23 00:12:28 EST 2011
      setting.gif
      setting.gif_thumb

      1 Reply Last reply Reply Quote 0
      • S Offline
        SeventhSon
        last edited by

        Tested on: 2.0-BETA5 (i386) built on Wed Feb 23 16:16:10 EST 2011

        I could close the message, though it should not show.

        I only have local database in there, didn't change anything and pressed Save.

        The error seems to be in this piece of code in

        system_usermanager_settings.php

        
        ...
        if (!$input_errors) {
        		if ($_POST['authmode'] != "local") {
        			$authsrv = auth_get_authserver($_POST['authmode']);
        			if ($_POST['savetest'] && $authsrv['type'] == "ldap")
        				$save_and_test = true;
        			else
        				$savemsg = gettext("The test was not performed becuase it is supported only for ldap based backends.");
        		}
        ...
        
        

        p.s. Also a typo in there *"becuase"

        1 Reply Last reply Reply Quote 0
        • jimpJ Offline
          jimp Rebel Alliance Developer Netgate
          last edited by

          This should fix it…
          https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/072bc34c97cb6231c3977559e3faf86a01cc7dac

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.