Home › Forums › OS X Server and Client Discussion › Open Directory › /LDAPv3/127.0.01 changed to /LDAPv3/10.70.1.135
- This topic has 4 replies, 2 voices, and was last updated 20 years, 3 months ago by
Anonymous.
-
AuthorPosts
-
August 11, 2006 at 3:28 pm #366796
elptacek
ParticipantYesterday 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
August 11, 2006 at 5:02 pm #366797Ross
ParticipantIf you go into Directory Access on the sever how is it bound to itself?
August 11, 2006 at 6:57 pm #366801elptacek
ParticipantIt 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:
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.orgAnd this article: http://docs.info.apple.com/article.html?artnum=303495
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.
August 13, 2006 at 4:27 am #366805elptacek
ParticipantThis 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.
August 16, 2006 at 1:02 pm #366824Anonymous
Guestpifwyeku bnrcmk hklmoeatu simdqrytw figkjas ecou ogsze
-
AuthorPosts
- You must be logged in to reply to this topic.