12 years agor8541: this might take a few tries ...
Andrew Tridgell [Mon, 18 Jul 2005 10:01:58 +0000 (10:01 +0000)]
r8541: this might take a few tries ...
(This used to be commit cc61a0ba33d5a9d4d0b98736109220c58342358a)

12 years agor8540: fixed network interface detection on several hosts
Andrew Tridgell [Mon, 18 Jul 2005 09:46:52 +0000 (09:46 +0000)]
r8540: fixed network interface detection on several hosts
(This used to be commit 777ac8496b400b0ed348995feed83c22c5b344b3)

12 years agor8539: $LOGNAME is a common varient of $USER on some systems
Andrew Tridgell [Mon, 18 Jul 2005 08:30:32 +0000 (08:30 +0000)]
r8539: $LOGNAME is a common varient of $USER on some systems
(This used to be commit e571d6a36bdf61aaab383e05c857347838de4c1d)

12 years agor8537: cope better with the small file handle limit on some systems in the build...
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
(This used to be commit 6202a9d099619a0ba78809647039cbc7622f1d3d)

12 years agor8536: - use smbd pid file to kill at end of selftest
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
(This used to be commit ff42315245750a37759ef84548582da5cf5e4716)

12 years agor8535: no longer rely on seekdir working after a closedir. Instead, keep
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
(This used to be commit 2e8d154e7dfb9b320a1344e957a39e96e1eefadd)

12 years agor8533: improve --help output
Andrew Tridgell [Mon, 18 Jul 2005 00:08:46 +0000 (00:08 +0000)]
r8533: improve --help output
(This used to be commit 3dd6e2056678ccf5c4844d74410dbe0775db3c46)

12 years agor8532: this miight fix cross compilation for reactos
Andrew Tridgell [Mon, 18 Jul 2005 00:06:12 +0000 (00:06 +0000)]
r8532: this miight fix cross compilation for reactos
(This used to be commit 810fa4f762458202adee3f2fd5b13e74eae7781f)

12 years agor8530: Now our ldap server is able to fullfill present and substring searches
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
(This used to be commit a910671bd8c6d2d8d5b6ff30fc07ead244e696f1)

12 years agor8529: Matching against the wrong union
Simo Sorce [Sun, 17 Jul 2005 14:15:45 +0000 (14:15 +0000)]
r8529: Matching against the wrong union
(This used to be commit 24a65b5ba6e31655bdf49be8076d758206694ac3)

12 years agor8527: found an uninitialised variable in 'make valgrindtest'
Andrew Tridgell [Sun, 17 Jul 2005 12:57:14 +0000 (12:57 +0000)]
r8527: found an uninitialised variable in 'make valgrindtest'
(This used to be commit 9eebd240d8ed9a634307ce31696d817f78f503b2)

12 years agor8525: added two more test targets:
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
(This used to be commit af36bc401154d278dbe272628110634f62fdba25)

12 years agor8523: match a zero message id in ldap replies to the last request sent. Thanks to...
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
(This used to be commit 6e81e866dc7a5dc014d2d9f2e09803c6adfd1830)

12 years agor8522: fixed another couple of size_t warnings
Andrew Tridgell [Sun, 17 Jul 2005 10:38:59 +0000 (10:38 +0000)]
r8522: fixed another couple of size_t warnings
(This used to be commit d2c928548336682ffd3dda873f9957f3d041f0af)

12 years agor8520: fixed a pile of warnings from the build farm gcc -Wall output on
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
(This used to be commit a58ea6b3854973b694d2b1e22323ed7eb00e3a3f)

12 years agor8519: better method of ensuring null termination
Andrew Tridgell [Sun, 17 Jul 2005 09:13:05 +0000 (09:13 +0000)]
r8519: better method of ensuring null termination
(This used to be commit f93bd0ced6b0b2b4ee3bf15e53ba30138fd6b533)

12 years agor8518: ensure all constructed NDR packets are null terminated. This is needed
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
(This used to be commit 17decd129928290a6916a1d1cec73dad924d64f8)

12 years agor8517: fixed a crash bug in ldb_dn_compare_base()
Andrew Tridgell [Sun, 17 Jul 2005 09:06:58 +0000 (09:06 +0000)]
r8517: fixed a crash bug in ldb_dn_compare_base()
(This used to be commit 19d789e82526eff236aeed77ddc8d2606c5118b6)

12 years agor8516: let us use all parameters of ldbsearch in
Simo Sorce [Sat, 16 Jul 2005 18:17:08 +0000 (18:17 +0000)]
r8516: let us use all parameters of ldbsearch in
(This used to be commit e709e3792846e2bd48b55112c74395d1ab3a1b6a)

12 years agor8515: ldb_dn_cmp now uses ldb_dn_compare so that the DNs are compared
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)
(This used to be commit 76d496c30867ae80434483a34b0d842523aed762)

12 years agor8514: add docs
Simo Sorce [Sat, 16 Jul 2005 16:12:14 +0000 (16:12 +0000)]
r8514: add docs
(This used to be commit 876f0a095b8aa7060c62f91fc5715af1f1432e8b)

12 years agor8511: This 'can't happen', but GCC gives warnings because it thinks it can.
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
(This used to be commit 40088b9566e8f63897958fc99d99dedb38e0cb69)

12 years agor8505: - 'seal' and 'sign,seal' is the same
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

(This used to be commit 102c2e0ae4f5e48da925ef4ee40691f9ee9187f4)

12 years agor8504: Temporary fix to #content width/height just to
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.

(This used to be commit de6d5efadeb1ac5c44c6c87481d20de3afbedb78)

12 years agor8503: remove useless line
Stefan Metzmacher [Fri, 15 Jul 2005 14:36:02 +0000 (14:36 +0000)]
r8503: remove useless line

(This used to be commit ec31739642a89fb62930a3b8c0fa870aaad5c476)

12 years agor8500: greatly reduce the number of build warnings on x86-64 (every NDR macro
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)
(This used to be commit 22f7fd76343646a149937fcdc891a98a516bf820)

12 years agor8499: clearer function name
Simo Sorce [Fri, 15 Jul 2005 13:19:16 +0000 (13:19 +0000)]
r8499: clearer function name
(This used to be commit 5a6c2170ff83c29ed1d7f0f5329f2d9aa00c223a)

12 years agor8498: more test suite speedups. It's down to 5 minutes on my box now
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
(This used to be commit 82f8ad16af52aeb0ba5f831ea5c9960f90e8ae8f)

12 years agor8497: prevent a fd leak in RAW-SEARCH test
Andrew Tridgell [Fri, 15 Jul 2005 12:58:09 +0000 (12:58 +0000)]
r8497: prevent a fd leak in RAW-SEARCH test
(This used to be commit efb151ba797a5473316ca2dc9ec7f40fead9dab2)

12 years agor8496: speed up the test a lot, while still providing good coverage
Andrew Tridgell [Fri, 15 Jul 2005 12:54:55 +0000 (12:54 +0000)]
r8496: speed up the test a lot, while still providing good coverage
(This used to be commit 037feb7538f162d99f220b46c29a3c1538b69d16)

12 years agor8495: allow for up 10% change in allocated disk space during QFSINFO tests
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
(This used to be commit 16d752b55189780a038aed1d54ef28201a9859a4)

12 years agor8494: fixed a bug in RAW-SFILEINFO that caused inconsistent results on different...
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
(This used to be commit 9264555541a0e251730010a75d063f56971249a2)

12 years agor8491: lower the offset limit that filesystems need to support to pass RAW-WRITE...
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
(This used to be commit e499b1abaeee00366ccd2e5b1acbe18d48e77466)

12 years agor8490: make the ldb tests more portable
Andrew Tridgell [Fri, 15 Jul 2005 11:27:32 +0000 (11:27 +0000)]
r8490: make the ldb tests more portable
(This used to be commit 6b20bcbeeb33a2cf6abc7bb251830ad6def9a79e)

12 years agor8489: neaten up the object handling
Andrew Tridgell [Fri, 15 Jul 2005 11:23:17 +0000 (11:23 +0000)]
r8489: neaten up the object handling
(This used to be commit ccf20b2b13b11ac07b59988809b6c5160388a616)

12 years agor8488: after discussions with simo, moved to a full OO interface, so you don't need...
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
(This used to be commit cf35818648b5b649d0cd25f115a04b7b5b5311aa)

12 years agor8487: kfixed a typo
Andrew Tridgell [Fri, 15 Jul 2005 09:25:57 +0000 (09:25 +0000)]
r8487: kfixed a typo
(This used to be commit adae47c829fd157afa0011d29e5969d883a0956e)

12 years agor8486: switched to a separate connection operation in ldb interface
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)
(This used to be commit 98c9c4ecb87e1b140002390067892806464849da)

12 years agor8485: - be friendly to shells other than bash
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
(This used to be commit 9f29cccbc1fb44cb0317911601456c190883f066)

12 years agor8484: switched the sys_*() calls to the OO interface
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?
(This used to be commit 9991e924e9dacec663a5d040ccfc878927fc3afa)

12 years agor8483: switched our generated ejs rpc code over to the new OO interface. This
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
(This used to be commit 57d7a585e8162d21c7152952aa0cc7471968784f)

12 years agor8482: gnutls_x509_crt_set_subject_key_id is not available in some versions
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.
(This used to be commit 437c4057ae4e89725ddbdd026977510beb33c009)

12 years agor8481: switched ldb ejs called over to an OO interface, so you do:
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 =, "(objectClass=user)");

you can also do:

ldbSearch =;
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).
(This used to be commit 3093057d9735cbb62f57e7159264d5a28b85320f)

12 years agor8480: fixed a typo
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)
(This used to be commit aa68459fe7579b385dd1824680ec641052029a1e)

12 years agor8479: * Sync CSS with current stylesheets.
Deryck Hodge [Thu, 14 Jul 2005 19:21:02 +0000 (19:21 +0000)]
r8479: * Sync CSS with current stylesheets.
* Add wide.css so it's availble for future pages.
* Move SWAT specific styles to swat.css to make future syncs easier.

(This used to be commit 7ddc3ed5b87687a66995d2555c683efcb93be7e2)

12 years agor8477: Simplify header/footer handling. esp variables allow
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

(This used to be commit af893fe83346f516402d0d6271533eedefa0ce4b)

12 years agor8476: add a note that DsAddEntry is very incomplete yet
Stefan Metzmacher [Thu, 14 Jul 2005 14:48:56 +0000 (14:48 +0000)]
r8476: add a note that DsAddEntry is very incomplete yet

(This used to be commit 53b91754107b790e2349a97069ea03a7bd6ff712)

12 years agor8474: add some more attid mappings
Stefan Metzmacher [Thu, 14 Jul 2005 14:40:28 +0000 (14:40 +0000)]
r8474: add some more attid mappings
for the password fields

(This used to be commit 8454d32eb2f0aa4287956951c2550f060f7f10b3)

12 years agor8471: --ejs taking an optional arguments interferes with the pidl extra args
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
(This used to be commit a9d05af0fd802cf0cbe1298c3c988dcd2eb1b848)

12 years agor8470: looks like popt portability is going to be a bit of a fight :(
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 :(
(This used to be commit d3872a6e4ce0227fa3c84173562551d0270918b6)

12 years agor8469: the extra pidl args need to be normal args, not after a --, otherwise pidl...
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
(This used to be commit f54e6c83e48cc2d1f03827337b68658057206898)

12 years agor8467: using both math.h and float.h breaks popt on freebsd 5.4
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
(This used to be commit a1acb3300eec7717df24ecdf7205fb4e395d8c16)

12 years agor8466: it is not portable to assert() a va_list (it breaks on alpha for example)
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)
(This used to be commit 2a64ee4227840de4aebe2ebe1887dfd167831738)

12 years agor8465: once we define socklen_t, then tell other include files we have it. This preve...
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
(This used to be commit aa9491c0cb00f5cab9e00983bf2a0c266011904a)

12 years agor8464: the last few functions needed by irix 6.4.
Andrew Tridgell [Thu, 14 Jul 2005 12:58:48 +0000 (12:58 +0000)]
r8464: the last few functions needed by irix 6.4.
(This used to be commit 903d963ca8fdefa23eaa77b5117d90b6b84866ab)

12 years agor8463: more irix fixes. This one adds some missing addrinfo functions
Andrew Tridgell [Thu, 14 Jul 2005 12:34:52 +0000 (12:34 +0000)]
r8463: more irix fixes. This one adds some missing addrinfo functions
(This used to be commit 87f7098ee3a24be202b6aaa1ab2a4e44b7b89975)

12 years agor8462: added a test for %lld support to our snprintf() configure test.
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 :)
(This used to be commit 3e9e5af4cee16e2316b544eebb489f87fd064ff4)

12 years agor8461: fixed integer64 handling on bit endian platforms. The ejs code used
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
(This used to be commit ccc87eb8aaf571d91170555a732d287746b3430f)

12 years agor8460: removed the unused function krb5_locate_kdc(). It causes a build failure on...
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
(This used to be commit eaa74913fedefbf33f7cfab6648bf05aa3cdbbb3)

12 years agor8459: move to the more portable script execution method
Andrew Tridgell [Thu, 14 Jul 2005 09:51:49 +0000 (09:51 +0000)]
r8459: move to the more portable script execution method
(This used to be commit d7e4dcaaaa37c4992f763e37ca2d655e4d267283)

12 years agor8458: next target is irix - this gets the socket wrapper code building
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
(This used to be commit 3d4a2221c3e032bbb6c23d132e00588f44f5e2ed)

12 years agor8456: avoid double inclusion of roken.h (this was breaking the build on irix 6.4)
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)
(This used to be commit 8c432af87d9ae9a5bdce5ce1ca96dc46adda793e)

12 years agor8453: my solaris10 box doesn't have math.h
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?
(This used to be commit ab67c8b2b7847ecad803dfc04a66007b8f6b4abe)

12 years agor8452: allow for the ugly hack:
Andrew Tridgell [Thu, 14 Jul 2005 07:21:59 +0000 (07:21 +0000)]
r8452: allow for the ugly hack:

exec smbscript "$0" ${1+"$@"}

which is needed because bloody solaris puts 'env' in /bin instead of /usr/bin

also neaten up the #! handling code.
(This used to be commit 778bcd3738e42d8adfd4529f790c898f0d904363)

12 years agor8451: samba4 finally builds on solaris 8 sparc with heimdal and ejs
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 ...
(This used to be commit 3c4291e49abed14973b4a4fa1a9277918b896cac)

12 years agor8450: more configure tests for solaris. It now builds some binaries, but
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.
(This used to be commit 30e1b6140e9f6246cb66eef7cf108d1ccf62bd40)

12 years agor8449: - search for lex and yacc properly
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
(This used to be commit c721c8ca380db756ae2ccf3711be894bab8d5318)

12 years agor8448: - added a test target for tdb
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
(This used to be commit 7a88a9f06cbe5c125edad0da7908b94bcedfe4fc)

12 years agor8447: fixed make install in the farm
Andrew Tridgell [Thu, 14 Jul 2005 04:00:38 +0000 (04:00 +0000)]
r8447: fixed make install in the farm
(This used to be commit 4a61a5c70efdf3842e19ae74a2b56c4b10e8e294)

12 years agor8446: if provisioning fails then don't try to run the test suite!
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!
(This used to be commit 7c1bc27254ea58b63c66ce1dbc9f7630c0bedbad)

12 years agor8445: if a system doesn't have "nogroup" then try "nobody"
Andrew Tridgell [Thu, 14 Jul 2005 03:10:17 +0000 (03:10 +0000)]
r8445: if a system doesn't have "nogroup" then try "nobody"
(This used to be commit 433f9d0a619ff34a4b7506950ee091fb8d34870d)

12 years agor8444: make ./configure.mumble CC='ccache cc'
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 $*
(This used to be commit 98e8049bc3f0b1d550344161ef34801be3ccb3ae)

12 years agor8443: added talloc.3 to the tree to try to allow talloc to build on systems without...
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
(This used to be commit 0e5b89b1e8871a76c2f9c94d7d7552498d16f350)

12 years agor8442: remove tdbtest from our build. If you want it, then do
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
(This used to be commit 28dd79587df523c5622d09bd6d59305ae79af479)

12 years agor8441: don't build tdbtest by default as there are too many systems that
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
(This used to be commit 5c4c3e9a8d9d853028271f228ad36388f4cb2012)

12 years agor8440: - several build farm hosts were failing 'make clean' as the list of
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'
(This used to be commit da783f915865c8c5d2e02f927ebbf84719389655)

12 years agor8439: removed an accidential commit
Andrew Tridgell [Thu, 14 Jul 2005 00:52:12 +0000 (00:52 +0000)]
r8439: removed an accidential commit
(This used to be commit 985b5b0171e647d794135413799ea36851396549)

12 years agor8438: - More win32 portability fixes. Now fails on socketwrapper (because
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
(This used to be commit c88ee6b61b290806064993dba3fc27ea9e59cc63)

12 years agor8437: Win32 doesn't have u_int*_t
Jelmer Vernooij [Wed, 13 Jul 2005 21:54:34 +0000 (21:54 +0000)]
r8437: Win32 doesn't have u_int*_t
(This used to be commit 5b007037dfacc5e13141ca41241543ac11a567b6)

12 years agor8436: Check for sys/sockets.h
Jelmer Vernooij [Wed, 13 Jul 2005 21:44:56 +0000 (21:44 +0000)]
r8436: Check for sys/sockets.h
(This used to be commit 7757226ba5930824e32e069dc4986a2a29be40f8)

12 years agor8434: Win32 portability updates from Steven Edwards <>:
Jelmer Vernooij [Wed, 13 Jul 2005 20:44:46 +0000 (20:44 +0000)]
r8434: Win32 portability updates from Steven Edwards <>:
 - undefine anything in the win32 api or PSDK headers that Samba already defines
 - map BSD error codes to Winsock Error codes
(This used to be commit d2ea6191259a28a32a1f4ffdff067b1a80e8dcc9)

12 years agor8430: readd my hack to display the hashes with -d 100
Stefan Metzmacher [Wed, 13 Jul 2005 15:19:28 +0000 (15:19 +0000)]
r8430: readd my hack to display the hashes with -d 100

(This used to be commit b3f01ef0df2579decbbb67586157d089f528dd13)

12 years agor8429: fix compiler warnings
Stefan Metzmacher [Wed, 13 Jul 2005 15:18:20 +0000 (15:18 +0000)]
r8429: fix compiler warnings

(This used to be commit b9ee5818808f2e0cd38c0c5d2ef15cba22d4edbe)

12 years agor8425: add err() and errx() functions needed by for compile_et on some systems
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
(This used to be commit 72a769b6d1a1ce5f8a19010074960b692b4755db)

12 years agor8424: bring in some more of heimdals m4 macros, and remove the hard-coding of severa...
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
(This used to be commit b173c938b2ced061ee341831e96001455fbf83d1)

12 years agor8423: remove the dependency on the full roken lib for asn1_compile
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
(This used to be commit 4c462cdab318e69b1ee84837246700ecb36eafca)

12 years agor8422: needed on irix 6.4
Andrew Tridgell [Wed, 13 Jul 2005 11:30:34 +0000 (11:30 +0000)]
r8422: needed on irix 6.4
(This used to be commit db3f227c1c3b837e235566a7df7411d4d7e52c12)

12 years agor8421: needed for build on solaris10
Andrew Tridgell [Wed, 13 Jul 2005 11:28:37 +0000 (11:28 +0000)]
r8421: needed for build on solaris10
(This used to be commit c40d6d4b5cd6613d1161615b6ba213a26acda29e)

12 years agor8420: slowly getting my way through some more heimdal portability fixes
Andrew Tridgell [Wed, 13 Jul 2005 11:17:32 +0000 (11:17 +0000)]
r8420: slowly getting my way through some more heimdal portability fixes
(This used to be commit 59c3de6ca8b8e153e5cfd67da5f2afc2e23d36db)

12 years agor8419: in order to use our replace.h, heimdal needs stdarg.h
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
(This used to be commit 234fc1fb052fe6a2cef47861b13bdd82b57fc49b)

12 years agor8418: PRINTF_ATTRIBUTE declaration has to come before it is used :-)
Andrew Tridgell [Wed, 13 Jul 2005 10:58:43 +0000 (10:58 +0000)]
r8418: PRINTF_ATTRIBUTE declaration has to come before it is used :-)
(This used to be commit a1ca8352f48cf1942e5a060c79ae1cc78b8a3668)

12 years agor8417: fixed handling of PRINTF_ATTRIBUTE for heimdal portion of build
Andrew Tridgell [Wed, 13 Jul 2005 10:22:13 +0000 (10:22 +0000)]
r8417: fixed handling of PRINTF_ATTRIBUTE for heimdal portion of build
(This used to be commit 117d2fa31d3a7e0b37c09979aa41243c564c0385)

12 years agor8416: added the extra_cflags.txt system from smb-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
(This used to be commit b2f9b8aa32426198aa21a703ab4f1d59fb77e512)

12 years agor8415: get rid of the last 2 runtime perl scripts
Andrew Tridgell [Wed, 13 Jul 2005 06:08:35 +0000 (06:08 +0000)]
r8415: get rid of the last 2 runtime perl scripts
(This used to be commit b775884474bd28c0c3d45546b1bf3ac52601ed24)

12 years agor8414: Some C++ friendlyness fixes - 'not' is apparently a keyword in C++.
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++.
(This used to be commit bcfb3a45e4a5962fe763f8071d4458f4bd11605b)

12 years agor8413: mark exprbug() as fixed, and add a new bug
Andrew Tridgell [Wed, 13 Jul 2005 05:32:41 +0000 (05:32 +0000)]
r8413: mark exprbug() as fixed, and add a new bug
(This used to be commit c470c3ceac668635c83aa80730321ae7c41ad626)

12 years agor8412: cope with some lost messages in the ping test (netbsd gets this)
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)
(This used to be commit fcf60823c6171ec109195cb8d61de5b0e02fd005)

12 years agor8411: we need to use mprVarToNumber() instead of var->integer now, to cope with
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
(This used to be commit f476e7aeec56a921fd286d3fe2cb0a229e57a9e8)

12 years agor8410: converted the newuser script to js
Andrew Tridgell [Wed, 13 Jul 2005 05:29:05 +0000 (05:29 +0000)]
r8410: converted the newuser script to js
(This used to be commit b90aa3c5a7cd7e91a8fc804c3cd9f2155761cf28)

12 years agor8409: fixed another error found on netbsd.
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
(This used to be commit 01e5aa146439f2dbf6c4133a0b5d910383a6576b)