Slapd can't resolve host, during kerberization

I've been trying to set up our OD/AD for ever with mixed success. I think I've worked out the last bugs in our odd setup but I'm stuck on one strange issue.
I've been backing out of AD bind and OD Master to Standalone Server to remove all the dir settings. Iv'e also cleaned out everything related to Directory services. I've removed the approiate files in /Library/Preferences and /var/db/
Right now, when I try to set up the server as a OD Master, It seems to go fine but the KDC doesn't start up. I get the "Kerberize" button. When I hit "Kerberize", I get he log in and it fails (login keeps reappearing).
When I check slapd's log, It claims it can't resolve my server's hostname and slapdconf -kerberise fails as a result.
I don't get it.
The hostname is set Properly:
I've set my hostname in Sys Prefs -> Sharing. I've even set it manually in /etc/hostconfig
If I "echo $HOSTNAME" I get the proper hostname. If I "hostname" I get the proper hostname.
The slapd logs report the proper hostname in the error.
DNS appears fine:
I can 'nslookup hostname' and it resolves to IP. I can 'nslookup FQDN' and it resolves fine. I've even entered the IP and hostname into /etc/hosts.
One thing is odd. If I 'dig hostname' I get the hostname back with a period. Dig doesn't seem able to resolve just a hostname. Output looks like this:
Chimp:~ sbandyk$ dig psd-directory.uchicago.edu
<< cut some junk, SB >>
;; QUESTION SECTION:
;psd-directory.uchicago.edu. IN A
;; ANSWER SECTION:
psd-directory.uchicago.edu. 169942 IN A 128.135.136.55
BUT.......
Chimp:~ sbandyk$ dig psd-directory
<< cut some junk, SB >>
;; QUESTION SECTION:
;psd-directory. IN A
I don't get an answer section. I see the same thing on other linux systems in our network (same DNS). Is there any reason why dig isn't returning info on just a hostname? It doesn't seem to use my search domains.
Is this another symptom of a DNS problem that is screwing up my Kerberos krb5kdc setup?
Is there some common issue with slapd and resolving hosts?
thanks,
Steven

I've been trying to set up our OD/AD for ever with
mixed success. I think I've worked out the last bugs
in our odd setup but I'm stuck on one strange issue.
I've been backing out of AD bind and OD Master to
Standalone Server to remove all the dir settings.
Iv'e also cleaned out everything related to
Directory services. I've removed the approiate
files in /Library/Preferences and /var/db/
Best to remove /etc/krb5.keytab too!
Is there any reason why dig isn't returning info on just a hostname?
It doesn't seem to use my search domains.
Thats just the way dig works. It wants FQDN and doesn't use your search domain.
Is this another symptom of a DNS problem that is
screwing up my Kerberos krb5kdc setup?
No.
Is there some common issue with slapd and resolving
hosts?
You seem to be able to resolve name -> ip. But the opposite is necessary too: ip -> name !
So when issuing:
$ host IP_ADDRESS
it should come up with you FQDN.
HTH
-Ralph

Similar Messages

  • [SOLVED] Transient prob, can't resolve host when building AUR packages

    I'm building xscreensaver-arch-logo from the AUR. I downloaded the PKGBUILD into an empty directory, ran
    makepkg -s
    , but I get this error:
    ==> Making package: xscreensaver-arch-logo 5.15-3 (Sat May 12 03:13:31 CDT 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Downloading xscreensaver-5.15.tar.gz...
    Warning: Transient problem: timeout Will retry in 3 seconds. 3 retries left.
    Warning: Transient problem: timeout Will retry in 3 seconds. 2 retries left.
    Warning: Transient problem: timeout Will retry in 3 seconds. 1 retries left.
    curl: (6) Could not resolve host: www.jwz.org; No address associated with hostname
    ==> ERROR: Failure while downloading xscreensaver-5.15.tar.gz
    Aborting...
    My internet connection is working at the moment. I can download the tarball from the AUR (this link: https://aur.archlinux.org/packages.php?ID=26586), but if I place it in the same directory as the PKGBUILD file, I get this error when I run makepkg -s:
    ==> Making package: xscreensaver-arch-logo 5.15-3 (Sat May 12 03:18:59 CDT 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Found xscreensaver-5.15.tar.gz
    ==> ERROR: add-electricsheep.diff was not found in the build directory and is not a URL.
    Any help here? I've read of the benefits of using this package over the one in the official repositories, so I'd prefer to use the AUR version if at all possible.
    Last edited by pythonscript (2012-05-27 16:05:26)

    I believe I did download the wrong source package for xscreensaver, but if I download the package from this link: https://aur.archlinux.org/packages/xs/x … ogo.tar.gz and extract it, these are the files I see.
    add-electricsheep.diff logo-180.png logo-50.png PKGBUILD
    LICENSE logo-180.xpm logo-50.xpm xscreensaver.pam
    That all appears correct. However, running makepkg -s in that directory yields the same error as the original post:
    ==> Making package: xscreensaver-arch-logo 5.15-3 (Fri May 11 23:11:01 CDT 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Downloading xscreensaver-5.15.tar.gz...
    Warning: Transient problem: timeout Will retry in 3 seconds. 3 retries left.
    Warning: Transient problem: timeout Will retry in 3 seconds. 2 retries left.
    Warning: Transient problem: timeout Will retry in 3 seconds. 1 retries left.
    curl: (6) Could not resolve host: www.jwz.org; No address associated with hostname
    ==> ERROR: Failure while downloading xscreensaver-5.15.tar.gz
    Aborting...
    Also, I receive a highly similar error when building the dropbox package from the AUR, which hints to me that this is a wider problem than simply the xscreensaver package. When downloading the dropbox tar file (link to file: https://aur.archlinux.org/packages/dr/d … ox.tar.gz), extracting it and listing the directory yields this:
    dropbox.desktop dropbox.png PKGBUILD terms.txt
    However, the error upon running makepkg -s is similar.
    ==> Making package: dropbox 1.4.3-1 (Fri May 11 23:13:01 CDT 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Downloading dropbox-lnx.x86-1.4.3.tar.gz...
    Warning: Transient problem: timeout Will retry in 3 seconds. 3 retries left.
    Warning: Transient problem: timeout Will retry in 3 seconds. 2 retries left.
    Warning: Transient problem: timeout Will retry in 3 seconds. 1 retries left.
    curl: (6) Could not resolve host: dl-web.dropbox.com; No address associated with hostname
    ==> ERROR: Failure while downloading dropbox-lnx.x86-1.4.3.tar.gz
    Aborting...

  • How can i resolve the -1 error occuring during the iphone restoring process.

    how can i resolve the -1 error occuring during the iphone restoring process.

    hi ive also got the same probblem ive had it working last night but then after 2 hours of working it decided to put the phone back into recovery mode plus its an unknow error (36) Ive tried to connect to i tunes and it started to recovery and wipe the to put it back into factory settings then came up with the error 36  can any one help

  • Some strings for which expression pedal is used is recorded well but during esch playback I have to move the modulation wheel. How can I resolve to hear my instrument during playback without twikking on the wheel !

    Some strings for which expression pedal is used is recorded well but during esch playback I have to move the modulation wheel. How can I resolve to hear my instrument during playback without twikking on the wheel !

    I am having the same problems. My guess is that a lot of people are having the same problems and just living with it. Those of us who know where to go on the Internet come here to find a fix.
    It seems Verizon has some explaining to do. Maybe they should try Beta testing new software a little better. I would rather have to wait longer for something that works. I am sure that some manager or director said this is close enough, deploy it and we will see what happens. Well, you are seeing the problems. Time to fix your mistake.
    All of us are telling our friends about the problems. The longer this goes on, the more people we will tell about it.
    Wouldn't you rather us be telling our friends that their is an error in the new interface and that you are working hard to fix it?
    If you want to be up front about this, then just tell us. We are adults and can handle it. If you made a mistake, own up to it and give us some credit for doing your Beta testing in the field.
    Customer Service is all about telling the truth and if you made a mistake, admit it and lets move on with a fix. I do not want to be told again that I should be able to unplug it, power cycle it, try the on-board diagnostics, etc., etc.......
    I am going to be repsonding on a daily basis to keep this topic at the top of the list.
    Time to come clean. You will feel better Verizon.
    Let's talk tomorrow.

  • How can I resolve a "genuine software verification failure" during installation from DVD?

    I have a set of 3 DVDs from my organization that has volume-licensed Adobe CS6 Production Premium.
    I need to install it on a laptop that has no DVD drive.
    I can mount the ISO image of the first DVD disk as a network drive, and can then proceed through installation. When I am asked to "insert the second disk", I mount the second ISO image, and installation proceeds. In the process, I enter the serial number / key provided by our IT department and sign in with my Adobe ID.
    When installation finishes, however, I am informed there was an Adobe genuine software verification failure. The customer support link leads to this forum.
    How can I resolve this, please?
    I have searched the forums for related issues and can only find reports of similar problems for downloaded software. The advice there is to re-download the software. Should I expect my volume-license key to work for the downloaded software?
    Best regards,
    D Kreil

    Hi dkreil,
    Please refer the KB : http://helpx.adobe.com/x-productkb/global/digital-certificate-revoked-aam.html
    Regards,
    Ravi.

  • Iplanet MS 5.2 Too many failures to this host during this run skipping ...

    Hello every body,
    I'm DBA (Oracle) and I've been replacing a System Administrator who left suddenly the company, I work on iplanet messaging server 5.2
    The company use a domain like email.company.xx it's the server root so we can send and receive without probleme
    when we send from others domains which are hosted by this server we can't receive, I've tried whith outlook then I've received automatically Spams.
    In the log file
    1/ when I try from the domain root to another domain (in the same server) I have "initial status response expected"
    2/ when I try from a domain to the same domain (not the root) I have "Too many failures to this host during this run; skipping this host: Try again later"
    I thought of the tcp_local config, I checked imta.cnf but nothing.
    How do I resolve this problem
    Please help!
    Regards
    Edited by: dj_admin on Jun 1, 2010 9:09 AM

    Messaging Server 5.1 is beyond the EOL Shane described previously. The date after which you can not even open support calls for 5.1 was 6 years ago, March 2004. See [http://wikis.sun.com/display/CommSuite/Messaging+Server+EOL+Dates].
    There will be no further bug fixes for 5.2, 6.0, and 6.1, but you can still open support cases about them. The "last bug fix" date for 6.2 is this month, June 2010.
    The "Too many failures to this host during this run; skipping this host: Try again later" error means what it says: there have been too many previous failures trying to relay messages to this host, so the message is being put back in the queue to be retried later. So you need to look at what those failures were.
    The "initial status response expected" error means that the smtp_client process on this system connected to the TCP port on the remote MTA but never received the "banner". So you need to look at what is happening on that remote system or in the network. Perhaps there is a firewall in between? You could use something like snoop to see what is happening at the TCP level. But...
    You describe the messages having this problem as being "from domain to the same domain" and the mail.log_current info you provided shows it is from "[email protected]" to "[email protected]" and that it came in on the tcp_intranet channel and was enqueued to the tcp_local channel.
    I wonder why mail for a user in some other domain is coming from that user and going thru your system. Is that your own domain and this is an MTA system rather than a message store system?
    You could try setting LOG_CONNECTION=3 in option.dat (and do imsimta cnbuild; and imsimta restart job_controller). On current versions, that will give more information about the connection attempts. But I do not know if 5.1 had that option. If that option works on 5.1, it will give you the hostname it is trying to connect to. Then you can investigate either on that host or the network.

  • HT201210 my iphone 3 couldn't restore, its saying the error 46. what is the meaning of error 46?and how can i resolve it?

    my iphone 3 couldn't restore, its saying the error 46. what is the meaning of error 46?and how can i resolve it?

    It doesn't matter when you installed antivirus software; if you have it on your computer it will frequently block access from applications to sites it does not know about. A sync does not require access to a site not on your computer; an upgrade clearly does. So if you have never jailbroken any device you do not need to be concerned about your hosts file, but you DO need to temporarily disable your antivirus during the update process.
    The hosts file is an operating system file on all computers that overrides DNS lookup. In order to jailbreak or hack an iDevice the programs that do it need to redirect iTunes so it does not go to the Apple activation server, but instead goes to the hacking program for activation instructions. It does this by adding a record to the hosts file that bypasses the DNS lookup for gs.apple.com. But you don't have to be concerned about this.

  • Solution to "unable to resolve host" and frequent network drops

    Like many, I just purchased a shiny new HP Touchpad 32GB.  Updated the firmware to the latest version, enjoy it's web browsing capabilities and some of the apps.  
    However, like many, web browsing often coughed or sputtered and would freeze often during network operations.  Web sites like Google or Bing would often hang and become useless.  A Google search of "Unable to resolve host" showed that I wasnt' alone.
    The 'solution', or so it seemed, was to reset the network by toggling airplane mode.  But doing this every 5-10 minutes, or more often, was quite frustrating.  Also, other applications, such as Spaz HD for Twitter were really lethargic.  
    This was all a problem until I changed the MTU on my wireless router from the standard 1500 to 1300.  Rebooted the modem, all is now well.  "And there was much rejoicing...."
    After this change, haven't had the need to toggle the Airplane mode even once.  Spaz HD runs much quicker, Google & Bing no longer lock up, complex pages such as the DailyCaller.com or Redstate.com no longer time out and work properly.
    I would be curious to see if others who are having the same problem, can make a similar change, and if helps them solve this issue.
    Post relates to: HP TouchPad (WiFi)

    For me, it turned out to be somewhat different - my home wireless was working fine with several different devices/OSs, but it seems that WebOS stopped falling back to any DNS servers beyond the first one.  Whereas other devices (android phones, linux laptops, etc) still resolved DNS fine using the secondary/tertiary DNS entries, WebOS starting giving me the "unable to resolve host" error.  So I changed the (primary) static DNS entry on my wireless router to one of the Google public DNS servers (8.8.8.8) and now WebOS is happy again.  The only thing that changed for me (on the tablet) was enabling usbnet just to check it out, and even after I disabled usbnet, I still had the name resolution failures.  Go figure...

  • DNS - Can't resolve website address because it is the same as domain name:

    Our internal users can't resolve a web address because their domain name is the same as the address.  I'm hoping I can get some advice on what I should do on the DNS server.  My first challenge is, when I look-up address on Arin.net it does not
    come up with anything. CUAMERICA.COM is the domain.  I don't even know the ip address it is resolving to. 

    If I ping www.cuamerica.com I get 38.108.184.171, so in your DNS, in the Forward Lookup Zone for CUAMERICA.COM create a new Host (A) record, call it
    www and give it the IP address of 38.108.184.171

  • Hello I Download Adobe Photoshop CC 2014 Last Night i INSTALLED it But it Crashes in 30-40 Sec After i Launch the Product Without Any Error Message I Need Help Can You Resolve This Problem i Tried Creative Cloud Sign Out Nd Sign iN But iT DidnT ReSolve My

    Hello I Download Adobe Photoshop CC 2014 Last Night
     i INSTALLED it But it Crashes in 30-40 Sec After i Launch the Product Without Any Error Message
    I Need Help Can You Resolve This Problem

    Lotfi are you receiving any error messages during the installation?  I would recommend reviewing your installation logs for errors.  Please see Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html for information on how to locate and interpret your installation log files.  You are welcome to post any specific errors you discover to this discussion.

  • The scaling selection using SHIFT doesn't seem to be working for me all of a sudden.......how can I resolve ?

    The scaling selection using SHIFT doesn't seem to be working for me all of a sudden.......how can I resolve ?
    Specifically, when I select and object I used to be able to hold SHIFT while re-sizing the object and keeping it in scale.
    All of a sudden, I don't have that option as my SHIFT key doesn't seem to activate within AI
    B.Marks

    B,
    You may have something disturbing Illy so she gets confused, see Item 7 in 5) below for usual suspects, or you may have what appears to be a preference corruption, see 1) - 4) and 6) below.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Problem resolving host name.

    Hi all,
    How can I resolve some host name's IP address? Example: I've got the host name "java.sun.com" and I need to know its IP address. How can that be done?
    I first thought about
    InetAddress addr = InetAddress.getByName("java.sun.com");but it threw an UnknownHostException, even though I were connected to the internet and could open this page in the browser.
    Again, how can I do that?
    Thank you all in advance
    Filipe Fedalto

    Oh, geez!
    You are right, I have a proxy. Is there any way I could still do it? I mean, the proxy gives me full access to the internet, so that if I type this URL into a browser it allows me to view the page...

  • Car blue tooth caller can't hear me clearly. How can I resolve this?

    I have just installed a MEX-N5050BT which is working well except my callers cant hear me clearly. How can I resolve this? I cant find any way of increasing the volume of sound through microphone. Any ideas appreciated.

    Hi dwTassie,
    Here's what you need to do to adjust the volume for the other party (Mic gain adjustment):
    -Press MIC (during call).
    -Adjustable volume levels: [MIC-LOW], [MIC-MID], [MIC-HI].
    For further assistance regarding your concern, please contact the Sony offices/Sony representative offices nearest to your place of residence in Asia Pacific region http://www.sony-asia.com/countryselector.html?hpid=countryselector:AsiaPacific. Due to proximity, they are in a better position to respond to your questions or concerns.
    If my post answers your question, please mark it as "Accept as Solution"
    Thanks,
    -Anthony

  • "couldn't resolve host name" error message

    I have a new Z30 with the latest OS update installed and can’t connect to several Wi-Fi locations because of error message ‘couldn’t resolve host name’.  Is there a fix to this as it seems to be an issue with BB and no other type of devices?

    Assuming you're connecting via wifi, this would suggest your wifi connection is failing somewhere along the way.
    Occasionally, my PB's wifi icon shows green and looks like it's working, but if I turn the PB wifi off and back on, it usually fixes the problem. You could also try rebooting the PB if resetting the wifi doesnt work. 
    If these things don't correct the problem, then check your wifi router (reboot it if necessary) and maybe check your internet connection with another device, ie home computer or whatever to make sure you're not having service issues.

  • Resolving host error on OSX Yosemite 10.10.1

    Hi,
    I have been facing resolving host error in chrome every 5 minutes for last few weeks. I have tried changing the DNS to 8.8.4.4 etc with no promising results. The issue is faced by mac only as all the other devices seem to connect to the internet just fine. The parental controls are off so even that is not an issue. Any help is appreciated.
    Specs:
    MacBook Air (13-inch, Mid 2013)
    Processor: 1.3 GHz Intel Core i5
    Memory: 4 GB 1600 MHz DDR3

    Bah!!! I have only just experienced this issue (along with a billion other issues in Pages, but I'll leave that for another day!).
    Thank you to all the great suggestions here, which didn't quite work, but led me to something that did.
    I tried this and it didn't quite work:
    "Hi! There seems to be a workaround for this (I've had this problem too, you'd think Apple'd sort it out?!?!)
    At the top of your Pages document is the name of your document. Hover your mouse over this briefly and a drop down arrow will appear. From here you can name the document, give it a Tag and choose the save destination. Click this drop down arrow, and select your save destination from another drop down that will apear. After you have clicked on your selected save destination, click away from the drop down. Then, simply save (Cmd+S OR navigate to file>save) and it will have saved for you!"
    But this worked for me:
    I clicked on the drop down arrow, like suggested above, and changed the document name. Then I clicked on the 'Where' drop down menu and went right down the list and clicked on the 'other...' choice right at the bottom of the list. I chose a different location and then clicked 'Move'
    For some unknown reason this worked for me where the other suggestion didn't quite work.
    I've had to find so many work arounds like this in Pages recently, which you shouldn't have to do!
    The only reason why I am persisting with pages is it save my clickable links when exported to PDF, where the Word program doesn't.
    I hope these issues get sorted before I thrown the computer out the window due to pure frustration!

Maybe you are looking for