On Wed, 24 Jul 2019 09:32:01 +0200
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.
> >
> > You may have to manipulate the smb.conf "security" settings as well, if
> > you already have a PDC or Active Directory service. In that case, the
> > PDC or ADS provides username/password validation, and some of the
> > smbpasswd restrictions no longer apply.
>
> Thanks.
> But I already have a Linux username: pi.
> I thought I should be able to use this account to log in.
It seems you should be able to achieve that by using the usermap
feature Lew mentioned, like this:
pi = "Fokke Naute"
--
Steve O'Hara-Smith | Directable Mirror Arrays
C:\>WIN | A better way to focus the sun
The computer obeys and wins. | licences available see
You lose and Bill collects. | http://www.sohara.org/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|