[Samba] migrate from win2012srv to samba 4.1.17-Sernet-Debian-9.wheezy

Rowland Penny rowlandpenny at googlemail.com
Tue Mar 17 08:14:36 MDT 2015

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.
> 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.


More information about the samba mailing list