summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-01-03 13:36:56 +0100
committerGünther Deschner <gd@samba.org>2008-01-03 13:41:36 +0100
commit6afaafe083ad23e51743ccd5245cf7384b2c4bd9 (patch)
treedf1732dd1746ce27eb67bbdce678b8bee1fbb362 /source3/lib/netapi
parent98ae29c26a7930ad93061a07145bde19956b791d (diff)
downloadsamba-6afaafe083ad23e51743ccd5245cf7384b2c4bd9.tar.gz
samba-6afaafe083ad23e51743ccd5245cf7384b2c4bd9.tar.bz2
samba-6afaafe083ad23e51743ccd5245cf7384b2c4bd9.zip
Let DsGetDCName figure out whether domain_name is a flat_name when unjoining.
Guenther (This used to be commit 75165ba4e7acafaca42f6afd1fb8b56e00bcbed7)
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/joindomain.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/lib/netapi/joindomain.c b/source3/lib/netapi/joindomain.c
index e3d5eada02..60f48a7b5e 100644
--- a/source3/lib/netapi/joindomain.c
+++ b/source3/lib/netapi/joindomain.c
@@ -233,7 +233,6 @@ static WERROR NetUnjoinDomainLocal(struct libnetapi_ctx *mem_ctx,
struct DS_DOMAIN_CONTROLLER_INFO *info = NULL;
uint32_t flags = DS_DIRECTORY_SERVICE_REQUIRED |
DS_WRITABLE_REQUIRED |
- DS_IS_FLAT_NAME |
DS_RETURN_DNS_NAME;
if (lp_realm()) {
domain = lp_realm();