summaryrefslogtreecommitdiffstats
path: root/source4/libnet
Commit message (Collapse)AuthorAgeFilesLines
...
* libnet: Fix a typo in dbsync error message.Michael Adam2012-11-301-1/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libnet: Fix copy and paste error in dbsync error message.Andreas Schneider2012-11-301-1/+1
|
* s4-drs: Remove unused varMatthieu Patou2012-11-091-3/+0
| | | | Signed-off-by: Matthieu Patou <mat@matws.net>
* s4-libnet: Fix memory leak of lsa_RefDomainList and lsa_String onto libnet_ctxAndrew Bartlett2012-08-311-2/+2
| | | | | | | | | | These are only needed for as long as the call, and should be children of the private context. This was found based on a log provided by Ricky Nance <ricky.nance@weaubleau.k12.mo.us>. Thanks Ricky! Andrew Bartlett
* s4-libnet: Fix passing samba_all_enctypes as a fn rather than the encrypt ↵Andrew Bartlett2012-08-291-1/+1
| | | | | | | array it returns Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Aug 29 09:56:27 CEST 2012 on sn-devel-104
* lib/krb5_wrap: Bring list of all enc types into krb5_wrapAndrew Bartlett2012-08-281-10/+1
|
* s4-libnet: Ensure termination of enctype array in libnet_export_keytab()Andrew Bartlett2012-08-281-1/+2
|
* s4-provision: pass use_ntvfs from C wrappers and set to true in tests/vampireAndrew Bartlett2012-08-221-1/+1
| | | | | | None of these cases need the complexity of the s3fs backend. Andrew Bartlett
* s4-libnet: Prepare libnet_BecomeDC for samdb_reference_dn() returning an ↵Andrew Bartlett2012-08-141-0/+1
| | | | | | | | extended DN Remote LDAP servers will not accept an extended DN with other components. Andrew Bartlett
* s4-libnet: Improve debugging of libnet_BecomeDC LDAP errorsAndrew Bartlett2012-08-141-0/+12
|
* s4-libnet: Skip calling lsarpc functions over a wrong pipe.Andreas Schneider2012-07-061-0/+9
|
* Introduce system MIT krb5 build with --with-system-mitkrb5 option.Alexander Bokovoy2012-05-231-1/+2
| | | | | | | | | | | | | | | | | System MIT krb5 build also enabled by specifying --without-ad-dc When --with-system-mitkrb5 (or --withou-ad-dc) option is passed to top level configure in WAF build we are trying to detect and use system-wide MIT krb5 libraries. As result, Samba 4 DC functionality will be disabled due to the fact that it is currently impossible to implement embedded KDC server with MIT krb5. Thus, --with-system-mitkrb5/--without-ad-dc build will only produce * Samba 4 client libraries and their Python bindings * Samba 3 server (smbd, nmbd, winbindd from source3/) * Samba 3 client libraries In addition, Samba 4 DC server-specific tests will not be compiled into smbtorture. This in particular affects spoolss_win, spoolss_notify, and remote_pac rpc tests.
* s4-libnet: Add mem_ctx to libnet_rpc_groupdel calls (bug #8889)Andrew Bartlett2012-04-301-2/+3
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 30 14:41:36 CEST 2012 on sn-devel-104
* s4-libnet: Add mem_ctx to libnet_rpc_groupadd calls (bug #8889)Andrew Bartlett2012-04-302-4/+5
|
* s4-libnet: Add mem_ctx to libnet_rpc_usermod calls (bug #8889)Andrew Bartlett2012-04-302-3/+4
|
* s4-libnet: Add mem_ctx to libnet_rpc_userdel calls (bug #8889)Andrew Bartlett2012-04-302-4/+5
|
* s4-libnet: Add mem_ctx to libnet_rpc_useradd calls (bug #8889)Andrew Bartlett2012-04-302-4/+5
|
* s4-libnet: Add mem_ctx to libnet_rpc_groupinfo calls (bug #8889)Andrew Bartlett2012-04-302-5/+6
|
* s4-libnet: Add mem_ctx to libnet_DomainClose calls (bug #8889)Andrew Bartlett2012-04-301-5/+8
|
* s4-libnet: Add mem_ctx to libnet_DomainOpen calls (bug #8889)Andrew Bartlett2012-04-305-20/+25
|
* s4-libnet: Add mem_ctx to libnet_Lookup calls (bug #8889)Andrew Bartlett2012-04-301-4/+6
|
* Add some debug for FOOBAR return case as they are hard to diagnoseMatthieu Patou2012-04-291-2/+5
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Apr 29 09:08:15 CEST 2012 on sn-devel-104
* 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
|