Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    User Manager WebGUI limits group length to strict

    Scheduled Pinned Locked Moved webGUI
    2 Posts 2 Posters 59 Views 2 Watching
    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.
    • A Offline
      alf42
      last edited by alf42

      The name of group in the user manager is also used in the communication with active directory but the group names in our firm are longer than 16 character. When I modify the name in the filesystem configfile and reboot all works fine. So the only problem is that the GUI is to strict, or?

      Thanks and regards, Alf
      557b6bf2-6d16-46d9-a7cf-f251e8a9843e-image.png

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG Offline
        Gertjan @alf42
        last edited by Gertjan

        @alf42

        pfSense has a 'GUI'.
        That's a complicated word for : it' s a web server, which means the start of the answer to your question is here :

        11ae3a2a-b7ea-49c3-8702-3349e40e8713-image.png

        Here is the file - line 197 and 199.

        You might think : that's easy, change the two '16' to 'bigger then 16' and you're done. You have a good chance that this is true.
        Still, you have to check things : where and how is it saved - what will breal elsewhere as the size in implicit or not; known to be '16 chars max'. ?
        The final result will be present, of course, in the config.xml file, so start checking that the new name length really is saved. Check also how it is saved : is something else enforcing the '16' char size for 'some, yet to be determined reason'.
        Check also other, related files, you know now where they are, as the name of the group is used on other web pages = php (and other) files. 16 chars wide can be enforced there also.

        In short : yes, you can change it, but be ware of the side effects, known, or unknown for the moment.

        Also, when upgrading, the "system_groupmanager.php" will get overwritten with the new official version.
        So, instead of editing this file, create your own "patch file" and add it in System > Patches.

        edit :

        8161dcaa-18b1-4f2c-b647-ca8d237178cc-image.png

        all goes well ?

        No "help me" PM's please. Use the forum, the community will thank you.

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