Author Topic: Windows 7 client cannot connect to Zentyal 7 fresh installed server  (Read 3701 times)

ATT1

  • Zen Warrior
  • ***
  • Posts: 121
  • Karma: +0/-0
    • View Profile
Hello,
I just installed a fresh Zentyal 7 server. I can connect to samba and shared files via entering "\\10.9.0.1" with Windows 10 (yes that is a VPN IP adress).
When I try to do the same in Windows 7, the client also asks me for username and password, I enter MYDOMAINNAME\myusername and my password, everything is correct, but I always get the error "unknown username or wrong password".
The same Windows 7 client previously perfectly connected to the Zentyal Samba domain. I searched for old stored certs of the old server etc. but did not find anything on the client.
Do I need a sort of fallback to old protocol mechanism for Samba, so that Win7 works again, or is it entirely the clients' fault, and if yes, what has to be changed in the client (Win7 64 bit) ?

zyzio

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Windows 7 client cannot connect to Zentyal 7 fresh installed server
« Reply #1 on: August 20, 2023, 05:02:57 pm »
paste the result

testparm -vs | grep "min protocol"

ATT1

  • Zen Warrior
  • ***
  • Posts: 121
  • Karma: +0/-0
    • View Profile
Re: Windows 7 client cannot connect to Zentyal 7 fresh installed server
« Reply #2 on: August 23, 2023, 11:28:09 am »
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_ACTIVE_DIRECTORY_DC

        client ipc min protocol = default
        client min protocol = SMB2_02
        server min protocol = SMB2_02


zyzio

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Windows 7 client cannot connect to Zentyal 7 fresh installed server
« Reply #3 on: August 23, 2023, 06:32:05 pm »
testparm -vs | grep "ntlm"

ATT1

  • Zen Warrior
  • ***
  • Posts: 121
  • Karma: +0/-0
    • View Profile
Re: Windows 7 client cannot connect to Zentyal 7 fresh installed server
« Reply #4 on: August 27, 2023, 12:22:00 am »
# testparm -vs | grep "ntlm"

Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_ACTIVE_DIRECTORY_DC

        ntlm auth = ntlmv2-only


ATT1

  • Zen Warrior
  • ***
  • Posts: 121
  • Karma: +0/-0
    • View Profile
Re: Windows 7 client cannot connect to Zentyal 7 fresh installed server
« Reply #6 on: August 28, 2023, 11:42:50 am »
Okay  and how do I add the options
ntlm auth = ntlmv1-permitted         
and
ntlm auth = yes
to the Zentyal system so it is permanent and will not be messed up next reboot, etc.  ?

zyzio

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Windows 7 client cannot connect to Zentyal 7 fresh installed server
« Reply #7 on: August 29, 2023, 07:43:59 pm »
Do you have all windows 7 updates installed?

ATT1

  • Zen Warrior
  • ***
  • Posts: 121
  • Karma: +0/-0
    • View Profile
Re: Windows 7 client cannot connect to Zentyal 7 fresh installed server
« Reply #8 on: August 31, 2023, 11:33:02 am »
Perhaps not all Win7 updates, but at least SP1 and then some.

zyzio

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Windows 7 client cannot connect to Zentyal 7 fresh installed server
« Reply #9 on: August 31, 2023, 08:36:13 pm »
I have machines with windows 7 and there are no problems with the domain -> update windows 7