1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
samba-mirror/source4
Douglas Bagnall 2ad69f4bd0 getncchanges script: use library code, not copied functions.
These functions were duplicates. To be exact, the diff -ub between what
getncchanges had, and what drs_uitls now has is this:

|@@ -1,4 +1,5 @@
|-def do_DsBind(drs):
|+def drs_DsBind(drs):
|     '''make a DsBind call, returning the binding handle'''
|     bind_info = drsuapi.DsBindInfoCtr()
|     bind_info.length = 28
|@@ -32,7 +33,8 @@
|     bind_info.info.supported_extensions	|= drsuapi.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7
|     bind_info.info.supported_extensions	|= drsuapi.DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT
|     (info, handle) = drs.DsBind(misc.GUID(drsuapi.DRSUAPI_DS_BIND_GUID), bind_info)
|-    return handle
|+
|+    return (handle, info.info.supported_extensions)
|
|
| def drs_get_rodc_partial_attribute_set(samdb):
|@@ -43,7 +45,7 @@
|     attids = []
|
|     # the exact list of attids we send is quite critical. Note that
|-    # we do ask for the secret attributes, but set set SPECIAL_SECRET_PROCESSING
|+    # we do ask for the secret attributes, but set SPECIAL_SECRET_PROCESSING
|     # to zero them out
|     schema_dn = samdb.get_schema_basedn()
|     res = samdb.search(base=schema_dn, scope=ldb.SCOPE_SUBTREE,
|@@ -71,3 +73,4 @@
|     partial_attribute_set.attids         = attids
|     partial_attribute_set.num_attids = len(attids)
|     return partial_attribute_set

while the drs_utils code has changed in moving
drs_get_rodc_partial_attribute_set() out of the class.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2017-02-10 05:09:08 +01:00
..
auth gensec: Cast data for MIT Kerberos correctly 2017-01-12 15:35:12 +01:00
build/pasn1
cldap_server Avoid including libds/common/roles.h in public loadparm.h header. 2016-01-13 04:43:23 +01:00
client lib: Add "is_case_sensitive" to ms_fnmatch_protocol 2017-01-22 18:30:12 +01:00
cluster Remove callers of lp_use_ntdb 2015-03-17 11:30:51 +01:00
dns_server dnsserver_common: Add name check in name2dn 2016-12-12 05:00:19 +01:00
dsdb replmd: check for the sortedLinks feature flag 2017-02-09 03:17:16 +01:00
echo_server Avoid including libds/common/roles.h in public loadparm.h header. 2016-01-13 04:43:23 +01:00
heimdal HEIMDAL:lib/krb5: Harden _krb5_derive_key() 2016-12-20 07:51:14 +01:00
heimdal_build wscript: remove executable bits for all wscript* files 2017-01-11 20:21:01 +01:00
include lib: Remove global xfile.h includes 2016-11-20 06:23:19 +01:00
kdc mit-kdb: Remove unneeded memset() 2017-01-12 15:35:13 +01:00
ldap_server s4:ldap_server: don't use gensec_want_feature(gensec_security, GENSEC_FEATURE_{SIGN,SEAL}) as server 2016-10-26 11:20:12 +02:00
lib lib: Add lib/util/server_id.h 2017-01-22 18:30:11 +01:00
libcli wscript: remove executable bits for all wscript* files 2017-01-11 20:21:01 +01:00
libnet s4:libnet: s/highestCommitedUSN/highestCommittedUSN 2017-02-08 23:20:17 +01:00
librpc wscript: remove executable bits for all wscript* files 2017-01-11 20:21:01 +01:00
nbt_server dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
ntp_signd build: Build with system md5.h on OpenIndiana 2013-06-19 21:32:36 +02:00
ntvfs lib: Add "is_case_sensitive" to ms_fnmatch_protocol 2017-01-22 18:30:12 +01:00
param s4:param add log_level function to retrieve log level in Python code 2016-09-14 19:31:20 +02:00
rpc_server getncchanges: implement DRSUAPI_DRS_GET_ANC more correctly 2017-02-08 23:20:19 +01:00
script find_unused_macros: Remove obsolete script that finds unused macros. 2014-08-31 21:21:13 +02:00
scripting getncchanges script: use library code, not copied functions. 2017-02-10 05:09:08 +01:00
selftest samba_dsdb: Use and maintain compatibleFeatures and requiredFeatures in @SAMBA_DSDB 2017-02-09 03:17:16 +01:00
setup fix blackbox_supported_features: mkdir -p its directory 2017-02-10 05:09:08 +01:00
smb_server lib: Add lib/util/server_id.h 2017-01-22 18:30:11 +01:00
smbd rpc_server: Allow to configure the port range for RPC services 2017-01-27 08:09:15 +01:00
torture torture/drs: expand test for DRSUAPI_DRS_GET_ANC 2017-02-09 03:16:09 +01:00
utils man pages: change http://samba.org to https://www.samba.org 2016-12-09 13:10:26 +01:00
web_server python: Remove Python 2.4 support macros 2016-01-07 23:33:10 +01:00
winbind winbind4: Remove unused code 2017-01-02 18:04:13 +01:00
wrepl_server dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
.clang_complete
.valgrind_suppressions
wscript_build Do not install smbclient4 and nmblookup4 2014-04-15 03:25:13 +02:00