<?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>question Re: How do I automate the Ambari LDAP sync? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96645#M59965</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi Neeraj,&lt;/P&gt;&lt;P&gt;I have used your ambari-ldap sync script but I get the following error when I ran the below command. One thing I noticed is that if the run the script manually as ./ambari_ldap_sync_all.sh then its getting executed.&lt;/P&gt;&lt;P&gt;Also I have shown my ambari-ldap sync script below. So the script is not getting executed from crontab with 'sh' command . Please help.&lt;/P&gt;&lt;PRE&gt;[root@host1(172.23.34.4)] # sh ambari_ldap_sync_all.sh
ambari_ldap_sync_all.sh: line 3: spawn: command not found
couldn't read file "Enter Ambari Admin login:": no such file or directory
ambari_ldap_sync_all.sh: line 7: send: command not found
couldn't read file "Enter Ambari Admin password:": no such file or directory
ambari_ldap_sync_all.sh: line 11: send: command not found
couldn't read file "eof": no such file or directory

[root@host1(172.23.34.4)] # cat ambari_ldap_sync_all.sh
#!/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

[root@host1(172.23.34.4)] # crontab -e
00 15 * * * /ambari_ldap_sync_all.sh


&lt;/PRE&gt;</description>
    <pubDate>Fri, 23 Dec 2016 19:41:08 GMT</pubDate>
    <dc:creator>rburagohain</dc:creator>
    <dc:date>2016-12-23T19:41:08Z</dc:date>
    <item>
      <title>How do I automate the Ambari LDAP sync?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96634#M59954</link>
      <description>&lt;P&gt;I want to automate through cron or other method "ambari-server sync-ldap --existing" but it prompts for an Ambari username and password. Any ideas on how I can automate an Ambari LDAP sync?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 02:25:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96634#M59954</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2015-11-06T02:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I automate the Ambari LDAP sync?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96635#M59955</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/150/sroberts.html" nodeid="150"&gt;@Sean Roberts&lt;/A&gt; had scripted this out. Steps here: &lt;A href="https://github.com/seanorama/masterclass/tree/master/security#lab-configure-ambari-for-ldap" target="_blank"&gt;https://github.com/seanorama/masterclass/tree/master/security#lab-configure-ambari-for-ldap&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is the script itself&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/seanorama/ambari-bootstrap/blob/master/extras/ambari-ldap-ad.sh" target="_blank"&gt;https://github.com/seanorama/ambari-bootstrap/blob/master/extras/ambari-ldap-ad.sh&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 02:32:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96635#M59955</guid>
      <dc:creator>abajwa</dc:creator>
      <dc:date>2015-11-06T02:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I automate the Ambari LDAP sync?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96636#M59956</link>
      <description>&lt;P&gt;That's sets up LDAP but I need to automate the sync process. I would like Ambari to execute the sync-ldap --existing command once a day.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 02:40:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96636#M59956</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2015-11-06T02:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I automate the Ambari LDAP sync?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96637#M59957</link>
      <description>&lt;P&gt;You can create an expect script for it.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 02:46:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96637#M59957</guid>
      <dc:creator>pcodding</dc:creator>
      <dc:date>2015-11-06T02:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I automate the Ambari LDAP sync?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96638#M59958</link>
      <description>&lt;P&gt;Try:&lt;/P&gt;&lt;PRE&gt;curl -uadmin:admin -H 'X-Requested-By: ambari' -X POST -d '[{"Event": {"specs": [{"principal_type": "users", "sync_type": "existing"}, {"principal_type": "groups", "sync_type": "existing"}]}}]' &lt;A href="http://localhost:8080/api/v1/ldap_sync_events" target="_blank"&gt;http://localhost:8080/api/v1/ldap_sync_events&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;You will get a response like:&lt;/P&gt;&lt;PRE&gt;{
  "resources" : [
    {
      "href" : "http://localhost:8080/api/v1/ldap_sync_events/13",
      "Event" : {
        "id" : 13
      }
    }
  ]
}&lt;/PRE&gt;&lt;P&gt;You can GET on this href to get status of the sync:&lt;/P&gt;&lt;PRE&gt;curl -uadmin:admin &lt;A href="http://localhost:8080/api/v1/ldap_sync_events/13" target="_blank"&gt;http://localhost:8080/api/v1/ldap_sync_events/13&lt;/A&gt;


{
  "href" : "http://localhost:8080/api/v1/ldap_sync_events/13",
  "Event" : {
    "id" : 13,
    "specs" : [
      {
        "sync_type" : "existing",
        "principal_type" : "users"
      },
      {
        "sync_type" : "existing",
        "principal_type" : "groups"
      }
    ],
    "status" : "COMPLETE",
    "status_detail" : "Completed LDAP sync.",
    "summary" : {
      "groups" : {
        "created" : 0,
        "removed" : 0,
        "updated" : 0
      },
      "memberships" : {
        "created" : 0,
        "removed" : 0
      },
      "users" : {
        "created" : 0,
        "removed" : 0,
        "updated" : 0
      }
    },
    "sync_time" : {
      "end" : 1446751142546,
      "start" : 1446751142462
    }
  }
}&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Nov 2015 03:20:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96638#M59958</guid>
      <dc:creator>yusaku</dc:creator>
      <dc:date>2015-11-06T03:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I automate the Ambari LDAP sync?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96639#M59959</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/313/yusaku.html" nodeid="313"&gt;@yusaku@hortonworks.com&lt;/A&gt; - how would we do this when we have a users or groups text file?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 03:57:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96639#M59959</guid>
      <dc:creator>pcodding</dc:creator>
      <dc:date>2015-11-06T03:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I automate the Ambari LDAP sync?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96640#M59960</link>
      <description>&lt;P&gt;You can replace &lt;EM&gt;sync_type&lt;/EM&gt; to &lt;EM&gt;specific&lt;/EM&gt; (from &lt;EM&gt;existing&lt;/EM&gt;), and add names attribute with a comma-delimited list of users/groups.  Here's an example:&lt;/P&gt;&lt;PRE&gt;curl -uadmin:admin -H 'X-Requested-By: ambari' -X POST -d '[{"Event": {"specs": [{"principal_type": "users", "sync_type": "specific", "names": "bill,jenny,mike"},{"principal_type":"groups","sync_type":"specific", "names": "group1,group2"}]}}]' &lt;A href="http://localhost:8080/api/v1/ldap_sync_events" target="_blank"&gt;http://localhost:8080/api/v1/ldap_sync_events&lt;/A&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Nov 2015 04:08:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96640#M59960</guid>
      <dc:creator>yusaku</dc:creator>
      <dc:date>2015-11-06T04:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I automate the Ambari LDAP sync?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96641#M59961</link>
      <description>&lt;P&gt;@&lt;A href="http://community.hortonworks.com/users/186/sshaw.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Scott Shaw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This will make life easier..&lt;A target="_blank" href="https://gist.github.com/nsabharwal/ed498a4fbcfd75b7dd97" rel="nofollow noopener noreferrer"&gt;gist link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;yum install expect*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#!/usr/bin/expect &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;spawn ambari-server sync-ldap --existing&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;expect "Enter Ambari Admin login:"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;send "admin\r"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;expect "Enter Ambari Admin password:"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;send "admin\r"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;expect eof&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="403-screen-shot-2015-11-05-at-65653-pm.png" style="width: 1046px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/24002iBB2220BB7A62E43B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="403-screen-shot-2015-11-05-at-65653-pm.png" alt="403-screen-shot-2015-11-05-at-65653-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:52:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96641#M59961</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2019-08-19T12:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I automate the Ambari LDAP sync?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96642#M59962</link>
      <description>&lt;P&gt;Here is the .sh script we used at the customers. You'll need to fill in your specific environment information. It runs the curl commands but also includes an LDAP filter.&lt;/P&gt;&lt;P&gt;#!/bin/sh &lt;/P&gt;&lt;P&gt;# Just in case we are run from cron with no path set... &lt;/P&gt;&lt;P&gt;export PATH=/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin &lt;/P&gt;&lt;P&gt;AMBARI_ADMIN_USER='admin:xxxxx' &lt;/P&gt;&lt;P&gt;#
# Groups we want to look for, in this case any group name that starts with HDP_
#
GROUP_FILTER="(&amp;amp;(ObjectClass=Group)(CN=HDP_*))"
SEARCH_BASE=DC=MYDOMAIN,DC=com
SEARCH_USER=CN=search_user,OU=LDAP,${SEARCH_BASE}
SEARCH_PASSWD=ldapUserPassword &lt;/P&gt;&lt;P&gt;LDAP_HOST=ldap.mydomain.com &lt;/P&gt;&lt;P&gt;LDAPGROUPS=`ldapsearch -h $LDAP_HOST -x -s sub -b ${SEARCH_BASE} -D ${SEARCH_USER} -w ${SEARCH_PASSWD} "${GROUP_FILTER}" cn | grep ^dn: | cut -d' ' -f2- | sed -e "s/\(.*\)/(memberOf=\1)/" | tr '\n' ':' | sed -e "s/://g"` &lt;/P&gt;&lt;P&gt;# Filter for users with a "valid" flag set who have a first name, last name and email.
SEARCH_FILTER="(&amp;amp;(objectClass=USER)(mail=*mydomain.com)(givenName=*)(sn=*)(!(msexchuserAccountControl:1.2.840.113556.1.4.803:=2))(|$LDAPGROUPS))" &lt;/P&gt;&lt;P&gt;# perform the search on AD and format the results in a way that postfix wants. &lt;/P&gt;&lt;P&gt;#ldapsearch -h &amp;lt;ldap.company.com&amp;gt; -x -D “${SEARCH_USER}” -w “${SEARCH_PASSWD}” "${SEARCH_FILTER}" sAMAccountName | \ grep -v "{" | \ cut -d: -f3 | \ sort  -u &amp;gt; ${TEMP_FILE} &lt;/P&gt;&lt;P&gt;USERLIST=`ldapsearch -h $LDAP_HOST -x -s sub -b ${SEARCH_BASE} -D ${SEARCH_USER} -w ${SEARCH_PASSWD} "${SEARCH_FILTER}" sAMAccountName |\
 grep -i sAMAccountName |\
 grep -v ^# |\
 sort -u |\
 awk '{print $2}' |\
 tr '\n' , |\
 tr '[A-Z]' '[a-z]' |\
 sed -e "s/,$//"` &lt;/P&gt;&lt;P&gt;GROUPLIST=`ldapsearch -h $LDAP_HOST -x -s sub -b ${SEARCH_BASE} -D ${SEARCH_USER} -w ${SEARCH_PASSWD} "${SEARCH_FILTER}" memberOf |\
 grep memberOf |\
 grep -v ^# |\
 grep HDP_ |\
 sort -u |\
 cut -d: -f2 |\
 cut -d= -f2 |\
 cut -d, -f1 |\
 awk '{print $1}' |\
 tr '\n' , |\
 sed -e "s/,$//"` &lt;/P&gt;&lt;P&gt;# Sync new users and groups &lt;/P&gt;&lt;P&gt;curl -s -H "X-Requested-By: ambari” -u $AMBARI_ADMIN_USER -d '{"Event": {"specs": [{"principal_type": "users", "sync_type": "specific", "names": "'$USERLIST'"}, {"principal_type": "groups", "sync_type": "specific", "names": "'$GROUPLIST'"}]}}' &lt;A href="http://127.0.0.1:8080/api/v1/ldap_sync_events" target="_blank"&gt;http://127.0.0.1:8080/api/v1/ldap_sync_events&lt;/A&gt; &amp;gt;/dev/null &lt;/P&gt;&lt;P&gt;sleep 30&lt;/P&gt;&lt;P&gt;
# Sync existing users and groups &lt;/P&gt;&lt;P&gt;curl -s -H "X-Requested-By: amber” -u $AMBARI_ADMIN_USER -d '{"Event": { "specs": [{"principal_type": "users", "sync_type": "existing"}, {"principal_type": "groups", "sync_type": "existing"}]}}' &lt;A href="http://127.0.0.1:8080/api/v1/ldap_sync_events" target="_blank"&gt;http://127.0.0.1:8080/api/v1/ldap_sync_events&lt;/A&gt; &amp;gt;/dev/null &lt;/P&gt;&lt;P&gt;echo "AmbariLdapSync complete at `date`" &lt;/P&gt;&lt;P&gt;exit 0&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 23:00:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96642#M59962</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2015-11-06T23:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I automate the Ambari LDAP sync?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96643#M59963</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/186/sshaw.html" nodeid="186"&gt;@Scott Shaw&lt;/A&gt; This looks great. Thanks for sharing it. &lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 23:02:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96643#M59963</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-11-06T23:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I automate the Ambari LDAP sync?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96644#M59964</link>
      <description>&lt;P&gt;Both ldapsearch and cron will show up in ps with passwords in their command line. That's easy to prevent with both tools: use the -y option for ldapsearch, and --netrc-file for cron.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 19:26:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96644#M59964</guid>
      <dc:creator>stijnvd</dc:creator>
      <dc:date>2016-12-16T19:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I automate the Ambari LDAP sync?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96645#M59965</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi Neeraj,&lt;/P&gt;&lt;P&gt;I have used your ambari-ldap sync script but I get the following error when I ran the below command. One thing I noticed is that if the run the script manually as ./ambari_ldap_sync_all.sh then its getting executed.&lt;/P&gt;&lt;P&gt;Also I have shown my ambari-ldap sync script below. So the script is not getting executed from crontab with 'sh' command . Please help.&lt;/P&gt;&lt;PRE&gt;[root@host1(172.23.34.4)] # sh ambari_ldap_sync_all.sh
ambari_ldap_sync_all.sh: line 3: spawn: command not found
couldn't read file "Enter Ambari Admin login:": no such file or directory
ambari_ldap_sync_all.sh: line 7: send: command not found
couldn't read file "Enter Ambari Admin password:": no such file or directory
ambari_ldap_sync_all.sh: line 11: send: command not found
couldn't read file "eof": no such file or directory

[root@host1(172.23.34.4)] # cat ambari_ldap_sync_all.sh
#!/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

[root@host1(172.23.34.4)] # crontab -e
00 15 * * * /ambari_ldap_sync_all.sh


&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Dec 2016 19:41:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96645#M59965</guid>
      <dc:creator>rburagohain</dc:creator>
      <dc:date>2016-12-23T19:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I automate the Ambari LDAP sync?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96646#M59966</link>
      <description>&lt;P&gt;This is an expect script not a shell script. Your shell does not understand expect commands.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 14:45:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96646#M59966</guid>
      <dc:creator>michael_salmon</dc:creator>
      <dc:date>2017-02-22T14:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I automate the Ambari LDAP sync?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96647#M59967</link>
      <description>&lt;P&gt;Worth knowing that now there is no need for the "expect" statement now with the following attributes that can be added to the sync-ldap request:&lt;/P&gt;&lt;PRE&gt;--ldap-sync-admin-name=admin --ldap-sync-admin-password=secret
&lt;/PRE&gt;</description>
      <pubDate>Sun, 09 Apr 2017 19:55:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96647#M59967</guid>
      <dc:creator>rbailey</dc:creator>
      <dc:date>2017-04-09T19:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I automate the Ambari LDAP sync?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96648#M59968</link>
      <description>&lt;P&gt;The unexpected benefit of this is that nobody will ever forget the LDAP password again: not will it be included in your favourite shell's history file, but anyone who can log in on that node will also be able to see those options by keeping an eye on ps. Isn't that neat?&lt;/P&gt;&lt;P&gt;Don't do this, kids. Never write passwords on the command line.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 17:28:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-I-automate-the-Ambari-LDAP-sync/m-p/96648#M59968</guid>
      <dc:creator>stijnvd</dc:creator>
      <dc:date>2017-04-21T17:28:13Z</dc:date>
    </item>
  </channel>
</rss>

