summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-06-21 21:40:15 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-06-23 20:10:06 +1000
commitd0f52ddac23a0b1af3718627af00469ae13ab762 (patch)
tree9af2c5993f1ffe865ab51a8dd5bf648027d506e6 /source4/libnet
parentb26125b7d3242895038065ddece32554436ba474 (diff)
downloadsamba-d0f52ddac23a0b1af3718627af00469ae13ab762.tar.gz
samba-d0f52ddac23a0b1af3718627af00469ae13ab762.tar.bz2
samba-d0f52ddac23a0b1af3718627af00469ae13ab762.zip
s4:provision Raise default max functional level to 2008R2
We don't support many of the extra features, but that applies across many other parts of AD. Allow the admin to join a 2008R2 domain if he or she wants. This also makes it possible to test 2008R2 domain code in 'make test' Andrew Bartlett
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_become_dc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libnet/libnet_become_dc.c b/source4/libnet/libnet_become_dc.c
index 25a216524e..833f5d3bd6 100644
--- a/source4/libnet/libnet_become_dc.c
+++ b/source4/libnet/libnet_become_dc.c
@@ -739,9 +739,9 @@ struct libnet_BecomeDC_state {
static int32_t get_dc_function_level(struct loadparm_context *lp_ctx)
{
- /* per default we are (Windows) 2008 compatible */
+ /* per default we are (Windows) 2008 R2 compatible */
return lp_parm_int(lp_ctx, NULL, "ads", "dc function level",
- DS_DOMAIN_FUNCTION_2008);
+ DS_DOMAIN_FUNCTION_2008_R2);
}
static void becomeDC_recv_cldap(struct tevent_req *req);