diff options
author | Christian Ambach <christian.ambach@de.ibm.com> | 2009-12-02 20:06:37 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-12-06 22:31:35 +0100 |
commit | 7050764a3afcf3c81eb20645fa52469b28276188 (patch) | |
tree | cd5b0d54f7bc6ab2a6795cdd8023eabcf175d10b /source3/smbd/smb2_tcon.c | |
parent | da8b405065dc5731865b2f4530ff9bb034c780a4 (diff) | |
download | samba-7050764a3afcf3c81eb20645fa52469b28276188.tar.gz |
streamline some log levels for invalid servicenames
I don't think we need to log the fact that a user gave a wrong sharename in Explorer with the highest log level.
The level of this was not very consistent:
service.c: DEBUG(3,("find_service() failed to find service %s\n", service));
service.c: DEBUG(0,("%s (%s) couldn't find service %s\n",
smb2_tcon.c: DEBUG(1,("smbd_smb2_tree_connect: couldn't find service %s\n",
This changes the last two to 3 as the first one.
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
Diffstat (limited to 'source3/smbd/smb2_tcon.c')
-rw-r--r-- | source3/smbd/smb2_tcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_tcon.c b/source3/smbd/smb2_tcon.c index 7d627c2dfa2..70c5e8845e5 100644 --- a/source3/smbd/smb2_tcon.c +++ b/source3/smbd/smb2_tcon.c @@ -169,7 +169,7 @@ static NTSTATUS smbd_smb2_tree_connect(struct smbd_smb2_request *req, snum = find_service(service); if (snum < 0) { - DEBUG(1,("smbd_smb2_tree_connect: couldn't find service %s\n", + DEBUG(3,("smbd_smb2_tree_connect: couldn't find service %s\n", service)); return NT_STATUS_BAD_NETWORK_NAME; } |