s3/smbd: log accepted SMB-D connection and associated fd
authorRalph Boehme <slow@samba.org>
Tue, 4 Oct 2016 04:17:48 +0000 (06:17 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 1 Jun 2018 12:35:16 +0000 (14:35 +0200)
source3/smbd/server.c

index 2b328122a37741a2fa9c7a8b27764e877f5dccc2..f7917a4d00f0cff0e52d5020a4c97536c7f040a1 100644 (file)
@@ -1299,8 +1299,8 @@ static void smbd_accept_connection(struct tevent_context *ev,
        if (!s->smb_direct) {
                fd = accept(s->fd, (struct sockaddr *)(void *)&addr,&in_addrlen);
        } else {
-               DBG_ERR("smbd got SMB-D connection\n");
                fd = smb_direct_accept(s->smb_direct_socket);
+               DBG_DEBUG("smbd: got SMB-D connection fd [%d]\n", fd);
        }
 
        if (fd == -1 && errno == EINTR)