diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-01-07 03:14:51 -0600 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-01-06 21:21:02 -0600 |
commit | 97273d37fcdcfcb78d5b05bbafd7b2f543d01156 (patch) | |
tree | 8f6b2e285cbc0e3777503406721b5c0b38660611 | |
parent | 654282b885bac0666e2c9add43df2dd9a6ca0c6f (diff) | |
download | samba-97273d37fcdcfcb78d5b05bbafd7b2f543d01156.tar.gz samba-97273d37fcdcfcb78d5b05bbafd7b2f543d01156.tar.bz2 samba-97273d37fcdcfcb78d5b05bbafd7b2f543d01156.zip |
r26681: Use fewer magic numbers.
Andrew Bartlett
(This used to be commit 16edbe1d607390227652ee97a000da98c696c735)
-rw-r--r-- | source4/cldap_server/netlogon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/cldap_server/netlogon.c b/source4/cldap_server/netlogon.c index 3493e342d6..32a71e43af 100644 --- a/source4/cldap_server/netlogon.c +++ b/source4/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; |