{"id":9455,"date":"2025-10-28T23:17:18","date_gmt":"2025-10-28T17:47:18","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=9455"},"modified":"2025-10-28T23:19:42","modified_gmt":"2025-10-28T17:49:42","slug":"how-to-update-the-ldap-admin-password-in-ldap-account-manager-lam","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-update-the-ldap-admin-password-in-ldap-account-manager-lam\/","title":{"rendered":"How to Update the LDAP Admin Password in LDAP Account Manager (LAM)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Introduction<\/strong>:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">LDAP Account Manager (LAM) is a web-based tool for managing users, groups, and other LDAP objects. It stores its configuration, including the LDAP admin DN and password, in a profile configuration file. If the LDAP admin password changes, LAM won\u2019t connect to the directory until we update it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Prerequisites<\/strong>:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before updating the LDAP admin password in LAM, ensure the following:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Administrative Access<\/li>\n\n\n\n<li>New LDAP Admin Password<\/li>\n\n\n\n<li>Installation Path<\/li>\n\n\n\n<li>Web Browser Access<\/li>\n\n\n\n<li>Server Access (for CLI)<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Implementation<\/strong>:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Step 1: Generate a New Password Hash<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">$ sudo slappasswd -s &lt;password&gt;<br>Replace &lt;password&gt; with the required (your new plain text password) <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Step 2: Update the Password via LAM GUI<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(i) Open LAM in your browser<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">http:\/\/your-server-ip\/lam<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(ii) Click \u201cLAM configuration\u201d <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(iii) Log in with your LAM configuration password (not your LDAP password).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.15.06-PM-scaled.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"70\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.15.06-PM-1024x70.png\" alt=\"\" class=\"wp-image-9457\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.15.06-PM-1024x70.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.15.06-PM-300x21.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.15.06-PM-768x53.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.15.06-PM-1536x105.png 1536w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.15.06-PM-2048x140.png 2048w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.15.06-PM-850x58.png 850w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">(iv) Navigate to:<br>Edit Server Settings \u2192 General settings \u2192 Profile Password and update the required password<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.15.58-PM.png\"><img decoding=\"async\" width=\"1024\" height=\"544\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.15.58-PM-1024x544.png\" alt=\"\" class=\"wp-image-9458\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.15.58-PM-1024x544.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.15.58-PM-300x160.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.15.58-PM-768x408.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.15.58-PM-1536x817.png 1536w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.15.58-PM-564x300.png 564w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.15.58-PM.png 1670w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">(v) Click Save (bottom of the page).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.08.32-PM-scaled.png\"><img decoding=\"async\" width=\"1024\" height=\"216\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.08.32-PM-1024x216.png\" alt=\"\" class=\"wp-image-9456\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.08.32-PM-1024x216.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.08.32-PM-300x63.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.08.32-PM-768x162.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.08.32-PM-1536x324.png 1536w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.08.32-PM-2048x432.png 2048w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/10\/Screenshot-2025-10-28-at-11.08.32-PM-850x179.png 850w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Return to the main login screen and test the connection with the new credentials.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Step 3: Update the Password via CLI (Optional)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(i) Locate your LAM configuration file<br>$ cd \/var\/lib\/ldap-account-manager\/config\/profiles\/ <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(ii) Edit the configuration file<br>$ sudo nano default.conf<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(iii) Find the line beginning with<br>passwd: &#8230;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(iv) Replace it with your new plain-text password<br>passwd: NewPasswordHere<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(v) Save and exit<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(vi) Restart your web service<br>$ sudo systemctl restart apache2<\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Now LAM will use the new LDAP admin credentials.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Conclusion:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Updating the LDAP admin password in <strong>LDAP Account Manager (LAM)<\/strong> ensures continued secure communication with your LDAP directory. Maintaining regular password rotations and keeping both LDAP and LAM credentials synchronised helps ensure robust directory security.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: LDAP Account Manager (LAM) is a web-based tool for managing users, groups, and other LDAP objects. It stores its [&hellip;]<\/p>\n","protected":false},"author":495,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1022],"tags":[998],"class_list":["post-9455","post","type-post","status-publish","format-standard","hentry","category-web-architecture","tag-ldap-lam","psol-cat-web-architecture"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-2sv","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/9455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/495"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=9455"}],"version-history":[{"count":1,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/9455\/revisions"}],"predecessor-version":[{"id":9459,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/9455\/revisions\/9459"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=9455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=9455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=9455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}