From e847788569bd91ca136160694a49665097c0e8ab Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Sun, 26 Jan 2014 00:08:31 +0100
Subject: [PATCH] lib/smbclient/Init: return empty username/password

This appears to be the right thing to do when we want anonymous login.
---
 src/lib/smbclient/Init.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/smbclient/Init.cxx b/src/lib/smbclient/Init.cxx
index 4af5c0cf4..56e196364 100644
--- a/src/lib/smbclient/Init.cxx
+++ b/src/lib/smbclient/Init.cxx
@@ -34,8 +34,8 @@ mpd_smbc_get_auth_data(gcc_unused const char *srv,
 {
 	// TODO: implement
 	strcpy(wg, "WORKGROUP");
-	strcpy(un, "foo");
-	strcpy(pw, "bar");
+	strcpy(un, "");
+	strcpy(pw, "");
 }
 
 bool