summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-08-17 09:59:18 +1000
committerAndrew Tridgell <tridge@samba.org>2010-08-17 21:21:49 +1000
commit191d632e237761004fe0fe79a29a7274b7267d45 (patch)
tree311b783e35f9344b69417c9796541d4b6a174d9e /source4/libcli
parentdcd9fcc7b395cc2babfa89aa26163e43186ad669 (diff)
downloadsamba-191d632e237761004fe0fe79a29a7274b7267d45.tar.gz
samba-191d632e237761004fe0fe79a29a7274b7267d45.tar.bz2
samba-191d632e237761004fe0fe79a29a7274b7267d45.zip
s4-dsdb: added support for LDB_CONTROL_RODC_DCPROMO_OID
this control adds a unique msDS-SecondaryKrbTgtNumber attribute to a user object. There is some 'interesting' interaction with the rangeLower and rangeUpper attributes and this add. We don't implementat rangeLower/rangeUpper yet, but when we do we'll need an override for this control (or be careful about module ordering). Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/ldap/ldap_controls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/ldap/ldap_controls.c b/source4/libcli/ldap/ldap_controls.c
index 0250c04012..5244975dfc 100644
--- a/source4/libcli/ldap/ldap_controls.c
+++ b/source4/libcli/ldap/ldap_controls.c
@@ -1170,6 +1170,7 @@ static const struct ldap_control_handler ldap_known_controls[] = {
{ "1.3.6.1.4.1.7165.4.4.1", NULL, NULL },
{ DSDB_OPENLDAP_DEREFERENCE_CONTROL, decode_openldap_dereference, encode_openldap_dereference},
{ LDB_CONTROL_RELAX_OID, decode_flag_request, encode_flag_request },
+ { LDB_CONTROL_RODC_DCPROMO_OID, decode_flag_request, encode_flag_request },
{ NULL, NULL, NULL }
};