1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

1107 Commits

Author SHA1 Message Date
Andrew Tridgell
3473f6b74b r8631: give an error on incorrect argument count
(This used to be commit ed09e19794d9625553bc48892a2e08b84d7bdcf4)
2007-10-10 13:29:46 -05:00
Andrew Tridgell
6f48b3a5cb r8630: give a much nicer backtrace on assert() failures in ejs
I will submit this upstream
(This used to be commit a2266f6927d953459bd4b02fbca0a9c95c18494e)
2007-10-10 13:29:46 -05:00
Andrew Tridgell
338c3f8523 r8625: move the ldb_wrap logic into the ldb code. This logic is meant to
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-10 13:29:45 -05:00
Andrew Tridgell
f650ea1012 r8624: removed valgrind comment on tdb that no longer applies
(This used to be commit 8f222c8c7a750c739d3288da0b1edb1efc3b1ffc)
2007-10-10 13:29:45 -05:00
Andrew Tridgell
c1a4f0c769 r8601: fixed null termination in ltdb connect error
(This used to be commit 64b6586b57de0bf22f8779447d217a918b7024a0)
2007-10-10 13:29:43 -05:00
Andrew Tridgell
3c5675af93 r8600: fixed null termination on some error messages in ldb
(This used to be commit 326f0ad6fba8d78f104b93b49995e6c24f9493ef)
2007-10-10 13:29:43 -05:00
Andrew Tridgell
cd65f29fc6 r8599: null terminate the argv list in string C functions
(This used to be commit cabf638a31ab5f9b0e62e085d844d615c597bc2f)
2007-10-10 13:29:43 -05:00
Andrew Tridgell
7ee2babcfe r8587: - fixed ref allocation in irpc replies
- make every irpc server support the irpc_uptime() call
(This used to be commit eee90448268b9f673cc43076ad87529aa80d17ae)
2007-10-10 13:29:42 -05:00
Simo Sorce
bfb1186269 r8585: add to ldb and ldap comparison functionality
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-10 13:29:41 -05:00
Andrew Tridgell
b484221730 r8580: try to fix the build on stratus
(This used to be commit 58d7a1e6a311c98c9b4dfc9e280b328406165997)
2007-10-10 13:29:40 -05:00
Andrew Tridgell
9a4bc49fee r8579: recognise the name 'localhost' as 127.0.0.1. This solves a problem
with some hosts that are missing localhost from /etc/hosts
(This used to be commit f9866258e099001390aa61dcc12055fe1374db60)
2007-10-10 13:29:40 -05:00
Andrew Tridgell
d2d5d71f34 r8567: fixed the build after the com idl changes
Jelmer, can you please check that I got this right?
(This used to be commit bec135446af741200743cdc4ecb4c5ce68ed34a6)
2007-10-10 13:29:39 -05:00
Andrew Tridgell
2d92eca393 r8562: small merge with upstream
(This used to be commit 6c9bf162afddda4747ef08b56598aaf0747a4d27)
2007-10-10 13:29:38 -05:00
Andrew Tridgell
7ef904e9e1 r8541: this might take a few tries ...
(This used to be commit cc61a0ba33d5a9d4d0b98736109220c58342358a)
2007-10-10 13:29:37 -05:00
Andrew Tridgell
d1f9224f58 r8540: fixed network interface detection on several hosts
(This used to be commit 777ac8496b400b0ed348995feed83c22c5b344b3)
2007-10-10 13:29:36 -05:00
Simo Sorce
7bcccfc000 r8529: Matching against the wrong union
(This used to be commit 24a65b5ba6e31655bdf49be8076d758206694ac3)
2007-10-10 13:29:35 -05:00
Andrew Tridgell
e835621799 r8520: fixed a pile of warnings from the build farm gcc -Wall output on
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-10 13:29:34 -05:00
Andrew Tridgell
6e4bcaffa0 r8517: fixed a crash bug in ldb_dn_compare_base()
(This used to be commit 19d789e82526eff236aeed77ddc8d2606c5118b6)
2007-10-10 13:29:34 -05:00
Simo Sorce
cb2c43f7b0 r8515: ldb_dn_cmp now uses ldb_dn_compare so that the DNs are compared
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-10 13:29:33 -05:00
Andrew Tridgell
4df9b5a6e3 r8490: make the ldb tests more portable
(This used to be commit 6b20bcbeeb33a2cf6abc7bb251830ad6def9a79e)
2007-10-10 13:23:09 -05:00
Andrew Tridgell
32b06d5882 r8485: - be friendly to shells other than bash
- don't use /tmp in test paths, as that opens us to symlink attacks
(This used to be commit 9f29cccbc1fb44cb0317911601456c190883f066)
2007-10-10 13:23:08 -05:00
Andrew Tridgell
a0bc4da1a3 r8483: switched our generated ejs rpc code over to the new OO interface. This
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-10 13:23:08 -05:00
Andrew Tridgell
7b8332369f r8482: gnutls_x509_crt_set_subject_key_id is not available in some versions
of gnutls. Thanks to ab for spotting this.
(This used to be commit 437c4057ae4e89725ddbdd026977510beb33c009)
2007-10-10 13:23:08 -05:00
Andrew Tridgell
f48a20b249 r8470: looks like popt portability is going to be a bit of a fight :(
(This used to be commit d3872a6e4ce0227fa3c84173562551d0270918b6)
2007-10-10 13:23:06 -05:00
Andrew Tridgell
1329c2eb1f r8467: using both math.h and float.h breaks popt on freebsd 5.4
(This used to be commit a1acb3300eec7717df24ecdf7205fb4e395d8c16)
2007-10-10 13:23:06 -05:00
Andrew Tridgell
61b16caed8 r8466: it is not portable to assert() a va_list (it breaks on alpha for example)
(This used to be commit 2a64ee4227840de4aebe2ebe1887dfd167831738)
2007-10-10 13:23:06 -05:00
Andrew Tridgell
5c453f5698 r8465: once we define socklen_t, then tell other include files we have it. This prevents roken
trying to redefine it
(This used to be commit aa9491c0cb00f5cab9e00983bf2a0c266011904a)
2007-10-10 13:23:06 -05:00
Andrew Tridgell
978bbb4f4d r8461: fixed integer64 handling on bit endian platforms. The ejs code used
%Ld, which is an invalid format code.

This will probably cause problems on systems that don't have %lld, but
do have a working snprintf otherwise. We will need to expand the
snprintf configure test to make sure we replace snprintf on those
platforms
(This used to be commit ccc87eb8aaf571d91170555a732d287746b3430f)
2007-10-10 13:23:05 -05:00
Andrew Tridgell
c4173f6725 r8458: next target is irix - this gets the socket wrapper code building
(This used to be commit 3d4a2221c3e032bbb6c23d132e00588f44f5e2ed)
2007-10-10 13:23:05 -05:00
Andrew Tridgell
598aafe9b3 r8453: my solaris10 box doesn't have math.h
maybe sun isn't very good at maths?
(This used to be commit ab67c8b2b7847ecad803dfc04a66007b8f6b4abe)
2007-10-10 13:23:05 -05:00
Andrew Tridgell
fa2b97a20a r8451: samba4 finally builds on solaris 8 sparc with heimdal and ejs
its been a long haul ...
(This used to be commit 3c4291e49abed14973b4a4fa1a9277918b896cac)
2007-10-10 13:23:04 -05:00
Andrew Tridgell
af0574378b r8450: more configure tests for solaris. It now builds some binaries, but
fails in the ejs floating point code.
(This used to be commit 30e1b6140e9f6246cb66eef7cf108d1ccf62bd40)
2007-10-10 13:23:04 -05:00
Andrew Tridgell
606beece8e r8448: - added a test target for tdb
- reduced the torture size so it doesn't kill the build farm hosts
(This used to be commit 7a88a9f06cbe5c125edad0da7908b94bcedfe4fc)
2007-10-10 13:23:04 -05:00
Andrew Tridgell
a411d4f4d5 r8447: fixed make install in the farm
(This used to be commit 4a61a5c70efdf3842e19ae74a2b56c4b10e8e294)
2007-10-10 13:23:04 -05:00
Andrew Tridgell
ef300e6686 r8443: added talloc.3 to the tree to try to allow talloc to build on systems without xsltproc
(This used to be commit 0e5b89b1e8871a76c2f9c94d7d7552498d16f350)
2007-10-10 13:23:03 -05:00
Andrew Tridgell
c9e5d3b53e r8442: remove tdbtest from our build. If you want it, then do
'make bin/tdbtest' manually in the tdb tree
(This used to be commit 28dd79587df523c5622d09bd6d59305ae79af479)
2007-10-10 13:23:03 -05:00
Andrew Tridgell
2dabfc1cde r8441: don't build tdbtest by default as there are too many systems that
don't have libgdbm, and the configure test for gdbm is broken
(This used to be commit 5c4c3e9a8d9d853028271f228ad36388f4cb2012)
2007-10-10 13:23:03 -05:00
Jelmer Vernooij
e151284693 r8437: Win32 doesn't have u_int*_t
(This used to be commit 5b007037dfacc5e13141ca41241543ac11a567b6)
2007-10-10 13:23:02 -05:00
Jelmer Vernooij
84db066207 r8434: Win32 portability updates from Steven Edwards <steven_ed4153@yahoo.com>:
- undefine anything in the win32 api or PSDK headers that Samba already defines
 - map BSD error codes to Winsock Error codes
(This used to be commit d2ea6191259a28a32a1f4ffdff067b1a80e8dcc9)
2007-10-10 13:23:02 -05:00
Andrew Tridgell
2ea372afd9 r8420: slowly getting my way through some more heimdal portability fixes
(This used to be commit 59c3de6ca8b8e153e5cfd67da5f2afc2e23d36db)
2007-10-10 13:23:01 -05:00
Andrew Tridgell
12ed349f90 r8418: PRINTF_ATTRIBUTE declaration has to come before it is used :-)
(This used to be commit a1ca8352f48cf1942e5a060c79ae1cc78b8a3668)
2007-10-10 13:23:00 -05:00
Andrew Tridgell
72fbfff1a7 r8417: fixed handling of PRINTF_ATTRIBUTE for heimdal portion of build
(This used to be commit 117d2fa31d3a7e0b37c09979aa41243c564c0385)
2007-10-10 13:23:00 -05:00
Tim Potter
52bef30fd4 r8414: Some C++ friendlyness fixes - 'not' is apparently a keyword in C++.
(This used to be commit bcfb3a45e4a5962fe763f8071d4458f4bd11605b)
2007-10-10 13:23:00 -05:00
Andrew Tridgell
b433d61537 r8409: fixed another error found on netbsd.
some of our torture code does its own timeout processing, which means
there is no event timer in the event context. To fix this gererically
I have added a 30 second timout to all select/epoll calls so the
callers timeout loop is guaranteed to run eventually
(This used to be commit 01e5aa146439f2dbf6c4133a0b5d910383a6576b)
2007-10-10 13:22:59 -05:00
Andrew Tridgell
d1291dacbd r8408: its quite common in our code to free up a connection when we get an
error, but sometimes a socket option may then happen on the NULL
socket. This has been handled by the individual libraries up to now,
but its cleaner to centralise it here
(This used to be commit d9864e1f9aac1fb19f054c2da996a5099e90941e)
2007-10-10 13:22:59 -05:00
Andrew Tridgell
74727243cd r8405: update var.c from upstream
(This used to be commit 288c178d5fef80947590fd58e3c9b1fbcdddcdf6)
2007-10-10 13:22:58 -05:00
Andrew Tridgell
8fc8fa2ad4 r8404: small upstream merges of appweb code
(This used to be commit 205ff9a82bd51eae3c1400ea0a24fcf2a662e96f)
2007-10-10 13:22:58 -05:00
Andrew Tridgell
54433c747a r8401: add a readme pointing to the upstream sources
(This used to be commit 2dcae5c98ca66a26fd6ae6d27cf7eb31cf16fee3)
2007-10-10 13:22:58 -05:00
Andrew Tridgell
a102f52db8 r8400: separate out the mpr code, as it is in the upstream appweb sources
(This used to be commit 0e30b6e4cc9e70975d3179cfeddc4bfcc8c8fbb7)
2007-10-10 13:22:57 -05:00
Andrew Tridgell
adbb1612c1 r8399: move the ejs and esp code closer to the directory layout used by the
upstream sources. This makes it much easier to keep it up to date.

I will separate out the mpr code into lib/appweb/mpr next
(This used to be commit 52db7a052baeb0f11361ed69b71cb790039e3cc9)
2007-10-10 13:22:39 -05:00