Broken box was ./samba-tool vampire broken?

Zahari Zahariev zahari.zahariev at gmail.com
Sun Nov 7 00:54:46 MDT 2010


Hi Magnus,

There is a change in the samba-tool concerning vampire. It has been
rewritten in python and called with syntax 'samba-tool join <REALM> DC
-Uadministrator%xxxxx' but it has some problems now if u do not have
realm in the smb.conf (against win2008).

Cheers!

On 11/6/10, Magnus Benngård <magnus.b at inputinterior.se> wrote:
> I guess this not actuallay a Samba4 question any more, but I would glad if
> any smarter than me can help me.
> Had some time over today so i "went back" to my old box that couldn't
> "vampire".
> Yesterday I "vampired" another box and did write up exactly what I did so i
> wouldn't forget any step.
> Did a "rm -r /usr/src/samba-master and rm -r /usr/local/samba" and started
> from sctrach.
>
> aptitude update
> aptitude full-upgrade
> apt-get install build-essential libattr1-dev libblkid-dev libgnutls-dev
> libreadline5-dev python-dev autoconf python-dnspython gdb lpr git-core bind9
> aptitude psmisc krb5-user ntp dnsutils
>
> vi /etc/ntp.conf
> server ntp1.gbg.netnod.se iburst dynamic
> server ntp1.gbg.netnod.se iburst dynamic
>
> cd /usr/src
> git clone git://git.samba.org/samba.git samba-master
> cd samba-master/source4
> ./autogen.sh
> ./configure.developer
> make
> make quicktest
> make install
> cd /usr/local/samba/bin/
> ./samba-tool vampire
> inputinterior.se -Uadministrator --realm=inputinterior.se --force
> (saw that I was supposed to use "join" but was unsure about the syntax)
> Password for [INPUTINTERIOR.SE\administrator]:
> Aborted
>
> but
>
> kinit
> Password for administrator at INPUTINTERIOR.SE:
> Warning: Your password will expire in 25 days on Thu 02 Dec 2010 06:48:32 AM
> CET
>
> Then I tried another box with the same "run", "vampired" without any problem
> Right know I have "vampired" 7 boxes with the same "run" all with real
> users.
>
> It must be something in the box that that is broken but i cant figure out
> what. :(
>
> Hi Magnus,
>
> I run local replication/vampire buildfarm by the hour with Samba4,
> Win2003, Win2008(32/64bit) and dcpromo on Win2008. I have not seen any
> problems and all environments work fine.
>
> I have just noticed changes in samba-tool vampire output screen log
> messages. Other than this both Andrews are doing some Ldb library move
> that triggers initialization errors during vampire.
>
> Hope this hepls.
>
> On 11/3/10 11:56 AM, Magnus Benngård wrote:
>> Have a “master” box, dc.inputinterior.se up and running.
>> Did setup a new box sto-dc.sto.inputinterior.se either on Oktober 30 or 31
>>
>> with git clone git://git.samba.org/samba.git samba-master and
>> Did all the normal dns stuff and then, ./samba-tool vampire
>> inputinterior.se -Uadministrator --realm=inputinterior.se started samba,
>> np.
>> Created some users on dc.inputinterior.se, ofc they “showed up” on
>> sto-dc.sto.inputinterior.se after some minutes.
>>
>> It worked so well so i did setup a third box, hel-dc.hel.inputinterior.se
>> today, same build procedure but when i did:
>> ./samba-tool vampire
>> inputinterior.se -Uadministrator --realm=inputinterior.se
>> Password for [INPUTINTERIOR.SE\administrator]:
>> Aborted
>>
>> Ofc i could have done something different, but is it possible that there
>> have been some code changes the last days?
>> Or can any give me an idea where I should look for config/build faults?
>>
>> /Magnus
>
>

-- 
Sent from my mobile device


More information about the samba-technical mailing list