Sam
2015-Mar-17 14:00 UTC
[Samba] migrate from win2012srv to samba 4.1.17-Sernet-Debian-9.wheezy
Hello, I'm trying to join a debian/samba4 to a win 2012 srv with this scripts : https://secure.bazuin.nl/scripts/this_is_the_old_set_of_scripts/ ( the join method is available only on "this_is_the_old_set_of_scripts") I'm facing different problems with the dns (bind9) My question is : in 2-setup-sernet-samba4-ADDC-wheezy-JOIN-DC.sh script, What value should I put for SETIPDC1 under BIND9/DNS related settings? Is it the windows 2012 server ip or the new samba4 ip? I'm asking this because in this script, we can read : ## the ip of DC1 should match the hostname above. ( which is set by default at ## hostname in single word, but you dont need to change this SETHOSTNAME=`hostname -s`) and we can read more down : ## Put here the IP of the first DC you installed. SETIPDC1SETIPDC2 Just a bit strange, so I would like to be sure for put these value correctly... Thanks! :)
Rowland Penny
2015-Mar-17 14:14 UTC
[Samba] migrate from win2012srv to samba 4.1.17-Sernet-Debian-9.wheezy
On 17/03/15 14:00, Sam wrote:> Hello, > > I'm trying to join a debian/samba4 to a win 2012 srv with this scripts > : https://secure.bazuin.nl/scripts/this_is_the_old_set_of_scripts/ > ( the join method is available only on "this_is_the_old_set_of_scripts") > I'm facing different problems with the dns (bind9) > > My question is : > in 2-setup-sernet-samba4-ADDC-wheezy-JOIN-DC.sh script, What value > should I put for SETIPDC1 under BIND9/DNS related settings? Is it the > windows 2012 server ip or the new samba4 ip? > I'm asking this because in this script, we can read : > ## the ip of DC1 should match the hostname above. ( which is set by > default at > ## hostname in single word, but you dont need to change this > SETHOSTNAME=`hostname -s`) > and we can read more down : > ## Put here the IP of the first DC you installed. > SETIPDC1> SETIPDC2> > Just a bit strange, so I would like to be sure for put these value > correctly... > > Thanks! :) > >It says '## Put here the IP of the first DC you installed' it may better put as ' ## Put here the IP of the DC with the PDC FSMO.' Which in your case would be the windows DC. Rowland
Marc Muehlfeld
2015-Mar-17 14:35 UTC
[Samba] migrate from win2012srv to samba 4.1.17-Sernet-Debian-9.wheezy
Hello Sam, Am 17.03.2015 um 15:00 schrieb Sam:> I'm trying to join a debian/samba4 to a win 2012 srv with this scripts : > https://secure.bazuin.nl/scripts/this_is_the_old_set_of_scripts/ > ( the join method is available only on "this_is_the_old_set_of_scripts") > I'm facing different problems with the dns (bind9) > > My question is : > in 2-setup-sernet-samba4-ADDC-wheezy-JOIN-DC.sh script, What value > should I put for SETIPDC1 under BIND9/DNS related settings? Is it the > windows 2012 server ip or the new samba4 ip? > I'm asking this because in this script, we can read : > ## the ip of DC1 should match the hostname above. ( which is set by > default at > ## hostname in single word, but you dont need to change this > SETHOSTNAME=`hostname -s`) > and we can read more down : > ## Put here the IP of the first DC you installed. > SETIPDC1> SETIPDC2You can't join a Samba DC to a AD forest, that has a AD schema newer than 2008R2. Samba doesn't support the later schemas at the moment. Regards, Marc
Sam
2015-Mar-17 15:07 UTC
[Samba] migrate from win2012srv to samba 4.1.17-Sernet-Debian-9.wheezy
I just go down in the script and found an acl called "thisserverip"
with
value SETIPPDC1.
And this variable is used for this line :
listen-on port 53 {"thisserverip", 127.0.0.1; ];
Is it not strange that the pdc1 windows server Ip is coming here?
Thanks.
Sam
Le 17/03/2015 15:14, Rowland Penny a ?crit :> On 17/03/15 14:00, Sam wrote:
>> Hello,
>>
>> I'm trying to join a debian/samba4 to a win 2012 srv with this
>> scripts :
>> https://secure.bazuin.nl/scripts/this_is_the_old_set_of_scripts/
>> ( the join method is available only on
"this_is_the_old_set_of_scripts")
>> I'm facing different problems with the dns (bind9)
>>
>> My question is :
>> in 2-setup-sernet-samba4-ADDC-wheezy-JOIN-DC.sh script, What value
>> should I put for SETIPDC1 under BIND9/DNS related settings? Is it the
>> windows 2012 server ip or the new samba4 ip?
>> I'm asking this because in this script, we can read :
>> ## the ip of DC1 should match the hostname above. ( which is set by
>> default at
>> ## hostname in single word, but you dont need to change this
>> SETHOSTNAME=`hostname -s`)
>> and we can read more down :
>> ## Put here the IP of the first DC you installed.
>> SETIPDC1>> SETIPDC2>>
>> Just a bit strange, so I would like to be sure for put these value
>> correctly...
>>
>> Thanks! :)
>>
>>
> It says '## Put here the IP of the first DC you installed' it may
> better put as ' ## Put here the IP of the DC with the PDC FSMO.'
> Which in your case would be the windows DC.
>
> Rowland
>
Marc Muehlfeld
2015-Mar-17 18:18 UTC
[Samba] migrate from win2012srv to samba 4.1.17-Sernet-Debian-9.wheezy
Am 17.03.2015 um 15:59 schrieb Sam:> I have read about it but I try to do that : > https://lists.samba.org/archive/samba/2013-May/173079.html > unfortunately there is not a lot of details on how to do > accurately...:-\ > The actual forest and domain level on the 2012 is still on 2008R2...Can you check, what schema version you're having: http://eightwone.com/references/ad-schema-versions/ Regards, Marc
Maybe Matching Threads
- migrate from win2012srv to samba 4.1.17-Sernet-Debian-9.wheezy
- migrate from win2012srv to samba 4.1.17-Sernet-Debian-9.wheezy
- migrate from win2012srv to samba 4.1.17-Sernet-Debian-9.wheezy
- migrate from win2012srv to samba 4.1.17-Sernet-Debian-9.wheezy
- Samba 4.11.0RC1 replication with Windows2012R2 ?