summaryrefslogtreecommitdiffstats
path: root/source4/libnet
Commit message (Collapse)AuthorAgeFilesLines
* s4:libnet: pass an explicit mem_ctx to libnet_rpc_userinfo_send() (bug #8889)Stefan Metzmacher2012-04-242-5/+8
| | | | | | | | | This hopefully fixes the flakey autobuild. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 24 16:43:03 CEST 2012 on sn-devel-104
* s4-libnet Always return after composite_error()Andrew Bartlett2012-04-232-1/+4
| | | | | | | | | | These instances should not cause a problem, but make it easier to audit for this kind of problem in the future with grep. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 23 14:29:45 CEST 2012 on sn-devel-104
* s4-libnet Always return after composite_error()Andrew Bartlett2012-04-233-0/+3
| | | | | | | This can and does cause crashes as multiple conflicting sets of callbacks run on memory that may have been destroyed. Andrew Bartlett
* s4-libnet: Fix continue_groupinfo_openuser to check correct state infoAndrew Bartlett2012-04-231-2/+2
| | | | | | | | This meant that we would attempt to query the user that we could not open. This is a mirror of 4ba1647d5db59e5bb4911c399111e9286aac1a8e. Andrew Bartlett
* s4:libnet_become_dc: add missing 'return' after composite_error()Stefan Metzmacher2012-04-231-0/+2
| | | | metze
* s4-libnet: Fix continue_groupinfo_opengroup to check correct state infoAndrew Bartlett2012-04-231-2/+2
| | | | | | This meant that we would attempt to query the group that we could not open. Andrew Bartlett
* s4-libnet: Fix segfault shown by wbinfo --group-info=administratorAndrew Bartlett2012-04-231-0/+1
| | | | | | | | The issue was that after the LookupNames call indicated that this was not a group, the call paths diverged, with both sucess and failure paths running. Andrew Bartlett
* s4-libnet: split export_keytab in a separate python module to avoid pulling ↵Alexander Bokovoy2012-04-127-48/+164
| | | | | | | | | in HDB dependency Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Apr 12 15:23:19 CEST 2012 on sn-devel-104
* libndr: Rename policy_handle_empty to ndr_policy_handle_empty.Jelmer Vernooij2012-03-202-5/+5
| | | This makes the NDR namespace a bit clearer, in preparation of ABI checking.
* s4-libnet: Remove set but unused variablesAndrew Bartlett2012-03-012-4/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Mar 1 13:40:12 CET 2012 on sn-devel-104
* s4-libnet: Move to talloc_get_type_abort()Andrew Bartlett2012-03-014-73/+73
| | | | | | | | The NULL pointer dereference from talloc_get_type() might be free, but the information on the actual and expected types from talloc_get_type_abort() is priceless! :-) Andrew Bartlett
* s4-becomedc: replicate first with DRS_CRITICAL_ONLY and DRS_GET_ANC objects ↵Matthieu Patou2011-12-191-0/+13
| | | | | | | | | | | for the base dn partition Windows dcpromo do the same: getncchanges with DRS_GET_ANC and DRS_CRITICAL_ONLY, then it does a getncchanges without those flags for the rest. Signed-off-by: Andrew Tridgell <tridge@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-kdc: Add hdb plugin for samba4, to allow kadmin to workAndrew Bartlett2011-11-301-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will help users who are used to the kadmin interface, and could be extended to import existing MIT or Heimdal keys into a Samba4 AD domain. To use, add to your krb5.conf [kdc] database = { dbname = samba4: } or [kdc] database = { dbname = samba4:/usr/local/samba/etc/smb.conf } And copy hdb_samba4.so from PREFIX/modules/hdb to your Heimdal lib directory Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Nov 30 03:22:11 CET 2011 on sn-devel-104
* s4:py_net: add optional 'machinepass' parameter to py_net_join_member()Stefan Metzmacher2011-11-291-3/+4
| | | | metze
* s4:libnet: make it possible to join with a given machine passwordStefan Metzmacher2011-11-292-4/+16
| | | | metze
* s4:libnet/py_net: ZERO_STRUCT() struct libnet_Join_member in ↵Stefan Metzmacher2011-11-291-0/+2
| | | | | | py_net_join_member() metze
* s4:libnet: use talloc_zero(struct libnet_JoinDomain) in libnet_Join_member()Stefan Metzmacher2011-11-291-2/+1
| | | | metze
* s4-samba-tool: Add --principal argument to samba-tool domain exportkeytabAndrew Bartlett2011-11-293-6/+25
| | | | | | | | | | | | | This allows only a particular principal to be exported to the keytab. This is useful when setting up unix servers in a Samba controlled domain. Based on a request by Gémes Géza <geza@kzsdabas.hu> Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 29 09:20:55 CET 2011 on sn-devel-104
* s4:libnet/py_net.c: "py_net_finddc" - add an "address" parameterMatthias Dieter Wallnöfer2011-11-261-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>
* s4:libnet/py_net.c - initialise optional keyword argumentsMatthias Dieter Wallnöfer2011-11-261-1/+3
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:libnet_vampire: setup base_dn on the self_made_schemaStefan Metzmacher2011-11-151-0/+5
| | | | metze
* s4:libnet_vampire: use dsdb_modify(..., DSDB_FLAG_AS_SYSTEM) to store prefixMapStefan Metzmacher2011-11-151-1/+1
| | | | metze
* s4:param/provision: pass schema_dn to provision_get_schema()Stefan Metzmacher2011-11-151-1/+3
| | | | metze
* s4:libnet: initialize forest structure in py_net_replicate_init()Stefan Metzmacher2011-11-151-0/+3
| | | | metze
* s4-vampire: Fix the output of fetched object for the schema-dnMatthieu Patou2011-11-011-2/+8
|
* libcli/cldap: don't pass tevent_context to cldap_socket_init()Stefan Metzmacher2011-10-103-5/+3
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 10 23:23:07 CEST 2011 on sn-devel-104
* libcli/cldap: pass tevent_context to cldap_netlogon_send()Stefan Metzmacher2011-10-102-2/+4
| | | | metze
* s4-dsdb: update callers to dsdb_convert_object_ex()Andrew Tridgell2011-10-041-0/+3
|
* s4:libnet/py_net.c - fix up includes (in order to find all "struct"s)Matthias Dieter Wallnöfer2011-09-191-3/+2
| | | | Reviewed-by: Jelmer
* s4-libnet: fixed forest DNS nameAndrew Tridgell2011-08-252-2/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* credentials: Rename library to samba-credentials to avoid name clashes.Jelmer Vernooij2011-08-181-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Aug 18 22:16:38 CEST 2011 on sn-devel-104
* s4:libnet_vampire: don't keep the replication state if ↵Stefan Metzmacher2011-08-121-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>
* s4:libnet: passdown the DsGetNCChangesReq* to the libnet_BecomeDC_StoreChunk ↵Stefan Metzmacher2011-08-123-4/+72
| | | | | | | | handler metze Signed-off-by: Andrew Tridgell <tridge@samba.org>
* pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij2011-08-101-4/+5
|
* s4:py_net: PyArg_ParseTuple("i") requires an 'int' argumentStefan Metzmacher2011-08-081-1/+4
| | | | | | If we pass variable references we don't get implicit casting! metze
* pyldb: Consistently use pyldb_ prefix.Jelmer Vernooij2011-08-071-1/+1
|
* gensec: clarify memory ownership for gensec_session_info() and ↵Andrew Bartlett2011-08-032-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
* gensec: split GENSEC into mechanism-dependent and runtime functionsAndrew Bartlett2011-08-031-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>
* s4-libnet: py_net Add change_password() python commandAmitay Isaacs2011-07-281-0/+53
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-libnet: py_net - Remove parsing for credentials argumentAmitay Isaacs2011-07-281-5/+6
| | | | | | py_creds are not used anywhere in the function. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* cli_composite: Lowercase name.Jelmer Vernooij2011-07-261-1/+1
|
* cli_cldap: Lowercase name.Jelmer Vernooij2011-07-261-1/+1
|
* libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett2011-06-203-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
* s4:libnet/libnet_rpc.c - quiet an enum warningMatthias Dieter Wallnöfer2011-06-091-0/+4
| | | | | | Other enum types have been checked before. Reviewed-by: Tridge
* s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett2011-06-061-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
* s4-libnet: Remove libnet_Join and create libnet_Join_memberAndrew Bartlett2011-05-183-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
* s4-libcli Remove resolve_name() as it conflicts with Samba3.Andrew Bartlett2011-05-031-1/+3
| | | | | | | This was just a wrapper around resolve_name_ex(), so just call that instead. Andrew Bartlett
* s4-libnet: honour convention of DEBUGLEVEL>=10 for NDR printAndrew Tridgell2011-04-042-0/+16
|
* Ensure convert_string_XXX is always called with a valid converted_size pointer.Jeremy Allison2011-03-291-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
* lib/util/charset rename iconv_convenience to iconv_handleAndrew Bartlett2011-03-251-1/+1
| | | | | | This better reflects what this structure is Andrew Bartlett