GNOME Bugzilla – Bug 533083
doesn't read domain/user from SMB URLs
Last modified: 2013-05-10 09:05:25 UTC
the bug has been opened on https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/225141 "nautilus version 2.2.22 from Hardy (8.10) does not understand SMB URLs - it does not extract the domain name and username. For example, the URL: smb://MYDOMAIN;administrator@1.2.3.4/D$ pops up a dialog box filled in with the default values of my username and domain WORKGROUP. In previous versions (Feisty, Gutsy) the domain and username were correctly extracted from the URL into the password dialog box."
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 520551 ***
are you sure that domain and username are the same issue?
I believe it's a global issue of us just not parsing SMB URIs correctly. It could be that the domain issue is a separate issue e.g. domain without a user name doesn't work, but this doesn't seem like it would be valid case to me (How would you get on the domain without a username anyways? Does AD support anonymous users?). Feel free to correct me. Of course, I don't have the adequate setup to test the domain issue so I don't know for certain either way. If someone downstream can test it and confirm it, we should reopen and retarget (and make 520551 a dependency of this bug).
The domain part of the URI doesn't get propagated to smb backend, however it gets parsed properly.
Can you retest this with the latest gvfs version? I'm getting proper prompt for credentials when domain or username is set.