diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-05-26 12:28:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:17:12 -0500 |
commit | 0e1cd9eaefc936555cc95ba2528d7bad36ef6426 (patch) | |
tree | 679bfb65d3d16db1efd0f562a28c70f34de4c6bb /source3/utils/smbpasswd.c | |
parent | 865e13aea13f0f3ef7a2fd9dc33c62800f53c51a (diff) | |
download | samba-0e1cd9eaefc936555cc95ba2528d7bad36ef6426.tar.gz samba-0e1cd9eaefc936555cc95ba2528d7bad36ef6426.tar.bz2 samba-0e1cd9eaefc936555cc95ba2528d7bad36ef6426.zip |
r15904: This does two things:
Fix more potential segfaults when something on our way to a DC connection
fails.
We can not continue if dcip_to_name() fails. With
192.168.234.100 nt4pdc
192.168.234.100 windows#1c
192.168.234.100 windows#1b
in the lmhosts file when nt4pdc is rebooted, we do find the DC's IP address,
we can connect to TCP 139 while it is booting but anything else fails. So we
fall back to put the IP address into domain->dcname. When the DC is fully up
later on we try to do the auth2 against \\192.168.234.100 which gives
INVALID_COMPUTER_NAME. And we never get out of this loop again.
Fix this.
Jerry, maybe you can take a look.
Thanks,
Volker
(This used to be commit b1244e79068af9e287252b2dfbb8d612e717674a)
Diffstat (limited to 'source3/utils/smbpasswd.c')
0 files changed, 0 insertions, 0 deletions