summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r8650: Use the timestamps and a new objectguid module rather than placingAndrew Bartlett3-0/+239
boilerplate attributes in every entry in provision.ldif. The next step will be to use templates. Andrew Bartlett (This used to be commit 940ed9827f5ab83b668a60a2b0110567dd54c3e2)
2007-10-10r8643: - make lp_configfile() work againAndrew Tridgell1-2/+2
- get rid of redundeny dyn_CONFIGFILE argument to lp_load() - fixed provisioning to work with completely pristine install, creating an initial smb.conf is none is present - added lp.set() and lp.reload() to loadparm ejs object interface (This used to be commit c2691ef7126ddcee5f95970b78759b40a049d0a7)
2007-10-10r8631: give an error on incorrect argument countAndrew Tridgell2-5/+4
(This used to be commit ed09e19794d9625553bc48892a2e08b84d7bdcf4)
2007-10-10r8630: give a much nicer backtrace on assert() failures in ejsAndrew Tridgell3-20/+25
I will submit this upstream (This used to be commit a2266f6927d953459bd4b02fbca0a9c95c18494e)
2007-10-10r8625: move the ldb_wrap logic into the ldb code. This logic is meant toAndrew Tridgell6-60/+131
avoid the horrors of posix locking, but it was preventing us having an ldb open twice with different options. Now each ldb open of the same file shares the same underlying tdb, but uses a different ldb structure (This used to be commit 4e090c66dfa1d2764e4693578d3845be3b8893f6)
2007-10-10r8624: removed valgrind comment on tdb that no longer appliesAndrew Tridgell1-19/+0
(This used to be commit 8f222c8c7a750c739d3288da0b1edb1efc3b1ffc)
2007-10-10r8601: fixed null termination in ltdb connect errorAndrew Tridgell1-1/+1
(This used to be commit 64b6586b57de0bf22f8779447d217a918b7024a0)
2007-10-10r8600: fixed null termination on some error messages in ldbAndrew Tridgell1-3/+3
(This used to be commit 326f0ad6fba8d78f104b93b49995e6c24f9493ef)
2007-10-10r8599: null terminate the argv list in string C functionsAndrew Tridgell1-1/+2
(This used to be commit cabf638a31ab5f9b0e62e085d844d615c597bc2f)
2007-10-10r8587: - fixed ref allocation in irpc repliesAndrew Tridgell1-8/+24
- make every irpc server support the irpc_uptime() call (This used to be commit eee90448268b9f673cc43076ad87529aa80d17ae)
2007-10-10r8585: add to ldb and ldap comparison functionalitySimo Sorce5-257/+420
better pares filters Approx is currently only a stub need to dig more info to understand what it really means and how it works exactly (This used to be commit a9e8cd0bad27ed2b3c6a12302e787ba3c9a70a3c)
2007-10-10r8580: try to fix the build on stratusAndrew Tridgell1-12/+8
(This used to be commit 58d7a1e6a311c98c9b4dfc9e280b328406165997)
2007-10-10r8579: recognise the name 'localhost' as 127.0.0.1. This solves a problemAndrew Tridgell1-0/+5
with some hosts that are missing localhost from /etc/hosts (This used to be commit f9866258e099001390aa61dcc12055fe1374db60)
2007-10-10r8567: fixed the build after the com idl changesAndrew Tridgell1-4/+4
Jelmer, can you please check that I got this right? (This used to be commit bec135446af741200743cdc4ecb4c5ce68ed34a6)
2007-10-10r8562: small merge with upstreamAndrew Tridgell2-12/+5
(This used to be commit 6c9bf162afddda4747ef08b56598aaf0747a4d27)
2007-10-10r8541: this might take a few tries ...Andrew Tridgell1-1/+1
(This used to be commit cc61a0ba33d5a9d4d0b98736109220c58342358a)
2007-10-10r8540: fixed network interface detection on several hostsAndrew Tridgell2-7/+5
(This used to be commit 777ac8496b400b0ed348995feed83c22c5b344b3)
2007-10-10r8529: Matching against the wrong unionSimo Sorce1-2/+3
(This used to be commit 24a65b5ba6e31655bdf49be8076d758206694ac3)
2007-10-10r8520: fixed a pile of warnings from the build farm gcc -Wall output onAndrew Tridgell7-12/+14
S390. This is an attempt to avoid the panic we're seeing in the automatic builds. The main fixes are: - assumptions that sizeof(size_t) == sizeof(int), mostly in printf formats - use of NULL format statements to perform dn searches. - assumption that sizeof() returns an int (This used to be commit a58ea6b3854973b694d2b1e22323ed7eb00e3a3f)
2007-10-10r8517: fixed a crash bug in ldb_dn_compare_base()Andrew Tridgell1-2/+4
(This used to be commit 19d789e82526eff236aeed77ddc8d2606c5118b6)
2007-10-10r8515: ldb_dn_cmp now uses ldb_dn_compare so that the DNs are comparedSimo Sorce5-16/+35
on a content level not ona form level, his means that the 2 DNs: a) cn= user, dc=this, dc = is,dc=test b) cn=user,dc=this,dc=is,dc=test are now identical even if the string form differ (spaces) (This used to be commit 76d496c30867ae80434483a34b0d842523aed762)
2007-10-10r8490: make the ldb tests more portableAndrew Tridgell3-3/+3
(This used to be commit 6b20bcbeeb33a2cf6abc7bb251830ad6def9a79e)
2007-10-10r8485: - be friendly to shells other than bashAndrew Tridgell3-3/+6
- don't use /tmp in test paths, as that opens us to symlink attacks (This used to be commit 9f29cccbc1fb44cb0317911601456c190883f066)
2007-10-10r8483: switched our generated ejs rpc code over to the new OO interface. ThisAndrew Tridgell1-0/+1
means we don't pollute the name space, and also makes for faster startup times as we only create variables for the pipes that we use, not all pipes (This used to be commit 57d7a585e8162d21c7152952aa0cc7471968784f)
2007-10-10r8482: gnutls_x509_crt_set_subject_key_id is not available in some versionsAndrew Tridgell2-0/+20
of gnutls. Thanks to ab for spotting this. (This used to be commit 437c4057ae4e89725ddbdd026977510beb33c009)
2007-10-10r8470: looks like popt portability is going to be a bit of a fight :(Andrew Tridgell1-1/+2
(This used to be commit d3872a6e4ce0227fa3c84173562551d0270918b6)
2007-10-10r8467: using both math.h and float.h breaks popt on freebsd 5.4Andrew Tridgell1-2/+3
(This used to be commit a1acb3300eec7717df24ecdf7205fb4e395d8c16)
2007-10-10r8466: it is not portable to assert() a va_list (it breaks on alpha for example)Andrew Tridgell1-1/+0
(This used to be commit 2a64ee4227840de4aebe2ebe1887dfd167831738)
2007-10-10r8465: once we define socklen_t, then tell other include files we have it. ↵Andrew Tridgell1-0/+1
This prevents roken trying to redefine it (This used to be commit aa9491c0cb00f5cab9e00983bf2a0c266011904a)