summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19033: prepare to use the libreplace testsuite as LOCAL-REPLACE in smbtortureStefan Metzmacher1-4/+6
metze (This used to be commit 71fc73e11cee89f1b52cda5a32468a74a38cecc3)
2007-10-10r19032: let the getdents replacement fail and see what the build-farm says.Stefan Metzmacher1-0/+1
metze (This used to be commit 4ed53dfafcbafbad8f2cde65e84dc0fe32fa62f8)
2007-10-10r19029: test if opendir() on a file sets errno = ENOTDIRStefan Metzmacher1-2/+6
metze (This used to be commit 6b5f06b059583f9d685d71d48299ab334581c179)
2007-10-10r19023: lets see what the build-farm says about trying theStefan Metzmacher1-22/+22
getdirentries() based readdir() replacement first. metze (This used to be commit 268c8bc7ef63ca7fd7900bd0aec345b895512c68)
2007-10-10r19022: eliminate a warningDerrell Lipman1-1/+1
(This used to be commit d48b2d83057b8e78e3ed31f56578e18ef9b9aed6)
2007-10-10r19021: match the prototype for a trigger functionDerrell Lipman1-2/+2
(This used to be commit f2f191891582af7dcb6d38c14e4ef7afc361299a)
2007-10-10r19017: Merge from Samba3:Volker Lendecke2-0/+24
Attempt to fix the BSD RAW-CHKPATH failures: In Samba3 we rely on opendir returning ENOTDIR when the file opened is not a directory. Can we merge this back into Samba4? This includes the tabs->spaces fix requested by Stefan. Volker (This used to be commit 7b9ee1171ddc89537ba3b286f20c722fb70c980b)
2007-10-10r19009: ensure that data values from ldap libs are null terminated, to allowAndrew Tridgell1-1/+6
ldb_msg_find_attr_as_string() to work correctly. Thanks to Jim Myers for spotting this! (This used to be commit b2076c1a7e4b70644b59689ce46952ef940be6b0)
2007-10-10r18999: merge from samba3:Stefan Metzmacher2-10/+9
- make more usage of PRINTF_ATTRIBUTE() - vsyslog takes a 'const char *format' metze (This used to be commit cdcd4232d2f383f4d2f9ca1d049b7b3cc7b58359)
2007-10-10r18995: - fix bug 4078Stefan Metzmacher2-12/+37
- talloc_free(talloc_autofree_context()); should not result in a SIGABORT on exit - add a test for this, but this test can also pass in the standalone build and samba3, as samba4 uses talloc_autofree_context() metze (This used to be commit 2be48c1b033dceb9517826054b8ea97df2c94472)
2007-10-10r18992: prepare SOCKET_WRAPPER_PCAP_FILE supportStefan Metzmacher1-29/+83
metze (This used to be commit 400098416c1a4d7ae51b86eced51bffd6134296a)
2007-10-10r18991: Fix bug 4133 -- Thanks to Olaf FlebbeVolker Lendecke1-0/+7
(This used to be commit d8bea42bb78619ae35a9680b24fe9eee5f25997d)
2007-10-10r18978: Fix bug found by:Andrew Bartlett1-3/+13
http://www.ee.oulu.fi/research/ouspg/protos/testing/c06/ldapv3/ The issue here is that if the UTF8 conversion fails, because this isn't actually UTF8 data, then we need to do a binary compare instead. Andrew Bartlett (This used to be commit a113e47784157ec6086b014c1fc998e8a23e7382)
2007-10-10r18971: avoid strndup is a few places. Fixes a minor memory leak, and shouldAndrew Tridgell1-2/+2
fix RPC-LSA on AIX. (This used to be commit 6cce709d08579f4e00b44b692332a557b0ea3b86)
2007-10-10r18970: avoid strndup and strnlen on AIX. They are quite broken. SeeAndrew Tridgell2-2/+6
http://lists.samba.org/archive/samba-technical/2004-August/036915.html (This used to be commit c178c84f01166609e6bd3393d39fb0034130167b)
2007-10-10r18960: fix caching of some configure tests AC_CACHE_CHECK()Stefan Metzmacher2-20/+20
*needs* '_cv_' in the shell var to do caching... metze (This used to be commit cb334632fae28bff107200a7b5643289f383eaad)
2007-10-10r18957: we need to include unistd.h in system/network.h becauseStefan Metzmacher1-0/+4
it contains the ioctl() prototype on some systems and we need to make sure it gets included before socket_wrapper defines ioctl swrap_ioctl metze (This used to be commit f37b13cbe65404f27d31b8020afb2f542313f4d3)
2007-10-10r18948: fix the build on solaris, the ioctl() prototypeStefan Metzmacher1-1/+1
in unistd.h was included after libreplace defined ioctl swrap_ioctl metze (This used to be commit 55b25a9fcfa5ddf290e371c2bcad8ad07969f19a)
2007-10-10r18947: overload listen() and ioctl() in socket_wrapperStefan Metzmacher3-0/+46
metze (This used to be commit dfaccdca1b6954cd61828749d7b000f804f3b066)
2007-10-10r18946: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit 450595822441ebaa199d6b10d568274940b1a91b)
2007-10-10r18943: Samba4 wants its databases private to root. I know some of them couldAndrew Tridgell1-0/+5
potentially be public, but we'd need to think about them carefully. (This used to be commit 142a235f663f707eee3f16d0c1265b01fe1ecf32)
2007-10-10r18942: add a ldb_set_create_perms() function in ldb. I didn't call itAndrew Tridgell4-1/+16
ldb_set_umask() (which is what we had discussed) as it doesn't actually set the umask (in effect it sets the inverse of the umask - the perms to be used for the file) (This used to be commit 7e2ec875908c112d5c3b0f6d18f9a8bbacf33539)
2007-10-10r18939: don't rely on the umask being right in ldb creation. Both Samba3 andAndrew Tridgell1-1/+1
Samba4 smbd force the umask to 0, which meant we ended up with ldb being world writable. This isn't really an ideal fix, as it means ldb no longer honors umask (as it should do, like all good libraries). Unfortunately the 'proper' fix is too complex for now this also merges a tiny code style fix from s4 to s3 (This used to be commit 1a42f38dfdc55d7429a1f8d3e811f3d857195a58)
2007-10-10r18925: Add current snapshot of the ejs-2.0 code. Tridge, will you be ↵Derrell Lipman80-0/+33339
incorporating this? (This used to be commit 917af234a8d517f82bd42256a940608a16b988f4)
2007-10-10r18918: - bail out with unsupported option to socket()Stefan Metzmacher1-18/+53
- don't reuse portnumbers in the autobind code - use if (!...) return; logic instead of if (...) { do everything } return for swrap_close metze (This used to be commit 68a65aa4490c12ca70db335f928f3ac507902337)
2007-10-10r18917: having 255 virtual interfaces available in socket wrapper means weAndrew Tridgell1-3/+5
stat() 240 files that don't exist on every broadcast. That's a bit excessive! reduce max virtual interfaces to 16 (This used to be commit 3c4100027c7d3806a2021cb4d70ec6adf9dd2dc6)
2007-10-10r18914: this bug fix needs to be for just hpux 11.11Andrew Tridgell1-1/+4
(This used to be commit 2cccede13d34011767159c3345bb6da24ed09bd3)
2007-10-10r18913: an attempt to get tdb/ldb working on the HPUX box 'gwen'. This ideaAndrew Tridgell1-0/+1
come from Don McCall. Don may well be able to provide us with a configure test in the future which does this in a nicer way, I just want to see if it works now. (This used to be commit f7f548a1c79a78a1b15e96732994135cba94aa3d)
2007-10-10r18910: Change ldb_msg_add_string() to not actually add an attribute if theAndrew Tridgell1-0/+5
string is zero length. This allows callers to not have to worry about creating an invalid ldap attribute. See extensive discussion on samba-technical list :-) (This used to be commit 7a1db8c2a432b9ab59b29ee1bfce6c8fe8e981a2)
2007-10-10r18903: merge from samba3:Stefan Metzmacher4-4/+6
define HAVE_LDB_LDAP and HAVE_LDB_SQLITE3 metze (This used to be commit 4e2f5ba490d717283ab089d90ebd5c108a8c53b0)
2007-10-10r18894: Merge const fixes from 3_0Volker Lendecke1-5/+5
(This used to be commit 4ce447223cc71b8b2a31c2da3b0afd8e3fcf0c01)
2007-10-10r18882: make style consistentSimo Sorce1-1/+3
(This used to be commit a141ee9473ae46c63dea247456f156b40f766d42)
2007-10-10r18881: remove wrong check and statement.Simo Sorce1-5/+0
to manipulate rootDSE we use ldb_dn_new() as base and that has 0 elements. (This used to be commit 3e131177dae3536c07632fe09e7ebe877bcd9332)
2007-10-10r18862: as andrew pointed our on irc, if we are going to define _TRUE, thenAndrew Tridgell1-2/+2
better make it be true :) (This used to be commit 4bda5ed3f9fda437c3f9b7e8ce83853999601c74)
2007-10-10r18861: merge from samba3Andrew Tridgell1-0/+11
(This used to be commit c5e2fcdc10a0869264bb1c6a13ada5f12e1b655f)
2007-10-10r18859: finally worked out what is going wrong with immediate structures. TheAndrew Tridgell1-0/+27
problem is that the AC_PROG_CC_C99 macro ends up selecting either -std=std99 or -std=gnu99 for gcc. Ironically enough, that breaks constant structure initialisers! So, simplest solution is to not try that configure test if we know we are using gcc (This used to be commit 331435daf3275acaf282c1032c6e9f7dc3e685bb)
2007-10-10r18851: Some C++ warningsVolker Lendecke1-8/+8
(This used to be commit 69f05f288ce7a8508760db861d0910495bd1d578)
2007-10-10r18848: Save the json library before I start hacking on it. I'm going to beDerrell Lipman46-0/+43812
converting it to natively use ejs objects, instead of its own internal format. (This used to be commit 119db8924a6e9c40a94c76c57198877875c53afc)
2007-10-10r18840: make these compatible with g++ warningsAndrew Tridgell2-15/+15
(This used to be commit bcfa93954fdb00f500f174cd227e3d9b2ef94fdc)
2007-10-10r18834: get the log context code rightAndrew Tridgell1-2/+2
(This used to be commit b6bb5d7b772467042cee6ea372119781c42b91c1)
2007-10-10r18832: fixed standalone buildAndrew Tridgell1-19/+19
(This used to be commit 1ebc098b6776d38451e441280ac13664d64569f4)
2007-10-10r18831: minor build changes for samba3. The logging changes will be removedAndrew Tridgell5-4/+41
when the tdb api is updated (This used to be commit 6ace943fac101839e35cbc83dc54fde2068f704b)
2007-10-10r18830: ensure backends aren't added twice (needed for samba3)Andrew Tridgell1-13/+19
(This used to be commit 54b864b491d8a10c28833d28b764262503a72e91)
2007-10-10r18781: Move the usnCreated and usnChanged handling around again.Andrew Bartlett7-144/+71
This moves these attributes from objectguid into an optional backend (objectguid), used by ltdb. For OpenLDAP, the entryUUID module converts entryCSN into usnChanged. This also changes the sequence number API, and uses 'time based' sequence numbers, when an LDAP or similar backend is detected. To assist this, we also store the last modified time in the TDB, whenever we change a value. Andrew Bartlett (This used to be commit 72858f859483c0c532dddb2c146d6bd7b9be5072)
2007-10-10r18777: add helper functions to create an ldb_request structureSimo Sorce2-69/+205
(This used to be commit bcbe82873f2f0a4e2552ed27eb171028de4560a7)
2007-10-10r18770: Avoid crashes and fix up other issues in the client-side ↵Andrew Bartlett1-27/+57
paged_searches module. In particular, we must query the remote server to find out if paged searches are supported, not the local ldb. This patch also removes the ue of bool, and returns it to LDB error codes. Andrew Bartlett (This used to be commit d36d05858bb9b87802f5ffb83285ef12b9646741)
2007-10-10r18769: Re-enable __VA_ARGS__ test (but don't make it fatal)Jelmer Vernooij1-4/+4
(This used to be commit cc8c403de8c6558031c14f929a485361b7eb0222)
2007-10-10r18723: Update list of provided macros/defines in README.Jelmer Vernooij1-0/+7
(This used to be commit 5e951bdeec2d7d872410fafb9f051eb4340b6e50)
2007-10-10r18708: much nicer fixStefan Metzmacher1-2/+1
metze (This used to be commit 8999a9eb2e7f3e8e4ff8f5311b9375bde590f2a5)
2007-10-10r18704: readd BOOL define to fix the buildStefan Metzmacher1-0/+1
but I think this is the wrong fix... metze (This used to be commit 018b142d93ba2d36cd68db407e4a591461137b9b)