The get_auth_data() function of smbget always asks for a username even if it has been specified in the url using: smb://DOMAIN\;username:secret@localhost Also we do always have a username, if none is specified libsmbclient initializes with the current user.
Created attachment 12410 [details] patch for 4.4
Created attachment 12411 [details] patch for 4.5
Reassigning to Karolin for inclusion in 4.5.0, 4.4.next.
Pushed to autobuild-v4-5-test.
Pushed to v4-5-test.
Pushed to autobuild-v4-4-test.
Pushed to both branches. Closing out bug report. Thanks!