[Samba] Fwd: Re: User cannot log on from this workstation. Error 2240

Edouard Guigné eguigne at pasteur-cayenne.fr
Wed Jun 20 16:31:41 UTC 2018

Delete and recreate the account was the solution.
The user can now log in any flavor of Window 10.
As you indicate, the domain must be upgraded to AD for next windows 10 

Best Regards,


-------- Message transféré --------
Sujet : 	Re: [Samba] User cannot log on from this workstation. Error 2240
Date : 	Wed, 20 Jun 2018 12:53:44 -0300
De : 	Edouard Guigné <eguigne at pasteur-cayenne.fr>
Pour : 	Rowland Penny <rpenny at samba.org>, samba at lists.samba.org

Hello Rowland,

Yes, this is just for this user.
I was also thinking it was an issue with Windows 10.
But I noticed this error also on others workstations in Windows 7 pro
with this user account.

I will try to delete and recreate the account.


Le 20/06/2018 à 12:43, Rowland Penny via samba a écrit :
> On Wed, 20 Jun 2018 12:13:28 -0300
> Edouard Guigné via samba <samba at lists.samba.org> wrote:
>> Hello Samba Team,
>> I faced an issue to allow a user to connect a samba share at windows
>> Logon and if I tried with "net use S: \\sambashare /user:DOMAIN\user
>> passwd. I get the following error :
>> "User cannot log on from this workstation. Error 2240"
>> It happens only with this user, because with others accounts I can
>> connect to the share without error.
>> Windows client is Windows 10 pro 1703 configured with an Old Style
>> NT4 Samba 3.5.6, the workstation is joined in the samba "NT4" domain.
>> Best Regards,
>> Ed
> Is this just one user ?
> you could try deleting and then creating the user again.
> You should also be thinking of upgrading your NT-style domain to AD,
> it seems Microsoft is removing the option to connect to NT-style
> domains from Windows 10.
> Rowland

More information about the samba mailing list