Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Unable to authenticate with diradmin in Workgroup Manager

This has happened before, and I have no idea how it got fixed - too many independent variables...


Anyway, I cannot authenticate the OD with diradmin even while using Workgroup Manager directly on the server.


The setup:


SLS 10.6.8


Split-brained DNS


Both public and private FQDNs are the same (myserver.mydomain.com). External DNS maps machine record to my static public IP address. Using an AirPort Extreme router, port fowarding services that I want open to the server. The router provides DHCP via NAT to the local network, with a fixed private IP assigned to the server. The server is running DNS with the same zones, machine records, services and aliases that the public IP DNS has, except mapped to the fixed private IP. DNS checks out with changeip, etc.


The server is an OD master. Yesterday I exported it, demoted it, and restored it. All services (mail, web, etc.) seem to work fine (although I admit to not using Kerberos on AFP due to another issue).


I have a wildcard certificate that is generated by GoDaddy (*.<mydomain>.com) which seems to work fine with the hosted websites.


This is what the password service error log says when I try to log in with diradmin in Workgroup Manager:


Jan 10 2012 14:01:32 AUTH2: {0x4bbe71ca6b8b45670000000200000002, diradmin} DHX authentication succeeded.

Jan 10 2012 14:01:32 KERBEROS-LOGIN-CHECK: user {0x4bbe71ca6b8b45670000000200000002, diradmin} is in good standing.

Jan 10 2012 14:01:32 KERBEROS-LOGIN-CHECK: user {0x4bbe71ca6b8b45670000000200000002, diradmin} authentication succeeded.


Looks good to me. But I still get the "Information Not Valid for This Server" followed by stuff about invalid login ID or password.


I did notice in the LDAP log:


Jan 10 14:13:12 <myserver> slapd[52283]: SASL [conn=18] Failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Key table entry not found)


And at the last bootup in the directory service error log:


2012-01-10 08:52:03 EST - T[0x00007FFF7027ACC0] - DNSServiceProcessResult returned -65563


The other thing I notice when I log into the library in Workgroup Manager FROM THE SERVER, even if I use the FQDN <myserver>.<mydomain>.com that Workgroup Manager says (in the title bar of the window) <myserver>.local.


I have googled the various errors and messages, and I get folks with all sorts of variations ("change the binding options", etc.) none of which either applied or worked.


Help?

Mac mini, Mac OS X (10.6.8)

Posted on Jan 10, 2012 11:27 AM

Reply
4 replies

Jan 13, 2012 3:50 PM in response to Morris Zwick

Piling on in my research, I found that if I disable all of the options on the Binding tab in Server Admin for Open Directory, I can log into Workgroup Manager and bind using my admin account.


I started rooting around and saw that these options often cause issues - but I concluded that this was because my diradmin account was not kerberized. This was confirmed in log files.


I archived my Open Directory, reset to standalone, rebooted, then promoted back to Master. During the promotion process it gave me a nastygram about single sign on because of either a DNS problem or because SSO was already configured. Having reconfirmed that DNS was correct, I concluded that the issue was from the previous trip as a Master and decided that maybe I needed to rebuild Kerberos. Except that sso_util would not recognize any of my administrator logins, including diradmin. I found that diradmin being unrecognizable was strange....


So back into Workgroup manager, figuring that I would change the password type for diramin from crypt then back to Open Directory using the dropdown on the Advanced tab - except the dropdown was greyed out!


I found this article about diradmin password setting:


https://discussions.apple.com/thread/2221573?start=0&tstart=0


But even after trying this, the dropdown still stays grey (and in grey is says Open Directory password).


The dropdown is usable for all of the other users in Workgroup Manager.


Any ideas on how to enable the User Password Type dropdown in Workgroup Manager if it is grey?

Jan 14, 2012 8:30 AM in response to Morris Zwick

Continuing on my quest... I found this Technical note from Apple about re-kerberizing:


http://support.apple.com/kb/HT3655


Interestingly, in step 3 where it says to remove realm information from kdc.conf, there wasn't any of my realm information. Argh!


So I completed all of the steps and executed the slapconfig command. This resulted in:


bash-3.2# slapconfig -kerberize -f --allow_local_realm diradmin <MYREALM>

diradmin's Password:

Could not resolve hostname <MYDOMAIN>

Skipping Kerberos configuration


Sounds like a dreaded DNS problem. It had been working correctly, but changeip -checkhostname confirmed a problem. Turns out that there were EXTERNAL DNS servers in the Network preferences in System Preferences as well as on the router. With my Split-brained DNS this caused problems (thank you again MrHoffman). So I changed them both to my DNS server INTERNAL IP address and added the external ones to the Forwarder IP Address in DNS. Now checkhostname -changeip returns a favorable result.


So after rebooting ran the slapconfig command again and got the same result. Argh. Cleared DNS caches. Still nothing.


So I tried nslookup.


nslookup <mydomain>

Server: 10.0.8.2

Address: 10.0.8.2#53



** server can't find <mydomain>: SERVFAIL


Where 10.0.8.2 is the fixed INTERNAL IP address.


However, nslookup on using the fixed IP address yields:


bash-3.2# nslookup 10.0.8.2

Server: 10.0.8.2

Address: 10.0.8.2#53



2.8.0.10.in-addr.arpa name = <mydomain>.


Scratching head here... changeip -checkhostname works, nslookup on the IP address works, but nslookup on the host name fails.

Jan 15, 2012 4:54 AM in response to Morris Zwick

Turned out that the nslookup problem was a rather simple one, and of course related to DNS. In my <MYDOMAIN>.com zone I had a CNAME record that aliased <MYDOMAIN>.com to my server <MYSERVER>.<MYDOMAIN>.com. Turns out that DNS does not like to see that alias.


I was then able to run the kerberize command and everything ran without problems.


However, if I reenable Authenticated Binding and the checkboxes under Security (except Allow Users to Edit Their Own Information) on the Policies -> Binding tab of Open Directory and try to bind diradmin in Workgroup Manager, I get an error, this time even though I see a successful Kerberos login for diradmin. None of the other Open Directory logs hint at a problem.


Still digging...

Unable to authenticate with diradmin in Workgroup Manager

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.