Andrew Tridgell [Mon, 18 Jul 2005 10:01:58 +0000 (10:01 +0000)]
r8541: this might take a few tries ...
Andrew Tridgell [Mon, 18 Jul 2005 09:46:52 +0000 (09:46 +0000)]
r8540: fixed network interface detection on several hosts
Andrew Tridgell [Mon, 18 Jul 2005 08:30:32 +0000 (08:30 +0000)]
r8539: $LOGNAME is a common varient of $USER on some systems
Andrew Tridgell [Mon, 18 Jul 2005 06:26:03 +0000 (06:26 +0000)]
r8537: cope better with the small file handle limit on some systems in the build farm
Andrew Tridgell [Mon, 18 Jul 2005 05:15:22 +0000 (05:15 +0000)]
r8536: - use smbd pid file to kill at end of selftest
- remove use of 'jobs -p' as it is not portable
Andrew Tridgell [Mon, 18 Jul 2005 03:35:52 +0000 (03:35 +0000)]
r8535: no longer rely on seekdir working after a closedir. Instead, keep
directories open, but close search states based on an inactivity
timer, with a default of a 5 minute timeout
Andrew Tridgell [Mon, 18 Jul 2005 00:08:46 +0000 (00:08 +0000)]
r8533: improve --help output
Andrew Tridgell [Mon, 18 Jul 2005 00:06:12 +0000 (00:06 +0000)]
r8532: this miight fix cross compilation for reactos
Simo Sorce [Sun, 17 Jul 2005 14:16:41 +0000 (14:16 +0000)]
r8530: Now our ldap server is able to fullfill present and substring searches
Simo Sorce [Sun, 17 Jul 2005 14:15:45 +0000 (14:15 +0000)]
r8529: Matching against the wrong union
Andrew Tridgell [Sun, 17 Jul 2005 12:57:14 +0000 (12:57 +0000)]
r8527: found an uninitialised variable in 'make valgrindtest'
Andrew Tridgell [Sun, 17 Jul 2005 12:23:40 +0000 (12:23 +0000)]
r8525: added two more test targets:
- 'make quicktest' for running only quick tests. Finishes in 20
seconds or so.
- 'make valgrindtest' runs smbd under valgrind in a xterm window and
runs the quick tests. Also disables tls as that slows down valgrind
too much to be usable
Andrew Tridgell [Sun, 17 Jul 2005 10:52:31 +0000 (10:52 +0000)]
r8523: match a zero message id in ldap replies to the last request sent. Thanks to simo
for noticing that this is needed to catch the server sending a "can't decode request"
error reply
Andrew Tridgell [Sun, 17 Jul 2005 10:38:59 +0000 (10:38 +0000)]
r8522: fixed another couple of size_t warnings
Andrew Tridgell [Sun, 17 Jul 2005 09:20:52 +0000 (09:20 +0000)]
r8520: fixed a pile of warnings from the build farm gcc -Wall output on
S390. This is an attempt to avoid the panic we're seeing in the
automatic builds.
The main fixes are:
- assumptions that sizeof(size_t) == sizeof(int), mostly in printf formats
- use of NULL format statements to perform dn searches.
- assumption that sizeof() returns an int
Andrew Tridgell [Sun, 17 Jul 2005 09:13:05 +0000 (09:13 +0000)]
r8519: better method of ensuring null termination
Andrew Tridgell [Sun, 17 Jul 2005 09:08:19 +0000 (09:08 +0000)]
r8518: ensure all constructed NDR packets are null terminated. This is needed
by the new ldb code dealing with binary records, but is also a good
defensive strategy in general
Andrew Tridgell [Sun, 17 Jul 2005 09:06:58 +0000 (09:06 +0000)]
r8517: fixed a crash bug in ldb_dn_compare_base()
Simo Sorce [Sat, 16 Jul 2005 18:17:08 +0000 (18:17 +0000)]
r8516: let us use all parameters of ldbsearch in ldb.search
Simo Sorce [Sat, 16 Jul 2005 18:16:32 +0000 (18:16 +0000)]
r8515: ldb_dn_cmp now uses ldb_dn_compare so that the DNs are compared
on a content level not ona form level, his means that the 2 DNs:
a) cn= user, dc=this, dc = is,dc=test
b) cn=user,dc=this,dc=is,dc=test
are now identical even if the string form differ (spaces)
Simo Sorce [Sat, 16 Jul 2005 16:12:14 +0000 (16:12 +0000)]
r8514: add docs
Andrew Bartlett [Sat, 16 Jul 2005 01:02:17 +0000 (01:02 +0000)]
r8511: This 'can't happen', but GCC gives warnings because it thinks it can.
Andrew Bartlett
Stefan Metzmacher [Fri, 15 Jul 2005 15:17:35 +0000 (15:17 +0000)]
r8505: - 'seal' and 'sign,seal' is the same
- sign and seal are tested seperate below
metze
Deryck Hodge [Fri, 15 Jul 2005 14:57:12 +0000 (14:57 +0000)]
r8504: Temporary fix to #content width/height just to
pretty up things while I work.
deryck
Stefan Metzmacher [Fri, 15 Jul 2005 14:36:02 +0000 (14:36 +0000)]
r8503: remove useless line
metze
Andrew Tridgell [Fri, 15 Jul 2005 13:25:56 +0000 (13:25 +0000)]
r8500: greatly reduce the number of build warnings on x86-64 (every NDR macro
in the generated code from pidl generated a warning)
Simo Sorce [Fri, 15 Jul 2005 13:19:16 +0000 (13:19 +0000)]
r8499: clearer function name
Andrew Tridgell [Fri, 15 Jul 2005 13:12:24 +0000 (13:12 +0000)]
r8498: more test suite speedups. It's down to 5 minutes on my box now
Andrew Tridgell [Fri, 15 Jul 2005 12:58:09 +0000 (12:58 +0000)]
r8497: prevent a fd leak in RAW-SEARCH test
Andrew Tridgell [Fri, 15 Jul 2005 12:54:55 +0000 (12:54 +0000)]
r8496: speed up the test_echo.sh test a lot, while still providing good coverage
Andrew Tridgell [Fri, 15 Jul 2005 12:25:08 +0000 (12:25 +0000)]
r8495: allow for up 10% change in allocated disk space during QFSINFO tests
Andrew Tridgell [Fri, 15 Jul 2005 12:16:39 +0000 (12:16 +0000)]
r8494: fixed a bug in RAW-SFILEINFO that caused inconsistent results on different platforms
Andrew Tridgell [Fri, 15 Jul 2005 11:32:08 +0000 (11:32 +0000)]
r8491: lower the offset limit that filesystems need to support to pass RAW-WRITE to 2^33
Andrew Tridgell [Fri, 15 Jul 2005 11:27:32 +0000 (11:27 +0000)]
r8490: make the ldb tests more portable
Andrew Tridgell [Fri, 15 Jul 2005 11:23:17 +0000 (11:23 +0000)]
r8489: neaten up the object handling
Andrew Tridgell [Fri, 15 Jul 2005 11:10:38 +0000 (11:10 +0000)]
r8488: after discussions with simo, moved to a full OO interface, so you don't need to keep
a 'db' variable around. The ldb object knows what it is connected to.
Added a simple ldb testsuite in testprogs/ldb.js
Andrew Tridgell [Fri, 15 Jul 2005 09:25:57 +0000 (09:25 +0000)]
r8487: kfixed a typo
Andrew Tridgell [Fri, 15 Jul 2005 09:23:23 +0000 (09:23 +0000)]
r8486: switched to a separate connection operation in ldb interface
(a suggestion from simo)
Andrew Tridgell [Fri, 15 Jul 2005 08:10:34 +0000 (08:10 +0000)]
r8485: - be friendly to shells other than bash
- don't use /tmp in test paths, as that opens us to symlink attacks
Andrew Tridgell [Fri, 15 Jul 2005 07:45:40 +0000 (07:45 +0000)]
r8484: switched the sys_*() calls to the OO interface
tim, do you want to do the cli_*() calls now?
Andrew Tridgell [Fri, 15 Jul 2005 07:18:23 +0000 (07:18 +0000)]
r8483: switched our generated ejs rpc code over to the new OO interface. This
means we don't pollute the name space, and also makes for faster
startup times as we only create variables for the pipes that we use,
not all pipes
Andrew Tridgell [Fri, 15 Jul 2005 07:00:12 +0000 (07:00 +0000)]
r8482: gnutls_x509_crt_set_subject_key_id is not available in some versions
of gnutls. Thanks to ab for spotting this.
Andrew Tridgell [Fri, 15 Jul 2005 05:40:34 +0000 (05:40 +0000)]
r8481: switched ldb ejs called over to an OO interface, so you do:
var ldb = ldb_init();
res = ldb.search(dbfile, "(objectClass=user)");
you can also do:
ldbSearch = ldb.search;
res = ldbSearch(dbfile, "(objectClass=user)");
if you want the old interface (ie. you can use this to import
functions into the global or local namespace).
Andrew Tridgell [Fri, 15 Jul 2005 00:00:48 +0000 (00:00 +0000)]
r8480: fixed a typo
(metze, I assume this was just a typo? it broke the build on oehmesrs6k)
Deryck Hodge [Thu, 14 Jul 2005 19:21:02 +0000 (19:21 +0000)]
r8479: * Sync CSS with current samba.org stylesheets.
* Add wide.css so it's availble for future pages.
* Move SWAT specific styles to swat.css to make future syncs easier.
deryck
Deryck Hodge [Thu, 14 Jul 2005 18:11:07 +0000 (18:11 +0000)]
r8477: Simplify header/footer handling. esp variables allow
for individual page titles, so we don't need the split
header/footer here like we do on samba.org.
deryck
Stefan Metzmacher [Thu, 14 Jul 2005 14:48:56 +0000 (14:48 +0000)]
r8476: add a note that DsAddEntry is very incomplete yet
metze
Stefan Metzmacher [Thu, 14 Jul 2005 14:40:28 +0000 (14:40 +0000)]
r8474: add some more attid mappings
for the password fields
metze
Andrew Tridgell [Thu, 14 Jul 2005 13:44:54 +0000 (13:44 +0000)]
r8471: --ejs taking an optional arguments interferes with the pidl extra args
Andrew Tridgell [Thu, 14 Jul 2005 13:33:17 +0000 (13:33 +0000)]
r8470: looks like popt portability is going to be a bit of a fight :(
Andrew Tridgell [Thu, 14 Jul 2005 13:27:18 +0000 (13:27 +0000)]
r8469: the extra pidl args need to be normal args, not after a --, otherwise pidl tries to compile
"--uint-enums" as a IDL file :-)
This should help the build on AIX 5.2
Andrew Tridgell [Thu, 14 Jul 2005 13:21:27 +0000 (13:21 +0000)]
r8467: using both math.h and float.h breaks popt on freebsd 5.4
Andrew Tridgell [Thu, 14 Jul 2005 13:17:14 +0000 (13:17 +0000)]
r8466: it is not portable to assert() a va_list (it breaks on alpha for example)
Andrew Tridgell [Thu, 14 Jul 2005 13:14:47 +0000 (13:14 +0000)]
r8465: once we define socklen_t, then tell other include files we have it. This prevents roken
trying to redefine it
Andrew Tridgell [Thu, 14 Jul 2005 12:58:48 +0000 (12:58 +0000)]
r8464: the last few functions needed by irix 6.4.
Andrew Tridgell [Thu, 14 Jul 2005 12:34:52 +0000 (12:34 +0000)]
r8463: more irix fixes. This one adds some missing addrinfo functions
Andrew Tridgell [Thu, 14 Jul 2005 12:16:16 +0000 (12:16 +0000)]
r8462: added a test for %lld support to our snprintf() configure test.
our snprintf replacement code is going to be getting a good workout :)
Andrew Tridgell [Thu, 14 Jul 2005 12:00:31 +0000 (12:00 +0000)]
r8461: fixed integer64 handling on bit endian platforms. The ejs code used
%Ld, which is an invalid format code.
This will probably cause problems on systems that don't have %lld, but
do have a working snprintf otherwise. We will need to expand the
snprintf configure test to make sure we replace snprintf on those
platforms
Andrew Tridgell [Thu, 14 Jul 2005 09:56:27 +0000 (09:56 +0000)]
r8460: removed the unused function krb5_locate_kdc(). It causes a build failure on irix.
Andrew, if you planned on using this in the future then we can put it
back and work out how to make it portable
Andrew Tridgell [Thu, 14 Jul 2005 09:51:49 +0000 (09:51 +0000)]
r8459: move to the more portable script execution method
Andrew Tridgell [Thu, 14 Jul 2005 09:23:52 +0000 (09:23 +0000)]
r8458: next target is irix - this gets the socket wrapper code building
Andrew Tridgell [Thu, 14 Jul 2005 08:50:57 +0000 (08:50 +0000)]
r8456: avoid double inclusion of roken.h (this was breaking the build on irix 6.4)
Andrew Tridgell [Thu, 14 Jul 2005 07:35:48 +0000 (07:35 +0000)]
r8453: my solaris10 box doesn't have math.h
maybe sun isn't very good at maths?
Andrew Tridgell [Thu, 14 Jul 2005 07:21:59 +0000 (07:21 +0000)]
r8452: allow for the ugly hack:
#!/bin/sh
exec smbscript "$0" ${1+"$@"}
which is needed because bloody solaris puts 'env' in /bin instead of /usr/bin
also neaten up the #! handling code.
Andrew Tridgell [Thu, 14 Jul 2005 07:04:21 +0000 (07:04 +0000)]
r8451: samba4 finally builds on solaris 8 sparc with heimdal and ejs
its been a long haul ...
Andrew Tridgell [Thu, 14 Jul 2005 06:36:19 +0000 (06:36 +0000)]
r8450: more configure tests for solaris. It now builds some binaries, but
fails in the ejs floating point code.
Andrew Tridgell [Thu, 14 Jul 2005 05:54:32 +0000 (05:54 +0000)]
r8449: - search for lex and yacc properly
- added target specific flags to get the #include order right for
com_err and asn1 files in heimdal
Andrew Tridgell [Thu, 14 Jul 2005 04:27:55 +0000 (04:27 +0000)]
r8448: - added a test target for tdb
- reduced the torture size so it doesn't kill the build farm hosts
Andrew Tridgell [Thu, 14 Jul 2005 04:00:38 +0000 (04:00 +0000)]
r8447: fixed make install in the farm
Andrew Tridgell [Thu, 14 Jul 2005 03:13:04 +0000 (03:13 +0000)]
r8446: if provisioning fails then don't try to run the test suite!
Andrew Tridgell [Thu, 14 Jul 2005 03:10:17 +0000 (03:10 +0000)]
r8445: if a system doesn't have "nogroup" then try "nobody"
Love Hörnquist Åstrand [Thu, 14 Jul 2005 02:56:18 +0000 (02:56 +0000)]
r8444: make ./configure.mumble CC='ccache cc'
work by using "@$" instead of $*
Andrew Tridgell [Thu, 14 Jul 2005 02:44:30 +0000 (02:44 +0000)]
r8443: added talloc.3 to the tree to try to allow talloc to build on systems without xsltproc
Andrew Tridgell [Thu, 14 Jul 2005 02:37:01 +0000 (02:37 +0000)]
r8442: remove tdbtest from our build. If you want it, then do
'make bin/tdbtest' manually in the tdb tree
Andrew Tridgell [Thu, 14 Jul 2005 02:35:51 +0000 (02:35 +0000)]
r8441: don't build tdbtest by default as there are too many systems that
don't have libgdbm, and the configure test for gdbm is broken
Andrew Tridgell [Thu, 14 Jul 2005 01:11:40 +0000 (01:11 +0000)]
r8440: - several build farm hosts were failing 'make clean' as the list of
objects was overflowing their command line limits. Fix this by using a
find -exec command. It's slower, but should be more portable.
- remove generated ASN1 files in 'make clean'
Andrew Tridgell [Thu, 14 Jul 2005 00:52:12 +0000 (00:52 +0000)]
r8439: removed an accidential commit
Jelmer Vernooij [Wed, 13 Jul 2005 22:11:52 +0000 (22:11 +0000)]
r8438: - More win32 portability fixes. Now fails on socketwrapper (because
unix domain sockets are not available on win32)
- Update howto
Jelmer Vernooij [Wed, 13 Jul 2005 21:54:34 +0000 (21:54 +0000)]
r8437: Win32 doesn't have u_int*_t
Jelmer Vernooij [Wed, 13 Jul 2005 21:44:56 +0000 (21:44 +0000)]
r8436: Check for sys/sockets.h
Jelmer Vernooij [Wed, 13 Jul 2005 20:44:46 +0000 (20:44 +0000)]
r8434: Win32 portability updates from Steven Edwards <steven_ed4153@yahoo.com>:
- undefine anything in the win32 api or PSDK headers that Samba already defines
- map BSD error codes to Winsock Error codes
Stefan Metzmacher [Wed, 13 Jul 2005 15:19:28 +0000 (15:19 +0000)]
r8430: readd my hack to display the hashes with -d 100
metze
Stefan Metzmacher [Wed, 13 Jul 2005 15:18:20 +0000 (15:18 +0000)]
r8429: fix compiler warnings
metze
Andrew Tridgell [Wed, 13 Jul 2005 13:55:06 +0000 (13:55 +0000)]
r8425: add err() and errx() functions needed by for compile_et on some systems
Andrew Tridgell [Wed, 13 Jul 2005 12:35:21 +0000 (12:35 +0000)]
r8424: bring in some more of heimdals m4 macros, and remove the hard-coding of several test
results
Andrew Tridgell [Wed, 13 Jul 2005 12:12:33 +0000 (12:12 +0000)]
r8423: remove the dependency on the full roken lib for asn1_compile
this should fix the -lsocket problem on solaris
Andrew Tridgell [Wed, 13 Jul 2005 11:30:34 +0000 (11:30 +0000)]
r8422: needed on irix 6.4
Andrew Tridgell [Wed, 13 Jul 2005 11:28:37 +0000 (11:28 +0000)]
r8421: needed for build on solaris10
Andrew Tridgell [Wed, 13 Jul 2005 11:17:32 +0000 (11:17 +0000)]
r8420: slowly getting my way through some more heimdal portability fixes
Andrew Tridgell [Wed, 13 Jul 2005 11:02:56 +0000 (11:02 +0000)]
r8419: in order to use our replace.h, heimdal needs stdarg.h
Andrew Tridgell [Wed, 13 Jul 2005 10:58:43 +0000 (10:58 +0000)]
r8418: PRINTF_ATTRIBUTE declaration has to come before it is used :-)
Andrew Tridgell [Wed, 13 Jul 2005 10:22:13 +0000 (10:22 +0000)]
r8417: fixed handling of PRINTF_ATTRIBUTE for heimdal portion of build
Andrew Tridgell [Wed, 13 Jul 2005 09:44:55 +0000 (09:44 +0000)]
r8416: added the extra_cflags.txt system from smb-build
this removes the need for recursive make for heimdal, which is a big
win. It should also make it easier/cleaner to build ldb/tdb/appweb etc
in both in-tree and out-of-tree forms by allowing us to specify
different CFLAGS (and thus different include paths) per directory or
file
Andrew Tridgell [Wed, 13 Jul 2005 06:08:35 +0000 (06:08 +0000)]
r8415: get rid of the last 2 runtime perl scripts
Tim Potter [Wed, 13 Jul 2005 05:55:28 +0000 (05:55 +0000)]
r8414: Some C++ friendlyness fixes - 'not' is apparently a keyword in C++.
Andrew Tridgell [Wed, 13 Jul 2005 05:32:41 +0000 (05:32 +0000)]
r8413: mark exprbug() as fixed, and add a new bug
Andrew Tridgell [Wed, 13 Jul 2005 05:31:21 +0000 (05:31 +0000)]
r8412: cope with some lost messages in the ping test (netbsd gets this)
Andrew Tridgell [Wed, 13 Jul 2005 05:30:23 +0000 (05:30 +0000)]
r8411: we need to use mprVarToNumber() instead of var->integer now, to cope with
the 64 bit integer support
this fixes the exit status from smbscript
Andrew Tridgell [Wed, 13 Jul 2005 05:29:05 +0000 (05:29 +0000)]
r8410: converted the newuser script to js
Andrew Tridgell [Wed, 13 Jul 2005 03:55:22 +0000 (03:55 +0000)]
r8409: fixed another error found on netbsd.
some of our torture code does its own timeout processing, which means
there is no event timer in the event context. To fix this gererically
I have added a 30 second timout to all select/epoll calls so the
callers timeout loop is guaranteed to run eventually