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

10268 Commits

Author SHA1 Message Date
Andrew Tridgell
d928bce0d8 r18541: with 100 old style searches we can run out of file descriptors on some
systems. drop to 50
(This used to be commit ce5d5a187264af2b87e2919bdcc5f478cce02df9)
2007-10-10 14:18:44 -05:00
Andrew Tridgell
c7723f6eaf r18540: show the additional smbd output from each test, rather than only
showing on test failure and showing all the smbd output each time.
(This used to be commit 1dfac4666423d7e0565795e3eae72da7e25a5b54)
2007-10-10 14:18:43 -05:00
Andrew Tridgell
182ab7107c r18539: 'make distclean' should delete config.cache
(This used to be commit 5a8becb1be1b41b4fecf9f9f47a60eed5f77c264)
2007-10-10 14:18:43 -05:00
Andrew Tridgell
1d7a878c8b r18538: we need a pipe here, not a logical OR
also fix cn name for this record, and ensure tests/tmp is created
(This used to be commit 588c91f06b90467279600fe6a1222273b5d53915)
2007-10-10 14:18:43 -05:00
Andrew Tridgell
2a3ebd9a7e r18537: after testing for poptGetContext, if the test fails, don't try to use
the external popt (this affects hpisgr8)
(This used to be commit 9afbd60f91bca84dd645372ed7139e42f712384d)
2007-10-10 14:18:43 -05:00
Andrew Tridgell
0e9147029f r18536: fixed the loading of external binary files from ldif into ldb
(This used to be commit fbe13ed83e2f3508db6d77f4bd65a913ef12ff02)
2007-10-10 14:18:43 -05:00
Andrew Tridgell
fafa8c3e47 r18535: move the AC_CANONICAL_HOST and host specific flag tests into
libreplace. This should fix the standalone build of tdb on HPUX, where
we need to blacklist mmap.

Unfortunately this requires that we have a copy of config.guess and
config.sub in each of our project subdirectories. I tried to find a
way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just
put config.{guess,sub} in the lib/replace/ directory, but I couldn't
figure out how to do that in a way that kept autoconf happy for each
of our separate builds. Any autoconf guru out there see a way to do
this?
(This used to be commit 823cd3ab35456769dcefee17bdaca21f01ba0f63)
2007-10-10 14:18:42 -05:00
Andrew Tridgell
f7b29f23ad r18528: work around what appears to be a compiler bug in gcc on irix. It
caused the RPC-SECRETS test to crash smbd in an inlined version of
this memcmp() call. This patch should have absolutely no effect at
all, but in fact it prevents the crash.

Disassembling at the point of the crash, it shows that gcc is inlining
the memcmp(). I don't know enough MIPS assembler to actually spot the
bug. In case anyone reading this does know MIPS assembler, here is the
gcc generated code that crashes:

0x105e0218 <gssapi_krb5_verify_header+168>:     lw      $t1,52($sp)
0x105e021c <gssapi_krb5_verify_header+172>:     lw      $t1,0($t1)
0x105e0220 <gssapi_krb5_verify_header+176>:     lhu     $t1,0($t1)
0x105e0224 <gssapi_krb5_verify_header+180>:     lw      $t2,68($sp)
0x105e0228 <gssapi_krb5_verify_header+184>:     lhu     $t2,0($t2)
0x105e022c <gssapi_krb5_verify_header+188>:     subu    $t1,$t1,$t2

it gets a segv at 0x105e0220.

lha, what do you think of this? The change should be innocuous on all
other platforms, apart from making the code harder to read :(
(This used to be commit 95455b57893c99d6d2dc20c4f75042ae4c1cfe85)
2007-10-10 14:18:42 -05:00
Jelmer Vernooij
f78ff444e6 r18524: Pre-allocate out arguments.
(This used to be commit 0ee42669d3a5ec062ec14ecda94342b0df519964)
2007-10-10 14:18:42 -05:00
Jelmer Vernooij
df08af8418 r18523: Allow [out] on arrays as well as pointers, use in unixinfo.
(This used to be commit f67b4d58acd2c3746e5ffeffa804e888ca3c49a5)
2007-10-10 14:18:42 -05:00
Jelmer Vernooij
5f68b76c4a r18522: It's probably not a good idea to use rpc_netdfs_init() as initialization
function name for _all_ RPC servers...
(This used to be commit 234272e39d7dc79f5e7e0399aebf5681a92981b2)
2007-10-10 14:18:42 -05:00
Andrew Tridgell
c902a8927c r18521: implement volkers suggestion for avoiding the type punning warnings
(This used to be commit 9b9f058edb033c999c4430add4f05459ac43c9e2)
2007-10-10 14:18:41 -05:00
Jelmer Vernooij
eb9a2757eb r18520: Add note about warnings on [out] arrays.
(This used to be commit 7a2afc3e0c0e8c0e9360805e8b4326e257b1e9dc)
2007-10-10 14:18:41 -05:00
Andrew Tridgell
eef5a6f538 r18518: we replace snprintf() if its not C99, so we should also add the rep_
prototype in that case
(This used to be commit 64b5ff171d04bd93bd41309edfbe532c01a46e4f)
2007-10-10 14:18:41 -05:00
Andrew Tridgell
0541807adf r18517: I find it less confusing if tests are run in the order they are
added.
(This used to be commit 3e1844b2b229d6e84436d6c455bef707d0efcafc)
2007-10-10 14:18:41 -05:00
Andrew Tridgell
785822590c r18516: I'm surprised that compilers allowed this at all
(This used to be commit 46aa8a5e8914184575fa6b9ec9edced8dd615eab)
2007-10-10 14:18:41 -05:00
Jelmer Vernooij
e9c465621e r18515: Remove calls to "time" for now as some sh implementations don't have it,
causing this test to fail.
(This used to be commit fc3f41a4ab38fd32386c5bdb1979cc26892afcf8)
2007-10-10 14:18:40 -05:00
Stefan Metzmacher
cbb1975c8c r18514: fix configure caching of AC_VERIFY_C_PROTOTYPE() macro
metze
(This used to be commit 8e49dc69e7d588c85c9e9e7b24b595c61c1da95a)
2007-10-10 14:18:40 -05:00
Stefan Metzmacher
a0e87e5dc7 r18505: add configure checks for telldir() and seekdir()
telldir() is different on older OpenBSD versions
seekdir() is different Tru64

tridge: OpenBSD seems to like this replacement:-)
        while MAC OS 10 gets 134 runtime error:-(
	lets wait what Tru64 will give

metze
(This used to be commit 1f4e602ff239b7feabb2dd1d6938dedf91bde5cd)
2007-10-10 14:18:40 -05:00
Andrew Bartlett
595c141a69 r18504: Handle mappings for RENAME and KEEP attributes better. We don't need
to mess with the values in these cases.

Where we do convert the values, try and convert substrings.  This
isn't going to be perfect, but we should try rather than segfault.

This also avoids using the wrong arm of the union for the attribute
name

The change in the entryUUID module is to correct the case of
sAMAccountName, due to the case sensitive ldap.js test.

Andrew Bartlett
(This used to be commit 81d9a692c1e74ec9078bf718003eafdba85b4324)
2007-10-10 14:18:40 -05:00
Stefan Metzmacher
a9aa6d0c67 r18503: - _GNU_SOURCE is defined by libreplace
- move AS_HELP_STRING replacement to libreplace

metze
(This used to be commit ace406a36ebbed230bf6c844e4639bac5e6c9882)
2007-10-10 14:18:40 -05:00
Stefan Metzmacher
d184a9cc32 r18502: remove unused lines
metze
(This used to be commit 37f55c08c304feddf2ca5d0d20deeb9a6317e2c3)
2007-10-10 14:18:39 -05:00
Stefan Metzmacher
8ed1176a8d r18501: libreplace needs 'long long', bailout if not present
or the size is not 8 bytes or more.

samba4 doesn't need type checks anymore

metze
(This used to be commit d8fdd05482fc6b9bfb48d72db6b467e3e5c05e4d)
2007-10-10 14:18:39 -05:00
Stefan Metzmacher
a4e94eedf0 r18500: move make related checks into its own file
metze
(This used to be commit 6a6729fb7219ac7eb160b787827acdf1f7af7cc8)
2007-10-10 14:18:39 -05:00
Stefan Metzmacher
ac24d381a5 r18499: this hopefully lets the code compile on OpenBSD
the prototype was fixed in this revision
http://www.openbsd.org/cgi-bin/cvsweb/src/include/dirent.h.diff?r1=1.15&r2=1.16

so we'll need a configure test to find the prototype of
telldir later

metze
(This used to be commit c4da3b43640368aff98e501b6ca7801821fd2fbd)
2007-10-10 14:18:39 -05:00
Andrew Bartlett
a133601192 r18498: While passing stack values into torture_tcase_add_test is bad, values
assigned into a static initialiser must be constant.

Wishing sweet dreams on the jet-lagged tridge :-)

Andrew Bartlett
(This used to be commit 174014d956cb1d246bd07218ea289418195a73fb)
2007-10-10 14:18:39 -05:00
Andrew Tridgell
870cae2736 r18497: fixed crash bug in irpc test - the torture_tcase_add_test() call
is passed a stack pointer from values[], which is not valid when the
torture suite is run.

Jelmer, need to be careful when converting test code not to use stack
values from the torture_XXX() call in the test suite
(This used to be commit 2744a0b385f58aaf0b45f33bec0d0a16c09709d7)
2007-10-10 14:18:38 -05:00
Andrew Tridgell
bd4ddbcff5 r18496: yet another dlopen valgrind suppression
(This used to be commit 041c2c1202b8e5bf2a6a8d90530751560dacd9f4)
2007-10-10 14:18:38 -05:00
Andrew Bartlett
1e4f5a096c r18495: More work on the LDAP backend (which now passes a lot of our tests!)
This adds a list of attributes that are in our wildcard seaches, but
the remote server requires to be explicitly listed.  This also cleans
up the handling of wildcards in ldb_map to be more consistant.

Also fix the partitions module to rebase the search, if on the GC
port, we do a subtree search.  (Otherwise backends can rightly
complain that the search is not in their scope).

Andrew Bartlett
(This used to be commit bc58792b7102f086b19353635d5d5ef9d40a0aae)
2007-10-10 14:18:38 -05:00
Andrew Tridgell
48615ca0da r18494: don't count 'DWARF2 CFI reader' messages as valgrind failures
(This used to be commit f7eaa03d6f6f28408d8e6a7e33c540e50cbed3a1)
2007-10-10 14:18:38 -05:00
Andrew Tridgell
bdfecf3c97 r18493: another "blind coding" attempt at a getdirentries() based readdir()
replacement
(This used to be commit 94b73d692bf85604c7be811bad0b8c6a08b18103)
2007-10-10 14:18:37 -05:00
Andrew Tridgell
ae98478385 r18492: an attempt at replacing readdir() with something based on
getdirentries()

This is untested on any of the platforms that matter, so we'll just
have to see if the build farm machines like it
(This used to be commit 343b0871b16c86b68badd4581420f475f94e79c9)
2007-10-10 14:18:37 -05:00
Andrew Tridgell
90c3e8b906 r18491: fixed a warning
(This used to be commit 1b17f0f08f85238717e88966cba311ff4b933a9a)
2007-10-10 14:18:37 -05:00
Andrew Tridgell
fd6030eac7 r18490: on irix _XOPEN_SOURCE_EXTENDED needs to be defined to 1, not just
defined
(This used to be commit 39d984738b1931e16cb0e6abfdb58108fc97da90)
2007-10-10 14:18:37 -05:00
Andrew Tridgell
935aefbcc5 r18489: dlopen is so amazingly broken on linux
supress the valgrind warnings
(This used to be commit fb69f8cb2c73d123c2099011fcd423f514a93da3)
2007-10-10 14:18:37 -05:00
Andrew Tridgell
6fa6c74d59 r18488: we have to make sure any extensions flags also make it into
confdefs.h, otherwise the real build and the configure tests will not
be significant

this change fixes the build of libreplace on hpux with gcc
(This used to be commit d37fc315325c93414ce0942d28f0f47b42873b95)
2007-10-10 14:18:36 -05:00
Stefan Metzmacher
f80d6bc100 r18486: hopefully this fixes the panics on solaris
metze
(This used to be commit 22cfc3404ccb621dad194fe04c5f2885fb16f79c)
2007-10-10 14:18:36 -05:00
Stefan Metzmacher
d08fb7b1cc r18485: include libreplace.m4 in the aclocal.m4 files
and use the macros in configure.ac

metze
(This used to be commit 95d33e4d71b4c97af8413bcd136f393aa3e380dd)
2007-10-10 14:18:36 -05:00
Jelmer Vernooij
965633a5b4 r18482: Fix a couple of small issues in the generated server code.
(This used to be commit ddfe3c54439eb76327608e04df9381621ab875b8)
2007-10-10 14:18:36 -05:00
Stefan Metzmacher
3de6b469cc r18479: start hiding libreplace configure tests behind macros
AC_LIBREPLACE_CC_CHECKS
AC_LIBREPLACE_BROKEN_CHECKS
and
AC_LIBREPLACE_ALL_CHECKS
which calls the 2 others

I'll add some more, so that samba3/samba4 can later call
them in the wanted order and all standalone builds
use AC_LIBREPLACE_ALL_CHECKS.

metze
(This used to be commit e7a30456c76f4bf9a79cdcff6b15c894bc20c954)
2007-10-10 14:18:36 -05:00
Jelmer Vernooij
ea50e4f30a r18478: Add missing declaration for status.
(This used to be commit 64909a0d69a938e96f7a04b4288ca851fb8fe18a)
2007-10-10 14:18:35 -05:00
Jelmer Vernooij
6a2b541497 r18477: Finish server code generator for Samba 3.
(This used to be commit 4e2f20042448721ba1df5bbbb77710e155f23953)
2007-10-10 14:18:35 -05:00
Jelmer Vernooij
2fb4ecebc1 r18475: Start working on server code generator that uses libndr.
(This used to be commit aa1c550d371c5874668baf06be7168c85dc5d48b)
2007-10-10 14:18:35 -05:00
Stefan Metzmacher
8e65d33d7d r18474: - we don't need to explicit check stdint.h and inttypes.h
alsready done by autoconf magic
- display the sizes of all standard C types
- check for int64_t and uint64_t

metze
(This used to be commit 371a33a871b67f12af177696bae6aa87d2c1d9f9)
2007-10-10 14:18:35 -05:00
Stefan Metzmacher
4e355095d1 r18472: - use STDC_HEADERS for stdlib.h and stddef.h as autoconf does
- AC_HEADERS_STDC is not explicit needed

metze
(This used to be commit 8f20d2cfe564164ea049dbb9f52d885e11098c2a)
2007-10-10 14:18:35 -05:00
Jelmer Vernooij
0eb9794e9f r18471: Remove other Samba3 parser generator support as well - it's no
longer necessary as we can use libndr now.
(This used to be commit 22142a9f3d5e759742c79a591413e5e8af04b22f)
2007-10-10 14:18:34 -05:00
Jelmer Vernooij
e26ed8b3e2 r18470: Remove obsolete client generator code for Samba3 (we're now using the
new code that uses libndr)
(This used to be commit ea0ef1542f78e3a58d86b5693ec17c145050526b)
2007-10-10 14:18:34 -05:00
Jelmer Vernooij
fb211b52fe r18468: Add IDL for dfs_EnumEx. Still lacks test(s)
(This used to be commit 79b6001f919d398e52ceec29f5ebe6f0018e5660)
2007-10-10 14:18:34 -05:00
Stefan Metzmacher
84a56aca15 r18465: much better fix for a roken specifiv problem
metze
(This used to be commit 1ae1e68fe9e1004f1a11847714b2e71715a1ce03)
2007-10-10 14:18:34 -05:00
Stefan Metzmacher
f6de92d47c r18463: add some more warning flags, tested with gcc 2.95.3 on SuSE 7.3
metze
(This used to be commit 553a90cbe200d2030e4caefe949b48d63abe382d)
2007-10-10 14:18:34 -05:00