Andrew Tridgell [Wed, 13 Sep 2006 02:03:20 +0000 (02:03 +0000)]
r18438: I should have examined these uses of talloc_move() more
carefully. Most of them are OK, but a couple were not.
(This used to be commit
b0de2838829d9750817c31f28c11c6b2be6e7b64)
Andrew Tridgell [Wed, 13 Sep 2006 00:11:07 +0000 (00:11 +0000)]
r18437: added a 'make valgrindtest' target for ldb
(This used to be commit
4c33c6bb97f3b25b611c476be4c914031e55e4dc)
Andrew Tridgell [Wed, 13 Sep 2006 00:10:38 +0000 (00:10 +0000)]
r18436: converted ldb to use talloc_move() instead of talloc_steal() when
appropriate.
Note that I also removed the error checks that were being done on the
result of talloc_steal(). They are pointless as talloc_steal() doesn't
have any failure modes that wouldn't cause a segv anyway, and they
tend to clutter the code
(This used to be commit
c0d9e7d473b8e3eb2524a9fc29cf88680f994b36)
Andrew Tridgell [Wed, 13 Sep 2006 00:05:07 +0000 (00:05 +0000)]
r18435: added a function talloc_move() which is like talloc_steal(), but is
meant for moving pointers between structures. The difference is that
talloc_move() will zero the source pointer, thus ensuring you don't
reference the pointer in the old context.
talloc_move() is appropriate in some, but not all cases where we use
talloc_steal() now. The interface came out of a discussion with
Jeremy.
(This used to be commit
200756017e1867faa207703eddc00a75ae4527df)
Andrew Bartlett [Tue, 12 Sep 2006 22:26:19 +0000 (22:26 +0000)]
r18434: Fix typo...
(This used to be commit
4f235b88aa0ce6c684bf203ea3cbc81e91a3cd3e)
Andrew Bartlett [Tue, 12 Sep 2006 22:03:24 +0000 (22:03 +0000)]
r18433: Make sure to search below the partitions baseDN for the netbios name.
I think we should have a helper function for this search, we do it too
often...
Andrew Bartlett
(This used to be commit
09327baa0ded3a98398b266c960f827b29021d91)
Andrew Tridgell [Tue, 12 Sep 2006 18:45:05 +0000 (18:45 +0000)]
r18432: ensure roken doesn't try to include both inttypes.h and stdint.h. The
two conflict on irix.
(This used to be commit
4dd949c80d4400c3a80571cc28f599c37c1fcf7b)
Andrew Tridgell [Tue, 12 Sep 2006 18:38:12 +0000 (18:38 +0000)]
r18431: use this to suppress things on fort in the build farm
(This used to be commit
13ed504a1b42acdb5aec68734ec0dc14c9bd39cd)
Stefan Metzmacher [Tue, 12 Sep 2006 16:33:24 +0000 (16:33 +0000)]
r18428: add my copyright
metze
(This used to be commit
d222fab2b5fcd44ad7825e605a9febbe9d211e7a)
Stefan Metzmacher [Tue, 12 Sep 2006 16:25:50 +0000 (16:25 +0000)]
r18427: set sin_port correctly on autobound socket
metze
(This used to be commit
d373890fb26f3a593bacdb374f10d4279822b97d)
Stefan Metzmacher [Tue, 12 Sep 2006 14:59:08 +0000 (14:59 +0000)]
r18426: use 'family' consistantly instead of mixing 'domain' and 'family'
metze
(This used to be commit
224f26602ac78dbdabd4602bce42e31141102f6c)
Stefan Metzmacher [Tue, 12 Sep 2006 14:44:44 +0000 (14:44 +0000)]
r18424: there's no need to allocate a wrapped socket for unix sockets,
also this makes sure the socket file isn't unlinked if using socket
wrapper.
metze
(This used to be commit
7670e9ae6e8e64ddb3c7d99b3d44048519629225)
Stefan Metzmacher [Tue, 12 Sep 2006 09:08:55 +0000 (09:08 +0000)]
r18423: record accept, connect and close events in socket wrapper
metze
(This used to be commit
7f29471f0b6b9158da52522984a6ab3f8ace4f42)
Stefan Metzmacher [Tue, 12 Sep 2006 07:35:04 +0000 (07:35 +0000)]
r18421: support --target=samba3, I thought that was already supported
metze
(This used to be commit
47ccea11f31be878c5bdff4f6f4e5b7685a1c796)
Stefan Metzmacher [Tue, 12 Sep 2006 07:25:16 +0000 (07:25 +0000)]
r18420: fix the build...
metze
(This used to be commit
a7ce2c6c53f1bbb2320fd8afe44ec12e504d95c9)
Stefan Metzmacher [Tue, 12 Sep 2006 07:05:41 +0000 (07:05 +0000)]
r18419: fix include paths of the configure tests
metze
(This used to be commit
8774eeb0dc8a72a9871d42bf1652ce4f7d4a29b7)
Stefan Metzmacher [Tue, 12 Sep 2006 07:04:12 +0000 (07:04 +0000)]
r18418: Tru64 has a different prototype for seekdir() returning int
when _OSF_SOURCE is defined
metze
(This used to be commit
5279656a15e42e6dd96ddfa181597c71fc993ff3)
Stefan Metzmacher [Tue, 12 Sep 2006 06:19:11 +0000 (06:19 +0000)]
r18417: overload send() and recv() by socket wrapper
and add a dummy swrap_dump_packet() function
which can later dump the packet content,
so that a script can then generate a capture file
for wireshark
metze
(This used to be commit
d05cab5c626b5960448f206e8c17b89edbf78733)
Andrew Bartlett [Tue, 12 Sep 2006 04:03:43 +0000 (04:03 +0000)]
r18416: We need to look for both builtinDomain and domain, in the OpenDomain call.
Andrew Bartlett
(This used to be commit
5525baf5217417308ffcebe2be3b4df445fddf75)
Brad Henry [Tue, 12 Sep 2006 02:59:10 +0000 (02:59 +0000)]
r18415: Make the samba-windows test scripts executable so they run a little easier in the build farm.
(This used to be commit
b2d3f8f7aae5b2bb9baf4e45fbc4632576e6fea8)
Brad Henry [Tue, 12 Sep 2006 02:53:02 +0000 (02:53 +0000)]
r18414: This README file should help to explain what is needed to setup a Windows VM for testing using this framework.
Let me know if there's anything that looks strange or could use clarification.
vm_setup.tar.gz is currently located at the root of my SVN branch, svn://svnanon.samba.org/samba/branches/SOC/bnh.
(This used to be commit
849fe757bb908842844ab482b8669694157550cd)
Simo Sorce [Tue, 12 Sep 2006 02:24:21 +0000 (02:24 +0000)]
r18412: Implement NetiNameValidate but just for share name right now (type 9)
Simo.
(This used to be commit
906429834a102349582017ef73a69e211ef5c500)
Andrew Bartlett [Tue, 12 Sep 2006 00:41:49 +0000 (00:41 +0000)]
r18410: Reduce noise in the ldb_ildap backend. We regularly search for things
that don't exist, and this is not a cause for panic.
Andrew Bartlett
(This used to be commit
c89e416d288d16de43ae93102ecfec588900e6c0)
Andrew Bartlett [Tue, 12 Sep 2006 00:41:12 +0000 (00:41 +0000)]
r18409: Make sure to print a DEBUG message if this LDB search fails.
Andrew Bartlett
(This used to be commit
6419ef09b18b1105956211ae8774963f9cb30d2e)
Andrew Bartlett [Tue, 12 Sep 2006 00:40:45 +0000 (00:40 +0000)]
r18408: Only output a message if the async request fails.
Andrew Bartlett
(This used to be commit
1ea6b600f42d3ccfb75da98f2013928fda524450)
Andrew Tridgell [Mon, 11 Sep 2006 22:25:50 +0000 (22:25 +0000)]
r18407: test for epoll.h and select.h
(This used to be commit
3ddb77c1e3dce5e05771b3fcaf86f8ae9ff21a52)
Andrew Tridgell [Mon, 11 Sep 2006 22:16:47 +0000 (22:16 +0000)]
r18406: disable local iconv test as well when iconv:native=false
(This used to be commit
77e6a09e6b1a313db2bf289ac954fe4393b569fe)
Andrew Tridgell [Mon, 11 Sep 2006 21:32:08 +0000 (21:32 +0000)]
r18401: some of our code also relies on fprintf() handling C99
semantics. Easiest to just replace it if it doesn't.
(This used to be commit
5fc756a770b6f457bf103e2a8a240ca020fd1a02)
Andrew Tridgell [Mon, 11 Sep 2006 21:25:06 +0000 (21:25 +0000)]
r18400: move MAP_FAILED define to lib/replace/system/shmem.h
(This used to be commit
025b142ff268498cfb36fc0e7e9e25a2c5963d38)
Stefan Metzmacher [Mon, 11 Sep 2006 16:54:54 +0000 (16:54 +0000)]
r18392: add sidtouid and sidtogid tests to RPC-UNIXINFO
metze
(This used to be commit
f1708fd9434ee2a9ae25e9d912f0c350d8e1a256)
Stefan Metzmacher [Mon, 11 Sep 2006 16:45:34 +0000 (16:45 +0000)]
r18391: - match the samba3 protocol for UNIXINFO
- add a test for GidToSid
metze
(This used to be commit
fb92643a8b64428e8259bc21fe04f876b24bfd84)
Stefan Metzmacher [Mon, 11 Sep 2006 16:05:27 +0000 (16:05 +0000)]
r18389: test RPC-UNIXINFO in samba4
metze
(This used to be commit
928beac95d534a7a9f5182b64ec905f0ad094192)
Stefan Metzmacher [Mon, 11 Sep 2006 16:02:36 +0000 (16:02 +0000)]
r18388: remove _XOPEN_SOURCE it causes trouble on BSD and IRIX
I need to find a way to define it only on Tru64 maybe.
metze
(This used to be commit
aca8a3f8c0bb3cce0ef8c5fd945011581d19586d)
Stefan Metzmacher [Mon, 11 Sep 2006 15:44:54 +0000 (15:44 +0000)]
r18386: start the unixinfo pipe by default
metze
(This used to be commit
ea44cdfc6f67583bd86d273b4c119e29ce690ca9)
Stefan Metzmacher [Mon, 11 Sep 2006 15:43:31 +0000 (15:43 +0000)]
r18385: fix crashes in the RPC-UNIXINFO test
jelmer: I think there're a few ref pointer related bugs in pidl
we need to discuss them the next days
metze
(This used to be commit
8c4241ecbbd9686d990073cec53dc1fde0fdde9b)
Stefan Metzmacher [Mon, 11 Sep 2006 15:42:31 +0000 (15:42 +0000)]
r18384: this is a ref pointer like in samba3 and for the Gid version
metze
(This used to be commit
5d2100a6daa645e54df30986e1c4e0e8c0d4158d)
Stefan Metzmacher [Mon, 11 Sep 2006 14:08:51 +0000 (14:08 +0000)]
r18383: ok we need _XOPEN_SOURCE 500 and include standards.h on Tru64
to get MAP_FAILED
metze
(This used to be commit
0f48c8ad7c066ba33cb8d4491083e15b24c5046e)
Stefan Metzmacher [Mon, 11 Sep 2006 13:47:29 +0000 (13:47 +0000)]
r18382: define _XOPEN_SOURCE to hopefully bring in MAP_FAILED in
sys/mman.h on Tru64
metze
(This used to be commit
8109eb9d28c9043c359d48319efe91aed2714431)
Stefan Metzmacher [Mon, 11 Sep 2006 12:47:40 +0000 (12:47 +0000)]
r18381: make sure autoconf doesn't add '-O2' to CFLAGS
metze
(This used to be commit
ec6365b5f18eea7035b6963c8005e75b9f4e3437)
Andrew Tridgell [Mon, 11 Sep 2006 10:32:39 +0000 (10:32 +0000)]
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)
Andrew Tridgell [Mon, 11 Sep 2006 09:21:58 +0000 (09:21 +0000)]
r18377: disable native iconv with valgrind
(This used to be commit
d1ceb79d9d10a3fd7bdba935ef2d12db346051f4)
Andrew Tridgell [Mon, 11 Sep 2006 09:19:58 +0000 (09:19 +0000)]
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)
Andrew Tridgell [Mon, 11 Sep 2006 09:04:51 +0000 (09:04 +0000)]
r18375: Volker noticed that this is in fact an 8bit number - well spotted!
(This used to be commit
3f80b6b87bf4a3ae3a2fce51764ed70bcf0ea497)
Andrew Tridgell [Mon, 11 Sep 2006 08:28:25 +0000 (08:28 +0000)]
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)
Andrew Tridgell [Mon, 11 Sep 2006 07:59:02 +0000 (07:59 +0000)]
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)
Andrew Tridgell [Mon, 11 Sep 2006 07:58:08 +0000 (07:58 +0000)]
r18371: made the directory depth notify test independent of timing
(This used to be commit
39458e62f576c551df016a7be4d35175dc21696e)
Andrew Tridgell [Mon, 11 Sep 2006 07:56:23 +0000 (07:56 +0000)]
r18370: allow system inotify to be disabled
(This used to be commit
31bbf865a069f902dc979f469aec896d3d34422c)
Andrew Bartlett [Mon, 11 Sep 2006 07:51:30 +0000 (07:51 +0000)]
r18368: Don't list GENSEC mechs that only have client implementations in our
supportedSASLMechanism list.
Andrew Bartlett
(This used to be commit
3e69637b5f79e4132026ebaf9d57cf67ef3826c1)
Andrew Bartlett [Mon, 11 Sep 2006 07:50:49 +0000 (07:50 +0000)]
r18367: When converting to entryUUID, ensure we don't double-convert a
string-format GUID.
Andrew Bartlett
(This used to be commit
11cc6408c93f46f4d9ae7ae0ee18dac836fe270d)
Stefan Metzmacher [Mon, 11 Sep 2006 07:15:49 +0000 (07:15 +0000)]
r18366: check if we can link using the selected flags
metze
(This used to be commit
d905bb499d81ac4e2f00277ae77ce0a51bdc7474)
Andrew Bartlett [Mon, 11 Sep 2006 06:49:24 +0000 (06:49 +0000)]
r18365: When adding a new structure member, always remember to fragment it.
Andrew Bartlett
(This used to be commit
27259f3632a3fe21cfc5d1375aa630ec0f9f4734)
Andrew Bartlett [Mon, 11 Sep 2006 06:29:58 +0000 (06:29 +0000)]
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)
Andrew Bartlett [Mon, 11 Sep 2006 06:17:12 +0000 (06:17 +0000)]
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)
Andrew Bartlett [Mon, 11 Sep 2006 06:15:39 +0000 (06:15 +0000)]
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)
Andrew Bartlett [Mon, 11 Sep 2006 05:11:10 +0000 (05:11 +0000)]
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)
Andrew Tridgell [Mon, 11 Sep 2006 04:47:56 +0000 (04:47 +0000)]
r18360: better handling of child process killing in standard mode
(This used to be commit
6a2144caab60073b40577dc1f66f663f817d6cbd)
Andrew Tridgell [Mon, 11 Sep 2006 04:47:48 +0000 (04:47 +0000)]
r18359: better handling of child process killing in standard mode
(This used to be commit
3752cc2b5767950b26b57e79fa87a70f8d93173d)
Andrew Tridgell [Mon, 11 Sep 2006 04:28:34 +0000 (04:28 +0000)]
r18358: handle errors in the RPC-LSA async test
(This used to be commit
d46c3be9f9db6666be52b5584b0210da925106d1)
Andrew Bartlett [Mon, 11 Sep 2006 04:18:16 +0000 (04:18 +0000)]
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)
Andrew Tridgell [Mon, 11 Sep 2006 02:58:45 +0000 (02:58 +0000)]
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)
Andrew Tridgell [Mon, 11 Sep 2006 02:09:03 +0000 (02:09 +0000)]
r18355: increase the delays waiting for all events to propogate in the
RAW-NOTIFY test.
(This used to be commit
81fd19ba3f38ac19d8bcac56210a83fdfc8237de)
Andrew Bartlett [Mon, 11 Sep 2006 01:42:13 +0000 (01:42 +0000)]
r18354: It seems safe to enable the DIGEST-MD5 module now.
Andrew Bartlett
(This used to be commit
8357f8be45ef93bd1b648350c951bbe3b1bb5682)
Andrew Tridgell [Mon, 11 Sep 2006 01:38:50 +0000 (01:38 +0000)]
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)
Andrew Tridgell [Mon, 11 Sep 2006 01:22:28 +0000 (01:22 +0000)]
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)
Andrew Tridgell [Mon, 11 Sep 2006 00:59:31 +0000 (00:59 +0000)]
r18351: functions as initialisers in structures doesn't work on some compilers
(This used to be commit
db694a7c82e4b5071aa7f609de6ecde90a8d42dd)
Andrew Tridgell [Mon, 11 Sep 2006 00:50:57 +0000 (00:50 +0000)]
r18350: we have to check for lstat() to keep roken happen on hpux
(This used to be commit
e251c211f7fa67e2e32d684f10a742b496913284)
Andrew Tridgell [Mon, 11 Sep 2006 00:43:48 +0000 (00:43 +0000)]
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)
Andrew Tridgell [Mon, 11 Sep 2006 00:24:21 +0000 (00:24 +0000)]
r18348: fixed a valgrind error in RPC-SRVSVC
(This used to be commit
cc89ef3e1fd2f1d550ab65d32dfa894dc7963868)
Andrew Tridgell [Sun, 10 Sep 2006 22:53:21 +0000 (22:53 +0000)]
r18347: run slapd in the foreground so timelimit can kill it
(This used to be commit
8cc456e6dcb348375dbded0de1a0c07ea6bf8ff9)
Andrew Tridgell [Sun, 10 Sep 2006 22:45:45 +0000 (22:45 +0000)]
r18346: make sure we kill off the slapd process
(This used to be commit
0e1d4be23ab807b17959e09dffbaf9c8c8dd048e)
Simo Sorce [Sun, 10 Sep 2006 22:06:49 +0000 (22:06 +0000)]
r18345: test also flags
(This used to be commit
06469a6ba0ee1cc8701214bcefa1d6c696b0150b)
Simo Sorce [Sun, 10 Sep 2006 21:51:46 +0000 (21:51 +0000)]
r18344: add a test to show hoe NetNameValidate behaves.
fix the misleading idl names
(This used to be commit
8367b3bcee9338fa3e268b7342ae8db928008b55)
Andrew Tridgell [Sun, 10 Sep 2006 14:19:38 +0000 (14:19 +0000)]
r18343: fixed setlinebuf() prototype, added test for it, and use it in two
places to avoid a #ifdef
(This used to be commit
095b8057740a4bb207e24e4c63a2dcb53521a72f)
Andrew Tridgell [Sun, 10 Sep 2006 13:51:57 +0000 (13:51 +0000)]
r18342: a bit more explanation of these strange values
(This used to be commit
e191f84f24e017d90c49d779a04a5306d96848a5)
Andrew Tridgell [Sun, 10 Sep 2006 13:48:42 +0000 (13:48 +0000)]
r18341: ooh this gets subtle - this needed for xfs on linux
(This used to be commit
9d688eb9cbaed484ccb75d601c2331760bd59fab)
Andrew Tridgell [Sun, 10 Sep 2006 13:16:27 +0000 (13:16 +0000)]
r18340: some HPUX boxes don't have ptrdiff_t
(This used to be commit
f3b24ea48a70268be5a3af601b5bb923d446c5d5)
Andrew Tridgell [Sun, 10 Sep 2006 13:02:54 +0000 (13:02 +0000)]
r18339: need these checks for roken.h on hpux
(This used to be commit
e98e0a28a0cb79e272c0caa0bcb3b5fb6bf3a17b)
Stefan Metzmacher [Sun, 10 Sep 2006 12:51:30 +0000 (12:51 +0000)]
r18338: this isn't needed anymore
metze
(This used to be commit
91800fd80c1763157f9bfded8f10e2d8c9a04cd2)
Andrew Tridgell [Sun, 10 Sep 2006 12:45:37 +0000 (12:45 +0000)]
r18337: more -Ae tests in check_cc.m4
honor the MMAP_BLACKLIST
(This used to be commit
c2f2dbb5d1c082ee1391908073336a9dfc10f712)
Andrew Tridgell [Sun, 10 Sep 2006 12:38:32 +0000 (12:38 +0000)]
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)
Andrew Tridgell [Sun, 10 Sep 2006 12:23:47 +0000 (12:23 +0000)]
r18335: more portable bool tests
(This used to be commit
45a3a6a566de020578c24feb5788367efd685f29)
Andrew Tridgell [Sun, 10 Sep 2006 12:12:24 +0000 (12:12 +0000)]
r18334: AIX 5.1 doesn't have any of 'users', 'guest', 'other' or 'unknown'
it does have 'usr'
(This used to be commit
96db975024a744f42a0418e379df1da6c4079fe6)
Stefan Metzmacher [Sun, 10 Sep 2006 11:53:44 +0000 (11:53 +0000)]
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)
Andrew Tridgell [Sun, 10 Sep 2006 11:47:21 +0000 (11:47 +0000)]
r18332: added back in our shared mmap test code
(This used to be commit
6ff100b26698a50ba79b587a687cc0d440f73b55)
Andrew Tridgell [Sun, 10 Sep 2006 11:32:42 +0000 (11:32 +0000)]
r18331: fixed a warning
(This used to be commit
997ed10bf540cc99da1bab5e53634beb3b239253)
Andrew Tridgell [Sun, 10 Sep 2006 11:32:31 +0000 (11:32 +0000)]
r18330: don't mix pointer types in RPC replies
(This used to be commit
cc86719f53a47e3ca25b19d7a765314ce967ab01)
Stefan Metzmacher [Sun, 10 Sep 2006 11:23:29 +0000 (11:23 +0000)]
r18329: print out special make variables when failing, to track down the
build failures on older BSD systems with broken make
metze
(This used to be commit
7edb40569a5b5c971894a5e753638eeccef15dea)
Andrew Tridgell [Sun, 10 Sep 2006 11:16:26 +0000 (11:16 +0000)]
r18328: when we bail out early, set *offset to 0
(This used to be commit
81230464600bd3a2bb283303b2b9c71f6409675b)
Andrew Tridgell [Sun, 10 Sep 2006 11:16:09 +0000 (11:16 +0000)]
r18327: 'struct token' is defined on some hosts
(This used to be commit
b2bba4e7261e4daf2be44110c454eb0e217836ca)
Stefan Metzmacher [Sun, 10 Sep 2006 10:58:15 +0000 (10:58 +0000)]
r18326: these are not used anymore, I found the bug on *BSD
it's the broken BSD make again where we endup with this:
... -c torture/libnet/libnet_rpc.c -o libnet/libnet_rpc.o
metze
(This used to be commit
97d73452c55c7110f25687d33e026f326a43b03c)
Andrew Tridgell [Sun, 10 Sep 2006 10:43:31 +0000 (10:43 +0000)]
r18325: more warnings and one compile error on aix fixed
(This used to be commit
6e7e151432a31e48a67679df3966d2227d555317)
Andrew Tridgell [Sun, 10 Sep 2006 10:30:33 +0000 (10:30 +0000)]
r18324: fixed a uninitialised variable
(This used to be commit
08562d6ebe6b2c48026f0d1e97ec4dd8ea215b2c)
Andrew Tridgell [Sun, 10 Sep 2006 10:30:10 +0000 (10:30 +0000)]
r18323: this function returns a pointer, not a bool
(This used to be commit
86ef345cbf98e38b4e135cf52761c7268b608313)
Andrew Tridgell [Sun, 10 Sep 2006 10:02:10 +0000 (10:02 +0000)]
r18322: fixed a compilation problem on AIX caused by lex not putting config.h
first. That leads to a conflicting define for lseek() due to
_LARGE_FILES being defined after standards headers are included
(This used to be commit
9034238e27f22a7077df9fa0d7c83cce4503aabc)
Andrew Tridgell [Sun, 10 Sep 2006 10:00:42 +0000 (10:00 +0000)]
r18321: fixed some warnings on AIX
(This used to be commit
449fab2c264aa50601f9a2d3310f1910ba97706b)
Andrew Tridgell [Sun, 10 Sep 2006 08:08:20 +0000 (08:08 +0000)]
r18320: the raw write size limit test hurts too many hosts. Limit it to 2^33
bytes if --dangerous is not set.
(This used to be commit
90e5136ea4a47ecb59426fe547ae92db1fd8657a)
Andrew Tridgell [Sun, 10 Sep 2006 07:24:41 +0000 (07:24 +0000)]
r18319: fixed the directory search resume code on IRIX
The problem was twofold:
1) irix returns 64 bit numbers in telldir(). The protocol uses a 32
bit resume key. We now cope with this properly using the code in
pvfs_list_seek_ofs().
2) irix returns 0xFFFFFFFF from telldir() for the last entry in the
directory. When added to DIR_OFFSET_BASE this became
DIR_OFFSET_DOTDOT which meant an infinite loop!
(This used to be commit
8cce9740ed0da9f08d6821beb4acaa9d28d149c2)
Simo Sorce [Sun, 10 Sep 2006 03:58:00 +0000 (03:58 +0000)]
r18318: Implement DiskEnum
Fix spelling and consistencies issues in idl
(This used to be commit
1347c971ac4dd62e6e6643293d48917ac065d19c)
Simo Sorce [Sun, 10 Sep 2006 03:11:03 +0000 (03:11 +0000)]
r18317: Make sure we actually have a valid reply or fail
(This used to be commit
41cb3a9258012e628a2d87959cc066f6c5d92255)
Simo Sorce [Sun, 10 Sep 2006 02:46:17 +0000 (02:46 +0000)]
r18316: Build the parent too
(This used to be commit
1fcf725bc0a10454be8d276920ac14f346eb4a21)