{"id":207,"date":"2006-07-18T12:07:57","date_gmt":"2006-07-18T17:07:57","guid":{"rendered":"http:\/\/auroralux.net\/blog\/2006\/07\/18\/panther-servers-open-directory-forgot-how-to-authenticate-me\/"},"modified":"2006-07-18T12:07:57","modified_gmt":"2006-07-18T17:07:57","slug":"panther-servers-open-directory-forgot-how-to-authenticate-me","status":"publish","type":"post","link":"https:\/\/fhmiv.net\/blog\/2006\/07\/18\/panther-servers-open-directory-forgot-how-to-authenticate-me\/","title":{"rendered":"Panther Server&#8217;s Open Directory forgot how to authenticate me"},"content":{"rendered":"<p>So I was sitting at my desk this morning, more or less happily working away. I needed to ssh to the xserve a couple of times for some reason or other. The last time I did it this morning, I was unable to authenticate. It asked for my password, strange enough in itself since I use ssh&#8217;s public key authentication for logging in to that server. <\/p>\n<p>I had some problems a couple of months ago with my admin users losing the ability to authenticate changes on the directory, so we couldn&#8217;t do things like change user&#8217;s passwords when they forgot them. After searching far and wide on the web and finding nothing, as well as asking Applecare Premium Support for a fix, they suggested I export all the Open Directory user entries, demote the server to standalone, re-promote it to OD master, and then import all the users. Of course you can&#8217;t export the passwords since they&#8217;re all encrypted at rest, so I had to generate new passwords for the 20-odd users we have. It was slightly painful, I wouldn&#8217;t want to do it again, but not the end of the world. <\/p>\n<p>I&#8217;ve always suspected I had those original authentication problems because at one point I had problems logging in as a user, so I changed them from using Open Directory password to using a crypt password, then back again. I got the impression that was a bad idea, so I didn&#8217;t want to try it again in this case. <\/p>\n<p>I figured since my user couldn&#8217;t log in and changing the password didn&#8217;t help matters, I&#8217;d just delete the user and then re-create it with the same user id and attributes. When I did that, I was surprised to see Workgroup Manager complain there was already a user with that name! <\/p>\n<p>A few more go-rounds with Applecare Premium Support led me to discover the user also had a stub of an entry in the NetInfo database on that server. When I deleted that entry stub, I was able to use Workgroup Manager to re-create the user&#8217;s entry, and now everything seems back to normal. <\/p>\n<p>Except, of course, the three hours it took to go through this process, which I would like back. I&#8217;m beginning to think Apple isn&#8217;t too good at enterprise-level service and support, and that we should have bought a nice Linux box and a support contract from IBM or something. <\/p>\n<p>I&#8217;ve entered a number of bugs against Mac OS X Server, and the response I typically get is that engineering is investigating the issue, and it usually seems to result in them advising me to upgrade to OS X Server 10.4. However, after reading all the discussion boards on Apple&#8217;s support site, I&#8217;m frankly terrified of 10.4 Server, since it seems like people have more problems with it than they did with 10.3! <\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I was sitting at my desk this morning, more or less happily working away. I needed to ssh to the xserve a couple of times for some reason or other. The last time I did it this morning, I &hellip; <a href=\"https:\/\/fhmiv.net\/blog\/2006\/07\/18\/panther-servers-open-directory-forgot-how-to-authenticate-me\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[5],"_links":{"self":[{"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/posts\/207"}],"collection":[{"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/comments?post=207"}],"version-history":[{"count":0,"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/posts\/207\/revisions"}],"wp:attachment":[{"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/media?parent=207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/categories?post=207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/tags?post=207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}