diff options
author | Andreas Schneider <asn@samba.org> | 2011-06-16 15:32:00 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-07-04 18:28:21 +1000 |
commit | ad0f765a096015f223fbb45ed96c19b821e0bb44 (patch) | |
tree | c06d4b3bb34959ca8ab0c7b404168ac282a6f4cf /source3 | |
parent | d99acd26a2ecee17edf8739990dd67ef659182b1 (diff) | |
download | samba-ad0f765a096015f223fbb45ed96c19b821e0bb44.tar.gz samba-ad0f765a096015f223fbb45ed96c19b821e0bb44.tar.bz2 samba-ad0f765a096015f223fbb45ed96c19b821e0bb44.zip |
s3-smbd: Exit cleanly if we can't create an address string.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/process.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 6cf793a77f..39fd3d7cd1 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -2975,7 +2975,9 @@ void smbd_process(struct smbd_server_connection *sconn) sconn->remote_address, talloc_tos()); if (remaddr == NULL) { - + DEBUG(0,("%s: tsocket_address_inet_addr_string remote failed - %s\n", + __location__, strerror(errno))); + exit_server_cleanly("tsocket_address_inet_addr_string remote failed.\n"); } } else { remaddr = "0.0.0.0"; |