Bug 339973 - Unable to use Windows share in an enterprise domain environment.
Summary: Unable to use Windows share in an enterprise domain environment.
Status: RESOLVED WORKSFORME
Alias: None
Product: kio
Classification: Unmaintained
Component: smb (show other bugs)
Version: 4.13.3
Platform: Kubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL: smb://PRBUK%5Ce1153226@entadc05p/andf...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-15 09:35 UTC by Richard Clinker
Modified: 2017-10-28 16:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Clinker 2014-10-15 09:35:07 UTC
Unable to use Windows share in an enterprise domain environment.  Have also tried replacing the @ with %40 in the above example but this also fails with either invalid location or internal error message.  Using Nautilus and smb://prbuk;e1153226@entadc05p/andfs/Shared_SWDTS14/Service%20Monitoring/WideVision works fine.

Reproducible: Always

Steps to Reproduce:
1.  attempt to connect to a Windows share where user is required to authenticate against a domain.
2.
3.

Actual Results:  
either internal error or invalid share message.

Expected Results:  
Able to brows share.

This has worked in previous versions of Dolphin.  Sorry, don't know at which point it started failing.

I feel this is a bug worth addressing as it could potentially be a barrier to using KDE in an enterprise desktop environment.
Comment 1 Emmanuel Pescosta 2014-10-15 09:46:11 UTC
Thanks for the bug report!

We use KIO to access samba shares, so I'll reassign it to KIO.
I'll also set the importance to major because of "Unable to use Windows share in an enterprise domain environment."
Comment 2 Emmanuel Pescosta 2014-10-15 09:56:11 UTC
Are you sure that the problem is caused by the @?

Accessing the samba share "emmanuel@hydro/fotos" works here.

I think the problem is caused by % in "PRBUK%5Ce1153226", can you please check it?
Comment 3 Richard Clinker 2014-10-15 12:53:34 UTC
From email reply to Emmanuel:

The %5C should, as far as I know, replace the \ that would normally be between a domain and user ID when logging in to a Windows share.  Nautilus seems to deal with that by using a semi colon between domain and user.

The only reason I tried %40 instead of @ is that I saw some mention in a potentially similar bug (found by searching reports for "domain") that @ is not a character that could be handled.  Clearly that's not the case.  I think it is some sort of problem with either / or %5C or some other domain authentication related issue.
Comment 4 Nate Graham 2017-10-28 16:38:43 UTC
In general you don't need to escape characters like that. You can use @ and : in samba URLs, but you should use forward slashes (/) instead of Windows backslashes (\).

So a valid Samba URL looks like this:

smb://username[:optional password]@share/optional/path/to/file