Avamar: How To Configure LDAP from scratch (group based)

摘要: Avamar: How To Configure Lightweight Directory Access Protocol (LDAP) from scratch (group based)

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

症狀

Configure LDAP from scratch with removing the non-working LDAP configuration.

LDAP login is not working because of misconfigured ldap.properties or krb5.conf files.

原因

The Ldap.properties or Krb5.conf files were manually modified incorrectly.

解析度

Follow the below steps to configure LDAP from scratch:

  1. Log in to utility node as root.
  2. Keep the backup of existing ldap.properties and krb5.conf

     a) mv  /usr/local/avamar/etc/ldap.properties /usr/local/avamar/etc/ldap.properties.`date -I`
     b) mv /usr/local/avamar/etc/krb5.conf  /usr/local/avamar/etc/krb5.conf.`date -I`

  1. Log in to Avamar Administrator user interface -> LDAP Management -> Add directory service -> Enter domain name (remember, it is not FQDN of DC, enter only domainname)
  2. Once added successfully, edit ldap.properties and add these lines: 

     ldap.search.results.per.page=1000
     mcgui.trace=true

  -- save and close file.

  1. Now run test from user interface(Avamar Administrator->LDAP Management -> Test Directory Service).
    Now add the group to LDAP maps.
  2.  Avamar administrator->Account Management-> LDAP maps -> right-click on domain on right panel -> add group to LDAP maps (while  search use wildcards like domain* ).
  3. Once group is added, try login to Avamar user interface with LDAP User (The The username should be username@domainname).
  4. If the test is not successful:

For version 6.1.x:
     Log in to utility node with putty as root user, and run the command:

      avldap --testmcgui

       When prompt for group option, enter  A*

For version 7.x:

Does not have a command line test tool to use. Check /usr/local/avamar/var/mc/server_log/userauthentication.log
 

  1. Raise PR for further troubleshooting with the output of

    avldap --testmcgui  (for version 6.1.x)

      or

   /usr/local/avamar/var/mc/server_log/userauthentication.log (for version 7)

    grep -v "#\|^$" /usr/local/avamar/etc/ldap.properties

    grep -v "#\|^$" /usr/local/avamar/etc/krb5.conf        

受影響的產品

Avamar
文章屬性
文章編號: 000163513
文章類型: Solution
上次修改時間: 08 5月 2025
版本:  5
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。