As far as i know, as of samba 4, i dont do any registry changes anymore. And thinking.. even with samba 3 i did not set these on my win 7 systems. I still have few win 7 pc's connect to samba 3.6 PDC, without registry changes. But it all depends on correct dns / dns domainname /wins settings. ( for samba also, i always use "dns proxy = yes" ) If these arent correct, then the registry hacks are needed. My home server is a "PDC" setup, but i do set the needed dns/domain/search Setting in my dhcp. Which makes dns name resolution always works. For the wiki.. well, best thing is to keep it there. Lots of home/pdc servers dont have correct dns/dhcp settings, which makes things fail. Other info also https://support.microsoft.com/en-us/kb/2171571 if you see: "Changing the Primary Domain DNS name of this computer to "" failed. The name will remain "MYDOM". The error was: The specified domain either does not exist or could not be contacted" Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Rowland Penny > Verzonden: vrijdag 2 oktober 2015 10:11 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Samba 4 PDC and Windows Join > > On 02/10/15 08:20, L.P.H. van Belle wrote: > > No, should not be needed. > > > > At least, i dont set anything these days, it just works. > > Tested with win XP => Win 10 > > > > Gr. > > Louis > > > > > >> -----Oorspronkelijk bericht----- > >> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Dario Lesca > >> Verzonden: vrijdag 2 oktober 2015 9:14 > >> Aan: Samba List > >> Onderwerp: [Samba] Samba 4 PDC and Windows Join > >> > >> If I setup a samba 4 PDC (not AD) like I do with samba 3, I still have > >> to change the follow registry key on Win 7/8/?/10 for join it to samba > >> domain ? > >> > >> > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanWorkstation\Pa > >> rameters] > >>> "DomainCompatibilityMode"=dword:00000001 > >>> "DNSNameResolutionRequired"=dword:00000000 > >>> > >>> > >> > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Netlogon\Parameters] > >>> "DisablePasswordChange"=dword:00000001 > >> Many thanks > >> > >> -- > >> Dario Lesca > >> (inviato dal mio Linux Fedora 22 con Gnome 3.16) > >> > >> > >> -- > >> To unsubscribe from this list go to the following URL and read the > >> instructions: https://lists.samba.org/mailman/options/samba > > > > > > Hi Louis, are you saying that most of this page could be deleted?: > > https://wiki.samba.org/index.php/Required_settings_for_NT4-style_domains > > Rowland > > P.S. Does nobody read the wiki? > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Il giorno ven, 02/10/2015 alle 10.37 +0200, L.P.H. van Belle ha scritto:> But it all depends on correct dns / dns domainname /wins settings.Ok, thanks. But, What do you mean with "correct dns / dns domainname /wins settings"? In my lan with a samba PDC 3.6.x now I must change the windows registry settings, the DNS/DHCP is not the PDC but the firewall. Is this the cause for which I needs to change the registry ? Anyway I have setup correct the record A and PTR of the PDC host and all LAN client for my domain. There are some other things I need to consider ? Many thanks. -- Dario Lesca (inviato dal mio Linux Fedora 22 con Gnome 3.16)
What i mean with correct settings is. Correct dhcp options / DNS settings http://www.ipamworldwide.com/dhcp-options/isc-dhcpv4-options.html Dhcp with sending dnsdomain name like test.internal.tld When a pc is joined you see in windows pcname.test.internet.tld. a "search domain " as test.internal.tld things like that. For a Samba 3.6.x Use at least. Options 6,44,46(2),119 (Optional, 3,4,40,41,42,81) You can fiddel with option 81 Read here : http://www.ipamworldwide.com/dhcp-options/fqdn-option.html And people may think why option 3(gateway) in optional, Well, only registered devices get internet access here and with proxy. With just a "dhcp ip" you cant do anything in my network. A "normal" user sets option 3 in the dhcp pool. Just make sure it works with tests below from any pc/server. And samba uses "proxy dns = yes" Ping domain.tld ( specianly with a Samba 4 ADDC domain ) Ping server.domain.tld Ping client.domain.tld Ping client Ping server Gr. Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Dario Lesca > Verzonden: zondag 4 oktober 2015 16:27 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Samba 4 PDC and Windows Join > > Il giorno ven, 02/10/2015 alle 10.37 +0200, L.P.H. van Belle ha > scritto: > > But it all depends on correct dns / dns domainname /wins settings. > Ok, thanks. > > But, What do you mean with "correct dns / dns domainname /wins > settings"? > > In my lan with a samba PDC 3.6.x now I must change the windows registry > settings, the DNS/DHCP is not the PDC but the firewall. > > Is this the cause for which I needs to change the registry ? > > Anyway I have setup correct the record A and PTR of the PDC host and > all LAN client for my domain. > > There are some other things I need to consider ? > > Many thanks. > > -- > Dario Lesca > (inviato dal mio Linux Fedora 22 con Gnome 3.16) > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Il giorno lun, 05/10/2015 alle 09.10 +0200, L.P.H. van Belle ha scritto:> LouisThanks Louis, now I go to verify and apply your suggest.... -- Dario Lesca (inviato dal mio Linux Fedora 22 con Gnome 3.16)
Il giorno lun, 05/10/2015 alle 09.10 +0200, L.P.H. van Belle ha scritto:> What i mean with correct settings is. > > Correct dhcp options / DNS settings > http://www.ipamworldwide.com/dhcp-options/isc-dhcpv4-options.html > > Dhcp with sending dnsdomain name like test.internal.tld > When a pc is joined you see in windows pcname.test.internet.tld. > a "search domain " as test.internal.tld > > things like that. > For a Samba 3.6.x > Use at least. > Options 6,44,46(2),119 > (Optional, 3,4,40,41,42,81)My DHCP server (dhcp-3.0.5-33.el5_9) do not support the 119 (search -domain) option. I have must defined it with "option domain-search code 119 = text;"> Just make sure it works with tests below from any pc/server. > And samba uses "proxy dns = yes" > > Ping domain.tld ( specianly with a Samba 4 ADDC domain )This is not possible for me (PDC Samba 3.6) The domain.tld (record @) is point to web server. How I can do in these cases ?> Ping server.domain.tld > Ping client.domain.tld > Ping client > Ping serverInstead, all this ping are correct. Thanks -- Dario Lesca (inviato dal mio Linux Fedora 22 con Gnome 3.16)
Looks all ok to me, all pings are correct. And maybe it would be a good thing to upgrade OS before installing samba 4 (You get Options 119 as of dhcp 3.1) but again all looks good to me.> The domain.tld (record @) is point to web server.No problem, just make sure your samba domain will be something like : something.domain.tld Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Dario Lesca > Verzonden: dinsdag 6 oktober 2015 18:35 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Samba 4 PDC and Windows Join > > Il giorno lun, 05/10/2015 alle 09.10 +0200, L.P.H. van Belle ha > scritto: > > What i mean with correct settings is. > > > > Correct dhcp options / DNS settings > > http://www.ipamworldwide.com/dhcp-options/isc-dhcpv4-options.html > > > > Dhcp with sending dnsdomain name like test.internal.tld > > When a pc is joined you see in windows pcname.test.internet.tld. > > a "search domain " as test.internal.tld > > > > things like that. > > For a Samba 3.6.x > > Use at least. > > Options 6,44,46(2),119 > > (Optional, 3,4,40,41,42,81) > > My DHCP server (dhcp-3.0.5-33.el5_9) do not support the 119 (search > -domain) option. > I have must defined it with "option domain-search code 119 = text;" > > > Just make sure it works with tests below from any pc/server. > > And samba uses "proxy dns = yes" > > > > Ping domain.tld ( specianly with a Samba 4 ADDC domain ) > This is not possible for me (PDC Samba 3.6) > The domain.tld (record @) is point to web server. > > How I can do in these cases ? > > > Ping server.domain.tld > > Ping client.domain.tld > > Ping client > > Ping server > Instead, all this ping are correct. > > Thanks > > -- > Dario Lesca > (inviato dal mio Linux Fedora 22 con Gnome 3.16) > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Seemingly Similar Threads
- Samba 4 PDC and Windows Join
- After update from 3.5.x to 3.6.23 all printers configured in CUPS they are no longer shared
- CentOS8 and proftpd with quota file module enable
- Offical RHEL AD DC on RHEL
- After update from 3.5.x to 3.6.23 all printers configured in CUPS they are no longer shared