1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

10425 Commits

Author SHA1 Message Date
Stefan Metzmacher
13a062a41e r18384: this is a ref pointer like in samba3 and for the Gid version
metze
(This used to be commit 5d2100a6daa645e54df30986e1c4e0e8c0d4158d)
2007-10-10 14:18:22 -05:00
Stefan Metzmacher
27964734a6 r18383: ok we need _XOPEN_SOURCE 500 and include standards.h on Tru64
to get MAP_FAILED

metze
(This used to be commit 0f48c8ad7c066ba33cb8d4491083e15b24c5046e)
2007-10-10 14:18:22 -05:00
Stefan Metzmacher
d40dcaebda r18382: define _XOPEN_SOURCE to hopefully bring in MAP_FAILED in
sys/mman.h on Tru64

metze
(This used to be commit 8109eb9d28c9043c359d48319efe91aed2714431)
2007-10-10 14:18:22 -05:00
Stefan Metzmacher
70028b82a9 r18381: make sure autoconf doesn't add '-O2' to CFLAGS
metze
(This used to be commit ec6365b5f18eea7035b6963c8005e75b9f4e3437)
2007-10-10 14:18:21 -05:00
Andrew Tridgell
3f51341528 r18378: try enabling _OSF_SOURCE to see if it fixes the tru64 build problems -
thanks to volker for the suggestion
(This used to be commit 03ed41515b2228d130f669a2c0cf916a21182f30)
2007-10-10 14:18:21 -05:00
Andrew Tridgell
c87a08425c r18377: disable native iconv with valgrind
(This used to be commit d1ceb79d9d10a3fd7bdba935ef2d12db346051f4)
2007-10-10 14:18:21 -05:00
Andrew Tridgell
e96b2df638 r18376: added iconv:native=false option to turn off native iconv. Needed under
valgrind as native iconv is so full of overflows
(This used to be commit d1de0202efc6e6ca4bbc1997f3e493da18cd35f4)
2007-10-10 14:18:21 -05:00
Andrew Tridgell
208bc04362 r18375: Volker noticed that this is in fact an 8bit number - well spotted!
(This used to be commit 3f80b6b87bf4a3ae3a2fce51764ed70bcf0ea497)
2007-10-10 14:18:21 -05:00
Andrew Tridgell
a57b42ff4e r18374: don't go past the end of this array
should fix the intermittend failure of the HMACSHA1 test
(This used to be commit 09014e1102ca5ada1e6f0f82506dc3cf81fc037d)
2007-10-10 14:18:20 -05:00
Andrew Tridgell
6cb5128dd6 r18372: don't use the system inotify until in the build farm until we work out
how to work around a problem with it giving unpredictable orderings in
renames (sometimes target is first event, sometimes source)
(This used to be commit 066e3b51b1ca038023e53a978e1d2e706cd3d8a6)
2007-10-10 14:18:20 -05:00
Andrew Tridgell
bca38ba866 r18371: made the directory depth notify test independent of timing
(This used to be commit 39458e62f576c551df016a7be4d35175dc21696e)
2007-10-10 14:18:20 -05:00
Andrew Tridgell
c4aaa094e7 r18370: allow system inotify to be disabled
(This used to be commit 31bbf865a069f902dc979f469aec896d3d34422c)
2007-10-10 14:18:20 -05:00
Andrew Bartlett
35d30de095 r18368: Don't list GENSEC mechs that only have client implementations in our
supportedSASLMechanism list.

Andrew Bartlett
(This used to be commit 3e69637b5f79e4132026ebaf9d57cf67ef3826c1)
2007-10-10 14:18:20 -05:00
Andrew Bartlett
a41b696346 r18367: When converting to entryUUID, ensure we don't double-convert a
string-format GUID.

Andrew Bartlett
(This used to be commit 11cc6408c93f46f4d9ae7ae0ee18dac836fe270d)
2007-10-10 14:18:19 -05:00
Stefan Metzmacher
dd4fac5a55 r18366: check if we can link using the selected flags
metze
(This used to be commit d905bb499d81ac4e2f00277ae77ce0a51bdc7474)
2007-10-10 14:18:19 -05:00
Andrew Bartlett
87c998b1e7 r18365: When adding a new structure member, always remember to fragment it.
Andrew Bartlett
(This used to be commit 27259f3632a3fe21cfc5d1375aa630ec0f9f4734)
2007-10-10 14:18:19 -05:00
Andrew Bartlett
2687eeab57 r18364: Get us closer to schema compliance. The corrent names for "secret"
and "priorSecret" are "currentValue" and "priorValue".

With this, we pass RPC-LSA against OpenLDAP.

Andrew Bartlett
(This used to be commit 4380bcaaee74a0aa1a83540bf39793c4aeab4068)
2007-10-10 14:18:19 -05:00
Andrew Bartlett
72c5be634c r18363: Found a rather nasty bug in our fragment handling.
We were adding packet fragments onto the *reply* queue, not the
recieve queue.  This worked, as long as we got a whole packet before
we did any reply work, but failed once the backend called a remote
LDAP server (and I presume something invoked the event loop).

Andrew Bartlett
(This used to be commit a0162e0ace48104d94f7b7dd3d2f62a7f42e10c6)
2007-10-10 14:18:19 -05:00
Andrew Bartlett
79a1d08324 r18362: Make LookupSids map onto LookupSids2, as they both take a policy
handle.  Avoids a lookup for the basic domain information for every
request.

Andrew Bartlett
(This used to be commit 35b69bc5f4bda7f4f2480997cc32188154a175ce)
2007-10-10 14:18:18 -05:00
Andrew Bartlett
459a2301a5 r18361: Invert the way we handle LookupSids2/LookupSids3 and LookupNames3/LookupNames4
The latter calls don't supply a policy handle

The latter calls now acquire a policy handle, then call the earlier
calls.  This means we still share the codepaths, but don't need to
fetch policy state when it is already provided.

Andrew Bartlett
(This used to be commit 5fa9e96bd0d1f75e208be9a8a04dfc90a854bee9)
2007-10-10 14:18:18 -05:00
Andrew Tridgell
f793748f43 r18360: better handling of child process killing in standard mode
(This used to be commit 6a2144caab60073b40577dc1f66f663f817d6cbd)
2007-10-10 14:18:18 -05:00
Andrew Tridgell
cb487062c8 r18359: better handling of child process killing in standard mode
(This used to be commit 3752cc2b5767950b26b57e79fa87a70f8d93173d)
2007-10-10 14:18:18 -05:00
Andrew Tridgell
2d60d3b492 r18358: handle errors in the RPC-LSA async test
(This used to be commit d46c3be9f9db6666be52b5584b0210da925106d1)
2007-10-10 14:18:18 -05:00
Andrew Bartlett
2059aa0949 r18357: Convert more crypto tests from using function results as initialisers.
(Fails on older Unix C compilers)

Andrew Bartlett
(This used to be commit a4cc13a93fc2f18bfb266603617e14d1cc7ceecf)
2007-10-10 14:18:17 -05:00
Andrew Tridgell
bfe8de6949 r18356: doing 1000 of these requests can take over an hour under
valgrind. Reduce to 50, which is plenty for testing the code
(This used to be commit 911c8e1c73bf3953591755ecb4c50f5644fc9c18)
2007-10-10 14:18:17 -05:00
Andrew Tridgell
8942893c39 r18355: increase the delays waiting for all events to propogate in the
RAW-NOTIFY test.
(This used to be commit 81fd19ba3f38ac19d8bcac56210a83fdfc8237de)
2007-10-10 14:18:17 -05:00
Andrew Bartlett
cbed4ba5af r18354: It seems safe to enable the DIGEST-MD5 module now.
Andrew Bartlett
(This used to be commit 8357f8be45ef93bd1b648350c951bbe3b1bb5682)
2007-10-10 14:18:17 -05:00
Andrew Tridgell
691ba583af r18353: try to fix the assumption of NULL being handled in printf()
permanently by replacing printf() on systems that don't have a C99
printf lib
(This used to be commit eacb5357c347255817a0a47abe7dadfaf24301fa)
2007-10-10 14:18:16 -05:00
Andrew Tridgell
f466901945 r18352: printf("%s") is not safe for NULL strings on all platforms, but
d_printf() is. This fixes a crash on solaris
(This used to be commit 52d156671158fa25d3a84a46c98ca1d81e4a18d1)
2007-10-10 14:18:16 -05:00
Andrew Tridgell
db96ce03e9 r18351: functions as initialisers in structures doesn't work on some compilers
(This used to be commit db694a7c82e4b5071aa7f609de6ecde90a8d42dd)
2007-10-10 14:18:16 -05:00
Andrew Tridgell
620a1488b3 r18350: we have to check for lstat() to keep roken happen on hpux
(This used to be commit e251c211f7fa67e2e32d684f10a742b496913284)
2007-10-10 14:18:15 -05:00
Andrew Tridgell
c4f16ffcf9 r18349: don't do validation when using valgrind. It's way too slow (can be
hours for a single test)
(This used to be commit febaf6af4cafed7bc57276186a35099959b2ce62)
2007-10-10 14:18:14 -05:00
Andrew Tridgell
2c6a880321 r18348: fixed a valgrind error in RPC-SRVSVC
(This used to be commit cc89ef3e1fd2f1d550ab65d32dfa894dc7963868)
2007-10-10 14:18:14 -05:00
Andrew Tridgell
81e4403e79 r18347: run slapd in the foreground so timelimit can kill it
(This used to be commit 8cc456e6dcb348375dbded0de1a0c07ea6bf8ff9)
2007-10-10 14:18:14 -05:00
Andrew Tridgell
d939ff7bee r18346: make sure we kill off the slapd process
(This used to be commit 0e1d4be23ab807b17959e09dffbaf9c8c8dd048e)
2007-10-10 14:18:13 -05:00
Simo Sorce
dc221581f0 r18345: test also flags
(This used to be commit 06469a6ba0ee1cc8701214bcefa1d6c696b0150b)
2007-10-10 14:18:13 -05:00
Simo Sorce
8f107700a5 r18344: add a test to show hoe NetNameValidate behaves.
fix the misleading idl names
(This used to be commit 8367b3bcee9338fa3e268b7342ae8db928008b55)
2007-10-10 14:18:13 -05:00
Andrew Tridgell
a8421e8107 r18343: fixed setlinebuf() prototype, added test for it, and use it in two
places to avoid a #ifdef
(This used to be commit 095b8057740a4bb207e24e4c63a2dcb53521a72f)
2007-10-10 14:18:13 -05:00
Andrew Tridgell
3dc237eb28 r18342: a bit more explanation of these strange values
(This used to be commit e191f84f24e017d90c49d779a04a5306d96848a5)
2007-10-10 14:18:13 -05:00
Andrew Tridgell
06bc06cf08 r18341: ooh this gets subtle - this needed for xfs on linux
(This used to be commit 9d688eb9cbaed484ccb75d601c2331760bd59fab)
2007-10-10 14:18:12 -05:00
Andrew Tridgell
a9aa66ab32 r18340: some HPUX boxes don't have ptrdiff_t
(This used to be commit f3b24ea48a70268be5a3af601b5bb923d446c5d5)
2007-10-10 14:18:12 -05:00
Andrew Tridgell
5c104c1d2f r18339: need these checks for roken.h on hpux
(This used to be commit e98e0a28a0cb79e272c0caa0bcb3b5fb6bf3a17b)
2007-10-10 14:18:12 -05:00
Stefan Metzmacher
d159cffe2f r18338: this isn't needed anymore
metze
(This used to be commit 91800fd80c1763157f9bfded8f10e2d8c9a04cd2)
2007-10-10 14:18:12 -05:00
Andrew Tridgell
d82ed849cc r18337: more -Ae tests in check_cc.m4
honor the MMAP_BLACKLIST
(This used to be commit c2f2dbb5d1c082ee1391908073336a9dfc10f712)
2007-10-10 14:18:11 -05:00
Andrew Tridgell
2e24543b21 r18336: autoconf tries to force on C89 mode on HP-UX, using the -Ae
flag. Unfortunately that flag conflicts with the -AC99 flag, and we
get lots of breakage.

This is a trick to force off the -Ae option
(This used to be commit eb93fb8e54c46df35904e03870063c4532599442)
2007-10-10 14:18:11 -05:00
Andrew Tridgell
3f8383cd61 r18335: more portable bool tests
(This used to be commit 45a3a6a566de020578c24feb5788367efd685f29)
2007-10-10 14:18:11 -05:00
Andrew Tridgell
ee66b69a8b r18334: AIX 5.1 doesn't have any of 'users', 'guest', 'other' or 'unknown'
it does have 'usr'
(This used to be commit 96db975024a744f42a0418e379df1da6c4079fe6)
2007-10-10 14:18:11 -05:00
Stefan Metzmacher
2cebef3a9e r18333: $< is broken in older BSD version:
when $@ is foo/bar.o, $< could be torture/foo/bar.c
if it also exists. So better use $* which is foo/bar
to get foo/bar.c

metze
(This used to be commit 7aad9f81d927778bd3da6a37afc0489f1fefdc58)
2007-10-10 14:18:11 -05:00
Andrew Tridgell
fc8960ee9a r18332: added back in our shared mmap test code
(This used to be commit 6ff100b26698a50ba79b587a687cc0d440f73b55)
2007-10-10 14:18:10 -05:00
Andrew Tridgell
0ee52751f3 r18331: fixed a warning
(This used to be commit 997ed10bf540cc99da1bab5e53634beb3b239253)
2007-10-10 14:18:10 -05:00