summaryrefslogtreecommitdiff
path: root/source4/libnet
AgeCommit message (Collapse)AuthorFilesLines
2011-11-26s4:libnet/py_net.c: "py_net_finddc" - add an "address" parameterMatthias Dieter Wallnöfer1-7/+15
This is useful for a new "samba-tool domain info" command. Patch inspired by Matthieu Patou. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-26s4:libnet/py_net.c - initialise optional keyword argumentsMatthias Dieter Wallnöfer1-1/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-15s4:libnet_vampire: setup base_dn on the self_made_schemaStefan Metzmacher1-0/+5
metze
2011-11-15s4:libnet_vampire: use dsdb_modify(..., DSDB_FLAG_AS_SYSTEM) to store prefixMapStefan Metzmacher1-1/+1
metze
2011-11-15s4:param/provision: pass schema_dn to provision_get_schema()Stefan Metzmacher1-1/+3
metze
2011-11-15s4:libnet: initialize forest structure in py_net_replicate_init()Stefan Metzmacher1-0/+3
metze
2011-11-01s4-vampire: Fix the output of fetched object for the schema-dnMatthieu Patou1-2/+8
2011-10-10libcli/cldap: don't pass tevent_context to cldap_socket_init()Stefan Metzmacher3-5/+3
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 10 23:23:07 CEST 2011 on sn-devel-104
2011-10-10libcli/cldap: pass tevent_context to cldap_netlogon_send()Stefan Metzmacher2-2/+4
metze
2011-10-04s4-dsdb: update callers to dsdb_convert_object_ex()Andrew Tridgell1-0/+3
2011-09-19s4:libnet/py_net.c - fix up includes (in order to find all "struct"s)Matthias Dieter Wallnöfer1-3/+2
Reviewed-by: Jelmer
2011-08-25s4-libnet: fixed forest DNS nameAndrew Tridgell2-2/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-18credentials: Rename library to samba-credentials to avoid name clashes.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Aug 18 22:16:38 CEST 2011 on sn-devel-104
2011-08-12s4:libnet_vampire: don't keep the replication state if ↵Stefan Metzmacher1-0/+30
DRSUAPI_DRS_CRITICAL_ONLY was used In that case we have incomplete information and need to start from 0 in the next run. metze Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-12s4:libnet: passdown the DsGetNCChangesReq* to the libnet_BecomeDC_StoreChunk ↵Stefan Metzmacher3-4/+72
handler metze Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-10pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij1-4/+5
2011-08-08s4:py_net: PyArg_ParseTuple("i") requires an 'int' argumentStefan Metzmacher1-1/+4
If we pass variable references we don't get implicit casting! metze
2011-08-07pyldb: Consistently use pyldb_ prefix.Jelmer Vernooij1-1/+1
2011-08-03gensec: clarify memory ownership for gensec_session_info() and ↵Andrew Bartlett2-0/+4
gensec_session_key() This is slightly less efficient, because we no longer keep a cache on the gensec structures, but much clearer in terms of memory ownership. Both gensec_session_info() and gensec_session_key() now take a mem_ctx and put the result only on that context. Some duplication of memory in the callers (who were rightly uncertain about who was the rightful owner of the returned memory) has been removed to compensate for the internal copy. Andrew Bartlett
2011-08-03gensec: split GENSEC into mechanism-dependent and runtime functionsAndrew Bartlett1-0/+1
The startup and runtime functions that have no dependencies are moved into the top level. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28s4-libnet: py_net Add change_password() python commandAmitay Isaacs1-0/+53
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28s4-libnet: py_net - Remove parsing for credentials argumentAmitay Isaacs1-5/+6
py_creds are not used anywhere in the function. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-26cli_composite: Lowercase name.Jelmer Vernooij1-1/+1
2011-07-26cli_cldap: Lowercase name.Jelmer Vernooij1-1/+1
2011-06-20libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett3-3/+3
The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
2011-06-09s4:libnet/libnet_rpc.c - quiet an enum warningMatthias Dieter Wallnöfer1-0/+4
Other enum types have been checked before. Reviewed-by: Tridge
2011-06-06s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett1-1/+1
Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
2011-05-18s4-libnet: Remove libnet_Join and create libnet_Join_memberAndrew Bartlett3-41/+14
libnet_Join conflicts with a function in the source3 netapi of the same name, and the ability to join as a DC via this particular method is unused. Andrew Bartlett
2011-05-03s4-libcli Remove resolve_name() as it conflicts with Samba3.Andrew Bartlett1-1/+3
This was just a wrapper around resolve_name_ex(), so just call that instead. Andrew Bartlett
2011-04-04s4-libnet: honour convention of DEBUGLEVEL>=10 for NDR printAndrew Tridgell2-0/+16
2011-03-29Ensure convert_string_XXX is always called with a valid converted_size pointer.Jeremy Allison1-1/+2
Preparation for cleaning up this API. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 29 21:01:49 CEST 2011 on sn-devel-104
2011-03-25lib/util/charset rename iconv_convenience to iconv_handleAndrew Bartlett1-1/+1
This better reflects what this structure is Andrew Bartlett
2011-03-24charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell1-1/+1
convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
2011-03-04s4/ldb - remove now superflous "ldb_dn_validate" checksMatthias Dieter Wallnöfer1-1/+1
If we immediately afterwards perform an LDB base operation then we don't need an explicit "ldb_dn_validate" check anymore (only OOM makes sense). Reviewed by: Tridge
2011-03-04s4:libnet/libnet_site.c - make use of LDB return constantsMatthias Dieter Wallnöfer1-6/+6
Reviewed by: Tridge
2011-03-01s4:libnet/libnet_samsync_ldb.c - add a "samdb_msg_add_string" wrapperMatthias Dieter Wallnöfer1-0/+8
Add this in order to allow the "ADD_OR_DEL" macros to work. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-03-01s4:remove many invocations of "samdb_msg_add_string"Matthias Dieter Wallnöfer1-14/+8
This call can be substituted by "ldb_msg_add_string". We only need to be careful on local objects or talloc'ed ones which live shorter than the message. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-03-01s4-libnet_vampire: Ignore some attributes when building working schema cacheKamen Mazdrashki1-0/+9
Working schema cache will be used to convert replicated Schema objects again later, i.e. used as reference, so we don't need to resolve all attribute OIDs for working Schema cache to be usable. Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Mar 1 03:45:16 CET 2011 on sn-devel-104
2011-02-22s4-waf: rename smbpasswd library to smbpasswdparserAndrew Tridgell1-1/+1
this removes a conflict with the s3 smbpasswd binary
2011-02-10ldb: use #include <ldb.h> for ldbAndrew Tridgell6-11/+11
thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-03s4-python: Add missing prototypes.Jelmer Vernooij1-0/+2
2011-01-01s4-python: Properly call PyObject_Del from all destructors.Jelmer Vernooij1-0/+1
2010-12-21s4-auth Remove event context from privilage database handlingAndrew Bartlett1-2/+1
These local TDB operations can quite safely be handled in a new/nested event context, rather than using the main event context. Andrew Bartlett
2010-12-15s4-repl: Allow dsdb_replicated_objects_commit() to use different schema ↵Kamen Mazdrashki1-2/+2
while committing objects working_schema is to be used while committing a Schema replica. When we replicate Schema, then we most probably won't be able to convert all replicated objects using the current Schema cache (as we don't know anything about those new objects). Thus, during Schema replication, we make a temporary working_schema that contains both our current Schema + all objects we get on the wire. When we commit those new objects, we should use our working_schema (by setting it to the ldb), and after all changes are commited, we can refresh the schema cache so we have a brand new, full-featured Schema cache
2010-12-12ldb:pyldb.h - revert to the previous header behaviourMatthias Dieter Wallnöfer1-1/+3
"ldb_private.h" is private and therefore might not always be available.
2010-12-12s4:libcli/finddc.h - fix header dependanciesMatthias Dieter Wallnöfer2-11/+1
And optimise includes
2010-12-12s4:libnet/py_net.c - add checks for OOM conditionsMatthias Dieter Wallnöfer1-0/+13
2010-12-07s4:libnet_samsync_ldb.c - simplify a talloc steal callMatthias Dieter Wallnöfer1-2/+1
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Dec 7 16:05:30 CET 2010 on sn-devel-104
2010-12-07s4:libnet_samsync_ldb.c - introduce an error message on failed domain ↵Matthias Dieter Wallnöfer1-3/+6
synchronisation
2010-12-03s4:libnet/libnet_samsync_ldb,c - move away from "samdb_msg_add_string" when ↵Matthias Dieter Wallnöfer1-2/+10
possible Also here we can move to "ldb_msg_add_string" without any impact!