On 24/07/2019 08:32, Fokke Nauta wrote:
> On 23/07/2019 22:52, Lew Pitcher wrote:
>> For what it's worth, you can use the smb.conf(5) "username map" option
>> (see
>>
https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html#USERNAMEMAP)
>>
>> to map specific Linux usernames to specific Windows usernames. With this,
>> you can have "Fokke Nauta" as your Windows username, and "fokke_nauta"
>> (or any
>> other acceptable Unix username) as your Linux username.
>>
>
> Thanks.
> But I already have a Linux username: pi.
> I thought I should be able to use this account to log in.
You should, but windows wont let you.
What you need to do is map 'Fokke Nauta' in smb land to 'pi' in linux land.
i.e. in smb.conf under [global] add a line like
[global]
username map = /usr/local/samba/private/usermap.txt
and create that file (as root) and put in it...
pi = "Fokke Nauta"
>
--
“Those who can make you believe absurdities, can make you commit
atrocities.”
― Voltaire, Questions sur les Miracles à M. Claparede, Professeur de
Théologie à Genève, par un Proposant: Ou Extrait de Diverses Lettres de
M. de Voltaire
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|