s3:libnet_join: use DS_FORCE_REDISCOVERY
authorStefan Metzmacher <metze@samba.org>
Fri, 21 Nov 2008 07:22:38 +0000 (08:22 +0100)
committerStefan Metzmacher <metze@samba.org>
Sat, 13 Dec 2008 10:42:37 +0000 (11:42 +0100)
metze

source3/libnet/libnet_join.c

index fb8bc1948fdc7c61d4192212141d74bee0abee56..691f6ff8ebb7038d57b8373e6d49385c8c687a51 100644 (file)
@@ -1755,6 +1755,7 @@ static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx,
                                     r->in.domain_name,
                                     NULL,
                                     NULL,
                                     r->in.domain_name,
                                     NULL,
                                     NULL,
+                                    DS_FORCE_REDISCOVERY |
                                     DS_DIRECTORY_SERVICE_REQUIRED |
                                     DS_WRITABLE_REQUIRED |
                                     DS_RETURN_DNS_NAME,
                                     DS_DIRECTORY_SERVICE_REQUIRED |
                                     DS_WRITABLE_REQUIRED |
                                     DS_RETURN_DNS_NAME,