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

FOG 1.3.0 LDAP Plugins - AD mail attribute

Scheduled Pinned Locked Moved Unsolved
FOG Problems
4
5
1.4k
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.
  • S
    Steuve68
    last edited by Jan 5, 2017, 3:34 PM

    Hello,

    I have installed for test in dev plateform the new FOG 1.3.0
    Install OK. I’m intersted by the LDAP plugins.

    I have tried, it work fine with an Active Directory domain. (Very thanks for your good works all team)

    My question is, can i use an other attribute of Active Directory for the “User Nam Attribute”
    The default “User Nam Attribute” with Active Directory is the sAMAccountName.
    But … i want use the “mail” Attribute for login into FOG !

    Naturaly i have tried to type “mail” into the “User Nam Attribute” fields.
    But “Invalid login” at FOG logon screen…

    For better explanation: view screenshot
    I’m french, sorry for my bad english

    Thanks a lot.

    0_1483629978471_ldap_plugins.png
    0_1483630108046_ad_attribut.png

    W 1 Reply Last reply Jan 7, 2017, 7:06 AM Reply Quote 0
    • G
      george1421 Moderator
      last edited by george1421 Jan 5, 2017, 10:03 AM Jan 5, 2017, 4:02 PM

      I can say this is an interesting request, and I’m almost sure it won’t work because the ldap plugin will see the email address jondoe@domain.com and think its a AD style user name “jondoe@domain.com” and strip off the (at)domain.com part.

      I can say we have never tested changing the “user nam attribute” (which I see we have a type-o name is missing the ‘e’)

      Can we first confirm that you can login properly if you use the samaccount name? The first step is to ensure the ldap plugin is working correctly. Then we can look at why the email address is not.

      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!

      1 Reply Last reply Reply Quote 1
      • S
        Steuve68
        last edited by Jan 6, 2017, 8:10 AM

        Hello,

        Thanks for your answers.
        Yes, I confirm login work with the Attribute AD sAMAccountName… but ONLY WITH the sAMAccountName not with sAMAccountName@domain.xxx (Invalid Login)

        Username: test
        Password: ****
        Login work

        Username: test@domain.xxx
        Password: ****
        Login failed

        View screenshoot

        0_1483690103925_fog_ldap.png

        Thank for your answer 😉 !

        T 1 Reply Last reply Jan 6, 2017, 12:26 PM Reply Quote 0
        • T
          Tom Elliott @Steuve68
          last edited by Jan 6, 2017, 12:26 PM

          @Steuve68 Are simply trying to request that you can sign in using different domains? This is more a feature request than a problem.

          Changing the username attribute really shouldn’t be done. We allow it only because we don’t know how your LDAP will operate. This is why the “template” is there. It defines the defaults that SHOULD work, but allows you to make changes to exactly how your information is.

          To my knowledge, you cannot sign in as an Active Directory user using the mail attribute. You CAN sign in using the <username>@<domain> or <domain><username> but this is not at all using the “mail” attribute.

          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
          • W
            Wayne Workman @Steuve68
            last edited by Jan 7, 2017, 7:06 AM

            @Steuve68
            Follow Tom and George’s advice, they will lead you down the right path.

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

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

            213

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project