• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

LDAP authentication on PXE menu (with email support as username)

Scheduled Pinned Locked Moved
General
3
10
834
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.
  • F
    fritoss007
    last edited by May 21, 2020, 2:39 PM

    Now there is a way to authenticate users with LDAP using attribute userPrincipalName filled with email address, I’m wondering if we can enable this authentication on PXE menu as well??

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by May 21, 2020, 3:00 PM

      It should already work for ipxe authentication already

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • F
        fritoss007
        last edited by May 21, 2020, 3:03 PM

        I must admit I have a complexe password with non alphanumeric characters (Active Directory Policy), can this be this ?

        T 1 Reply Last reply May 21, 2020, 3:24 PM Reply Quote 0
        • T
          Tom Elliott @fritoss007
          last edited by May 21, 2020, 3:24 PM

          @fritoss007 I guess i’m not understanding.

          iPXE should be able to take the same authentication as how you login to the GUI.

          I guess, what is being asked here is already answered.

          Are you saying you’ve tried logging in and it is not working?

          Are you 100% certain you’re entering the username and password correctly?

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          G 1 Reply Last reply May 21, 2020, 3:33 PM Reply Quote 0
          • T
            Tom Elliott
            last edited by May 21, 2020, 3:29 PM

            To add on:

            There’s 2 places that need the regex pattern updated within the User class: (The following are from the dev-branch, but should be relatively close for master branch as well)

            1. https://github.com/FOGProject/fogproject/blob/dev-branch/packages/web/lib/fog/user.class.php#L134
            2. https://github.com/FOGProject/fogproject/blob/dev-branch/packages/web/lib/fog/user.class.php#L223

            There’s 1 place that needs the regex pattern updated within the LDAP plugin ldap class.

            1. https://github.com/FOGProject/fogproject/blob/dev-branch/packages/web/lib/plugins/ldap/class/ldap.class.php#L264

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • G
              george1421 Moderator @Tom Elliott
              last edited by May 21, 2020, 3:33 PM

              @Tom-Elliott said in LDAP authentication on PXE menu (with email support as username):

              iPXE should be able to take the same authentication as how you login to the GUI.

              Can you think of any non-web safe characters that might be passed that might not be escaped right by iPXE. Lets say the password had some reserved html characters in it like “ruBBer?ducks&15” If that was sent to the FOG server over a query string apache may get confused. I can’t say about a form/post method.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

              T 1 Reply Last reply May 21, 2020, 3:34 PM Reply Quote 0
              • T
                Tom Elliott @george1421
                last edited by May 21, 2020, 3:34 PM

                @george1421 Pretty sure that would not be the issue.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 1
                • F
                  fritoss007
                  last edited by May 21, 2020, 3:43 PM

                  @Tom-Elliott @george1421 My bad, I’m so sorry! It’s a keyboard layout issue! Man I feel like a newbie right now! But in mydefence, As you can tell by my bad english I’m a frenchy from Canada :)…

                  So this bring that next question, how can I change the keyboard layout in the pxe menu ? and Should I start a new thread 🙂 ?

                  T 1 Reply Last reply May 21, 2020, 4:02 PM Reply Quote 0
                  • T
                    Tom Elliott @fritoss007
                    last edited by May 21, 2020, 4:02 PM

                    @fritoss007 https://forums.fogproject.org/topic/10851/change-keyboard-layout-in-fog-boot-menues/9
                    https://wiki.fogproject.org/wiki/index.php/Building_undionly.kpxe
                    https://wiki.fogproject.org/wiki/index.php/IPXE#Compile

                    These are just a couple rough examples.

                    While I used to build all these things quite regularly, I’ve been out of practice as of late and mostly just improving and fixing code as needed, and trying to help on the forums when I can.

                    Key mapping has to be incorporated during compilation, and imagine a binary being generated with all key maps possible? So we leave this to the admin.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    T 1 Reply Last reply May 21, 2020, 4:05 PM Reply Quote 1
                    • T
                      Tom Elliott @Tom Elliott
                      last edited by Tom Elliott May 21, 2020, 10:11 AM May 21, 2020, 4:05 PM

                      @fritoss007 This may help too, as I believe @Sebastian-Roth has made this script native to the github fogproject code, and can be run at any time:
                      https://github.com/FOGProject/fogproject/blob/master/utils/FOGiPXE/buildipxe.sh

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      1 / 1
                      • First post
                        7/10
                        Last post

                      153

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project