summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
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-10r19020: move jsonrpc_include to a more appropriate location in the file, and ↵Derrell Lipman1-13/+17
call the setup function for parsing literals. (This used to be commit bb07f606dedde5c63f190229b8dbb85f3d1342f7)
2007-10-10r19019: Add a parser for javascript literals. This is implemented for ↵Derrell Lipman2-1/+672
parsing JSON strings, but is generally useful for creating ejs variables from object or array literals, which aren't supported in the old version of ejs that we're using. This parser is implemented in C, but is callable from an ejs script via literal_to_var(). (This used to be commit 82fdcd9339a8ffb1016b96c06f7d6580aa759174)
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-10r18997: we have a replacement for vsyslog in libreplace so libroken doesn't ↵Stefan Metzmacher1-4/+5
need to care about it metze (This used to be commit e8c2f53746307a0ae078b07f4a80546d8fb7430f)
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-10r18994: - torture_register_suite should be publicStefan Metzmacher1-6/+3
- some whitespace cleanups metze (This used to be commit 49755f2224df7e4448853bbe493b6aeeac365cb2)
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-10r18989: Fixes found by these two LDAP testsuites:Andrew Bartlett3-5/+47
- http://www.ee.oulu.fi/research/ouspg/protos/testing/c06/ldapv3/ - http://gleg.net/protover_ldap_sample.shtml Also fixes found by a subsequent audit of the code for similar issues. (This used to be commit 441a4f6262459dabfefd9bb12622ada9c007a60c)
2007-10-10r18979: With these extra indexes (also added for the normal case) and aAndrew Bartlett3-2/+35
DB_CONFIG file, we now get reasonable enought performance to pass 'make test' against OpenLDAP. We do have to double the maximum runtime for the torture client however. Andrew Bartlett (This used to be commit 5b3c8cc036c1180c9e96d9aaacd3f2e0a83460e5)
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-10r18977: Seperate these asserts, so we know which fired.Andrew Bartlett1-1/+2
Andrew Bartlett (This used to be commit 9b2003618b28cb045e74937803e9aad773781803)
2007-10-10r18975: follow the advice from "William Jojo" <jojowil@hvcc.edu>Stefan Metzmacher1-1/+1
and pass -bbigtoc also to the linker when building shared libs metze (This used to be commit 9c77de282107d28362497aff60fed81e77620a87)
2007-10-10r18974: we don't have the configure check that setsStefan Metzmacher1-5/+1
ac_cv_gnu_ld_no_default_allow_shlib_undefined and as -Wl,--allow-shlib-undefined is supported on SuSE 7.3 I don't see a problem is always pass it explicit metze (This used to be commit 79db6bddc5fc1b97f0165348f72b6a2489b62be0)
2007-10-10r18972: we don't need this now all builds in the build farm are limited to 150Andrew Tridgell1-12/+0
file descriptors. We'll pretty quickly find leaks :) (This used to be commit be70992d71d7b8db64702f9be2b29aac3e463590)
2007-10-10r18971: avoid strndup is a few places. Fixes a minor memory leak, and shouldAndrew Tridgell4-11/+21
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-10r18968: EWOULDBLOCK should also be mapped to STATUS_MORE_ENTRIESAndrew Tridgell1-1/+4
(This used to be commit 27114fe1752f20c58948b34264e38db263f7a0ea)
2007-10-10r18965: fixed the bug with RPC-NETLOGON and solaris sparc machines. This bugAndrew Tridgell1-0/+6
took a _LONG_ time to find. The problem was that when encoding/decoding password buffers we use the pull/push string functions, which by default align unicode strings. But on solaris sparc the buffer is not aligned always (its a stack variable, an array of uint8_t). That perfectly OK in C, so we just tell the pull/push functions not to auto-align. (This used to be commit bb7835eced00607eb6b1725be6d96a6dcb842049)
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-10r18945: fix compiler warnings and end-of-non-void function bugsStefan Metzmacher2-11/+17
metze (This used to be commit ed195999c0c7d89cdc61e980576d191fc05d65d7)
2007-10-10r18944: talloc_reference() can fail...Stefan Metzmacher1-1/+1
(remove compiler warning) metze (This used to be commit 515f4eb1cef11d8f942aeffc72c9da1bbd4d78cd)
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-10r18936: hopefully fix the test for negative enum values. When a compilerAndrew Tridgell1-9/+3
truncates the enums, the test was passing. (This used to be commit c6216f7dbf68012fa8351dcae17fe4c7ab165b58)
2007-10-10r18933: Add helpful emacs markerAndrew Bartlett1-0/+1
(This used to be commit 5fd53ea6a3a6d7638a9f542f46623a19143ff81d)
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 Tridgell3-8/+10
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-10r18916: fixed the messaging layer on *BSD systems. When a socket was full weAndrew Tridgell1-1/+1
were getting ENOBUFS, which mapped to NT_STATUS_NO_MEMORY, which in turn caused the messaging code to loop trying until it gave up. Now it correctly falls back to select. Messaging speed goes from 3 messages per second to over 7000 on my test vmware box. Not bad for a one line change :) (This used to be commit 6568f30adf980c572f9ffd6ff884336ebe652f90)
2007-10-10r18915: fix usage of popt, do make -W setting the recursive flag on SuSE 10.1Stefan Metzmacher1-19/+58
metze (This used to be commit 0fef3f807dd3e156970e315d83f5cb4a45e20d12)
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-10r18909: use newer functions that were introduced after this code was madeSimo Sorce1-7/+2
(This used to be commit 3ce1796eb4cca7fd78366ee540a998a1ca377866)
2007-10-10r18908: Store the schema structure into an opaque pointer so that it can be ↵Simo Sorce1-6/+14
reused by multiple connections (This used to be commit ca8827d8f9a9f6ec60afed29b0b85f491d725d1c)
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-10r18890: sort the flags out and remove unknown as there's stillRafal Szczesniak1-6/+4
quite a few of them (not sure if these are used actually). rafal (This used to be commit 1622d4608bc738b73d6f51c758828f96602b3e59)
2007-10-10r18887: add flags found while on the plane.Rafal Szczesniak1-14/+19
rafal (This used to be commit ec59441977205af9a38926b3d432ec0de6379573)
2007-10-10r18885: Fix bug in our IDL pointed out by RonnieSimo Sorce1-2/+2
(This used to be commit 77e8d96bc488a574b0b728d5b8facd51e69822d5)