TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: FOKKE NAUTA
date: 2019-07-23 20:52:00
subject: Re: Can`t access share wi

On 23/07/2019 18:59, mm0fmf wrote:
> On 23/07/2019 12:00, Andy Burns wrote:
>> Fokke Nauta wrote:
>>
>>> mm0fmf wrote:
>>>
>>>> Fokke Nauta wrote:
>>>>
>>>>> I think the reason is that the user name consists of two words with
>>>>> a space in between.
>>
>> Presumably it's easy enough to create another user for testing?
>>
>>>> The term 'facepalm' springs to mind here.
>>>
>>> ?
>>
>>
<https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000
-server/bb726984(v=technet.10)>
>>
>>
>> It's an old article, but
>>
>> "Logon names can contain all other special characters, including
>> spaces, periods, dashes, and underscores. But it's generally not a
>> good idea to use spaces in account names"
>
> Exactly. I've been writing software and such for 36 years for a job. In
> that time the one thing I have learnt is that the simpler you keep
> usernames and filenames then the more likely you will have success.
> Partly it's because the ASCII character set perfectly encompasses the
> words I need to write so I have never need umlauts or accents or other
> non-ASCII characters. I realise this is a big limitation for many people
> on mainland Europe and significant limitation for non-Latin scripts such
> as Russia or Asia etc. But hey, consider this, Shakespeare & Chaucer
> wrote some damn fine prose in only 24 characters so you should ask
> whether your language really needs all those squiggles! (That's a joke
> BTW.)
>
> There's no reason why usernames and filenames cannot be UTF-8 or
> whatever you want but there is the simple fact lurking that an awful lot
> of code has been written when everything was ASCII only (or 7bit ASCII
> even) or written by programmers who only think ASCII. The result is code
> that considers the space to be a delimiter in a user name such that your
> username is 'Fokke Nauta' to Windows and 'Fokke' to something else as it
> doesn't accept whitespace and the like.
>
> So in my simple view, just because you can use a space in a username
> doesn't mean you should. In fact I think it's a positively dangerous or
> even stupid thing to do. It's the equivalent of pulling the pin out of a
> grenade and just keeping tight hold of the grip so it doesn't go off.
> Eventually something will cause a big bang and spoil your day. Trust me.
>
> I'm not sure you can have a space in a Linux username, I've never
> checked. You can try an create a new Windows user, Picard say to keep
> the facepalm subject relevant and create your Picard user on the Pi and
> see if that fixes things. Or maybe you need to merely escape the space
> on any command lines in the normal way (i.e. a \ before the space,
> i.e. fokke\ nauta
>
> Me, I'd go fix the username to fokkenauta and kill all the issues in one
> fell swoop.
>

Thanks.

But how did we get here? By the suggestion to use my Windows user name
and password for logging into the Pi share.
We have quite a lot of Windows machines here, and all user names are
"firstname space surname", and a password. I'm not going to change that.
I have started off with the creation of a user in the Pi, with the name
"pi" and a password. I thought I should be able to log into the Pi share
from my Windows machine, with this user name and password.
Although I can see the share from my Windows machines, I can't login.
Wrong password, it says.
Tried it with Windows 7, running in a virtual machine, and that worked
well. But not for Windows 10, what we got here.

Thank you all for all the hints and tips and suggestions, but I have
given up.

No logging in the share of the Pi.
I use it as a Pi hole, and wanted to log into a share I made. Just for
fun, working with a Linux machine. I thought it should work.
But it didn't.

Thanks again.

Fokke

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.