summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* lib: ldb: Python. Take care of freeing the passed in module description if ↵Jeremy Allison2017-07-261-1/+4
| | | | | | | | | ldb_register_module() fails. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12932 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* lib: ldb: Use NULL to allocate modules not talloc_autofree_context().Jeremy Allison2017-07-261-1/+11
| | | | | | | | | | | | ldb modules are not (yet) unloaded and are only loaded once (there is a check that makes sure of this). Allocate off the NULL context. We never want this to be freed until process shutdown. If eventually we add the ability to unload ldb modules we can add a deregister function that walks and frees the list. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12932 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* dbwrap_tdb: Implement do_lockedVolker Lendecke2017-07-251-0/+47
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* dbwrap: Add dbwrap_do_lockedVolker Lendecke2017-07-253-0/+45
| | | | | | | | | With a proper implementation this enables modifications without having to allocate a record. In really performance sensitive code paths this matters. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* dbwrap: Factor out the core dbwrap lock order logicVolker Lendecke2017-07-251-46/+58
| | | | | | | This will allow dbwrap_do_locked to check the order without talloc Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* dbwrap: Add dbwrap_record_storevVolker Lendecke2017-07-252-2/+10
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* dbwrap: Convert backend store to storevVolker Lendecke2017-07-254-15/+37
| | | | | | | | | | Convert all implementors of dbwrap_store to a storev-style call by using the dbwrap_merge_dbufs call For dbwrap_tdb, this matches tdb_storev. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* dbwrap: Add dbwrap_merge_dbufsVolker Lendecke2017-07-252-0/+51
| | | | | | | Transitional code to implement dbwrap_record_storev Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* uwrap: Update to version 1.2.4Andreas Schneider2017-07-252-39/+266
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* ldb: version 1.2.1ldb-1.2.1Stefan Metzmacher2017-07-224-1/+281
| | | | | | | | | | | | * Bug #12882: Do not install _ldb_text.py if we have system libldb * Use libraries from build dir for testsuite * Bug #12900: Fix index out of bound in ldb_msg_find_common_values Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Sat Jul 22 03:46:25 CEST 2017 on sn-devel-144
* tevent: version 0.9.33tevent-0.9.33Stefan Metzmacher2017-07-212-1/+100
| | | | | | | * make tevent_req_print() more robust against crashes Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* tevent: handle passing req = NULL to tevent_req_print()Stefan Metzmacher2017-07-211-0/+4
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* tevent: avoid calling talloc_get_name(NULL) in tevent_req_default_print()Stefan Metzmacher2017-07-211-1/+1
| | | | | | | | | | We have the same information available under req->internal.private_type. This way it's possible to call tevent_req_print() after tevent_req_received() was called. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* talloc: version 2.1.10talloc-2.1.10Stefan Metzmacher2017-07-214-1/+97
| | | | | | | * build, documentation and python3 improvements Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* ldb/tests: more thoroughly test empty ldb_msg elementsDouglas Bagnall2017-07-071-3/+29
| | | | | | | | Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Jul 7 20:10:37 CEST 2017 on sn-devel-144
* ldb: avoid searching empty lists in ldb_msg_find_common_valuesDouglas Bagnall2017-07-071-0/+3
| | | | | Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
* ldb: Fix index out of bound in ldb_msg_find_common_valuesLukas Slebodnik2017-07-071-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cmocka unit test failed on i386 [==========] Running 2 test(s). [ RUN ] test_ldb_msg_find_duplicate_val [ OK ] test_ldb_msg_find_duplicate_val [ RUN ] test_ldb_msg_find_common_values [ FAILED ] test_ldb_msg_find_common_values [==========] 2 test(s) run. [ ERROR ] --- 0x14 != 0 [ LINE ] --- ../tests/ldb_msg.c:266: error: Failure! [ PASSED ] 1 test(s). [ FAILED ] 1 test(s), listed below: [ FAILED ] test_ldb_msg_find_common_values 1 FAILED TEST(S) But we were just lucky on other platforms because there is index out of bound according to valgrind error. ==3298== Invalid read of size 4 ==3298== at 0x486FCF6: ldb_val_cmp (ldb_msg.c:95) ==3298== by 0x486FCF6: ldb_msg_find_common_values (ldb_msg.c:266) ==3298== by 0x109A3D: test_ldb_msg_find_common_values (ldb_msg.c:265) ==3298== by 0x48E7490: ??? (in /usr/lib/libcmocka.so.0.4.1) ==3298== by 0x48E7EB0: _cmocka_run_group_tests (in /usr/lib/libcmocka.so.0.4.1) ==3298== by 0x1089B7: main (ldb_msg.c:352) ==3298== Address 0x4b07734 is 4 bytes after a block of size 48 alloc'd ==3298== at 0x483223E: malloc (vg_replace_malloc.c:299) ==3298== by 0x4907AA7: _talloc_array (in /usr/lib/libtalloc.so.2.1.9) ==3298== by 0x486FBF8: ldb_msg_find_common_values (ldb_msg.c:245) ==3298== by 0x109A3D: test_ldb_msg_find_common_values (ldb_msg.c:265) ==3298== by 0x48E7490: ??? (in /usr/lib/libcmocka.so.0.4.1) ==3298== by 0x48E7EB0: _cmocka_run_group_tests (in /usr/lib/libcmocka.so.0.4.1) ==3298== by 0x1089B7: main (ldb_msg.c:352) Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
* waf: Do not install _ldb_text.py if we have system libldbAndreas Schneider2017-07-071-5/+8
| | | | | | | | | | | | | | _ldb_text.py is installed as part of the ldb package and also if you compile Samba with the system ldb version. This way we have have the file twice in the same location and run into file confilcts. This has already been fixed some time ago: 60dc26bfe1573265dcbd87b9dd3439f945e57d97 BUG: https://bugzilla.samba.org/show_bug.cgi?id=12882 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* ldb: Use libraries from build dir for testsuiteLukas Slebodnik2017-07-041-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | There was a failure when tests were executed after after extracting ldb tarball. sh$ make -j8 check WAF_MAKE=1 PATH=buildtools/bin:../../buildtools/bin:$PATH waf test ldbadd: error while loading shared libraries: libldb.so.1: cannot open shared object file: No such file or directory cat: write error: Broken pipe Traceback (most recent call last): File "tests/python/api.py", line 10, in <module> import ldb ImportError: libldb.so.1: cannot open shared object file: No such file or directory Traceback (most recent call last): File "tests/python/api.py", line 10, in <module> import ldb ImportError: libpyldb-util.so.1: cannot open shared object file: No such file or directory bin/ldb_tdb_mod_op_test: error while loading shared libraries: libldb.so.1: cannot open shared object file: No such file or directory testsuite returned 1 Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Andreas Schneider <asn@samba.org> Signed-off-by: Alexander Bokovoy <ab@samba.org>
* talloc: Fix execution of test_magic_differs from tarballLukas Slebodnik2017-07-041-0/+2
| | | | | | | | | | | | make check failed in case of tarball because test_magic_differs.sh is in top level directory and not in sub-directory lib/talloc sh: ./lib/talloc/test_magic_differs.sh: No such file or directory magic differs test returned 127 Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Andrew Bartlet <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* talloc: Use libraries from build dir for testsuiteLukas Slebodnik2017-07-041-0/+4
| | | | | | | | | | | | | | | | | | There was a failure when tests were executed after after extracting talloc tarball. sh$ make -j8 check WAF_MAKE=1 PATH=buildtools/bin:../../buildtools/bin:$PATH waf test bin/talloc_testsuite: error while loading shared libraries: libtalloc.so.2: cannot open shared object file: No such file or directory sh: ./lib/talloc/test_magic_differs.sh: No such file or directory Traceback (most recent call last): File "test_pytalloc.py", line 11, in <module> import talloc ImportError: libtalloc.so.2: cannot open shared object file: No such file or directory Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Andrew Bartlet <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* param: Add new "disabled" value to "ntlm auth" to disable NTLM totallyAndrew Bartlett2017-07-041-0/+1
| | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> BUG: https://bugzilla.samba.org/show_bug.cgi?id=11923 Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* param: Disable LanMan authentication unless NTLMv1 is also enabledAndrew Bartlett2017-07-041-0/+16
| | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> BUG: https://bugzilla.samba.org/show_bug.cgi?id=11923
* auth: Allow NTLMv1 if MSV1_0_ALLOW_MSVCHAPV2 is given and re-factor 'ntlm ↵Andrew Bartlett2017-07-042-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | auth =' The ntlm auth parameter is expanded to more clearly describe the role of each option, and to allow the new mode that permits MSCHAPv2 (as declared by the client over the NETLOGON protocol) while still banning NTLMv1. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12252 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Based on a patch by Mantas Mikulėnas <mantas@utenos-kolegija.lt>: Commit 0b500d413c5b ("Added MSV1_0_ALLOW_MSVCHAPV2 flag to ntlm_auth") added the --allow-mschapv2 option, but didn't implement checking for it server-side. This implements such checking. Additionally, Samba now disables NTLMv1 authentication by default for security reasons. To avoid having to re-enable it globally, 'ntlm auth' becomes an enum and a new setting is added to allow only MSCHAPv2. Signed-off-by: Mantas Mikulėnas <mantas@utenos-kolegija.lt> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* lib/util: add more tfork testsRalph Boehme2017-07-031-0/+438
| | | | | Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* lib/util: adjust loglevel in tfork test with samba_runcmd_send()Ralph Boehme2017-07-031-1/+1
| | | | | | | | No change in behaviour, this just ensures stdout and stderror are logged with log level 0. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* lib/util: make use of tfork in samba_runcmd_send()Ralph Boehme2017-07-032-50/+59
| | | | | | | | This makes it possible to use samba_runcmd_send() in processes like smbd that install a SIGCHLD handler that reaps all terminated children. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* lib/util: enhanced tfork()Ralph Boehme2017-07-033-260/+855
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This function is a solution to the problem of fork() requiring special preperations in the caller to handle SIGCHLD signals and to reap the child by wait()ing for it. Instead, tfork provides a pollable file descriptor. The caller gets the file descriptor by calling tfork_event_fd() on the handle returned from tfork_create() and the caller can then get the status of the child with a call to tfork_status(). tfork avoids raising SIGCHLD signals in the caller by installing a temporary SIGCHLD handler from inside tfork_create() and tfork_status(). The termination signal of other child processes not created with tfork() is forwarded to the existing signal handler if any. There's one thing this thing can't protect us against and that is if a process installs a SIGCHLD handler from one thread while another thread is running inside tfork_create() or tfork_status() and the signal handler doesn't forward signals for exitted childs it didn't fork, ie our childs. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Ralph Boehme <slow@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* ldb: version 1.2.0ldb-1.2.0Stefan Metzmacher2017-07-025-3/+281
| | | | | | | | | | | | | | | | | | * handle one more LDB_FLAG_INTERNAL_DISABLE_SINGLE_VALUE_CHECK case in ldb_tdb * fix ldb_tdb locking (performance) problems * fix ldb_tdb search inconsistencies by adding read_[un]lock() hooks to the module stack (bug #12858) * add cmocka based tests for the locking issues * ldb_version.h provides LDB_VERSION_{MAJOR,MINOR,RELEASE} defines * protect ldb_modules.h from being used by Samba < 4.7 Note: that this release (as well as 1.1.30 and 1.1.31) may cause problems for older applications, e.g. Samba See https://bugzilla.samba.org/show_bug.cgi?id=12859 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* ldb:includes: protect ldb_modules.h from being used by Samba < 4.7Stefan Metzmacher2017-07-021-0/+35
| | | | | | | | | | | | | Samba versions before 4.7 are incompatible with the read_[un]lock() behaviour introduced into ldb. This makes sure older Samba versions fail to compile against ldb >= 1.2.0. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12859 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* ldb:wscript: define EXPECTED_SYSTEM_LDB_VERSION_{MAJOR,MINOR,RELEASE}Stefan Metzmacher2017-07-021-0/+6
| | | | | | | | | | This indicates what feature set Samba assumes from the used libldb from the system. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12859 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* ldb:wscript: provide LDB_VERSION_{MAJOR,MINOR,RELEASE} in ldb_version.hStefan Metzmacher2017-07-021-1/+17
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* ldb:tests: Extend api.py testsuite to show transaction_commit() blocks ↵Andrew Bartlett2017-07-021-10/+8
| | | | | | | | | | against the whole-db read lock The new ldb whole-db lock behaviour now allows this test Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* ldb:tests: Extend api.py testsuite to show transaction contents can not be ↵Andrew Bartlett2017-07-021-0/+66
| | | | | | | | seen outside the transaction Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* ldb:tests: Add test to show that locks are released on TALLOC_FREE(req)Andrew Bartlett2017-07-021-0/+226
| | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* ldb:tests: Correct comment about version numbersAndrew Bartlett2017-07-021-2/+2
| | | | | | | | (ldb releases have been made while this patch set was in train) Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* ldb: Lock the whole backend database for the duration of a searchAndrew Bartlett2017-07-022-9/+160
| | | | | | | | | | | | We must hold locks not just for the duration of each search, but for the whole search as our module stack may make multiple search requests to build up the whole result. This is explains a number of replication and read corruption issues in Samba Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* ldb_tdb: Implement read_lock and read_unlock module operationsAndrew Bartlett2017-07-021-0/+2
| | | | | | | | | | This allows Samba to provide a consistent view of the DB despite the use of multiple databases via the partitions module and over multiple callbacks via a module stack. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* ldb: Add read_lock and read_unlock to ldb_module_opsAndrew Bartlett2017-07-023-0/+52
| | | | | | | | This will be used to implement read locking in ldb_tdb Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* ldb:tests: Add test encoding current locking behaviour during ldb_search()Andrew Bartlett2017-07-021-0/+238
| | | | | | | | | | | | | Currently, a lock is not held against modifications once the final record is returned via a callback, so modifications can be made during the DONE callback. This makes it hard to write modules that interpert an ldb search result and do further processing so will change in the future to allow the full search to be atomic. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* ldb:tests: Show that writes do not appear during an ldb_search()Andrew Bartlett2017-07-021-0/+349
| | | | | | | | | | A modify or rename during a search must not cause a search to change output, and attributes having an index should in particular not see any change in behaviour in this respect Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* ldb:tests: don't assert the results before doing the final search finishedAndrew Bartlett2017-07-021-5/+10
| | | | | | | | This is required to pass the test in future, because otherwise the clean up will fail because we hold locks. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* ldb:tdb: Ensure we correctly decrement ltdb->read_lock_countGarming Sam2017-07-021-0/+1
| | | | | | | | | If we do not do this, then we never take the all record lock, and instead do a lock for every record as we go, which is very slow during a large search Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* ldb_pack: use ldb_dn_from_ldb_val() and avoid a duplicate strlen() callAndrew Bartlett2017-07-021-1/+4
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tdb: version 1.3.14tdb-1.3.14Stefan Metzmacher2017-07-022-1/+72
| | | | | | | | | * allow tdb_traverse_read before tdb_transaction[_prepare]_commit() * Improve documentation for tdb_transaction_start() * Add new function tdb_transaction_active() Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* tdb: Add new function tdb_transaction_active()Andrew Bartlett2017-07-023-0/+29
| | | | | | | | | | This will allow callers to avoid their own reference counting of transactions. Additionally, this will always line up with the acutal transaction state, even in the error cases where tdb can cancel the transaction Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tdb: Improve documentation for tdb_transaction_start()Andrew Bartlett2017-07-021-4/+7
| | | | | | | It now references the TDB_ALLOW_NESTING and TDB_DISALLOW_NESTING flags Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tdb: Remove locking from tdb_traverse_read()Andrew Bartlett2017-07-022-13/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This restores the original intent of tdb_traverse_read() in 7dd31288a701d772e45b1960ac4ce4cc1be782ed This is needed to avoid a deadlock with tdb_lockall() and the transaction start, as ldb_tdb should take the allrecord lock during a search (which calls tdb_traverse), and can otherwise deadlock against a transaction starting in another process We add a test to show that a transaction can now start while a read traverse is in progress This allows more operations to happen in parallel. The blocking point is moved to the prepare commit. This in turn permits a roughly doubling of unindexed search performance, because currently ldb_tdb omits to take the lock due to an unrelated bug, but taking the allrecord lock triggers the above-mentioned deadlock. This behaviour was added in 251aaafe3a9213118ac3a92def9ab2104c40d12a for Solaris 10 in 2005. But the run-fcntl-deadlock test works also on Solaris 10, see https://lists.samba.org/archive/samba-technical/2017-April/119876.html. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3: VFS: Change SMB_VFS_GETWD to return struct smb_filename * instead of char *.Jeremy Allison2017-07-011-0/+1
| | | | | | | | We need to migrate all pathname based VFS calls to use a struct to finish modernising the VFS with extra timestamp and flags parameters. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
* debug: new debug class for kerberosAndrew Bartlett2017-06-302-0/+3
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>