r20142: only the DDNS updates are missing for the full libnet_BecomeDC(),
authorStefan Metzmacher <metze@samba.org>
Tue, 12 Dec 2006 22:57:43 +0000 (22:57 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:29:14 +0000 (14:29 -0500)
but that's not needed untill we can support the DsGetNCChanges()
in the server...

metze
(This used to be commit 9c3267e17f984a0a47abd35cecb56c43cf97efcd)

source4/libnet/libnet_become_dc.c

index 92874dbf0518977825fe0d6b0f10f339dc28dad0..8f39f1134aeb4ef3ef9b1a9fcc68694b8b85333b 100644 (file)
@@ -1951,7 +1951,8 @@ static void becomeDC_drsuapi2_update_refs_domain_recv(struct rpc_request *req)
 
        talloc_free(r);
 
-       composite_error(c, NT_STATUS_NOT_IMPLEMENTED);
+       /* TODO: use DDNS updates and register dns names */
+       composite_done(c);
 }
 
 static NTSTATUS becomeDC_ldap2_modify_computer(struct libnet_BecomeDC_state *s)