summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/winbindd_misc.c
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2014-01-22 12:49:44 +0000
committerDavid Disseldorp <ddiss@samba.org>2014-01-22 21:57:04 +0100
commit0f347e44e2447e9c03a694198adad6be1fa9dd6c (patch)
treebcc0af168372d66f4a7fd6f7ff38e7b281806ca1 /source3/winbindd/winbindd_misc.c
parent38f8788d6bf7fac509dcf492214a66a8bb3ac3fc (diff)
downloadsamba-0f347e44e2447e9c03a694198adad6be1fa9dd6c.tar.gz
samba-0f347e44e2447e9c03a694198adad6be1fa9dd6c.tar.xz
samba-0f347e44e2447e9c03a694198adad6be1fa9dd6c.zip
log winbind version (when requested) in winbindd log
winbindd currently only logs the INTERFACE version request, it would be useful to additionally have the version returned in the log also. Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jim McDonough <jmcd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Wed Jan 22 21:57:04 CET 2014 on sn-devel-104
Diffstat (limited to 'source3/winbindd/winbindd_misc.c')
-rw-r--r--source3/winbindd/winbindd_misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_misc.c b/source3/winbindd/winbindd_misc.c
index 29d6a260486..fa4907c7d6a 100644
--- a/source3/winbindd/winbindd_misc.c
+++ b/source3/winbindd/winbindd_misc.c
@@ -391,8 +391,8 @@ void winbindd_info(struct winbindd_cli_state *state)
void winbindd_interface_version(struct winbindd_cli_state *state)
{
- DEBUG(3, ("[%5lu]: request interface version\n",
- (unsigned long)state->pid));
+ DEBUG(3, ("[%5lu]: request interface version (version = %d)\n",
+ (unsigned long)state->pid, WINBIND_INTERFACE_VERSION));
state->response->data.interface_version = WINBIND_INTERFACE_VERSION;
request_ok(state);