Andrew Bartlett [Tue, 12 Sep 2006 22:26:19 +0000 (22:26 +0000)]
r18434: Fix typo...
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
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.
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
Stefan Metzmacher [Tue, 12 Sep 2006 16:33:24 +0000 (16:33 +0000)]
r18428: add my copyright
metze
Stefan Metzmacher [Tue, 12 Sep 2006 16:25:50 +0000 (16:25 +0000)]
r18427: set sin_port correctly on autobound socket
metze
Stefan Metzmacher [Tue, 12 Sep 2006 14:59:08 +0000 (14:59 +0000)]
r18426: use 'family' consistantly instead of mixing 'domain' and 'family'
metze
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
Stefan Metzmacher [Tue, 12 Sep 2006 09:08:55 +0000 (09:08 +0000)]
r18423: record accept, connect and close events in socket wrapper
metze
Stefan Metzmacher [Tue, 12 Sep 2006 07:35:04 +0000 (07:35 +0000)]
r18421: support --target=samba3, I thought that was already supported
metze
Stefan Metzmacher [Tue, 12 Sep 2006 07:25:16 +0000 (07:25 +0000)]
r18420: fix the build...
metze
Stefan Metzmacher [Tue, 12 Sep 2006 07:05:41 +0000 (07:05 +0000)]
r18419: fix include paths of the configure tests
metze
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
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
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
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.
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.
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.
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
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
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
Andrew Tridgell [Mon, 11 Sep 2006 22:25:50 +0000 (22:25 +0000)]
r18407: test for epoll.h and select.h
Andrew Tridgell [Mon, 11 Sep 2006 22:16:47 +0000 (22:16 +0000)]
r18406: disable local iconv test as well when iconv:native=false
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.
Andrew Tridgell [Mon, 11 Sep 2006 21:25:06 +0000 (21:25 +0000)]
r18400: move MAP_FAILED define to lib/replace/system/shmem.h
Stefan Metzmacher [Mon, 11 Sep 2006 16:54:54 +0000 (16:54 +0000)]
r18392: add sidtouid and sidtogid tests to RPC-UNIXINFO
metze
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
Stefan Metzmacher [Mon, 11 Sep 2006 16:05:27 +0000 (16:05 +0000)]
r18389: test RPC-UNIXINFO in samba4
metze
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
Stefan Metzmacher [Mon, 11 Sep 2006 15:44:54 +0000 (15:44 +0000)]
r18386: start the unixinfo pipe by default
metze
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
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
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
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
Stefan Metzmacher [Mon, 11 Sep 2006 12:47:40 +0000 (12:47 +0000)]
r18381: make sure autoconf doesn't add '-O2' to CFLAGS
metze
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
Andrew Tridgell [Mon, 11 Sep 2006 09:21:58 +0000 (09:21 +0000)]
r18377: disable native iconv with valgrind
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
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!
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
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)
Andrew Tridgell [Mon, 11 Sep 2006 07:58:08 +0000 (07:58 +0000)]
r18371: made the directory depth notify test independent of timing
Andrew Tridgell [Mon, 11 Sep 2006 07:56:23 +0000 (07:56 +0000)]
r18370: allow system inotify to be disabled
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
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
Stefan Metzmacher [Mon, 11 Sep 2006 07:15:49 +0000 (07:15 +0000)]
r18366: check if we can link using the selected flags
metze
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
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
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
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
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
Andrew Tridgell [Mon, 11 Sep 2006 04:47:56 +0000 (04:47 +0000)]
r18360: 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
Andrew Tridgell [Mon, 11 Sep 2006 04:28:34 +0000 (04:28 +0000)]
r18358: handle errors in the RPC-LSA async test
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
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
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.
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
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
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
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
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
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)
Andrew Tridgell [Mon, 11 Sep 2006 00:24:21 +0000 (00:24 +0000)]
r18348: fixed a valgrind error in RPC-SRVSVC
Andrew Tridgell [Sun, 10 Sep 2006 22:53:21 +0000 (22:53 +0000)]
r18347: run slapd in the foreground so timelimit can kill it
Andrew Tridgell [Sun, 10 Sep 2006 22:45:45 +0000 (22:45 +0000)]
r18346: make sure we kill off the slapd process
Simo Sorce [Sun, 10 Sep 2006 22:06:49 +0000 (22:06 +0000)]
r18345: test also flags
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
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
Andrew Tridgell [Sun, 10 Sep 2006 13:51:57 +0000 (13:51 +0000)]
r18342: a bit more explanation of these strange values
Andrew Tridgell [Sun, 10 Sep 2006 13:48:42 +0000 (13:48 +0000)]
r18341: ooh this gets subtle - this needed for xfs on linux
Andrew Tridgell [Sun, 10 Sep 2006 13:16:27 +0000 (13:16 +0000)]
r18340: some HPUX boxes don't have ptrdiff_t
Andrew Tridgell [Sun, 10 Sep 2006 13:02:54 +0000 (13:02 +0000)]
r18339: need these checks for roken.h on hpux
Stefan Metzmacher [Sun, 10 Sep 2006 12:51:30 +0000 (12:51 +0000)]
r18338: this isn't needed anymore
metze
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
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
Andrew Tridgell [Sun, 10 Sep 2006 12:23:47 +0000 (12:23 +0000)]
r18335: more portable bool tests
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'
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
Andrew Tridgell [Sun, 10 Sep 2006 11:47:21 +0000 (11:47 +0000)]
r18332: added back in our shared mmap test code
Andrew Tridgell [Sun, 10 Sep 2006 11:32:42 +0000 (11:32 +0000)]
r18331: fixed a warning
Andrew Tridgell [Sun, 10 Sep 2006 11:32:31 +0000 (11:32 +0000)]
r18330: don't mix pointer types in RPC replies
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
Andrew Tridgell [Sun, 10 Sep 2006 11:16:26 +0000 (11:16 +0000)]
r18328: when we bail out early, set *offset to 0
Andrew Tridgell [Sun, 10 Sep 2006 11:16:09 +0000 (11:16 +0000)]
r18327: 'struct token' is defined on some hosts
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
Andrew Tridgell [Sun, 10 Sep 2006 10:43:31 +0000 (10:43 +0000)]
r18325: more warnings and one compile error on aix fixed
Andrew Tridgell [Sun, 10 Sep 2006 10:30:33 +0000 (10:30 +0000)]
r18324: fixed a uninitialised variable
Andrew Tridgell [Sun, 10 Sep 2006 10:30:10 +0000 (10:30 +0000)]
r18323: this function returns a pointer, not a bool
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
Andrew Tridgell [Sun, 10 Sep 2006 10:00:42 +0000 (10:00 +0000)]
r18321: fixed some warnings on AIX
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.
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!
Simo Sorce [Sun, 10 Sep 2006 03:58:00 +0000 (03:58 +0000)]
r18318: Implement DiskEnum
Fix spelling and consistencies issues in idl
Simo Sorce [Sun, 10 Sep 2006 03:11:03 +0000 (03:11 +0000)]
r18317: Make sure we actually have a valid reply or fail
Simo Sorce [Sun, 10 Sep 2006 02:46:17 +0000 (02:46 +0000)]
r18316: Build the parent too
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
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.
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/
Andrew Tridgell [Sat, 9 Sep 2006 12:51:32 +0000 (12:51 +0000)]
r18308: get this right ....