summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-07-03 21:32:23 +0000
committerJeremy Allison <jra@samba.org>2001-07-03 21:32:23 +0000
commitb96c379dae07988fd2582cd2f055069cf55e9510 (patch)
treed3bcdee0dfdb3dda79a0550513a2439ae72fae80 /source3/smbd
parentc5bcad83852be197e719046730b1b95ddc55c22d (diff)
downloadsamba-b96c379dae07988fd2582cd2f055069cf55e9510.tar.gz
samba-b96c379dae07988fd2582cd2f055069cf55e9510.tar.bz2
samba-b96c379dae07988fd2582cd2f055069cf55e9510.zip
Remove the exit_server() calls that stop nmbd linking.
Jeremy. (This used to be commit 110061ff5a0de7a5d7c5ee003d85d4d600c2531c)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/ssl.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/smbd/ssl.c b/source3/smbd/ssl.c
index 67a8afc82e..dff5f34d5d 100644
--- a/source3/smbd/ssl.c
+++ b/source3/smbd/ssl.c
@@ -256,12 +256,14 @@ char *reqHosts, *resignHosts;
DEBUG( 0, ( "Client %s did not use session setup; access denied\n",
client_addr() ) );
if (!send_smb(fd, (char *)buf))
- exit_server("sslutil_negotiate_ssl: send_smb failed.\n");
+ DEBUG(0, ("sslutil_negotiate_ssl: send_smb failed.\n"));
return -1;
}
buf[4] = 0x8e; /* negative session response: use SSL */
- if (!send_smb(fd, (char *)buf))
- exit_server("sslutil_negotiate_ssl: send_smb failed.\n");
+ if (!send_smb(fd, (char *)buf)) {
+ DEBUG(0,("sslutil_negotiate_ssl: send_smb failed.\n"));
+ return -1;
+ }
if(sslutil_accept(fd) != 0){
DEBUG( 0, ( "Client %s failed SSL negotiation!\n", client_addr() ) );
return -1;