summaryrefslogtreecommitdiff
path: root/source/libnet/libnet_join.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-11-21 08:22:38 +0100
committerKarolin Seeger <kseeger@samba.org>2009-01-28 09:39:45 +0100
commita1cc47dd574cc890e66e3b900beb14dac75d6b2f (patch)
treef37f53fee1cd9d04a09d736c12ed1811e0840a6c /source/libnet/libnet_join.c
parent43f09acc77d0c22eac5130f224441653bf0d94ce (diff)
downloadsamba-a1cc47dd574cc890e66e3b900beb14dac75d6b2f.tar.gz
s3:libnet_join: use DS_FORCE_REDISCOVERY
metze (cherry picked from commit 2bb91392b46e347fe3b6803d10b10d8b40e4a4a6) (cherry picked from commit 134893ef2b12b4b039c717588a8172613f6d1955) (cherry picked from commit 9838de125505fdff18014d72ebe9816176a610f9)
Diffstat (limited to 'source/libnet/libnet_join.c')
-rw-r--r--source/libnet/libnet_join.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/libnet/libnet_join.c b/source/libnet/libnet_join.c
index 3eed11e006d..e7302b43f3e 100644
--- a/source/libnet/libnet_join.c
+++ b/source/libnet/libnet_join.c
@@ -1660,6 +1660,7 @@ static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx,
r->in.domain_name,
NULL,
NULL,
+ DS_FORCE_REDISCOVERY |
DS_DIRECTORY_SERVICE_REQUIRED |
DS_WRITABLE_REQUIRED |
DS_RETURN_DNS_NAME,