Ubuntu 16.04 ldap auth with mail attribute

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I have a Xubuntu 16.04 LTS that i can login with LDAP (OpenLdap) credentials and i want to change the login attribute from uid to mail. I install libnss-ldapd , libpam-ldapd and use the file /etc/ldap.conf for most settings i have. Can't find a way to change the login attribute or add more attributes for login. Is there any ideas how to make it happen?



Thanks in advance!!







share|improve this question
























    up vote
    0
    down vote

    favorite












    I have a Xubuntu 16.04 LTS that i can login with LDAP (OpenLdap) credentials and i want to change the login attribute from uid to mail. I install libnss-ldapd , libpam-ldapd and use the file /etc/ldap.conf for most settings i have. Can't find a way to change the login attribute or add more attributes for login. Is there any ideas how to make it happen?



    Thanks in advance!!







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have a Xubuntu 16.04 LTS that i can login with LDAP (OpenLdap) credentials and i want to change the login attribute from uid to mail. I install libnss-ldapd , libpam-ldapd and use the file /etc/ldap.conf for most settings i have. Can't find a way to change the login attribute or add more attributes for login. Is there any ideas how to make it happen?



      Thanks in advance!!







      share|improve this question












      I have a Xubuntu 16.04 LTS that i can login with LDAP (OpenLdap) credentials and i want to change the login attribute from uid to mail. I install libnss-ldapd , libpam-ldapd and use the file /etc/ldap.conf for most settings i have. Can't find a way to change the login attribute or add more attributes for login. Is there any ideas how to make it happen?



      Thanks in advance!!









      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 24 at 6:25









      Kyr.p

      11




      11

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027679%2fubuntu-16-04-ldap-auth-with-mail-attribute%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027679%2fubuntu-16-04-ldap-auth-with-mail-attribute%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

          What makes Checkinstall packages not suitable for distribution?

          Running the scala interactive shell from the command line