summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19182: merge from samba4:Stefan Metzmacher4-1/+16
add ldb_set_create_perms() function to set the create_perms after ldb_init() and before ldb_connect() metze (This used to be commit dd9d469eef337954b6aee4c86ac0691f52812456)
2007-10-10r19179: remove difference with samba4Stefan Metzmacher1-0/+4
metze (This used to be commit e97e1ffea8e124c8001cf33ecac7500ae875f42f)
2007-10-10r19177: merge from samba4:Stefan Metzmacher1-9/+34
fix the standalone build of socket_wrapper by not using samba's DLIST_ macros metze (This used to be commit bc7b2e8db8fb34d6f321cd6b13b74e58945d7124)
2007-10-10r19172: merge from samba4:Stefan Metzmacher2-36/+72
change the socket wrapper license to what heimdal uses... metze (This used to be commit d19c19ae4be3f3ad349b72ba3181051bb4da335e)
2007-10-10r19163: pass always a mem_ctx to functions and a ldb_context where neededStefan Metzmacher5-20/+23
It would be nice if someone can merge that to samba4, otherwise I'll merge that to samba4 on monday metze (This used to be commit 6bc42f31ce294f2bd50ffbd536e1ee42607ef799)
2007-10-10r19145: talloc_reference() can fail!Stefan Metzmacher1-1/+3
metze (This used to be commit e4f2183684da90a67bc6a635d008b72a6dd3d0dd)
2007-10-10r19137: that looks nicer:-)Stefan Metzmacher2-2/+2
metze (This used to be commit db40552d9471f4a8ce2c5c724319a4eb242ed24a)
2007-10-10r19135: fix bugs...Stefan Metzmacher1-5/+4
- passing mem_ctx as ldb_context is a bad idea! - naming a static function talloc_ is also bad and misleading metze (This used to be commit 0523ad249335c6094854bc9cefb46e2095f4c0ba)
2007-10-10r19133: More C++ warnings -- Merge across?Volker Lendecke1-6/+12
(This used to be commit c879ed3d1edffeda629dc1e05031dca91c1a1e30)
2007-10-10r19132: Fix some C++ warnings. Is there interest to have them in Samba4 as well?Volker Lendecke6-14/+19
I have some problems resolving the last 3 ones in attrib_handlers.c. In line 251 the function ldb_dn_explode_casefold is called with mem_ctx as the first argument. Looking at ldb_dn_explode_casefold I see that the first argument it expects is a struct ldb_context. I could certainly add a cast to (struct ldb_context *) to that call, but I would assume that this is the wrong fix. Is it possible that attrib_handlers.c:251 and :254 should have ldb and not mem_ctx as the first argument? Can anybody from Samba4 clarify this for me and apply the correct fix? Thanks a lot. Volker (This used to be commit 26f2cb71ebf00b2c6f356da5f32384f7fa083521)
2007-10-10r19130: fix the logic for the AC_PROG_CC_C99 checkStefan Metzmacher1-1/+1
metze (This used to be commit 21516dc5ac95e7e5d6a7d7f890d42742b36f2454)
2007-10-10r19126: Fix some uninitialized variable warningsVolker Lendecke1-4/+7
(This used to be commit 90bfa3461038f5d179525dec0cf5b3f137e927e0)
2007-10-10r19125: merge from samba4Andrew Tridgell3-45/+44
(This used to be commit 65e1500ae6b5ca6334a63f4a18272568202bc048)
2007-10-10r19124: merge from samba4:Stefan Metzmacher1-1/+1
pass LDFLAGS from configure to Makefile metze (This used to be commit 7ba9fddacb97153405bf0bec16b3a868e4e323e0)
2007-10-10r19121: try to get rid of the difference between in system/iconv.hStefan Metzmacher1-6/+16
between samba 3 and 4. metze (This used to be commit 04031a9fca037ad77cca0ba0da6801d5017521ba)
2007-10-10r19102: fix typo, thanks derrell!Stefan Metzmacher1-1/+1
metze (This used to be commit 0a516c3026114a32092f4a62fcbbfc4c410c0dea)
2007-10-10r19101: add sys_recv() wrapperStefan Metzmacher1-1/+14
metze (This used to be commit 2f146ec68344c4bc11e1a9d174bdf548e1a22d5a)
2007-10-10r19099: merge socket wrapper changes from samba4Stefan Metzmacher1-14/+306
including SOCKET_WRAPPER_PCAP_FILE support but I just noticed that samba don't use recv()/send() on the socket, so the capture only contain connect()/close() metze (This used to be commit b894e33023738b5d6121c56e9c0b34b12f3e0005)
2007-10-10r19085: merge from samba4:Stefan Metzmacher1-0/+242
- source and destination address handling - tcp handling metze (This used to be commit 98154fd43350f3edae54423756620a48e089f96d)
2007-10-10r19080: Fix a potential NULL dereferenceVolker Lendecke1-0/+7
(This used to be commit 682b490c23bb88a1a570bd1fcb7d2b6aa778dd14)
2007-10-10r19079: talloc_array can failVolker Lendecke1-0/+1
(This used to be commit 7b6738522a80740824f3b96e73e7c48a0623b1b1)
2007-10-10r19076: ldb_dn_copy_partial can failVolker Lendecke1-0/+1
(This used to be commit c247cf3fba13ce1a32878efcc922eadfcbc2b092)
2007-10-10r19075: Fix a potential NULL dereferenceVolker Lendecke1-0/+4
(This used to be commit 0ab5d7692c2c0fe798a067866cb236ea9c304463)
2007-10-10r19072: Fix a potential NULL dereference. Simo/Tridge, not merging yet to ↵Volker Lendecke1-1/+1
4_0, I'd like you to comment. Volker (This used to be commit ba18c58f1fb618447ba39bae6ef8f4e6c00c4d32)
2007-10-10r19071: Backport to SAMBA_3_0 as wellSimo Sorce1-2/+2
(This used to be commit df148a5def06956ecd8392d259f1c408c62100fa)
2007-10-10r19067: Fix a potential NULL dereferenceVolker Lendecke1-0/+4
(This used to be commit 6a8937ed03f0ee62eb81da798e0c38b405d44731)
2007-10-10r19054: Callers of gencache may not have the rights toJeremy Allison1-0/+18
open read/write. Allow them to fallback to read-only. Jeremy (This used to be commit ec526e1b882e3ade23f90c5e3d637c72b6839da5)
2007-10-10r19034: merge from samba4:Stefan Metzmacher1-4/+6
prepare libreplace testsuite for usage in smbtorture metze (This used to be commit 281677084e022336877dd141befd508a0b5c08a9)
2007-10-10r19031: merge from samba4:Stefan Metzmacher1-2/+6
add test that opendir() on files sets errno = ENOTDIR metze (This used to be commit fdad2ce7346678d29adf877b580e9285be286755)
2007-10-10r19030: merge missing stuff from samba4:Stefan Metzmacher2-2/+10
- strnlen() and strndup() are broken on AIX - we need some extra CFLAGS on HPUX 11.11 metze (This used to be commit 61aa60c60ffddcbad433b26d7f3a836e4fcd8732)
2007-10-10r19016: As per Samba4 coding standards, turn tabs into spacesVolker Lendecke2-20/+20
(This used to be commit 3f59c8ef0c3f2a27c1c46b48fe8ee5ccacb44b7b)
2007-10-10r19011: Attempt to fix the BSD RAW-CHKPATH failures: In Samba3 we rely on ↵Volker Lendecke2-0/+24
opendir returning ENOTDIR when the file opened is not a directory. Can we merge this back into Samba4? Volker (This used to be commit 448d7c0c4b6a1d7d9c544d39d7b461dd1c69fd8e)
2007-10-10r18998: - make more usage of PRINTF_ATTRIBUTE()Stefan Metzmacher2-10/+9
- vsyslog takes a 'const char *format' metze (This used to be commit 8899bc45f908a15fb496f5c0a29692e7494a56cc)
2007-10-10r18996: merge from samba4:Stefan Metzmacher2-12/+37
- fix bug 4078 - 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 f5b0924f975f58bba3c13a53388ea25af51d3bc8)
2007-10-10r18993: merge from samba4:Stefan Metzmacher1-29/+83
prepare SOCKET_WRAPPER_PCAP_FILE support metze (This used to be commit 372471cbad34b1d0d2159e75994c481de6eaed05)
2007-10-10r18991: Fix bug 4133 -- Thanks to Olaf FlebbeVolker Lendecke1-0/+7
(This used to be commit 00f09d851c734cb6450feac2d6efc71a540be11f)
2007-10-10r18963: * Move parts of registry headers that were still inGerald Carter1-2/+2
use to reg_objects.h * Remove unused rpc headers (This used to be commit 4f79d8c83db5af80078114e9fb39171380d040b1)
2007-10-10r18961: merge from samba4:Stefan Metzmacher2-20/+20
fix caching of some configure tests AC_CACHE_CHECK() *needs* '_cv_' in the shell var to do caching... metze (This used to be commit c460f28b68b75342bfabe3b396dd06e07a668ec4)
2007-10-10r18958: merge from samba4:Stefan Metzmacher1-0/+4
we need to include unistd.h in system/network.h because 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 d8275347606cd183caea69837fd765b96d4bab71)
2007-10-10r18953: sync socket_wrapper with samba4Stefan Metzmacher3-0/+46
metze (This used to be commit 77b0af43f0f7e52b9040a1d3edfb556a232e64f1)
2007-10-10r18952: fix compiler warning (merge from samba4)Stefan Metzmacher1-1/+1
metze (This used to be commit 4cd59d47c8d21685cfab45f4bcfc005c5d7cf79e)
2007-10-10r18939: don't rely on the umask being right in ldb creation. Both Samba3 andAndrew Tridgell2-2/+4
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 dd8ec8725f168f4286bbfc00d69cd56089ba3543)
2007-10-10r18920: merge socket_wrapper changes from samba4Stefan Metzmacher1-21/+58
metze (This used to be commit b36d47c698b01a577af04205c9bdf0d588bd20e6)
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 9e66df05a4df3d3c7b02048d80e2661103d1d40a)
2007-10-10r18901: try to fix the samba3 build without having ldapStefan Metzmacher4-4/+6
vl: you were a few seconds faster than me...:-) metze (This used to be commit 63e5727471bdf686f292a36aa43267213fb6e2f3)
2007-10-10r18900: Next attempt to fix the Solaris build. Not sure about whether to ↵Volker Lendecke1-1/+1
merge this one. Tridge? Metze? Volker (This used to be commit d0eef2f6e870031538959f2308a3414fc68ef18c)
2007-10-10r18897: Fix valgrind bug found by Volker.Jeremy Allison1-1/+5
Jeremy. (This used to be commit db458d3e8bdd11812cea34128df6a3c29baa59c3)
2007-10-10r18889: Add some const. What's the policy here? Should I do this in Samba4 ↵Volker Lendecke1-5/+5
as well? Volker (This used to be commit fd020a1998db7660ab093c136207df4fb09720cb)
2007-10-10r18866: Jeremy and Volker have given the go-ahead on the group mapping ldbAndrew Tridgell126-0/+37877
code. Yay! This first commit copies lib/ldb/ from Samba4. A huge congratulations should go to Simo on this - he has put an enormous amount of work into ldb, and it's great to see it go into the Samba3 tree. (This used to be commit bbedf2e34315f5c420a3a05dfe22b1d5cf79f042)
2007-10-10r18864: merge lib/replace changes from samba4Andrew Tridgell4-6/+40
(This used to be commit 6d5f507136be327558e98214b64eca225ca23d66)