diff options
author | Max Kellermann <max@duempel.org> | 2014-01-26 00:08:31 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-26 00:08:50 +0100 |
commit | e847788569bd91ca136160694a49665097c0e8ab (patch) | |
tree | 42ff74ca405fb95b55c9dc44d3fa1a21b32144bf | |
parent | 86ca5b3f16bb5804d26bff91b4e16a458173b70d (diff) | |
download | mpd-e847788569bd91ca136160694a49665097c0e8ab.tar.gz mpd-e847788569bd91ca136160694a49665097c0e8ab.tar.xz mpd-e847788569bd91ca136160694a49665097c0e8ab.zip |
lib/smbclient/Init: return empty username/password
This appears to be the right thing to do when we want anonymous login.
Diffstat (limited to '')
-rw-r--r-- | src/lib/smbclient/Init.cxx | 4 |
1 files 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 |