[Samba] Samba4 join existing domain

Andrew Bartlett abartlet at samba.org
Sun Mar 21 01:14:02 MDT 2010


On Wed, 2010-03-17 at 12:05 +0100, Andreas Jacobi wrote:
> Hello,
> 
> I get this error message when i try to join my Samba4 server to an existing
> domain:
> 
> """
> >./net vampire domain.local -Uadmin --realm=domain.local
> Password for [WORKGROUP\admin]:
> Become DC [(null)] of Domain[DOMAIN]/[domain.local]
> Promotion Partner is Server[dc1.domain.local] from
> Site[Default-First-Site-Name]
> Options:crossRef behavior_version[2]
>             schema object_version[30]
>             domain behavior_version[2]
>             domain w2k3_update_revision[8]
> Failed to bind uuid "uuid-number" - NT_STATUS_INVALID_PARAMETER
> libnet_BecomeDC() failed - NT_STATUS_INVALID_PARAMETER
> Vampire of domain failed: NT_STATUS_INVALID_PARAMETER
> return code = -1
> """
> 
> The primary DC is a Windows Server 2003 and it also acts as DNS server.
> 
> What could be the cause of this? Has it something to do with me using
> Windows as DNS server?

I think that you don't have your /etc/krb5.conf set up correctly.
Ensure that:

[libdefaults]
 default_realm = DOMAIN.LOCAL
 dns_lookup_realm = true
 dns_lookup_kdc = true

is set, and then try a 'kinit administrator' to check that this works
first. 

Also perhaps turn up the debug level (add -d3 for example). 

Andrew Bartlett
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba/attachments/20100321/bdae1110/attachment.pgp>


More information about the samba mailing list