Replication woes

Bernd Markgraf bernd.markgraf at med.ovgu.de
Fri May 14 07:10:28 MDT 2010


Hi,

a while back I tried to add a second Samba4 box as backup DC and failed.
Using a recent (yesterday) git clone I tried and failed again.
./sbin/samba -V
Version 4.0.0alpha12-GIT-895b99f

the last few lines from
./bin/net vampire dzne.uni-magdeburg.de -U administrator -d 5 \
--realm=DZNE.UNI-MAGDEBURG.DE --target=/opt/samba

ldb_wrap open of ldap://KAUAI
ldb: start ldb transaction (nesting: 0)
ldb: commit ldb transaction (nesting: 0)
CLDAP response: forest=dzne.uni-magdeburg.de dns=dzne.uni-magdeburg.de
netbios=DZNE server_site=Default-First-Site-Name
client_site=Default-First-Site-Name
added interface ip=149.203.231.102 nmask=255.255.255.0
added interface ip=192.168.56.1 nmask=255.255.255.0
added interface ip=149.203.231.102 nmask=255.255.255.0
added interface ip=192.168.56.1 nmask=255.255.255.0
Starting GENSEC mechanism spnego
Starting GENSEC submechanism gssapi_krb5
Received smb_krb5 packet of length 295
Received smb_krb5 packet of length 1381
gensec_gssapi: credentials were delegated
GSSAPI Connection will have no cryptographic protection
ldb: No modules specified for this database
ldb_wrap open of ldap://kauai.dzne.uni-magdeburg.de/
Become DC [(NULL)] of Domain[DZNE]/[dzne.uni-magdeburg.de]
Promotion Partner is Server[kauai.dzne.uni-magdeburg.de] from
Site[Default-First-Site-Name]
Options:crossRef behavior_version[2]
        schema object_version[47]
        domain behavior_version[2]
        domain w2k3_update_revision[8]
ldb: start ldb transaction (nesting: 0)
ldb: cancel ldb transaction (nesting: 0)
ldb: start ldb transaction (nesting: 0)
ldb: commit ldb transaction (nesting: 0)
Mapped to DCERPC endpoint 135
added interface ip=149.203.231.102 nmask=255.255.255.0
added interface ip=149.203.231.102 nmask=255.255.255.0
Mapped to DCERPC endpoint 1024
added interface ip=149.203.231.102 nmask=255.255.255.0
added interface ip=149.203.231.102 nmask=255.255.255.0
Starting GENSEC mechanism gssapi_krb5
Received smb_krb5 packet of length 295
Received smb_krb5 packet of length 1381
gensec_gssapi: credentials were delegated
GSSAPI Connection will be cryptographicly sealed
libnet_BecomeDC() failed - NT code 0xc00020ee
Traceback (most recent call last):
  File
"/opt/samba/lib/python2.4/site-packages/samba/netcmd/__init__.py", line
99, in _run
    return self.run(*args, **kwargs)
  File "/opt/samba/lib/python2.4/site-packages/samba/netcmd/vampire.py",
line 51, in run
    (domain_name, domain_sid) = net.vampire(domain=domain,
target_dir=target_dir)
RuntimeError: NT code 0xc00020ee

Both primary and supposed secondary are running Samba4 on Solaris10.
With some help I got to remove the faulty DC entry from the config.

As a comparison I setup up a linux box with the same git checkout, same
build options, and same options to vampire. That seems to have worked. 

Where do I poke to find out why it fails on a Solaris box? 

 Bernd

p.s. Why is the build output now mainly green? 



More information about the samba-technical mailing list