cifs.upcall: clean up logging and add debug messages
commit8ecfe76accf89128b2e4c8f67d1e4215e2c6b01e
authorJeff Layton <jlayton@redhat.com>
Wed, 14 Oct 2009 14:43:18 +0000 (14 10:43 -0400)
committerKarolin Seeger <kseeger@samba.org>
Tue, 20 Oct 2009 13:00:32 +0000 (20 15:00 +0200)
tree021a2dc8b19faec0339ba88137b33bf92b440e54
parent2342d8d492f3af302c7d23ab07aea994b4c5fb3c
cifs.upcall: clean up logging and add debug messages

Change the log levels to be more appropriate to the messages being
logged. Error messages should be LOG_ERR and not LOG_WARNING, for
instance.

Add some LOG_DEBUG messages that we can use to diagnose problems with
krb5 upcalls. With these, someone can set up syslog to log daemon.debug
and should be able to get more info when things aren't working.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 7c7bb1572c86767658852426e6eb7de901b1cab2)
source3/client/cifs.upcall.c