Skip to main content
nsabharwal
Gold ⭐️
Nov 26, 2015 6:55 PM UTC

Ambari LDAP sync

  • Oct 5, 2026 9:43 AM UTC
  • 0 replies
  • 986 views
  • Translate All

yum install expect*
#!/usr/bin/expect
spawn ambari-server sync-ldap --existing
expect "Enter Ambari Admin login:"
send "admin\r"
expect "Enter Ambari Admin password:"
send "admin\r"
expect eof

595-403-screen-shot-2015-11-05-at-65653-pm.png