summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2012-08-28lib/ldb: Bump ldb version to 1.1.11Andrew Bartlett3-1/+262
This will ensure the next Samba release requires an ldb with the recent fixes. Andrew Bartlett
2012-08-28lib/krb5_wrap: Move enctype conversion functions into a simple helper fileAndrew Bartlett4-36/+109
2012-08-28lib/krb5_wrap: Move kerberos_enctype_to_bitmap() into krb5_wrapAndrew Bartlett2-0/+23
2012-08-28lib/krb5_wrap: Bring list of all enc types into krb5_wrapAndrew Bartlett2-0/+16
2012-08-24lib/util: don't SMB_ASSERT() in process_exists_by_pid()Stefan Metzmacher1-1/+3
Just return false... metze
2012-08-24lib/param: fix usage of 'write list = +Group'Stefan Metzmacher1-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
2012-08-23crypto/aes_ccm_128: fix compile warning on openindianaBjörn Jacke1-1/+1
2012-08-22LDB:ldb_tdb.c - deny multi-valued attributes manipulation with doubletsMatthias Dieter Wallnöfer1-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>
2012-08-22LDB:ldbsearch - add search filter testsMatthias Dieter Wallnöfer1-0/+2
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-08-22LDB:ldbsearch - search filters do not only contain "="Matthias Dieter Wallnöfer1-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>
2012-08-22LDB:ldif_handlers.c - LDB_OP_GREATER/LDB_OP_LESS are thought as ">=" or "<="Matthias Dieter Wallnöfer2-3/+3
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-08-21build: Remove special case for the build farmAndrew Bartlett5-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
2012-08-17lib/util: add server_id_set_disconnected() and server_id_is_disconnected()Michael Adam2-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>
2012-08-17lib/util: let server_id_str() skip the task_id if 0 in the cluster case tooStefan Metzmacher1-0/+5
server_id_from_string() already handles that case. metze
2012-08-17lib/util: add server_id_from_string()Stefan Metzmacher2-0/+38
metze
2012-08-17lib/util: add server_id_equal()Stefan Metzmacher2-0/+22
metze
2012-08-16tevent: change version to 0.9.17 after adding the "poll_mt" backendStefan Metzmacher2-1/+83
metze
2012-08-16tevent: Add threaded poll_mt testcaseVolker Lendecke1-0/+145
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-08-16lib/tevent: Add a thread-safe tevent backendVolker Lendecke3-3/+160
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-08-16tevent_poll: Decouple poll_ev->fds handling from adding/removing fdsVolker Lendecke1-72/+135
Step 1 in a python backend for multiple threads Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-08-10tdb/test: fix build on OSF/1Björn Jacke1-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
2012-08-10build: rename security → samba-securityBjörn Jacke1-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
2012-08-10lib/ldb: Use tdb_parse_record and a callback rather than tdb_fetch()Andrew Bartlett1-16/+38
This avoid allocation at the tdb layer as we will allocate this with talloc right away anyway. Andrew Bartlett
2012-08-09s4-ldb_wrap: Do not vasprintf() the ldb debug messages that will not be shownAndrew Bartlett1-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
2012-08-09lib/ldb: Do not vasprintf() the tevent debug messages that will not be shownAndrew Bartlett6-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
2012-08-09lib/ldb: Use tdb_exists() rather than tdb_fetch()/talloc_free()Andrew Bartlett1-7/+7
This avoids pulling the record and doing an allocation when we just want to know if it exists. Andrew Bartlett
2012-08-06lib/socket_wrapper: writev returns ssize_t, not intChristian Ambach2-2/+2
2012-08-06lib/param: move enum dns_update_settings to lib/paramChristian Ambach2-1/+3
2012-08-06Revert "ldb: Add parameter to avoid NULL format string flagged by ↵Andrew Bartlett1-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
2012-08-06lib/param: Also enable vlp when --enable-selftest is specifiedAndrew Bartlett2-2/+2
2012-08-04doc: Remove build/ from doxygen config or it will not work in brew.Andreas Schneider3-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
2012-08-03lib/dbwrap: rewrite lock order check to ease debuggingGregor Beck2-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
2012-07-31lib/ldb: Ensure rename target does not exist before deleting old recordAndrew Bartlett4-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
2012-07-31tevent: Refer to the correct header in testsuite.cVolker Lendecke1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-07-30ldb: Add parameter to avoid NULL format string flagged by -Werror=formatAndrew Bartlett1-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
2012-07-30lib/tdb: Fix format string errors found by -Werror=format in tdb testsAndrew Bartlett1-4/+4
2012-07-30lib/ntdb: Fix format string errors found by -Werror=format in ntdb testsAndrew Bartlett1-1/+1
2012-07-30lib/ccan: Fix format string errors found by -Werror=format in ccan failtestAndrew Bartlett1-2/+2
2012-07-27lib/param: Rename "socket address" to "nbt client socket address" to clarify ↵Andrew Bartlett3-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
2012-07-27lib/param: Mark lpcfg_cachedir and lpcfg_statedir as const char *Andrew Bartlett1-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
2012-07-27lib/param: Remove unused "paranoid server security"Andrew Bartlett3-11/+0
This became unused when security=server went away. Andrew Bartlett
2012-07-27docs: Mark "socket address" as deprecatedAndrew Bartlett1-1/+1
2012-07-27param: Make socket_address common, Revert ↵Andrew Bartlett2-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
2012-07-27lib/param: Merge parameter tables into a common fileAndrew Bartlett2-4123/+4126
This file is then included into both loadparm systems. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2012-07-27lib/param: Merge in source3 parameters into parmeter tableAndrew Bartlett1-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
2012-07-27lib/param: Merge "Security Options" section from source3/paramAndrew Bartlett1-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
2012-07-27lib/param: Merge "Logging Options" section from source3/paramAndrew Bartlett1-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
2012-07-27lib/param: Merge "Protocol Options" section from source3/paramAndrew Bartlett1-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
2012-07-27lib/param: Merge "Tuning Options" section from source3/paramAndrew Bartlett1-4/+252
This will reduced the weight of the eventual merge of all of source3/param. Andrew Bartlett
2012-07-27lib/param: Merge "Printing Options" section from source3/paramAndrew Bartlett1-3/+290
This will reduced the weight of the eventual merge of all of source3/param. Andrew Bartlett