/LDAPv3/127.0.01 changed to /LDAPv3/10.70.1.135
Yesterday, I was able to do this:
dscl /LDAPv3/127.0.0.1 list /Users
When I tried again this morning, I saw 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 destroyed it, recreated it and reloaded the archive. I am now back to /LDAPv3/127.0.0.1 -- but if I can prevent this from happening again, I'll die happy.
There's another clue from changeip:
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
I am hesitant to make this change for fear of breaking what is now a working OD master. I figure I'll wait to see if it breaks again and then fix both things at once.
Thanks,
Erin
dscl /LDAPv3/127.0.0.1 list /Users
When I tried again this morning, I saw 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 destroyed it, recreated it and reloaded the archive. I am now back to /LDAPv3/127.0.0.1 -- but if I can prevent this from happening again, I'll die happy.
There's another clue from changeip:
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
I am hesitant to make this change for fear of breaking what is now a working OD master. I figure I'll wait to see if it breaks again and then fix both things at once.
Thanks,
Erin
Rack Mac G5, Mac OS X (10.4.7)