summaryrefslogtreecommitdiff
path: root/source4/cldap_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-15 21:32:01 +0200
committerGünther Deschner <gd@samba.org>2008-10-15 21:44:39 +0200
commitd2424914889d3b68b25f298b4d02b8c28a2b3cd0 (patch)
treef3c10431bb21dab7abeda3e8c77df22bd7b2338f /source4/cldap_server
parente9e12460217e421e44715b603ddbf57e5a889def (diff)
downloadsamba-d2424914889d3b68b25f298b4d02b8c28a2b3cd0.tar.gz
samba-d2424914889d3b68b25f298b4d02b8c28a2b3cd0.tar.bz2
samba-d2424914889d3b68b25f298b4d02b8c28a2b3cd0.zip
idl: finally fully share nbt.idl in s3 and s4.
Guenther
Diffstat (limited to 'source4/cldap_server')
-rw-r--r--source4/cldap_server/netlogon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/cldap_server/netlogon.c b/source4/cldap_server/netlogon.c
index cc2c69b27e..3c12954c31 100644
--- a/source4/cldap_server/netlogon.c
+++ b/source4/cldap_server/netlogon.c
@@ -282,8 +282,8 @@ NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx,
server_type =
NBT_SERVER_DS | NBT_SERVER_TIMESERV |
NBT_SERVER_CLOSEST | NBT_SERVER_WRITABLE |
- NBT_SERVER_GOOD_TIMESERV | NBT_SERVER_DS_DNS_CONTR |
- NBT_SERVER_DS_DNS_DOMAIN;
+ NBT_SERVER_GOOD_TIMESERV | DS_DNS_CONTROLLER |
+ DS_DNS_DOMAIN;
if (samdb_is_pdc(sam_ctx)) {
server_type |= NBT_SERVER_PDC;
@@ -302,7 +302,7 @@ NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx,
}
if (ldb_dn_compare(ldb_get_root_basedn(sam_ctx), ldb_get_default_basedn(sam_ctx)) == 0) {
- server_type |= NBT_SERVER_DS_DNS_FOREST;
+ server_type |= DS_DNS_FOREST;
}
pdc_name = talloc_asprintf(mem_ctx, "\\\\%s", lp_netbios_name(lp_ctx));