{"id":2028,"date":"2014-11-04T12:32:33","date_gmt":"2014-11-04T12:32:33","guid":{"rendered":"http:\/\/blog.designed79.co.uk\/?p=2028"},"modified":"2014-11-04T12:37:50","modified_gmt":"2014-11-04T12:37:50","slug":"reset-the-open-directory-administrator-password-in-mavericks-and-yosemite","status":"publish","type":"post","link":"https:\/\/blog.designed79.co.uk\/?p=2028","title":{"rendered":"Reset the Open Directory administrator password in Mavericks and Yosemite"},"content":{"rendered":"<p>You can reset the Open Directory administrator password in Mavericks without affecting user data. You might need to do this, for example, if an Open Directory administrator departs without sharing the password.<\/p>\n<p>On the Open Directory server, open Terminal and execute this command:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">ldapsearch -LLL -x -H ldap:\/\/127.0.0.1 -s base namingContexts<\/div><\/div>\n<p>In the output, look for the dc= entries, such as dc=ldap1,dc=example,dc=com. Note these entries.<br \/>\nLog in to the server as an administrator.<br \/>\nOpen Terminal, then execute the following command. Replace the sample dc= entries with the entries you noted before. Also, if the directory administrator account&#8217;s uid is not diradmin, change the command accordingly.<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">sudo ldappasswd -x -H ldapi:\/\/%2Fvar%2Frun%2Fldapi -S uid=diradmin,cn=users,dc=ldap1,dc=example,dc=com<\/div><\/div>\n<p>Enter your administrator account password when prompted.<br \/>\nAt the &#8220;New Password:&#8221; prompt, enter the new directory administrator password you want to use. Enter it again when prompted.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can reset the Open Directory administrator password in Mavericks without affecting user data. You might need to do this, for example, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2028","post","type-post","status-publish","format-standard","hentry","category-info-on-tech"],"_links":{"self":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2028","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2028"}],"version-history":[{"count":0,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2028\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2028"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2028"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2028"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}