summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r9369: an attempt to fix the build on HPUX. This is based on work by DonAndrew Tridgell2-79/+29
McCall, but takes a slightly different approach that I hope will be more generic (This used to be commit e8260a81cf99be2ccae64135ca0572c8a6ae62ad)
2007-10-10r9357: Remove DBGC_CLASS cruft copied over from Samba 3. I would like toTim Potter4-12/+0
replace this with something funkier. (This used to be commit 8d376d56c78894b9bbd27ed7fa70da415c0cd038)
2007-10-10r9338: fixed the winreg IDL to be correct for the EnumKey and EnumValueAndrew Tridgell1-23/+26
calls. The previous IDL was just a workaround for the limitations of our older rpc infrastructure. Now that Jelmer has added much improved string support using the charset keyword we can correctly implemenent the unusual winreg string buffers. Jelmer, note the little comment I put on winreg_StringBuf() about why I couldn't use [value()] for the length field. This also fixes EnumKey() and EnumValue() to use NTTIME fields for the last_changed_time. I don't know why we were using a pair of uint32's, as it is just a NTTIME. (This used to be commit 8354b016122cc4f3cff042b3ada1de07e1614eb7)
2007-10-10r9318: fix searches with scope ONE and SUB,Stefan Metzmacher2-1/+5
the problem was that ldb_dn_compare_base() just looked at if both dn's mtach some how, and the following happens: basedn: CN=bar,DC=foo,DC=com dn: DC=foo,DC=com and dn: DC=foo,DC=com was return as result of a sub and base search and also the ONE search with basedn: DC=foo,DC=com returned this dn: CN=bla,CN=bar,DC=foo,DC=com metze (This used to be commit 2a107472c373e425013050e28b944c830f653a87)
2007-10-10r9311: Missing null pointer check in ejsLibSteve French1-1/+2
Found by coverity (This used to be commit ae7b073af3d690275dbfa11c8406963702c57d3b)
2007-10-10r9299: fixed the evaluation of pointer expressions that evaluate to booleanAndrew Tridgell1-2/+25
(This used to be commit 17679676d4629ac81116ae1b102f1a311b5d4eed)
2007-10-10r9209: - fixed the ldb registry backend to work with the new provision ldifAndrew Tridgell2-6/+8
- default to ldb backend if none specified (This used to be commit 8c3f57f7917efceb11b3b6a2ac76ec44968fbfb6)
2007-10-10r9183: more workarounds for the global variables in ejs. I will discuss ↵Andrew Tridgell2-0/+30
getting rid of these with the mbedthis people. (This used to be commit a5b9e74a5c23e724ae4ee222e6f128133b175494)
2007-10-10r9173: catch ep->local being NULLAndrew Tridgell1-1/+3
(This used to be commit 9f75bc3ca061abbfeb6ac9fc60834b8c1f6e2c4d)
2007-10-10r9172: - fixed a nasty bug in the 'deep copy' mpr code that caused variablesAndrew Tridgell1-2/+4
called 'credentials' to not copy correctly (the bug was in handling of chaining in the copy code - ensure that C pointer variables are copied via a talloc reference so that we can persist rpc pipes and credentials between sessions (This used to be commit ca6f049693f8bfe69d5c7533b2cc92221d0cf6d4)
2007-10-10r9110: use printf againStefan Metzmacher1-2/+2
metyze (This used to be commit 99537d35cb7c2561a7ce47ac7ad602496afe3475)
2007-10-10r9106: look for something more usefull in the -lnslStefan Metzmacher1-2/+2
(this is for solaris) metze (This used to be commit f37bb2a838b83e70d50a0ed036e641ced16d8a7b)
2007-10-10r9078: - move charset stuff to lib/charsetStefan Metzmacher4-11/+20
- don't use the global $LIBS variable for -liconv as $LIBS is not used anymore should fix the build on solaris 10 metze (This used to be commit 69ade058fde8e4cc62e4830c0b080e720d8e581d)
2007-10-10r9063: - don't pollute the global $LIBS variable with -ldlStefan Metzmacher4-1/+150
- -lresolve seems to not being needed any more (it's actually not used, and the build farm seem to happy with it) - move socket and netif configure test to seperate files - don't pollute the global $LIBS variable with -lsocket ... - actually make use of the -lsocket when needed (should fix the solaris build) metze (This used to be commit adebd56be6f62323d56b6666ca0e02f85a33438e)
2007-10-10r8985: Automatically generate make dependency rules forJelmer Vernooij1-7/+3
the asn1 and error table files. This removes the need for HEIMDAL_EXTERNAL (This used to be commit 2f481ac93c0151b82dab737d49ae8d0d3cbbbbbe)
2007-10-10r8972: More simplifications...Jelmer Vernooij1-1/+1
(This used to be commit d89caeb8004c5cfabc934c8efa899a6d1839d250)
2007-10-10r8966: Simplify the makefile generation system a bit.Jelmer Vernooij3-0/+15
Autogenerate list of binaries (rather then having them hardcoded in build/smb_build/makefile.pm) Add INSTALLDIR keyword to .mk files (This used to be commit ce0935112b846486cf705ec69f12350be9c4c89d)
2007-10-10r8940: Add TDR (Trivial Data Representation). The aim is to use this later forJelmer Vernooij3-0/+284
NBT/WINS/etc rather then having to depend on NDR. (This used to be commit 5ee7af26dd220de06f1764cd1683abedeeda5131)
2007-10-10r8923: put the IRPC default timeout back to 10s (I didn't mean to commit ↵Andrew Tridgell1-1/+1
this, it was changed just for deugging) (This used to be commit a7c260e61feec210bcb5cad0f8f759544dc9dd1e)
2007-10-10r8917: Better support for extended ldap search operationsSimo Sorce1-0/+2
Try to follow the RFC where possible and adapt to openLdap and AD way of handling this structure (This used to be commit d844d45d87b4114bc1b9af2e40f8c27ba3e219de)
2007-10-10r8905: don't try to do DNS lookups on interface names with wildcardsAndrew Tridgell1-0/+4
(This used to be commit bbdd446254a0e66af3326e2e66d568eeee0922c0)
2007-10-10r8887: fixed the irpc error that caused ia64 to fail the LOCAL-IRPC testAndrew Tridgell2-11/+16
(This used to be commit ce9a262d379b946717d0d4be4731c837e6f7373d)
2007-10-10r8886: Exchange the arguments of timeval_compare, this makes it behave like ↵Volker Lendecke2-9/+10
strcmp. Volker (This used to be commit 6f5bd7602155413029de32295d2639c4073ad4d8)
2007-10-10r8883: Apply some const.Volker Lendecke1-11/+16
Volker (This used to be commit ccbb64e2670eab921bc50b8f2dbf0b274c0b8750)
2007-10-10r8875: Rename timeval_diff to timeval_until and revert the arguments. ↵Volker Lendecke2-9/+9
timeval_diff is not strictly a subtraction function, there can't be negative timevals. Volker (This used to be commit 525d75dd24f6a8810f1ed2043d170c70b060f1f0)
2007-10-10r8826: Make configure generate config.mk files (with the external librariesJelmer Vernooij1-1/+0
that were found) and a config.pm file (with all substitution variables) (This used to be commit 52bb1374bbcfc9b9a6d098687bafe9021a1ee858)
2007-10-10r8819: fixed a memory leak in irpc_call()Andrew Tridgell1-1/+3
(This used to be commit 25b7524ce5029eadd48c3046297ca6bd3260b013)
2007-10-10r8810: Fix missing headers. Still doesn't fix the build but getting closer ↵Rafal Szczesniak1-0/+1
there. rafal (This used to be commit bc638cc3d66525cf91ef76eb0c486542fff2b929)
2007-10-10r8779: Add rdn module to makefile and headersSimo Sorce3-2/+5
Search by distinguishedName as if searching by dn (This used to be commit 1d4046136255aead319ab08da229146dbd285b38)
2007-10-10r8750: drat, on some systems dirfd() is a macroAndrew Tridgell1-0/+3
(This used to be commit d974bf3589e1b0cd1d5661a21571b81e99350709)
2007-10-10r8749: for completeness, add rewinddir() and dirfd()Andrew Tridgell1-0/+10
(This used to be commit ce022e40908dabad41de276941d2ee7a5739aea4)
2007-10-10r8747: remove unused codeAndrew Tridgell1-90/+0
(This used to be commit 60a07da59dfe6dd89f01c6fb494debeda1a1984d)
2007-10-10r8746: replace opendir/readdir/telldir/seekdir/closedir on systems where theyAndrew Tridgell3-1/+166
are broken (apparently all BSD systems). This breakage leads to unlink on files in an open directory causing a later seekdir to miss files. The bug happens due to a block boundary bug in the BSD libc implementation of these calls. This replacement code also fixes a severe memory usage problem with telldir that can cause closedir() to take an arbitrary amount of time. I have reported the bug in readdir to Greg Lehey (a FreeBSD maintainer) (This used to be commit e1bf7c4279fbc03a52497d24cea375e75059cba1)
2007-10-10r8740: Extend the rdn_name module to handle adding the rdn as an attribute. ie:Andrew Bartlett1-1/+26
dn: cn=foo,ou=bar objectClass: person implies dn: cn=foo,ou=bar objectClass: person cn: foo (as well as a pile more default attributes) We also correct the case in the attirbute to match that in the DN (win2k3 behaviour) and I have a testsuite (in ejs) to prove it. This module also found a bug in our provision.ldif, so and reduces code complexity in the samdb module. Andrew Bartlett (This used to be commit 0cc58f5c3cce12341ad0f7a90cdd85a3fab786b3)
2007-10-10r8736: this fixes the ldb speed (raises BENCH-WINS from 15 ops/sec to over 4000)Andrew Tridgell1-0/+7
simo, we need to be careful to cope with this sort of direct dn query efficiently (This used to be commit 7b37923b726752101062fa8a92d3f96e41d55602)
2007-10-10r8710: another attempt at fixing HPUXAndrew Tridgell1-1/+2
(This used to be commit eb3b3c8b407b2208291385539c3379f0420a448e)
2007-10-10r8703: cope with null string in interpret_addr()Andrew Tridgell1-1/+1
(This used to be commit ff156f7aae29045edd898635d16d141b3e848f3f)
2007-10-10r8698: attempt to cope with lack of strtoull() on HPUXAndrew Tridgell1-1/+9
(This used to be commit c84c516b179fcbbcdb36c0c0aa4ffb4ff12f2c35)
2007-10-10r8696: fixed ejs to more strictly follow the va_list rules. Might fix thatAndrew Tridgell2-3/+5
pesky panic on x86_64 (This used to be commit 80177b29f4b32996d41a87df041c4c1bfb6876c2)
2007-10-10r8685: an alpha in the build farm is dying with a floating pointAndrew Tridgell1-0/+3
exception. Catch these in out fault handler, so we get a backtrace (This used to be commit 802724cf69e65a07202f3399a4321a35c2f3c018)
2007-10-10r8684: this should fix the panic on x86_64, and possibly alphaAndrew Tridgell1-2/+6
(This used to be commit c2f5884e2f8a033446467384b6c058567b2fb9ce)
2007-10-10r8681: if SOCKET_WRAPPER_DIR starts with ./ then strip it internally. This ↵Andrew Tridgell1-4/+17
saves us 2 more chars in the name, which is enough to get IRIX 6.4 working (This used to be commit e6d9cde482ad9f3fa91d9ce3638e2ec6530b3a9c)
2007-10-10r8679: only call fault setup once (thanks to andrew for pointing this out)Andrew Tridgell1-3/+4
(This used to be commit f8a2b032a70dd63f4454b982d00168dcf6793202)
2007-10-10r8678: setup for gdb backtrace in 'make test'Andrew Tridgell2-20/+18
(This used to be commit acf8c8fd4995acef47390df5a7d4e611c597367d)
2007-10-10r8671: use much shorter names for the selftest directory and socket wrapperAndrew Tridgell1-4/+16
code. I'm afraid this is needed by irix 6.4 which silently truncates names in unix domain sockets in recvfrom() to 16 chars. My apologies for having to move to such short names :-( (This used to be commit f9693e313da67e1347a607db5d3ebbf36e02a77a)
2007-10-10r8669: The objectguid module belongs in Samba's ldb module collection, not inAndrew Bartlett3-234/+5
ldb, as it can't build without the NDR and GUID code. Also make it properly use the NDR encoding for the GUID (I forgot last time, and used a string), as well as set the dependencies on the module correctly. Andrew Bartlett (This used to be commit 8054abc76e5e3588cebc7fc01062a1223b7f140b)
2007-10-10r8668: fixed a segv during upgrade of a very old ldb.Andrew Tridgell1-0/+5
Thanks to volker for finding this one too. Keep them coming! (This used to be commit 756796ad2ea86a9471d1b09e66b1a74c4523f6f4)
2007-10-10r8667: Further simply the provision script, by removing the 'name' attribute.Andrew Bartlett4-21/+311
This is now calculated on the fly for every add and modify. Andrew Bartlett (This used to be commit ed1f2e029c840d2b3ecb49dbe6e8cd67588eeeed)
2007-10-10r8659: return ldif formatted attributes in the ejs ldb search call, so sids ↵Andrew Tridgell2-3/+3
show up as strings not binary blobs (This used to be commit d2c29a5a51f68cabb9ef587376bf0a6b936cdd76)
2007-10-10r8651: fixed a boolean expression bug (submitted upstream)Andrew Tridgell1-0/+3
(This used to be commit bd4c388cd2653823e012f1cd8c14832ee032eb11)