git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7262b5
)
s4-cldap: we should set the w2k8 flags even if not the PDC emulator
author
Andrew Tridgell
<tridge@samba.org>
Thu, 22 Apr 2010 07:53:25 +0000
(17:53 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 22 Apr 2010 09:36:17 +0000
(19:36 +1000)
these two tests are independent
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/cldap_server/netlogon.c
patch
|
blob
|
history
diff --git
a/source4/cldap_server/netlogon.c
b/source4/cldap_server/netlogon.c
index 139c1cafdcac45aefd70612b5f40b8b47db327bc..8f445d01a654f5a4f9264ad9d597ff588fe8d330 100644
(file)
--- a/
source4/cldap_server/netlogon.c
+++ b/
source4/cldap_server/netlogon.c
@@
-226,9
+226,10
@@
NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx,
if (samdb_is_pdc(sam_ctx)) {
server_type |= DS_SERVER_PDC;
- if (dsdb_functional_level(sam_ctx) >= DS_DOMAIN_FUNCTION_2008) {
- server_type |= DS_SERVER_FULL_SECRET_DOMAIN_6;
- }
+ }
+
+ if (dsdb_functional_level(sam_ctx) >= DS_DOMAIN_FUNCTION_2008) {
+ server_type |= DS_SERVER_FULL_SECRET_DOMAIN_6;
}
if (samdb_is_gc(sam_ctx)) {