From 16edbe1d607390227652ee97a000da98c696c735 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 7 Jan 2008 03:14:51 -0600 Subject: [PATCH] r26681: Use fewer magic numbers. Andrew Bartlett --- source/cldap_server/netlogon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/cldap_server/netlogon.c b/source/cldap_server/netlogon.c index 3493e342d63..32a71e43afb 100644 --- a/source/cldap_server/netlogon.c +++ b/source/cldap_server/netlogon.c @@ -230,7 +230,7 @@ static NTSTATUS cldapd_netlogon_fill(struct cldapd_server *cldapd, case 5: case 6: case 7: - netlogon->logon5.type = (user?23+2:23); + netlogon->logon5.type = (user?NETLOGON_RESPONSE_FROM_PDC_USER:NETLOGON_RESPONSE_FROM_PDC2); netlogon->logon5.server_type = server_type; netlogon->logon5.domain_uuid = domain_uuid; netlogon->logon5.forest = realm; @@ -245,7 +245,7 @@ static NTSTATUS cldapd_netlogon_fill(struct cldapd_server *cldapd, netlogon->logon5.lm20_token = 0xFFFF; break; default: - netlogon->logon13.type = (user?23+2:23); + netlogon->logon13.type = (user?NETLOGON_RESPONSE_FROM_PDC_USER:NETLOGON_RESPONSE_FROM_PDC2); netlogon->logon13.server_type = server_type; netlogon->logon13.domain_uuid = domain_uuid; netlogon->logon13.forest = realm;