View previous topic :: View next topic |
Author |
Message |
antoniovalos n00b
Joined: 24 Mar 2023 Posts: 26
|
Posted: Wed Apr 26, 2023 4:08 am Post subject: I can't use windows 10 with a samba4 domain via a router |
|
|
I installed samba4 on gentoo and configured it. I was using the router1 [192.168.100.1], and configured windows 10 with fixed IP:
[IP(192.168.100.25), mask(255.255.255.0), gateway(192.168.100.1)] dns serevr 192.168.100.1, 192.168.100.2 (this second one is the server router)
By this configuration I was not able to add the machine to the domain and login into the system, but I was able to access the shares, by using bad user configuration, or authenticating when trying to access the shares.
The second attempt I tried to do the same with router2 [192.168.1.1], and changed all IP configuration, the third place of the IPs from 1 to 100, in on the workstation configuration and in the server configuration (which is now accessible from 192.168.1.2 IP).
Doing so I was able to do all I want (join the domain, login in the machine with samba server user and access the share accordingly with the configurations)
How to find out what is avoiding me from adding the workstation to the domain, and login using the router1, in the same time I can access the shares?
Before I tried to do this, I tried the same with a windows 7 machine, which worked perfectly with the router1, the problem is only when I use the windows 10 machine. |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Wed Apr 26, 2023 9:54 am Post subject: |
|
|
Plz jist use only one router.
Also the windows machine needs to use the gentoo-samba dns.
Does your gentoo machine have a dns server like bind with SRV records?
AD domain joining needs these kind of records.
Also plz post
Did you run
Code: |
samba-tool domain provision
|
in your Gentoo machine? _________________
|
|
Back to top |
|
|
antoniovalos n00b
Joined: 24 Mar 2023 Posts: 26
|
Posted: Wed Apr 26, 2023 5:17 pm Post subject: |
|
|
I did not used two routers at the same time, but I tryed with one router, and I just wasn't able to find out the problem, I decided to try a different router, and it worked.
I don't know what is the problem.
Yes, I used domain provision.
And, the same configuration that did not work for my windows 10 machine, worked for my windows 7 machine. (I set the same parameters on both machines) |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Wed Apr 26, 2023 5:45 pm Post subject: |
|
|
Plz look for clues in
Code: |
/var/log/samba/log.smbd
|
or any other pertinent logs. both in Gentoo and Windows.
What kind of dns backend did you choose when domain-provisioning?
You should also syncronize the time of windows machine with the Gentoo machine.
Just mentioning that it works with 7 but not with 10 without trying to provide some additional info is not very helpful.
In Windows machine plz use ONLY Gentoo machine as dns server.NOT the router. _________________
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|