summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* replace: add some includes for poll.hBjörn Jacke2012-09-161-0/+6
| | | | | | | See bug #8107 Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sun Sep 16 04:05:08 CEST 2012 on sn-devel-104
* dns_server: Remove parameter 'dns recursive queries' and base this on 'dns ↵Andrew Bartlett2012-09-123-10/+0
| | | | | | | | | | forwarder' This simplifies a very common configuration. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* lib/param: change the default for 'allow dns updates' to 'secure only'Stefan Metzmacher2012-09-121-1/+1
| | | | metze
* lib/param: add some more alias for 'allow dns updates' options.Stefan Metzmacher2012-09-121-0/+12
| | | | metze
* loadparm: dns is now a default server serviceKai Blin2012-09-121-1/+1
|
* lib/krb5_wrap: when deleting default realm, pass char*, not char**Alexander Bokovoy2012-09-121-1/+1
| | | | | Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Wed Sep 12 10:33:37 CEST 2012 on sn-devel-104
* At Michael's suggestion, factor common code into a function. My bad :-).Jeremy Allison2012-09-111-4/+9
| | | | | Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Sep 11 20:08:37 CEST 2012 on sn-devel-104
* lib/replace: remove duplicate check for inotifyMichael Adam2012-09-111-1/+1
|
* Fix bug #9147 - winbind can't fetch user or group info from AD via LDAPJeremy Allison2012-09-101-2/+4
| | | | | Don't use "isprint" in ldb_binary_encode(). This is locale specific. Restrict to ASCII only, hex encode everything else.
* osX define uint64_t as long long intMatthieu Patou2012-09-101-1/+1
|
* s3: introduce a new share config option "durable handles" defaulting to "yes"Michael Adam2012-09-082-0/+10
| | | | | | | | | | | | | | | This is in order to be able to turn durable handles off and on on a per share basis. Note: This is only used in combination with: kernel share modes = no kernel oplocks = no posix locking = no Which means CIFS/SMB2 only access. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: add an option "kernel share modes" to be able to switch off using kernel ↵Michael Adam2012-09-082-0/+10
| | | | | | flocks Signed-off-by: Stefan Metzmacher <metze@samba.org>
* loadparm: remove remnants of removed option "share modes"Michael Adam2012-09-081-1/+0
| | | | | | (This completes commit d0878b3b8179b1cf061e1058bacbe670363b51c6) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* build: define _BSD_TYPES on IRIX to have types like u_shortBjörn Jacke2012-09-072-0/+2
| | | | | why the hell do IRIX systems headers like quota.h use types that are available only with such a define...?
* waf: add check for BSD_STYLE_STATVFSBjörn Jacke2012-09-071-0/+12
| | | | a leftover from bug #8777
* param: remove unused define FN_LOCAL_PARM_CHAR()Michael Adam2012-09-071-2/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-printing: Restrict printing=cups to systems with cups development headers ↵Andrew Bartlett2012-09-061-0/+4
| | | | | | | | | at build time This means that instead of failing due to the default commandline values not being quite correct that we clearly fail at loadparm and testparm time when parsing the printing= line. Andrew Bartlett
* lib/krb4_wrap: Add const to kt_copy_one_principalAndrew Bartlett2012-08-292-2/+2
|
* libkrb5: Fix build with MIT Kerberos.Andreas Schneider2012-08-291-6/+6
| | | | | Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Aug 29 12:23:37 CEST 2012 on sn-devel-104
* s4-dsdb: Avoid printing secret attributes in ldb trace logsAndrew Bartlett2012-08-291-0/+8
| | | | | | | | | | | These are printed when Samba has debug level 10, which is often used for debugging. To indicate that these attributes are secret, we set an opaque. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Aug 29 06:04:33 CEST 2012 on sn-devel-104
* lib/ldb: Avoid printing secret attributes in ldb trace logsldb-1.1.12Andrew Bartlett2012-08-298-14/+352
| | | | | | | | These are printed when Samba has debug level 10, which is often used for debugging. Instead, print a note to say that this attribute has been skipped. Andrew Bartlett
* lib/ldb: Bump ldb version to 1.1.11ldb-1.1.11Andrew Bartlett2012-08-283-1/+262
| | | | | | | This will ensure the next Samba release requires an ldb with the recent fixes. Andrew Bartlett
* lib/krb5_wrap: Move enctype conversion functions into a simple helper fileAndrew Bartlett2012-08-284-36/+109
|
* lib/krb5_wrap: Move kerberos_enctype_to_bitmap() into krb5_wrapAndrew Bartlett2012-08-282-0/+23
|
* 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" backendtevent-0.9.17Stefan 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 shownldb-1.1.10Andrew 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