Windows 11 (22H2) and Ubuntu server (Samba) compatibility problem
0
votes
1
answer
2948
views
In February some workers in my office got new computers with Windows 11 version 22H2. After joining them to the domain (domain controller is Ubuntu 18.04.6 LTS), nobody could log in on these new computers.
I found a solution - to check "Use only Kerberos DES encryption for this account" in AD Users and Computers. I turned this option on for users with new computers. Then they were able to log in, but were unable to change their passwords. I left such situation as temporary solution so they could work, but I was looking for a good solution - to resolve that issue.
I found that this problem occured, because in Windows 11 22H2 update, Microsoft has changed some encryption method to avoid Year 2038 problem, but as a result Windows 11 22H2 became incompatible with samba Ubuntu server.
After many research I found that probably the only solution is to update Samba to 4.16. I did it 3 days ago, just by running
apt-get update
, apt-get upgrade
and reboot
. Later I checked if I still have access to shared server folders on my Windows 10 computer and I had. But after running samba --version on server, I see Version 4.7.6... I don't know why. (In ADUC, I see the operating system of domain controller as Samba 4.10.16 (as before)).
Now all workers in the office don't have access to shared folders (me too) except those 3 people who has Windows 11 22H2 and DES Kerberos turned on. What's more, when I start AD Users and Computers I'm getting an error: **Naming information cannot be located because: System cannot contact domain controller to resolve auhtentication request. Try again later. Contact your system administrator to verify that your domain is properly configured and is currently online.** When I click OK, then change domain controller and type server's IP address, I can see all domain data, but when I try to change any user setting, I'm getting errors **Domain does not exist or cannot be contacted.** and **Cannot display domain name for the user for system older than Windows 2000.** When I click OK, I can see all user settings - I can change them, then after reopening the program, I still see changes, but I'm not sure if they work (e.g. I tried creating new user and then logging in as it - not working.)
I can access the server via Putty.
Please help! What should I do? Is there any solution? Did the samba update went wrong?
*****!!!UPDATE!!!*****
I resolved the above issue - I don't know how... Suddenly, it just started working.
But the main problem - Windows 11 22H2 incompatibility with Samba still persists.
My ADUC still shows domain controller operating system as Samba 4.10.16 and --version
on ubuntu server returns "Version 4.7.6-Ubuntu". I don't know why there's the difference and what's more important:
**Why there is no Samba 4.16 version and how to upgrade it to 4.16 version?**
Asked by JanCDWP
(9 rep)
Mar 14, 2023, 09:07 AM
Last activity: Apr 15, 2025, 10:06 AM
Last activity: Apr 15, 2025, 10:06 AM