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

    Including configuration in other files

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 382 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.
    • R
      Ritmo2k
      last edited by

      I need to manage the credentials for an authentication server using an external process.

      Is it possible to include the configuration for the username and password associated with an LDAP authentication server into its own unique file?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Like the config for an external auth server configured in pfSense?

        Something entirely outside the pfSense config?

        Steve

        R 1 Reply Last reply Reply Quote 0
        • R
          Ritmo2k @stephenw10
          last edited by Ritmo2k

          We plan to have an external process manage the credentials in the LDAP authentication server, and that process will write the current username and password.

          I didn't like the idea of continuously editing the primary configuration file (config.xml), that seems risky to me. If the ability to include exists, I'd prefer that approach.

          Thanks.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            So you mean the credentials pfSense uses to connect to the LDAP server?

            No, that is contained in the pfSense config. It would be rewritten from the config at boot or when any change was made to the authentication system.

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