summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* tdb: add -e option to tdbdump (and docment it).Rusty Russell2012-10-042-3/+53
| | | | | | | | | | This allows for an emergency best-effort dump. It's a little better than strings(1). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Thu Oct 4 03:16:06 CEST 2012 on sn-devel-104
* tdb: tdbdump should log errors, and fail in that case.Rusty Russell2012-10-041-2/+38
| | | | | | | Dumping a corrupt database should not exit silently with 0 status! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb: add tdb_rescue()Rusty Russell2012-10-047-4/+622
| | | | | | | | This allows for an emergency best-effort dump. It's a little better than strings(1). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb: Fix a typoVolker Lendecke2012-10-021-1/+1
| | | | | Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue Oct 2 19:52:16 CEST 2012 on sn-devel-104
* s3-krb5: use and request AES keys in kerberos operations.Günther Deschner2012-10-021-0/+6
| | | | Guenther
* lib/replace: Add test for what flag we need for -Werror behaviourAndrew Bartlett2012-09-291-0/+9
|
* lib/util/charset: We do not use fucntions from wchar.h any moreAndrew Bartlett2012-09-261-7/+1
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Sep 26 02:13:10 CEST 2012 on sn-devel-104
* lib/util/charset: Try to find iconv on HP-UXAndrew Bartlett2012-09-261-0/+3
|
* pyntdb: Fix init function for ntdb python module.Pierre Lejeune2012-09-251-2/+2
| | | | | | | Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Tue Sep 25 22:40:39 CEST 2012 on sn-devel-104
* lib: Make async_sock includable on its ownVolker Lendecke2012-09-251-0/+1
| | | | | Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue Sep 25 18:03:46 CEST 2012 on sn-devel-104
* replace: Avoid returning value in void setproctitle() replacement.Jelmer Vernooij2012-09-251-1/+0
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Tue Sep 25 06:38:40 CEST 2012 on sn-devel-104
* replace: Support setproctitle().Jelmer Vernooij2012-09-244-0/+19
| | | | | This uses the setproctitle() from libc, libsetproctitle or libbsd. If none is available it provides a dummy implementation.
* lib/replace: Look for special flags needed for c99Andrew Bartlett2012-09-241-0/+10
| | | | | | | | | This is normally handled by the waf core, but for HP-UX we currently fail. The autoconf code hard-codes a case for HP-UX, but I want to try testing it using a generic system first. Andrew Bartlett
* lib/replace: Improve mkstemp test in autoconf and wafAndrew Bartlett2012-09-242-4/+34
| | | | | | | | | On the Sernet-solaris8 host, this test passed in the autoconf build, then failed in the recursive waf build. This newer test should probe the behaviour more closely, by checking we get two distinct, secure files. Andrew Bartlett
* lib/replace: Remove unused nap and therefore the SCO defineAndrew Bartlett2012-09-231-10/+0
| | | | | | In any case, the Samba Team stopped supporting SCO systems a long time ago. Andrew Bartlett
* lib/util: Remove unbuilt file util_getent.c and BROKEN_GETGRNAMAndrew Bartlett2012-09-231-283/+0
| | | | | | | Removing this unbuilt file allows removing BROKEN_GETGRNAM which was only ever defined per-OS, not based on an actual test. Andrew Bartlett
* lib/replace: Try to fix build on HP-UX for os2_delete testAndrew Bartlett2012-09-234-17/+6
| | | | | | | | | | | | The issue is that this file is both used in an autoconf test, and later in a smbtorture test. Because os2_delete.c does not include replace.h, bool may not be defined. So, instead we shift the need for bool to a different header. (The readdir tests in repdir.m4 are not yet in the waf configure). Andrew Bartlett
* ntdb: Try to fix the build on Solaris which does not have errAndrew Bartlett2012-09-233-2/+15
|
* lib/tsocket: fix receiving of udp packets from 0 bytes (bug #9184)Stefan Metzmacher2012-09-221-4/+1
| | | | | | | | | It's possible for a client to send 0 bytes in a UDP packet, we need still need to call recvfrom() and skip the invalid packet at a higher level. Otherwise the kernel receive queue is blocked. metze
* libtorture: factor out simple ui backendGregor Beck2012-09-213-1/+87
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:dbwrap: remove unused args from db_open_file()Gregor Beck2012-09-212-6/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:dbwrap: let dbwrap_fetch_uint32 distinguish between "not found" and ↵Gregor Beck2012-09-211-2/+5
| | | | | | "wrong format" Signed-off-by: Stefan Metzmacher <metze@samba.org>
* replace: fix 520c9b0b0ae33Björn Jacke2012-09-181-1/+1
| | | | | | | fix typo in ifdef. Thanks to Joachim Schmitz for spotting this! Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Tue Sep 18 16:06:18 CEST 2012 on sn-devel-104
* panic action is defined as GLOBAL_VAR(szPanicAction) not ↵Matthieu Patou2012-09-181-1/+1
| | | | | | | | | GLOBAL_VAR(panic_action) Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Sep 18 06:12:00 CEST 2012 on sn-devel-104
* libreplace: Bug 8107, Fix poll replacement to become a msleep replacementJoachim Schmitz2012-09-171-1/+1
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* ldb: bump version to 1.1.13 so the 4.0 release can get the isprint fixAndrew Bartlett2012-09-173-1/+263
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Sep 17 23:47:57 CEST 2012 on sn-devel-104
* 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 logsAndrew 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.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
|