summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r18810: use a copy of samba4's talloc under lib/talloc/Stefan Metzmacher16-112/+5131
to make mergeing easier. metze (This used to be commit d49ffbc19b29f7620e427de133ffab74721f37e8)
2007-10-10r18793: Fix BE string handling in the auto-generatedJeremy Allison3-39/+52
code. Should now work again with ASU. Jeremy. (This used to be commit 53e97bf92817b6cfc3f93c999a81ef8ad49a1609)
2007-10-10r18787: Fix the strlen_m and strlen_m_term code by mergingJeremy Allison2-23/+128
in (and using elsewhere) next_codepoint from Samba4. Jerry please test. Jeremy. (This used to be commit ece00b70a4621633f1ac9e576c4bbe332031de09)
2007-10-10r18784: hopefully fix the BOOL bug on AIXStefan Metzmacher1-0/+11
metze (This used to be commit 454d9590de6ff94a1edd7321e26af0f0978a356a)
2007-10-10r18745: Use the Samba4 data structures for security descriptors and security ↵Jelmer Vernooij5-67/+58
descriptor buffers. Make security access masks simply a uint32 rather than a structure with a uint32 in it. (This used to be commit b41c52b9db5fc4a553b20a7a5a051a4afced9366)
2007-10-10r18709: add some useful function from samba4Stefan Metzmacher1-0/+25
metze (This used to be commit f7a93b6acb705256c2aa4fe6475b89223af30491)
2007-10-10r18707: Fix the build when you have libnscd installed (which apparently no hostGünther Deschner2-21/+42
on the buildfarm has). Guenther (This used to be commit b0bb364df0efe140780328d90ae55bb823e6b10d)
2007-10-10r18705: not all compilers like thisStefan Metzmacher1-2/+2
metze (This used to be commit 2ec4bc0f5299f295525f306279ddb136e0b19ee1)
2007-10-10r18703: Fix the annoying effect that happens when nscd is running:Günther Deschner1-0/+21
We usually do not get the results from user/group script modifications immediately. A lot of users do add nscd restart/refresh commands into their scripts to workaround that while we could flush the nscd caches directly using libnscd. Guenther (This used to be commit 7db6ce295afbedfada7b207ad56566d2195a0d21)
2007-10-10r18698: this stuff isn't needed anymoreStefan Metzmacher1-183/+0
metze (This used to be commit 31b83ff4bd568a393eaa6260366ece7501df1985)
2007-10-10r18687: sync the lib/interfaces.c with lib/socket/netif.c from samba4Stefan Metzmacher1-23/+25
to hopefully fix the build on HPUX and Tru64 metze (This used to be commit aa8222c6a709a1538862878b89a17b893600b7e8)
2007-10-10r18673: define the macros even if we don't define bool ourselfStefan Metzmacher1-2/+10
metze (This used to be commit 65013a8d9e678c44cecae07967b7a001b796faf1)
2007-10-10r18672: fix the build on Tru64Stefan Metzmacher1-1/+8
metze (This used to be commit 6c101d206812fe24233409e0757cad52638e685a)
2007-10-10r18671: try to fix the build on solaris 10 and maybe some other hostsStefan Metzmacher1-0/+1
we need to define 'BOOL_DEFINED' to make sure it didn't get redefined by <rpcsvc/yp_prot.h> metze (This used to be commit 5a589bb16c2bb3da75874bd190384eabd39eb972)
2007-10-10r18669: fix the samba3 build...Stefan Metzmacher1-2/+5
we need to move the iconv configure checks to libreplace... metze (This used to be commit 6b53ed8fdc2a4c0b3b24e22ada90d14d60cc93fb)
2007-10-10r18661: C++ warningsVolker Lendecke1-2/+2
(This used to be commit 6004b8025de3207f5af2d62087ec13c5e444fec7)
2007-10-10r18654: Rename "struct uuid" => "struct GUID" for consistency.Jelmer Vernooij2-10/+10
(This used to be commit 5de76767e857e9d159ea46e2ded612ccd6d6bf19)
2007-10-10r18652: libreplace has replacements for strndup and strnlenStefan Metzmacher1-43/+0
metze (This used to be commit 9f3599a7ca636dd21c150873f395abde153ee6fd)
2007-10-10r18649: the PRINTF_ATTRIUTE() macro is provided by libreplaceStefan Metzmacher1-1/+1
metze (This used to be commit dd76f4f5f374ec4822abbf1a09d26287926b92ce)
2007-10-10r18646: now we can have the socket_wrapper.c completely in sync with samba4Stefan Metzmacher1-2/+1
metze (This used to be commit d4d9b7e02614e30ab410a26654db3ca66ffe06e6)
2007-10-10r18644: bring in libreplace in lib/replaceStefan Metzmacher50-509/+8068
metze (This used to be commit 596cbe73dd268742acf456fccd8a234376fb0c97)
2007-10-10r18640: move to socket_wrapper to lib/socket_wrapper/Stefan Metzmacher3-77/+301
and sync it with samba4 metze (This used to be commit 9c0e5b29f1451a90605cce7e1e032e5516b6970d)
2007-10-10r18605: sync dlinklist.h with samba4, that means DLIST_ADD_END()Stefan Metzmacher1-2/+1
and DLIST_DEMOTE() now take the type of the tmp pointer not the tmp pointer itself anymore. metze (This used to be commit 2f58645b7094e81dff3734f11aa183ea2ab53d2d)
2007-10-10r18597: A C++ warningVolker Lendecke1-1/+1
(This used to be commit 528082aed8c24b54d5781c6b3a6062b6cded74ef)
2007-10-10r18534: Fix grammarSimo Sorce1-1/+1
(This used to be commit 6c9b80bde39be7feb15f0fab4024a1de2980f4c1)
2007-10-10r18530: typosSimo Sorce1-2/+2
(This used to be commit 8c5c4959ede04e1cdbfe65beeee1f67ac0a93753)
2007-10-10r18529: warn the user that putting the machine host name on theSimo Sorce1-0/+8
127.0.0.1 line in /etc/hosts is not ok for Kerberos. (This used to be commit 85126391e11006514af8e6c6b88eb7fa21abf49a)
2007-10-10r18473: Once we go online, trigger a "get krb5 ticket event"Jeremy Allison1-1/+16
immediately if we were waiting on one. Jeremy. (This used to be commit 6dc8f9042f057e1f9aff46042a0fe697cb8a912c)
2007-10-10r18457: Argl :-)Volker Lendecke1-1/+1
(This used to be commit cafaf5a37cb0ee41829cce95d2d3f2619d5c2744)
2007-10-10r18449: Attempt to fix the build on non-linux platforms: Many of those don't ↵Volker Lendecke1-0/+15
have strtoull. This is a copy of the stuff in samba4 libreplace, which is GPL. I hope it is ok to copy&paste it into a GPL file. Tridge, we could also create a replace_lpgl.c if needed. Volker (This used to be commit f8346687d950ed643e8fa7d0b1a9c27f2880cc85)
2007-10-10r18313: Nobody said "no" (yet.... gd?), so commit it:Volker Lendecke1-125/+42
Remove the account_policy_migrated() thingy, and make cache_account_policy_set use gencache. Account policies are now handled like groups and users are with respect to "passdb backend". Volker (This used to be commit fa8b2e2a585ab0c00a5fbde7aa790043261caf2e)
2007-10-10r18312: Change gencache_get slightly: Delete expired keys, and only strdup ↵Volker Lendecke1-1/+10
the value if a valid entry was found. The newer calls got the latter one wrong, change the older calls. Volker (This used to be commit 554e68887bc84510690226c9b07a872e7a282abe)