After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 301423 - Incorrect URI is passed when domain name is entered for smb:// in connect to server
Incorrect URI is passed when domain name is entered for smb:// in connect to ...
Status: RESOLVED NOTABUG
Product: nautilus
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-04-21 05:31 UTC by dinoop.thomas
Modified: 2005-05-19 13:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch for fixing the bug (995 bytes, patch)
2005-04-21 12:09 UTC, dinoop.thomas
none Details | Review

Description dinoop.thomas 2005-04-21 05:31:24 UTC
1. Select 'Connect to Server' option from Places in the top panel.
2. Select the service type as 'Windows share'.
3. Enter the IP or name of the server in server field. eg: my-samba-server
3. Enter username and domain in username field (as domain;username)   
   eg: wipro;dinoop
4. Click on Connect button
5. Now double click on the newly created icon.

Observation : The uri which gets passed is
"smb://wipro%3Bdinoop@my-samba-server", which is something that can't be
understood by gnome-vfs smb method.

The text entered in username field is escaped and used in the uri. The methods
like ftp,smb can't understand this text.
Comment 1 dinoop.thomas 2005-04-21 05:48:06 UTC
Unix usernames can contain special characters , but as such there is no need to
escape the username before passing the uri. While escaping the the character ';'
gets substituted with '%3B' and the uri can't be understood by gnome-vfs. I'll be
giving a patch to correct the same. 
Comment 2 dinoop.thomas 2005-04-21 12:09:30 UTC
Created attachment 45511 [details] [review]
Proposed patch for fixing the bug
Comment 3 dinoop.thomas 2005-05-19 13:55:41 UTC
As per the discussion I had with Alex, "user name" field can't be used to pass
domain name also. A better way to handle is to add a separate entry for domain.
Please refer to:
http://mail.gnome.org/archives/nautilus-list/2005-April/msg00203.html

I'm closing this bug and I have opened a new bug#304760 to add domain entry to
the connect server dialog.