[PATCH] do not log chdir errors with level 0 if reason is access denied

Christian M Ambach christian.ambach at de.ibm.com
Tue Jul 21 06:01:34 MDT 2009


Hi list,

the attached patch adjusts the log level of the "chdir() failed" log 
message.
This is usually triggered by users trying to access a share for which they 
do not have access in the file system's ACL.

I don't think it is necessary to log that at such a high level, as it can 
fill up the smbd log and it is an expected error.
But I'll leave that open for debate.




Regards
Christian Ambach

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-do-not-log-chdir-with-level-0-if-reason-is-access-de.patch
Type: application/octet-stream
Size: 1342 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090721/c11bdc5d/attachment.obj>


More information about the samba-technical mailing list