Only bind user can connect to Postfix server using LDAP

Multi tool use
Multi tool use

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 functioning Active Directory server, but whenever I try to authenticate against the Postfix server that uses it (with saslauthd) I notice that only the bind user can connect. Whenever I try to connect to the server with valid credentials, it does not work.



Any idea as to where I can debug why only the bind user can log in?
I know it's possible, because I have another setup with Postfix authenticating against LDAP with all users, but I cannot seem to figure out what the difference is between those.







share|improve this question


























    up vote
    0
    down vote

    favorite












    I have a functioning Active Directory server, but whenever I try to authenticate against the Postfix server that uses it (with saslauthd) I notice that only the bind user can connect. Whenever I try to connect to the server with valid credentials, it does not work.



    Any idea as to where I can debug why only the bind user can log in?
    I know it's possible, because I have another setup with Postfix authenticating against LDAP with all users, but I cannot seem to figure out what the difference is between those.







    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have a functioning Active Directory server, but whenever I try to authenticate against the Postfix server that uses it (with saslauthd) I notice that only the bind user can connect. Whenever I try to connect to the server with valid credentials, it does not work.



      Any idea as to where I can debug why only the bind user can log in?
      I know it's possible, because I have another setup with Postfix authenticating against LDAP with all users, but I cannot seem to figure out what the difference is between those.







      share|improve this question














      I have a functioning Active Directory server, but whenever I try to authenticate against the Postfix server that uses it (with saslauthd) I notice that only the bind user can connect. Whenever I try to connect to the server with valid credentials, it does not work.



      Any idea as to where I can debug why only the bind user can log in?
      I know it's possible, because I have another setup with Postfix authenticating against LDAP with all users, but I cannot seem to figure out what the difference is between those.









      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 15 '17 at 16:58









      Jeff Schaller

      31.9k848109




      31.9k848109










      asked Dec 15 '17 at 14:50









      William Edwards

      3211420




      3211420




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote













          Shortly after posting this question, I found the answer myself.



          The problem was that my ldap_search_base had the bind user cn=postfix in /etc/saslauthd.conf. After changing the search base to the Users OU, it started to work :)






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            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: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f411074%2fonly-bind-user-can-connect-to-postfix-server-using-ldap%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote













            Shortly after posting this question, I found the answer myself.



            The problem was that my ldap_search_base had the bind user cn=postfix in /etc/saslauthd.conf. After changing the search base to the Users OU, it started to work :)






            share|improve this answer
























              up vote
              2
              down vote













              Shortly after posting this question, I found the answer myself.



              The problem was that my ldap_search_base had the bind user cn=postfix in /etc/saslauthd.conf. After changing the search base to the Users OU, it started to work :)






              share|improve this answer






















                up vote
                2
                down vote










                up vote
                2
                down vote









                Shortly after posting this question, I found the answer myself.



                The problem was that my ldap_search_base had the bind user cn=postfix in /etc/saslauthd.conf. After changing the search base to the Users OU, it started to work :)






                share|improve this answer












                Shortly after posting this question, I found the answer myself.



                The problem was that my ldap_search_base had the bind user cn=postfix in /etc/saslauthd.conf. After changing the search base to the Users OU, it started to work :)







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 15 '17 at 15:04









                William Edwards

                3211420




                3211420






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f411074%2fonly-bind-user-can-connect-to-postfix-server-using-ldap%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    GMCasah 1oqdspuQU,KXJz r2r MD62mdlLX0l8u2ypsN22m96 Pqh,xZmFVe1BblU3y6Prg7jR0f9hG
                    vfQ u6pCisexJwB,6q4H7uBLArDAB 1,JJbX,NCUzgk6GpK TtdVNkWw6MjRZketHwQJ,dK

                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    How many registers does an x86_64 CPU actually have?

                    Displaying single band from multi-band raster using QGIS