do not log chdir with level 0 if reason is access denied
authorChristian Ambach <christian.ambach@de.ibm.com>
Tue, 21 Jul 2009 11:56:17 +0000 (13:56 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 21 Jul 2009 17:05:21 +0000 (10:05 -0700)
commit8b6ec5b82cbc66cf8efd9d0713e36aac63c8c49e
tree4c9d98540b0ead0e13c135b9ecae3a7ee3432a51
parent319a97bce9f77161e62de9f86ddbec58629238cb
do not log chdir with level 0 if reason is access denied

this changes the level of logs caused by users trying to access shares
or subdirectories for which they do not have access to in the ACL

this can fill up the samba log even with log level 0 and is more an
expected kind of logs that IMHO should not be logged with such a high
level.

All other errors while chdir() will still be logged with level 0

Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
source3/smbd/service.c