summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Revert "krb5_wrap: Add MIT implmentation of smb_krb5_keyblock_init_contents()"Andreas Schneider2016-09-091-16/+0
| | | | | | | | | | This reverts commit c0e861666911d84f2d78cdab370077d9ac192005. The krb5_init_keyblock function from MIT allocates the key but we operate only on the contents. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* util: Fix the documentation of push_utf8_talloc()Andreas Schneider2016-09-091-8/+17
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* lib: call_backtrace() is no moreVolker Lendecke2016-09-081-2/+0
| | | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Sep 8 03:51:34 CEST 2016 on sn-devel-144
* tevent: fix confused documentationMichael Adam2016-09-061-2/+2
| | | | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue Sep 6 23:16:34 CEST 2016 on sn-devel-144
* krb5_wrap: Remove extra parentheses causing compile errorAnoop C S2016-09-011-3/+3
| | | | | | | | | Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Sep 1 21:02:54 CEST 2016 on sn-devel-144
* ldb: Fix comment on ldb_register_extended_match_ruleAndrew Bartlett2016-09-011-3/+1
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* ldb-samba: Add new extended match rule DSDB_MATCH_FOR_EXPUNGEAndrew Bartlett2016-09-012-1/+133
| | | | | | | | | | | This allows us to find links that need to be expunged without passing the whole DB up in the search response. While each message still needs to be examined, this code only has to do memory allocation for entries with links Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* tevent: Fix some typosVolker Lendecke2016-09-011-3/+3
| | | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Sep 1 05:48:38 CEST 2016 on sn-devel-144
* ldb: Fix a signed/unsigned hickupVolker Lendecke2016-09-011-1/+1
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* krb5_wrap: Move unwrap_edata_ntstatus() and make it staticAndreas Schneider2016-08-313-54/+1
| | | | | | | | This also removes the asn1util dependency from krb5_wrap and moves it to libads which is the only user. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Remove unused smb_krb5_principal_compare_any_realm()Andreas Schneider2016-08-312-10/+0
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Remove unused smb_krb5_parse_name_norealm()Andreas Schneider2016-08-312-15/+0
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Improve smb_krb5_unparse_name() documentationAndreas Schneider2016-08-311-5/+20
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Improve smb_krb5_parse_name() documentationAndreas Schneider2016-08-311-6/+15
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Document smb_krb5_cc_copy_creds()Andreas Schneider2016-08-311-0/+11
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Use 'samba-kdc' for com_err whoami in krb5_warnx()Andreas Schneider2016-08-311-1/+1
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Improve krb5_warnx() documentationAndreas Schneider2016-08-311-9/+13
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Improve smb_krb5_principal_set_type() documentationAndreas Schneider2016-08-311-7/+8
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Improve smb_krb5_principal_get_type() documentationAndreas Schneider2016-08-311-7/+8
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Improve smb_krb5_get_allowed_weak_crypto() documentationAndreas Schneider2016-08-311-9/+6
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Document smb_get_krb5_error_message()Andreas Schneider2016-08-311-0/+14
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Document smb_krb5_get_principal_from_service_hostname()Andreas Schneider2016-08-311-0/+17
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Rename kerberos_get_principal_from_service_hostname()Andreas Schneider2016-08-312-4/+3
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Improve smb_krb5_principal_set_realm() documentationAndreas Schneider2016-08-311-8/+7
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Fix documentation of smb_krb5_principal_get_realm()Andreas Schneider2016-08-311-8/+6
| | | | | | | Create a valid doxygen documentation. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Document smb_krb5_make_pac_checksum()Andreas Schneider2016-08-311-0/+23
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Document smb_krb5_make_principal()Andreas Schneider2016-08-311-0/+16
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Improve smb_krb5_kinit_s4u2_ccache() documentationAndreas Schneider2016-08-311-13/+30
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Rename kerberos_kinit_s4u2_cc()Andreas Schneider2016-08-312-20/+20
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Document smb_krb5_kinit_password_ccache()Andreas Schneider2016-08-311-0/+23
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Rename kerberos_kinit_password_cc()Andreas Schneider2016-08-312-17/+18
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Improve smb_krb5_kinit_keyblock_cache() documentationAndreas Schneider2016-08-311-13/+25
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Rename kerberos_kinit_keyblock_cc()Andreas Schneider2016-08-312-14/+16
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Add MIT implmentation of smb_krb5_keyblock_init_contents()Andreas Schneider2016-08-311-0/+16
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Document smb_krb5_keyblock_init_contents()Andreas Schneider2016-08-311-0/+21
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Document smb_krb5_kt_get_name()Andreas Schneider2016-08-311-0/+15
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Rename smb_krb5_keytab_name()Andreas Schneider2016-08-312-2/+2
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Document smb_krb5_kt_open()Andreas Schneider2016-08-311-0/+18
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Rename smb_krb5_open_keytab()Andreas Schneider2016-08-312-9/+9
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Fix whitespace issues in smb_krb5_kt_open_relative()Andreas Schneider2016-08-311-2/+2
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Document smb_krb5_kt_open_relative()Andreas Schneider2016-08-311-10/+18
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Rename smb_krb5_open_keytab_relative()Andreas Schneider2016-08-312-12/+12
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Document smb_krb5_enctype_to_string()Andreas Schneider2016-08-311-1/+14
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Document smb_krb5_kt_free_entry()Andreas Schneider2016-08-311-0/+11
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Document smb_krb5_kt_get_enctype_from_entry()Andreas Schneider2016-08-311-0/+7
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Rename smb_get_enctype_from_kt_entry()Andreas Schneider2016-08-312-3/+4
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Remove unneeded smb_krb5_get_init_creds_opt_free()Andreas Schneider2016-08-312-9/+0
| | | | | | | Call the Kerberos function directly. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Remove unneeded smb_krb5_get_init_creds_opt_alloc()Andreas Schneider2016-08-312-9/+0
| | | | | | | Call the Kerberos function directly. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Remove unused handle_krberror_packet()Andreas Schneider2016-08-312-56/+0
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* krb5_wrap: Remove unneded smb_krb5_free_error()Andreas Schneider2016-08-312-12/+3
| | | | | | | | | krb5_free_error() is availalbe in MIT and Heimdal. Both implementations free the contents and the pointer. krb5_free_data_contents() is Heimdal only. Which function you need to call depends. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>