summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-12-14 10:07:17 +1100
committerAmitay Isaacs <amitay@samba.org>2011-12-14 07:31:05 +0100
commit010d6003e323e57de16ec1f5b1c86bc5ed4bec95 (patch)
tree702f4a72a129babd9160fda1243b5aad97692c04
parenta4ab152a05cafc443556c854a45aa025f8e4fc5d (diff)
downloadsamba-010d6003e323e57de16ec1f5b1c86bc5ed4bec95.tar.gz
samba-010d6003e323e57de16ec1f5b1c86bc5ed4bec95.tar.bz2
samba-010d6003e323e57de16ec1f5b1c86bc5ed4bec95.zip
s4-netlogon: Revert patch f02e4ebfafa6e5911e3fe744b1780527ab12c970
DS_DNS_CONTROLLER bit is set if DC's domain name is dns name. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Dec 14 07:31:05 CET 2011 on sn-devel-104
-rw-r--r--source4/cldap_server/netlogon.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source4/cldap_server/netlogon.c b/source4/cldap_server/netlogon.c
index e9ec0745f4..9d9f45e8bb 100644
--- a/source4/cldap_server/netlogon.c
+++ b/source4/cldap_server/netlogon.c
@@ -61,7 +61,6 @@ NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx,
struct ldb_result *dom_res = NULL, *user_res = NULL;
int ret;
const char **services = lpcfg_server_services(lp_ctx);
- const char **rpc_services = lpcfg_dcerpc_endpoint_servers(lp_ctx);
uint32_t server_type;
const char *pdc_name;
struct GUID domain_uuid;
@@ -247,10 +246,6 @@ NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx,
server_type |= DS_SERVER_KDC;
}
- if (str_list_check(rpc_services, "dnsserver")) {
- server_type |= DS_DNS_CONTROLLER;
- }
-
if (samdb_rodc(sam_ctx, &am_rodc) == LDB_SUCCESS && !am_rodc) {
server_type |= DS_SERVER_WRITABLE;
}