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

    Problems with LDAP Plugin when OU contains spaces and mutations (äöü)?

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    15
    4.7k
    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.
    • x23piracyX
      x23piracy
      last edited by

      Hi,

      is it possible that the LDAP Plugin has problems when OU is containing spaces and or äöü?
      I cannot get it to work.

      Regards X23

      ║▌║█║▌│║▌║▌█

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        Sure it is possible. Can you please verify by setting up LDAP structure without spaces and german umlauts? Or we need more information on what exactly goes wrong - error messages?!?

        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

        x23piracyX 1 Reply Last reply Reply Quote 0
        • x23piracyX
          x23piracy @Sebastian Roth
          last edited by

          @Sebastian-Roth Hi, i am not allowed to change spaces and mutation sorry. Which log to check to see whats goin wrong with ldap auth?

          Regards X23

          ║▌║█║▌│║▌║▌█

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            Possibly the apache error log? See my signature…

            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

            x23piracyX 1 Reply Last reply Reply Quote 0
            • JunkhackerJ
              Junkhacker Developer
              last edited by

              what do you see if you go to <your-fog-server-address>/fog/service/hostname.php?mac=<mac-address-of-host> ?
              and remove the values of #ADUser= and #ADPass= from your response for security reasons

              signature:
              Junkhacker
              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

              x23piracyX 1 Reply Last reply Reply Quote 0
              • x23piracyX
                x23piracy @Junkhacker
                last edited by

                @Junkhacker said in Problems with LDAP Plugin when OU contains spaces and mutations (äöü)?:

                <your-fog-server-address>/fog/service/hostname.php?mac=<mac-address-of-host>

                Hi, should that work from any host with any mac? what get is #!ih

                Regards X23

                ║▌║█║▌│║▌║▌█

                JunkhackerJ 1 Reply Last reply Reply Quote 0
                • JunkhackerJ
                  Junkhacker Developer @x23piracy
                  last edited by

                  @x23piracy that’s an “invalid host” error. meaning that it didn’t recognize that as a valid mac for any registered hosts

                  signature:
                  Junkhacker
                  We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                  x23piracyX 1 Reply Last reply Reply Quote 0
                  • x23piracyX
                    x23piracy @Sebastian Roth
                    last edited by

                    @Sebastian-Roth i don’t see anything ldap related when checking the log directly after a login fail with ntlm account. But i can see this repeating error fyi:

                    [Wed May 18 17:35:56.623310 2016] [:error] [pid 14271] [client 172.19.102.23:64991] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 17:37:04.619802 2016] [:error] [pid 14267] [client 172.19.102.23:65080] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 17:38:22.505163 2016] [:error] [pid 14276] [client 172.19.102.23:65176] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 17:39:26.413747 2016] [:error] [pid 14269] [client 172.19.102.23:65256] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 17:41:49.304353 2016] [:error] [pid 12039] [client 172.19.102.23:65439] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 17:43:48.209223 2016] [:error] [pid 14271] [client 172.19.102.23:49214] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 17:44:57.174080 2016] [:error] [pid 14276] [client 172.19.102.23:49298] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 17:46:53.079866 2016] [:error] [pid 14268] [client 172.19.102.23:49436] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 17:48:27.072787 2016] [:error] [pid 14268] [client 172.19.102.23:49547] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 17:49:36.090902 2016] [:error] [pid 14269] [client 172.19.102.23:49636] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 17:51:05.043952 2016] [:error] [pid 14273] [client 172.19.102.23:49759] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 17:52:44.018082 2016] [:error] [pid 14633] [client 172.19.102.23:49878] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 17:54:10.962365 2016] [:error] [pid 14269] [client 172.19.102.23:49983] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 17:56:42.931976 2016] [:error] [pid 12039] [client 172.19.102.23:50174] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 17:58:30.951170 2016] [:error] [pid 14264] [client 172.19.102.23:50324] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:00:05.837018 2016] [:error] [pid 14269] [client 172.19.102.23:50441] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:01:11.817749 2016] [:error] [pid 14273] [client 172.19.102.23:50522] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:02:59.813209 2016] [:error] [pid 14271] [client 172.19.102.23:50654] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:04:46.835870 2016] [:error] [pid 12039] [client 172.19.102.23:50780] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:06:36.774396 2016] [:error] [pid 14269] [client 172.19.102.23:50910] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:08:21.778088 2016] [:error] [pid 14271] [client 172.19.102.23:51037] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:09:40.706930 2016] [:error] [pid 14264] [client 172.19.102.23:51131] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:11:07.638838 2016] [:error] [pid 14268] [client 172.19.102.23:51251] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:13:06.628754 2016] [:error] [pid 14269] [client 172.19.102.23:51406] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:14:30.558106 2016] [:error] [pid 14633] [client 172.19.102.23:51507] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:15:38.489521 2016] [:error] [pid 12039] [client 172.19.102.23:51597] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:17:22.506981 2016] [:error] [pid 14267] [client 172.19.102.23:51723] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:19:46.455868 2016] [:error] [pid 14268] [client 172.19.102.23:51890] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:21:26.391108 2016] [:error] [pid 12963] [client 172.19.102.23:52007] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:23:00.305082 2016] [:error] [pid 14268] [client 172.19.102.23:52129] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:24:29.236016 2016] [:error] [pid 14276] [client 172.19.102.23:52258] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:26:07.124667 2016] [:error] [pid 14276] [client 172.19.102.23:52376] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:28:25.088762 2016] [:error] [pid 14269] [client 172.19.102.23:52539] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:30:17.069021 2016] [:error] [pid 14273] [client 172.19.102.23:52685] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:32:18.017699 2016] [:error] [pid 14267] [client 172.19.102.23:52828] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:33:38.936927 2016] [:error] [pid 12039] [client 172.19.102.23:52926] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:36:08.859347 2016] [:error] [pid 14264] [client 172.19.102.23:53114] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:38:28.862718 2016] [:error] [pid 12963] [client 172.19.102.23:53279] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:39:45.830310 2016] [:error] [pid 14264] [client 172.19.102.23:53373] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:41:28.665145 2016] [:error] [pid 14276] [client 172.19.102.23:53493] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:43:54.581629 2016] [:error] [pid 14273] [client 172.19.102.23:53666] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:45:33.442133 2016] [:error] [pid 14633] [client 172.19.102.23:53816] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:47:19.366255 2016] [:error] [pid 14267] [client 172.19.102.23:53962] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:49:47.379042 2016] [:error] [pid 14633] [client 172.19.102.23:54135] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:51:06.319353 2016] [:error] [pid 14633] [client 172.19.102.23:54231] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:52:14.258088 2016] [:error] [pid 12039] [client 172.19.102.23:54314] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:53:42.197522 2016] [:error] [pid 14267] [client 172.19.102.23:54418] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:56:02.063181 2016] [:error] [pid 14269] [client 172.19.102.23:54582] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 18:58:05.006176 2016] [:error] [pid 14267] [client 172.19.102.23:54739] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 19:00:30.892056 2016] [:error] [pid 14633] [client 172.19.102.23:54914] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 19:01:45.835777 2016] [:error] [pid 14264] [client 172.19.102.23:55008] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 19:03:07.720150 2016] [:error] [pid 14276] [client 172.19.102.23:55107] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 19:04:57.681593 2016] [:error] [pid 14264] [client 172.19.102.23:55237] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 19:06:32.565222 2016] [:error] [pid 12963] [client 172.19.102.23:55353] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 19:08:56.547558 2016] [:error] [pid 14271] [client 172.19.102.23:55520] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 19:11:15.482048 2016] [:error] [pid 14269] [client 172.19.102.23:55685] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197
                    [Wed May 18 19:12:41.528611 2016] [:error] [pid 12963] [client 172.19.102.23:55786] PHP Warning:  array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/fog/fogcontroller.class.php on line 197```
                    
                    
                    Regards X23

                    ║▌║█║▌│║▌║▌█

                    JunkhackerJ 1 Reply Last reply Reply Quote 0
                    • JunkhackerJ
                      Junkhacker Developer @x23piracy
                      last edited by

                      @x23piracy fyi, the mac address needs to be formatted this way 01:23:45:67:89:ab

                      signature:
                      Junkhacker
                      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                      1 Reply Last reply Reply Quote 0
                      • x23piracyX
                        x23piracy @Junkhacker
                        last edited by

                        @Junkhacker ok i understand, have to do it with a valid host mac right?

                        ║▌║█║▌│║▌║▌█

                        JunkhackerJ 1 Reply Last reply Reply Quote 0
                        • JunkhackerJ
                          Junkhacker Developer @x23piracy
                          last edited by

                          @x23piracy it will return the hostname and OU information for that host, so yes

                          signature:
                          Junkhacker
                          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                          x23piracyX 1 Reply Last reply Reply Quote 0
                          • x23piracyX
                            x23piracy @Junkhacker
                            last edited by x23piracy

                            @Junkhacker i have the info:

                            #!ok=Superman2 #AD=1 #ADDom=haan.local #ADOU= #ADUser=removedwascorrect#ADPass=removedidontknowifcorrectitsencrypted
                            

                            Don’t get me wrong i dont have domain join problems, i cannot use the ldap plugin for webif auth to fog.

                            ║▌║█║▌│║▌║▌█

                            JunkhackerJ 1 Reply Last reply Reply Quote 0
                            • JunkhackerJ
                              Junkhacker Developer @x23piracy
                              last edited by

                              @x23piracy oh, sorry. i completely misunderstood your problem. lol

                              signature:
                              Junkhacker
                              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                              x23piracyX 1 Reply Last reply Reply Quote 0
                              • S
                                Sebastian Roth Moderator
                                last edited by

                                @x23piracy said:

                                i don’t see anything ldap related when checking the log directly after a login fail with ntlm account. But i can see this repeating error fyi:

                                I might be wrong but I think Tom has already fixed this error in the latest. Didn’t have too much time today to follow all the posts. Well if you don’t get any error in the logs you probably need to enable php error logging (search the web for how to enable it). But be aware that there will be quite a couple of warnings as well when you turn on error logging.

                                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
                                • x23piracyX
                                  x23piracy @Junkhacker
                                  last edited by

                                  @Junkhacker well, this happens from time to time 😄

                                  ║▌║█║▌│║▌║▌█

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

                                  230

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project