<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic LDAP with Linux DuoProxy not giving 2fa in Policy &amp; Access Control</title>
    <link>https://community.cisco.com/t5/policy-access-control/ldap-with-linux-duoproxy-not-giving-2fa/m-p/4883133#M308</link>
    <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;HI all&lt;/P&gt;
&lt;P&gt;Am hoping for a little advice&lt;/P&gt;
&lt;P&gt;I have recently setup our DNS server which uses openLDAP to connect to our Debian DuoProxy server to authenticate against the AD&lt;/P&gt;
&lt;P&gt;I have managed to get it to work but there is no 2fa Prompt(we are looking at making the DNS control panel accessible to the WEB and want to 2fa for added protection)&lt;/P&gt;
&lt;P&gt;When i add exempt_ou_1=CN=duo_ldap,OU=users,DC=AD,DC=Webnetism,DC=com&lt;BR /&gt;
exempt_primary_bind=false&lt;/P&gt;
&lt;P&gt;it fails right away&lt;/P&gt;
&lt;P&gt;if i then delete the above lines or change&lt;BR /&gt;
exempt_primary_bind=true it log in fine.&lt;/P&gt;
&lt;P&gt;my config is as follows&lt;/P&gt;
&lt;P&gt;[ad_client]&lt;BR /&gt;
host=192.168.0.0(my ldap ad server ip)&lt;BR /&gt;
service_account_username=duo_ldap&lt;BR /&gt;
service_account_password=***********&lt;BR /&gt;
search_dn=DC=AD,DC=example,DC=com&lt;/P&gt;
&lt;P&gt;[ldap_server_auto]&lt;BR /&gt;
client=ad_client&lt;BR /&gt;
ikey=*****************&lt;BR /&gt;
skey=*****************&lt;BR /&gt;
api_host=**********************&lt;BR /&gt;
exempt_ou_1=CN=duo_ldap,OU=users,DC=AD,DC=example,DC=com&lt;BR /&gt;
exempt_primary_bind=false&lt;BR /&gt;
failmode=safe&lt;BR /&gt;
port=389&lt;/P&gt;
&lt;P&gt;any advice would be greatly appreciated.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 20 Jul 2022 15:37:41 GMT</pubDate>
    <dc:creator>Chayne</dc:creator>
    <dc:date>2022-07-20T15:37:41Z</dc:date>
    <item>
      <title>LDAP with Linux DuoProxy not giving 2fa</title>
      <link>https://community.cisco.com/t5/policy-access-control/ldap-with-linux-duoproxy-not-giving-2fa/m-p/4883133#M308</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;HI all&lt;/P&gt;
&lt;P&gt;Am hoping for a little advice&lt;/P&gt;
&lt;P&gt;I have recently setup our DNS server which uses openLDAP to connect to our Debian DuoProxy server to authenticate against the AD&lt;/P&gt;
&lt;P&gt;I have managed to get it to work but there is no 2fa Prompt(we are looking at making the DNS control panel accessible to the WEB and want to 2fa for added protection)&lt;/P&gt;
&lt;P&gt;When i add exempt_ou_1=CN=duo_ldap,OU=users,DC=AD,DC=Webnetism,DC=com&lt;BR /&gt;
exempt_primary_bind=false&lt;/P&gt;
&lt;P&gt;it fails right away&lt;/P&gt;
&lt;P&gt;if i then delete the above lines or change&lt;BR /&gt;
exempt_primary_bind=true it log in fine.&lt;/P&gt;
&lt;P&gt;my config is as follows&lt;/P&gt;
&lt;P&gt;[ad_client]&lt;BR /&gt;
host=192.168.0.0(my ldap ad server ip)&lt;BR /&gt;
service_account_username=duo_ldap&lt;BR /&gt;
service_account_password=***********&lt;BR /&gt;
search_dn=DC=AD,DC=example,DC=com&lt;/P&gt;
&lt;P&gt;[ldap_server_auto]&lt;BR /&gt;
client=ad_client&lt;BR /&gt;
ikey=*****************&lt;BR /&gt;
skey=*****************&lt;BR /&gt;
api_host=**********************&lt;BR /&gt;
exempt_ou_1=CN=duo_ldap,OU=users,DC=AD,DC=example,DC=com&lt;BR /&gt;
exempt_primary_bind=false&lt;BR /&gt;
failmode=safe&lt;BR /&gt;
port=389&lt;/P&gt;
&lt;P&gt;any advice would be greatly appreciated.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Jul 2022 15:37:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/policy-access-control/ldap-with-linux-duoproxy-not-giving-2fa/m-p/4883133#M308</guid>
      <dc:creator>Chayne</dc:creator>
      <dc:date>2022-07-20T15:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP with Linux DuoProxy not giving 2fa</title>
      <link>https://community.cisco.com/t5/policy-access-control/ldap-with-linux-duoproxy-not-giving-2fa/m-p/4883134#M309</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Hello Chayne, welcome to our Duo Community!&lt;/P&gt;
&lt;P&gt;I’m sorry to hear you’re having issues with the Duo prompt. Before making any changes, I would recommend that you enable &lt;A href="https://help.duo.com/s/article/2953"&gt;debug logging&lt;/A&gt; and check the log output to see if that provides some answers.&lt;/P&gt;
&lt;P&gt;One probable explanation is that your server can’t find your users because the proxy is defaulting to look for AD attributes. Specifying the &lt;CODE&gt;username_attribute&lt;/CODE&gt; on the client to the openLDAP attribute that holds your Duo usernames would resolve this issue.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.duo.com/t/nextcloud-using-auth-proxy-does-not-prompt-for-mfa/10304/2"&gt;This community thread&lt;/A&gt; deals with a similar issue and will further clarify how to troubleshoot in this situation.&lt;/P&gt;
&lt;P&gt;I hope this helps, let me know if you have any further questions.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Jul 2022 18:02:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/policy-access-control/ldap-with-linux-duoproxy-not-giving-2fa/m-p/4883134#M309</guid>
      <dc:creator>ldubravec</dc:creator>
      <dc:date>2022-07-20T18:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP with Linux DuoProxy not giving 2fa</title>
      <link>https://community.cisco.com/t5/policy-access-control/ldap-with-linux-duoproxy-not-giving-2fa/m-p/4883135#M310</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Hi ldubravec&lt;/P&gt;
&lt;P&gt;Many thanks for your assistance.&lt;BR /&gt;
What i did in the end was to add security_group_dn under the ad_client part&lt;BR /&gt;
along with the two exempt entries&lt;/P&gt;
&lt;P&gt;and i had to enroll my mobiles with the help of the authproxy.log file&lt;BR /&gt;
but now i am receiving Duo prompts for my ldap sign ins&lt;/P&gt;
&lt;P&gt;thank you for your direction&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Jul 2022 08:18:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/policy-access-control/ldap-with-linux-duoproxy-not-giving-2fa/m-p/4883135#M310</guid>
      <dc:creator>Chayne</dc:creator>
      <dc:date>2022-07-21T08:18:28Z</dc:date>
    </item>
  </channel>
</rss>

