GNOME Bugzilla – Bug 301423
Incorrect URI is passed when domain name is entered for smb:// in connect to server
Last modified: 2005-05-19 13:55:41 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.
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.
Created attachment 45511 [details] [review] Proposed patch for fixing the bug
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.