kai/samba.git
16 years agor18392: add sidtouid and sidtogid tests to RPC-UNIXINFO
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)

16 years agor18391: - match the samba3 protocol for UNIXINFO
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)

16 years agor18389: test RPC-UNIXINFO in samba4
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)

16 years agor18388: remove _XOPEN_SOURCE it causes trouble on BSD and IRIX
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)

16 years agor18386: start the unixinfo pipe by default
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)

16 years agor18385: fix crashes in the RPC-UNIXINFO test
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)

16 years agor18384: this is a ref pointer like in samba3 and for the Gid version
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)

16 years agor18383: ok we need _XOPEN_SOURCE 500 and include standards.h on Tru64
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)

16 years agor18382: define _XOPEN_SOURCE to hopefully bring in MAP_FAILED in
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)

16 years agor18381: make sure autoconf doesn't add '-O2' to CFLAGS
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)

16 years agor18378: try enabling _OSF_SOURCE to see if it fixes the tru64 build problems -
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)

16 years agor18377: disable native iconv with valgrind
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)

16 years agor18376: added iconv:native=false option to turn off native iconv. Needed under
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)

16 years agor18375: Volker noticed that this is in fact an 8bit number - well spotted!
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)

16 years agor18374: don't go past the end of this array
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)

16 years agor18372: don't use the system inotify until in the build farm until we work out
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)

16 years agor18371: made the directory depth notify test independent of timing
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)

16 years agor18370: allow system inotify to be disabled
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)

16 years agor18368: Don't list GENSEC mechs that only have client implementations in our
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)

16 years agor18367: When converting to entryUUID, ensure we don't double-convert a
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)

16 years agor18366: check if we can link using the selected flags
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)

16 years agor18365: When adding a new structure member, always remember to fragment it.
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)

16 years agor18364: Get us closer to schema compliance. The corrent names for "secret"
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)

16 years agor18363: Found a rather nasty bug in our fragment handling.
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)

16 years agor18362: Make LookupSids map onto LookupSids2, as they both take a policy
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)

16 years agor18361: Invert the way we handle LookupSids2/LookupSids3 and LookupNames3/LookupNames4
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)

16 years agor18360: better handling of child process killing in standard mode
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)

16 years agor18359: better handling of child process killing in standard mode
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)

16 years agor18358: handle errors in the RPC-LSA async test
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)

16 years agor18357: Convert more crypto tests from using function results as initialisers.
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)

16 years agor18356: doing 1000 of these requests can take over an hour under
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)

16 years agor18355: increase the delays waiting for all events to propogate in the
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)

16 years agor18354: It seems safe to enable the DIGEST-MD5 module now.
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)

16 years agor18353: try to fix the assumption of NULL being handled in printf()
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)

16 years agor18352: printf("%s") is not safe for NULL strings on all platforms, but
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)

16 years agor18351: functions as initialisers in structures doesn't work on some compilers
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)

16 years agor18350: we have to check for lstat() to keep roken happen on hpux
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)

16 years agor18349: don't do validation when using valgrind. It's way too slow (can be
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)

16 years agor18348: fixed a valgrind error in RPC-SRVSVC
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)

16 years agor18347: run slapd in the foreground so timelimit can kill it
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)

16 years agor18346: make sure we kill off the slapd process
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)

16 years agor18345: test also flags
Simo Sorce [Sun, 10 Sep 2006 22:06:49 +0000 (22:06 +0000)]
r18345: test also flags
(This used to be commit 06469a6ba0ee1cc8701214bcefa1d6c696b0150b)

16 years agor18344: add a test to show hoe NetNameValidate behaves.
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)

16 years agor18343: fixed setlinebuf() prototype, added test for it, and use it in two
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)

16 years agor18342: a bit more explanation of these strange values
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)

16 years agor18341: ooh this gets subtle - this needed for xfs on linux
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)

16 years agor18340: some HPUX boxes don't have ptrdiff_t
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)

16 years agor18339: need these checks for roken.h on hpux
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)

16 years agor18338: this isn't needed anymore
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)

16 years agor18337: more -Ae tests in check_cc.m4
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)

16 years agor18336: autoconf tries to force on C89 mode on HP-UX, using the -Ae
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)

16 years agor18335: more portable bool tests
Andrew Tridgell [Sun, 10 Sep 2006 12:23:47 +0000 (12:23 +0000)]
r18335: more portable bool tests
(This used to be commit 45a3a6a566de020578c24feb5788367efd685f29)

16 years agor18334: AIX 5.1 doesn't have any of 'users', 'guest', 'other' or 'unknown'
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)

16 years agor18333: $< is broken in older BSD version:
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)

16 years agor18332: added back in our shared mmap test code
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)

16 years agor18331: fixed a warning
Andrew Tridgell [Sun, 10 Sep 2006 11:32:42 +0000 (11:32 +0000)]
r18331: fixed a warning
(This used to be commit 997ed10bf540cc99da1bab5e53634beb3b239253)

16 years agor18330: don't mix pointer types in RPC replies
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)

16 years agor18329: print out special make variables when failing, to track down the
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)

16 years agor18328: when we bail out early, set *offset to 0
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)

16 years agor18327: 'struct token' is defined on some hosts
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)

16 years agor18326: these are not used anymore, I found the bug on *BSD
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)

16 years agor18325: more warnings and one compile error on aix fixed
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)

16 years agor18324: fixed a uninitialised variable
Andrew Tridgell [Sun, 10 Sep 2006 10:30:33 +0000 (10:30 +0000)]
r18324: fixed a uninitialised variable
(This used to be commit 08562d6ebe6b2c48026f0d1e97ec4dd8ea215b2c)

16 years agor18323: this function returns a pointer, not a bool
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)

16 years agor18322: fixed a compilation problem on AIX caused by lex not putting config.h
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)

16 years agor18321: fixed some warnings on AIX
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)

16 years agor18320: the raw write size limit test hurts too many hosts. Limit it to 2^33
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)

16 years agor18319: fixed the directory search resume code on IRIX
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)

16 years agor18318: Implement DiskEnum
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)

16 years agor18317: Make sure we actually have a valid reply or fail
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)

16 years agor18316: Build the parent too
Simo Sorce [Sun, 10 Sep 2006 02:46:17 +0000 (02:46 +0000)]
r18316: Build the parent too
(This used to be commit 1fcf725bc0a10454be8d276920ac14f346eb4a21)

16 years agor18315: Implement netSrvGetInfo level 102
Simo Sorce [Sun, 10 Sep 2006 00:41:15 +0000 (00:41 +0000)]
r18315: Implement netSrvGetInfo level 102
fix names to be consistent between level 101 and 102 and typo in idl
(This used to be commit 1962fb92d706962544c293770718294e595f9fc4)

16 years agor18314: Handle the case where a dir has the sticky bit set and the OS gives back
Simo Sorce [Sat, 9 Sep 2006 23:50:44 +0000 (23:50 +0000)]
r18314: Handle the case where a dir has the sticky bit set and the OS gives back
EPERM when trying to access user xattrs. Just pretend no attributes are set.

Simo.
(This used to be commit 53463ca7969e76f9fb2bc7c5a023d23732e422f5)

16 years agor18309: FreeBSD 6.1 has a symbol ldap_new_connection() in the system ldap
Andrew Tridgell [Sat, 9 Sep 2006 12:57:45 +0000 (12:57 +0000)]
r18309: FreeBSD 6.1 has a symbol ldap_new_connection() in the system ldap
library. Even though we don't like to that library, it gets loaded via
nss-ldap, which means nss-ldap calls into the samba ldap lib with the
wrong parameters, and crashes.

We really need to use a completely different namespace in libcli/ldap/
(This used to be commit c440e0eed9afae5fe69995a7416971e7c8560779)

16 years agor18308: get this right ....
Andrew Tridgell [Sat, 9 Sep 2006 12:51:32 +0000 (12:51 +0000)]
r18308: get this right ....
(This used to be commit 3697cd6597875fe22f6885ce20612a32d0be2513)

16 years agor18307: fixed a warning
Andrew Tridgell [Sat, 9 Sep 2006 11:46:38 +0000 (11:46 +0000)]
r18307: fixed a warning
(This used to be commit cf24d46ea3c2dca4425121642400bef88f218a9e)

16 years agor18306: I hope that works better...
Stefan Metzmacher [Sat, 9 Sep 2006 11:07:39 +0000 (11:07 +0000)]
r18306: I hope that works better...

metze
(This used to be commit fa060ff7a6bcbfbdd8cbb08af44dc462d3d289a7)

16 years agor18305: get some more debug output to fix the build on sambajail
Stefan Metzmacher [Sat, 9 Sep 2006 11:03:12 +0000 (11:03 +0000)]
r18305: get some more debug output to fix the build on sambajail

metze
(This used to be commit 13f54d8fa73a2a53dee4911ee65de1debffb76ce)

16 years agor18304: fixed misuse of size_t in dopr()
Andrew Tridgell [Sat, 9 Sep 2006 10:29:13 +0000 (10:29 +0000)]
r18304: fixed misuse of size_t in dopr()
(This used to be commit d082a3c5f5785e9d7775d94542ce9cc8ef098f63)

16 years agor18303: we should just use -Ilib/popt as in all other places
Stefan Metzmacher [Sat, 9 Sep 2006 10:24:42 +0000 (10:24 +0000)]
r18303: we should just use -Ilib/popt as in all other places

metze
(This used to be commit 82bf7013058caa25a62cde98e4c68083952b0f88)

16 years agor18302: fixed test_cifsdd.sh - the unnecessary sum operations were breaking on
Andrew Tridgell [Sat, 9 Sep 2006 10:22:47 +0000 (10:22 +0000)]
r18302: fixed test_cifsdd.sh - the unnecessary sum operations were breaking on
solaris
(This used to be commit 3828c463ad31ae1ce4a4aba307126bd47adc1329)

16 years agor18301: I discovered how to load the warnings from a build farm build into
Andrew Tridgell [Sat, 9 Sep 2006 10:05:58 +0000 (10:05 +0000)]
r18301: I discovered how to load the warnings from a build farm build into
emacs compile mode (hint, paste to a file, and compile as "cat
filename").

This allowed me to fix nearly all the warnings for a IA_64 SuSE build
very quickly.
(This used to be commit eba6c84efff735bb0ca941ac4b755ce2b0591667)

16 years agor18300: fixed a type bug in heimdal - lha, you happy with this upstream? It
Andrew Tridgell [Sat, 9 Sep 2006 10:01:17 +0000 (10:01 +0000)]
r18300: fixed a type bug in heimdal - lha, you happy with this upstream? It
showed up on ia_64 systems
(This used to be commit 1f38a7ea56944466d90622832e4570dc324adc4e)

16 years agor18299: POPT_CREDENTIALS should depend on LIBPOPT
Andrew Tridgell [Sat, 9 Sep 2006 10:00:35 +0000 (10:00 +0000)]
r18299: POPT_CREDENTIALS should depend on LIBPOPT
(This used to be commit 95878272cdb20d20c0866fdee35081ae63afa64e)

16 years agor18298: fixed mmap failure test
Andrew Tridgell [Sat, 9 Sep 2006 09:20:26 +0000 (09:20 +0000)]
r18298: fixed mmap failure test
(This used to be commit dee6551dc36789506a59bcd3242f208d5bfd5d6f)

16 years agor18297: - remove leading ./
Stefan Metzmacher [Sat, 9 Sep 2006 09:16:53 +0000 (09:16 +0000)]
r18297: - remove leading ./
- add CFLAGS to the dynconfig-devel.o rule

metze
(This used to be commit d9401b1f41bde8fff556eeeac78eefb48551e2f2)

16 years agor18296: this isn't needed anymore
Stefan Metzmacher [Sat, 9 Sep 2006 09:08:29 +0000 (09:08 +0000)]
r18296: this isn't needed anymore

metze
(This used to be commit 1ee1007597a8bc20a54516264312642bc7de0483)

16 years agor18295: pass write type for packet_size
Andrew Tridgell [Sat, 9 Sep 2006 09:06:20 +0000 (09:06 +0000)]
r18295: pass write type for packet_size

this fixes a crash on IA_64 systems
(This used to be commit 22c39027621fb65663122b4959b171d328b549d4)

16 years agor18294: remove leading ././ from .mk files
Stefan Metzmacher [Sat, 9 Sep 2006 09:05:39 +0000 (09:05 +0000)]
r18294: remove leading ././ from .mk files

metze
(This used to be commit f41e2f7f5a71d22ae6b27ac9fb0239512728e12c)

16 years agor18293: use the correct name it's not always under $srcdir...
Stefan Metzmacher [Sat, 9 Sep 2006 08:46:25 +0000 (08:46 +0000)]
r18293: use the correct name it's not always under $srcdir...

metze
(This used to be commit cf61435b435b7995f20e07b93002e51fe4ac2c82)

16 years agor18292: import some autoconf 2.60 specific macros,
Stefan Metzmacher [Sat, 9 Sep 2006 08:34:48 +0000 (08:34 +0000)]
r18292: import some autoconf 2.60 specific macros,
so that older autoconf versions still work

metze
(This used to be commit 43970e6d081e56837e38856a9d05c8b9c303955e)

16 years agor18291: don't add ./ for files in the top dir '.'
Stefan Metzmacher [Sat, 9 Sep 2006 08:17:48 +0000 (08:17 +0000)]
r18291: don't add ./ for files in the top dir '.'

metze
(This used to be commit f60be737efc9e3d515479301a9ed24347aa773cc)

16 years agor18290: finally worked out why we were failing tests on solaris. It has
Andrew Tridgell [Sat, 9 Sep 2006 07:51:30 +0000 (07:51 +0000)]
r18290: finally worked out why we were failing tests on solaris. It has
kerberos on port 750 in /etc/services! Work around this by using
127.0.0.1:88 in the krb5.conf
(This used to be commit 9fb91702fd6c080d87ea60c60e0591636d1a6441)

16 years agor18289: don't check for inline till we've worked out the main compiler flags
Andrew Tridgell [Sat, 9 Sep 2006 06:24:13 +0000 (06:24 +0000)]
r18289: don't check for inline till we've worked out the main compiler flags
(This used to be commit 46ab2b9971c100afa2ed2cb8da0390cfaa9b7032)

16 years agor18288: autoconf already has a C99 test builtin!
Andrew Tridgell [Sat, 9 Sep 2006 06:22:57 +0000 (06:22 +0000)]
r18288: autoconf already has a C99 test builtin!

If this works well, we can remove our own test
(This used to be commit b4b028e65e242b0fa1d74454bfa0b292917088eb)

16 years agor18287: add support for the -qlanglvl=extc99 and -qlanglvl=stdc99 flags,
Andrew Tridgell [Sat, 9 Sep 2006 03:45:04 +0000 (03:45 +0000)]
r18287: add support for the -qlanglvl=extc99 and -qlanglvl=stdc99 flags,
needed on AIX 5.2 for C99 structures
(This used to be commit 2dc9239a3621f48fbb410a60fee61d70f85ada91)

16 years agor18286: ldb now needs install-sh too
Andrew Tridgell [Sat, 9 Sep 2006 03:29:40 +0000 (03:29 +0000)]
r18286: ldb now needs install-sh too
(This used to be commit ce5b1b8c09a9fe07fb953e7ad6bef204f98918aa)

16 years agor18285: tdb now needs install-sh
Andrew Tridgell [Sat, 9 Sep 2006 03:28:49 +0000 (03:28 +0000)]
r18285: tdb now needs install-sh
(This used to be commit 007da6115a4af137cfb774c35767a9073130e4bf)

16 years agor18284: enable _XOPEN_SOURCE_EXTENDED to fix a HP-UX bug with the definition
Andrew Tridgell [Sat, 9 Sep 2006 03:16:05 +0000 (03:16 +0000)]
r18284: enable _XOPEN_SOURCE_EXTENDED to fix a HP-UX bug with the definition
of sendfile()
(This used to be commit 3e0f262b384b73183452aefabca93c01d53387a8)

16 years agor18283: libreplace.m4 needs to be early in configure.ac in other packages too
Andrew Tridgell [Sat, 9 Sep 2006 02:52:41 +0000 (02:52 +0000)]
r18283: libreplace.m4 needs to be early in configure.ac in other packages too
(This used to be commit 03f9c67c066d772d9a544f1183fbee609ab8137b)