Created attachment 16806 [details] Patch which should solve this When running smbget the server and share are mixed up in the password prompt: % smbget -Ru -w mydomain -U myusername smb://server1/share1/folder Password for [myusername] connecting to //share1/server1: I've added a patch which should fix this.
Thanks Dennis. Can you send in the Samba Developers Declaration as described here: https://www.samba.org/samba/devel/copyright-policy.html and I'll try and get this merged for 4.15.next.
This bug was referenced in samba master: f1765f91b015d64122e74c01c7c6d0984cc7af87
Created attachment 17264 [details] git-am fix for 4.16.next, 4.15.next. Cherry-picked from master.
Comment on attachment 17264 [details] git-am fix for 4.16.next, 4.15.next. lgtm (I guess we need another reviewer right?)
(In reply to Noel Power from comment #4) No, two is good enough.
Re-assigning to Jule for inclusion in 4.15.next, 4.16.next.
Pushed to autobuild-v4-{16,15}-test.
This bug was referenced in samba v4-15-test: ef96b255edcf0f4e398ca6617830c2affcc1642b
This bug was referenced in samba v4-16-test: 41a2825ea5790296359aa069e19a55da7bf64be0
Closing out bug report. Thanks!
Thanks for fixing this.
This bug was referenced in samba v4-15-stable (Release samba-4.15.7): ef96b255edcf0f4e398ca6617830c2affcc1642b
This bug was referenced in samba v4-16-stable (Release samba-4.16.1): 41a2825ea5790296359aa069e19a55da7bf64be0