summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* lib/krb5_wrap: Bring list of all enc types into krb5_wrapAndrew Bartlett2012-08-282-0/+16
|
* lib/util: don't SMB_ASSERT() in process_exists_by_pid()Stefan Metzmacher2012-08-241-1/+3
| | | | | | Just return false... metze
* lib/param: fix usage of 'write list = +Group'Stefan Metzmacher2012-08-241-2/+8
| | | | | | | metze Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Aug 24 11:28:17 CEST 2012 on sn-devel-104
* crypto/aes_ccm_128: fix compile warning on openindianaBjörn Jacke2012-08-231-1/+1
|
* LDB:ldb_tdb.c - deny multi-valued attributes manipulation with doubletsMatthias Dieter Wallnöfer2012-08-221-1/+18
| | | | | | | | | | | | | | | | This refers to LDB add operations as well, we have only to be careful on "@ATTRIBUTES" entries. E.g. dn: cn=testperson,cn=users,dc=...,dc=... objectClass: person url: www.example.com url: www.example.com should not work. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* LDB:ldbsearch - add search filter testsMatthias Dieter Wallnöfer2012-08-221-0/+2
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* LDB:ldbsearch - search filters do not only contain "="Matthias Dieter Wallnöfer2012-08-221-1/+1
| | | | | | | | | Also "<=", ">=", "~"... are allowed as well. Enumeration taken from ldb_parse_filtertype(). This was the cause of not identifying the search filter as described in bug https://bugzilla.samba.org/show_bug.cgi?id=8647. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* LDB:ldif_handlers.c - LDB_OP_GREATER/LDB_OP_LESS are thought as ">=" or "<="Matthias Dieter Wallnöfer2012-08-222-3/+3
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* build: Remove special case for the build farmAndrew Bartlett2012-08-215-5/+5
| | | | | | | | | | | Except in the formatting of the selftest output, this removes the special case of the build farm, so that an autobuild, a manual make test and the build farm are more similar. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 21 06:39:04 CEST 2012 on sn-devel-104
* lib/util: add server_id_set_disconnected() and server_id_is_disconnected()Michael Adam2012-08-172-1/+48
| | | | | | | Utility functions for handling the special placeholder server-id value for disconnected clients (to be used for durable handles). Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* lib/util: let server_id_str() skip the task_id if 0 in the cluster case tooStefan Metzmacher2012-08-171-0/+5
| | | | | | server_id_from_string() already handles that case. metze
* lib/util: add server_id_from_string()Stefan Metzmacher2012-08-172-0/+38
| | | | metze
* lib/util: add server_id_equal()Stefan Metzmacher2012-08-172-0/+22
| | | | metze
* tevent: change version to 0.9.17 after adding the "poll_mt" backendStefan Metzmacher2012-08-162-1/+83
| | | | metze
* tevent: Add threaded poll_mt testcaseVolker Lendecke2012-08-161-0/+145
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* lib/tevent: Add a thread-safe tevent backendVolker Lendecke2012-08-163-3/+160
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* tevent_poll: Decouple poll_ev->fds handling from adding/removing fdsVolker Lendecke2012-08-161-72/+135
| | | | | | Step 1 in a python backend for multiple threads Signed-off-by: Stefan Metzmacher <metze@samba.org>
* tdb/test: fix build on OSF/1Björn Jacke2012-08-101-15/+15
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Aug 10 23:33:20 CEST 2012 on sn-devel-104
* build: rename security → samba-securityBjörn Jacke2012-08-101-1/+1
| | | | | | | | | there is a libsecurity on OSF1 which clasheѕ with our security lib. see bug #9023. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Aug 10 14:22:21 CEST 2012 on sn-devel-104
* lib/ldb: Use tdb_parse_record and a callback rather than tdb_fetch()Andrew Bartlett2012-08-101-16/+38
| | | | | | | This avoid allocation at the tdb layer as we will allocate this with talloc right away anyway. Andrew Bartlett
* s4-ldb_wrap: Do not vasprintf() the ldb debug messages that will not be shownAndrew Bartlett2012-08-091-5/+7
| | | | | | | | | | This malloc() and free() actually shows up quite high on a call profile of provision of the AD DC. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Aug 9 13:51:06 CEST 2012 on sn-devel-104
* lib/ldb: Do not vasprintf() the tevent debug messages that will not be shownAndrew Bartlett2012-08-096-10/+279
| | | | | | | | | | This malloc() and free() actually shows up quite high on a call profile of provision of the AD DC. This allows the debug handler to decide if the argument list should be printed. Andrew Bartlett
* lib/ldb: Use tdb_exists() rather than tdb_fetch()/talloc_free()Andrew Bartlett2012-08-091-7/+7
| | | | | | | This avoids pulling the record and doing an allocation when we just want to know if it exists. Andrew Bartlett
* lib/socket_wrapper: writev returns ssize_t, not intChristian Ambach2012-08-062-2/+2
|
* lib/param: move enum dns_update_settings to lib/paramChristian Ambach2012-08-062-1/+3
|
* Revert "ldb: Add parameter to avoid NULL format string flagged by ↵Andrew Bartlett2012-08-061-1/+1
| | | | | | | | | | | | | | -Werror=format" This reverts commit cddcaf7bd2c272bc578ac1e4f7ec438ab94fc243. -Werror=format is no longer uses when it would cause this to fail. This is a legitimate use of the ldb_search API. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Aug 6 14:47:27 CEST 2012 on sn-devel-104
* lib/param: Also enable vlp when --enable-selftest is specifiedAndrew Bartlett2012-08-062-2/+2
|
* doc: Remove build/ from doxygen config or it will not work in brew.Andreas Schneider2012-08-043-12/+3
| | | | | Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Sat Aug 4 16:31:22 CEST 2012 on sn-devel-104
* lib/dbwrap: rewrite lock order check to ease debuggingGregor Beck2012-08-032-30/+56
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Aug 3 12:52:38 CEST 2012 on sn-devel-104
* lib/ldb: Ensure rename target does not exist before deleting old recordAndrew Bartlett2012-07-314-3/+301
| | | | | | | | This is all in a transaction, but when we are handling rename errors in the repl_meta_data module, we key off the error, and do not close the transaction. We found that the old record was gone and so could not try renaming it again to a conflict DN. Andrew Bartlett
* tevent: Refer to the correct header in testsuite.cVolker Lendecke2012-07-311-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* ldb: Add parameter to avoid NULL format string flagged by -Werror=formatAndrew Bartlett2012-07-301-1/+1
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Jul 30 15:48:53 CEST 2012 on sn-devel-104
* lib/tdb: Fix format string errors found by -Werror=format in tdb testsAndrew Bartlett2012-07-301-4/+4
|
* lib/ntdb: Fix format string errors found by -Werror=format in ntdb testsAndrew Bartlett2012-07-301-1/+1
|
* lib/ccan: Fix format string errors found by -Werror=format in ccan failtestAndrew Bartlett2012-07-301-2/+2
|
* lib/param: Rename "socket address" to "nbt client socket address" to clarify ↵Andrew Bartlett2012-07-273-3/+12
| | | | | | | | | | | | | role This parameter is only used in our NBT client code and in nmbd as a fallback when we fail to select a better interface from "interfaces" to use directly. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Jul 27 12:16:25 CEST 2012 on sn-devel-104
* lib/param: Mark lpcfg_cachedir and lpcfg_statedir as const char *Andrew Bartlett2012-07-271-2/+2
| | | | | | | | | This matters as we sync up the declarations with the source3/param code. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Jul 27 05:26:45 CEST 2012 on sn-devel-104
* lib/param: Remove unused "paranoid server security"Andrew Bartlett2012-07-273-11/+0
| | | | | | This became unused when security=server went away. Andrew Bartlett
* docs: Mark "socket address" as deprecatedAndrew Bartlett2012-07-271-1/+1
|
* param: Make socket_address common, Revert ↵Andrew Bartlett2012-07-272-1/+1
| | | | | | | | | | | | | | | | 611ef42053eb99f4c29d4efa86eaea9f1ca06286 This essentially reverts the commit 611ef42053eb99f4c29d4efa86eaea9f1ca06286 Author: Yasuma Takeda <yasuma@osstech.co.jp> Date: Fri Dec 5 13:37:51 2008 -0800 Fix bug #5944 - nmbd does not boot if socket adress = "" is defined in smb.conf Intead, the documentation is fixed so that the correct default is recorded. Removing the special case handling here allows this to be dealt with in the same way as all other parameters. Andrew Bartlett
* lib/param: Merge parameter tables into a common fileAndrew Bartlett2012-07-272-4123/+4126
| | | | | | | | This file is then included into both loadparm systems. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* lib/param: Merge in source3 parameters into parmeter tableAndrew Bartlett2012-07-271-15/+48
| | | | | | | | | | This finishes the series to remove the various warnings from smb.conf loading when a source3 parameter is used. Based on an earlier patch Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Andrew Bartlett
* lib/param: Merge "Security Options" section from source3/paramAndrew Bartlett2012-07-271-24/+589
| | | | | | | | | This will make the merge of the whole table smoother. Based on an earlier patch Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Andrew Bartlett
* lib/param: Merge "Logging Options" section from source3/paramAndrew Bartlett2012-07-271-7/+109
| | | | | | | | | This will make the merge of the whole table smoother. Based on an earlier patch Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Andrew Bartlett
* lib/param: Merge "Protocol Options" section from source3/paramAndrew Bartlett2012-07-271-54/+253
| | | | | | | | | This will make the merge of the whole table smoother. Based on an earlier patch Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Andrew Bartlett
* lib/param: Merge "Tuning Options" section from source3/paramAndrew Bartlett2012-07-271-4/+252
| | | | | | This will reduced the weight of the eventual merge of all of source3/param. Andrew Bartlett
* lib/param: Merge "Printing Options" section from source3/paramAndrew Bartlett2012-07-271-3/+290
| | | | | | This will reduced the weight of the eventual merge of all of source3/param. Andrew Bartlett
* s3/aio_fork: fix build on irixBjörn Jacke2012-07-262-0/+5
| | | | IRIX needs _XOPEN_SOURCE defined for SCM_RIGHTS to be available
* lib/param: Merge "Filename Handling" section from source3/paramAndrew Bartlett2012-07-261-7/+211
| | | | | | | | | | | | This will make the merge of the whole table smoother. Based on an earlier patch Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jul 26 14:16:02 CEST 2012 on sn-devel-104
* lib/param: Merge "Domain Options" section from source3/paramAndrew Bartlett2012-07-261-0/+13
| | | | | | | | | This will make the merge of the whole table smoother. Based on an earlier patch Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Andrew Bartlett