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)
committerMichael Adam <obnox@samba.org>
Tue, 28 Jul 2009 12:04:35 +0000 (14:04 +0200)
commit754c9a56d1908ccd445c9451e0fc4dab37843edd
treef161d02ef556590069d762b59197b68a0dd25339
parent61e9d5fbed30460dd0b014f5874d4a50eb5c2799
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>
Signed-off-by: Michael Adam <obnox@samba.org>
source/smbd/service.c