Home Forums OS X Server and Client Discussion Open Directory /LDAPv3/127.0.01 changed to /LDAPv3/10.70.1.135

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #366796
    elptacek
    Participant

    Yesterday when I left, I was able to do this:

    dscl /LDAPv3/127.0.0.1 list /Users

    Now I get this:

    list: Invalid Path

    So I took a look with dscl and I see that the path has changed from /LDAPv3/127.0.0.1 to /LDAPv3/10.70.1.135 (this is the IP of the server). The only thing that has changed between then and now is that one of our DNS servers did not have a PTR record for the server, so I added it. This was one of the DNS servers in /etc/resolv.conf.

    I am horrified and mystified. No one can log in. Has anyone else ever seen this before? Any ideas as to what causes it? More importantly, how to fix things such that it NEVER happens again?

    Thank you,

    Erin

    #366797
    Ross
    Participant

    If you go into Directory Access on the sever how is it bound to itself?

    #366801
    elptacek
    Participant

    It is not bound to itself, but the entry in Directory Access.app yesterday displayed the loopback and this morning it displayed /LDAPv3/10.70.1.135.

    I think I have found some clues:

    [code]
    host:~ root# changeip -checkhostname

    Primary address = 10.70.1.135

    Current HostName = host
    DNS HostName = host.domain.org

    To fix the hostname please run /usr/sbin/changeip for your system with the
    appropriate directory with the following values

    /usr/sbin/changeip <node> 10.70.1.135 10.70.1.135 host host.domain.org

    example:

    /usr/sbin/changeip /LDAPv3/127.0.0.1 10.70.1.135 10.70.1.135 host host.domain.org
    [/code]

    And this article: [url]http://docs.info.apple.com/article.html?artnum=303495[/url]

    So the mystery now is how the os installed sets the hostname to just host and OD appears to want it to be set to host.domain.org. There is no such thing as a reverse lookup that just returns the hostname without the domain appended, afaik.

    Also mysterious is how these mappings changed when I wasn’t looking (and probably asleep) but I have yet to find a log of exactly when and how this transpired.

    #366805
    elptacek
    Participant

    This is what’s tripping me up. The reverse DNS lookup is good. OS X Server just seems to want /bin/hostname to return the FQDN.

    Curiouser and curiouser.

    #366824
    Anonymous
    Guest

    pifwyeku bnrcmk hklmoeatu simdqrytw figkjas ecou ogsze

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Comments are closed