kai/samba-autobuild/.git
21 years agoSmall clenaup patches:
Andrew Bartlett [Sat, 22 Mar 2003 13:06:52 +0000 (13:06 +0000)]
Small clenaup patches:
 - safe_string.h - don't assume that __FUNCTION__ is available
 - process.c - use new workaround from safe_string.h for the same
 - util.c - Show how many bytes we smb_panic()ed trying to smb_xmalloc()
 - gencache.c - Keep valgrind quiet by always null terminating.
 - clistr.c - Add copyright
 - srvstr.h - move srvstr_push into a .c file again, as a real function.
 - srvstr.c - revive, with 'safe' checked srvstr_push
 - loadparm.c - set a default for the display charset.

Andrew Bartlett
(This used to be commit a7eba37aadeb0b04cb1bd89deddb58be8aba825c)

21 years agoFix compile on IA64 by noting that this should be the integer, not a pointer
Andrew Bartlett [Sat, 22 Mar 2003 10:54:03 +0000 (10:54 +0000)]
Fix compile on IA64 by noting that this should be the integer, not a pointer
to the integer for SIVAL().
(This used to be commit e8b4b136669e7e415557956d698c66c254b28ec1)

21 years agoIt seems that this causes some problems on some linux platforms - it's a
Andrew Bartlett [Sat, 22 Mar 2003 10:44:07 +0000 (10:44 +0000)]
It seems that this causes some problems on some linux platforms - it's a
pity becouse otherwise you need to link a program with it to get the
fstring/pstring bugs.

Andrew Bartlett
(This used to be commit b1b4370955d50fd4997c7171a99fe03f97190aca)

21 years agoPatch from Jianliang Lu <j.lu@tiesse.com> to set the 'minimum password age'
Andrew Bartlett [Sat, 22 Mar 2003 08:07:53 +0000 (08:07 +0000)]
Patch from Jianliang Lu <j.lu@tiesse.com> to set the 'minimum password age'
when setting the password.

Andrew Bartlett
(This used to be commit 552198b9e149c41f8cb2f976421ef030eac6fba6)

21 years agoFALSE -> False (reported by Paul Green)
Jelmer Vernooij [Sat, 22 Mar 2003 00:27:18 +0000 (00:27 +0000)]
FALSE -> False (reported by Paul Green)
(This used to be commit 1002b0bbff295548b74580dbb0dc0c76474af23b)

21 years agoClobber the 'SAFETY_MARGIN' in libsmb.
Andrew Bartlett [Fri, 21 Mar 2003 22:38:04 +0000 (22:38 +0000)]
Clobber the 'SAFETY_MARGIN' in libsmb.

Andrew Bartlett
(This used to be commit 05a63bd17e4c35979b3864b0969b2bfd945335d9)

21 years agoClobber our SMB buffers between packets. I hope this will help find bugs
Andrew Bartlett [Fri, 21 Mar 2003 22:37:14 +0000 (22:37 +0000)]
Clobber our SMB buffers between packets.  I hope this will help find bugs
where we assume the buffer is zero, when it might not be (ie due to, previous
packets).

Andrew Bartlett
(This used to be commit 191b0ab4d7c35c83d2bb2052b2e37d01fbf37b45)

21 years agoPatch from colo (on IRC) to get libsmbclient building due to pstring/fstring
Andrew Bartlett [Fri, 21 Mar 2003 22:31:25 +0000 (22:31 +0000)]
Patch from colo (on IRC) to get libsmbclient building due to pstring/fstring
issues.

Also pick up these link failures at compile time (rather than runtime).

Andrew Bartlett
(This used to be commit 23c7342bc40daffbcd70ef04727cae2c2b2c366b)

21 years agoMerge of new appliance-head scalable printing fixes.
Jeremy Allison [Fri, 21 Mar 2003 22:00:19 +0000 (22:00 +0000)]
Merge ... new appliance-head scalable printing fixes.
Jeremy.
(This used to be commit 301f17df51961b645b63d1520fc9c2e5627c1a0a)

21 years agoAdd more mappings to the nterr->errno mapping table. It should be fairly
Jelmer Vernooij [Fri, 21 Mar 2003 21:43:54 +0000 (21:43 +0000)]
Add more mappings to the nterr->errno mapping table. It should be fairly
complete now.
(This used to be commit 72bb5615f3eef1c5b27716dfcabe4c8288729458)

21 years agoGive volker a hand, and let domain joins with existing user accounts work
Andrew Bartlett [Fri, 21 Mar 2003 13:28:06 +0000 (13:28 +0000)]
Give volker a hand, and let domain joins with existing user accounts work
a bit better.

This just sets the minimum possible attributes - if we are 'upgrading' an
LDAP based user account, the attributes will be there anyway.  This matches
NT pretty well to.

This also fixes some use of unitialised values in the desired_access checking.
(found by valgrind).

Andrew Bartlett
(This used to be commit 929213ff2a5829ba8435ba1be0de317bca1e0da0)

21 years agoOnly build pdb_ldap if both ldap libs and headers are found
Jelmer Vernooij [Thu, 20 Mar 2003 17:45:23 +0000 (17:45 +0000)]
Only build pdb_ldap if both ldap libs and headers are found
(This used to be commit 228110e83fce91c811c82f6f836d313b6b79ff87)

21 years agoNT4 as well as W2k respond with IPC regardless of what service
Volker Lendecke [Thu, 20 Mar 2003 16:53:07 +0000 (16:53 +0000)]
NT4 as well as W2k respond with IPC regardless of what service
type the client requested in the TCONX when connecting to IPC$.

It is very well possible that this also applies to the DISK and PRINTER
share types, not only IPC.

Found this while trying to join a HEAD domain from NT4SP6.

Volker
(This used to be commit d42eb2116df4bb82c4199a688a057cd0a9f435ed)

21 years agoPatch from Samuel Thibault to convert messages from unix to dos charset. Works
Jelmer Vernooij [Thu, 20 Mar 2003 16:42:39 +0000 (16:42 +0000)]
Patch from Samuel Thibault to convert messages from unix to dos charset. Works
on 2000.
sending messages to 9x needs to be fixed, but that didn't work anyway
(This used to be commit ca066502a2a3dbdd8943d515c9c6d21e62d757b6)

21 years agoFix setOtherHelp() - pointed out by metze
Jelmer Vernooij [Thu, 20 Mar 2003 15:45:27 +0000 (15:45 +0000)]
Fix setOtherHelp() - pointed out by metze
(This used to be commit 05b1681b03688c0d4e57e8dfb881b111f947e6c6)

21 years agoFix compile errors - don't use pstrcpy() on a fstring
Jelmer Vernooij [Thu, 20 Mar 2003 14:49:37 +0000 (14:49 +0000)]
Fix compile errors - don't use pstrcpy() on a fstring
(This used to be commit 3bad73ca870bb43324bdb5dfc6bb02e0fa1fb1e0)

21 years agouse pstrcpy_base()
Jim McDonough [Thu, 20 Mar 2003 14:39:46 +0000 (14:39 +0000)]
use pstrcpy_base()
(This used to be commit 9387caf3cebecd50de2b295560355b779135d8c3)

21 years agoBuild samr as well
Jelmer Vernooij [Thu, 20 Mar 2003 13:59:58 +0000 (13:59 +0000)]
Build samr as well
(This used to be commit 1d33afdef9ea11e17c633109170d35ed66c4e2b8)

21 years agoUse True, not TRUE and False, not FALSE
Jelmer Vernooij [Thu, 20 Mar 2003 13:21:23 +0000 (13:21 +0000)]
Use True, not TRUE and False, not FALSE
(This used to be commit 44e9bf88cc2bbb2aa34711354258c3abb319cb9b)

21 years agoFix typo
Volker Lendecke [Thu, 20 Mar 2003 12:50:29 +0000 (12:50 +0000)]
Fix typo
(This used to be commit 5c6f5bef30db62f351d83ecdd6aa6990a567d842)

21 years agoI like debug level 10, but these messages always get into my way
Volker Lendecke [Thu, 20 Mar 2003 12:48:56 +0000 (12:48 +0000)]
I like debug level 10, but these messages always get into my way
when debugging pdc stuff...

Volker
(This used to be commit e1c275a66aa8a0fe29c61f4742fed5953671cb43)

21 years agoUpdate smbcacls.1 for 3.0
Jelmer Vernooij [Thu, 20 Mar 2003 12:08:42 +0000 (12:08 +0000)]
Update smbcacls.1 for 3.0
(This used to be commit 0ab40fac3a45b1f72b8bd53a48fc39dd46c69086)

21 years agoConvert smbcacls to popt
Jelmer Vernooij [Thu, 20 Mar 2003 12:07:52 +0000 (12:07 +0000)]
Convert smbcacls to popt
(This used to be commit 45e5374e89730e7ad497edf9e344fbd1b8992589)

21 years agoMake swat use popt
Jelmer Vernooij [Thu, 20 Mar 2003 11:11:32 +0000 (11:11 +0000)]
Make swat use popt
(This used to be commit 3cd1650d389850c2a36997a1a404d37bb28130e4)

21 years agoUpdate swat docs for 3.0
Jelmer Vernooij [Thu, 20 Mar 2003 11:09:36 +0000 (11:09 +0000)]
Update swat docs for 3.0
(This used to be commit 06c7a16b2d2040c0932eb663076cecb6d2cd3cdf)

21 years agoUpdate wbinfo.1 for 3.0
Jelmer Vernooij [Thu, 20 Mar 2003 10:52:12 +0000 (10:52 +0000)]
Update wbinfo.1 for 3.0
(This used to be commit c057c6594e8c44993c01d6bb3a8d0916a2adcd24)

21 years agoMerge Herb's change.
Volker Lendecke [Thu, 20 Mar 2003 10:04:13 +0000 (10:04 +0000)]
Merge Herb's change.

Volker
(This used to be commit e8725913f9f174c03683a35bbce16ee33ab4c707)

21 years agoIf CFLAGS is set when running configure, then just use that.
Martin Pool [Thu, 20 Mar 2003 05:54:03 +0000 (05:54 +0000)]
If CFLAGS is set when running configure, then just use that.
Otherwise add -O.

(We used to always set -O, which is sometimes annoying when debugging
and anyhow clashes with normal autoconf behaviour.)
(This used to be commit aee2ad9c3444d59dd6f53dda5379a6c391e00002)

21 years agolib/messages.c: Check return from chainlock before modifying message queue.
Jeremy Allison [Thu, 20 Mar 2003 00:51:41 +0000 (00:51 +0000)]
lib/messages.c: Check return from chainlock before modifying message queue.
Apply the job returned limit across all requests for job queues.
Jeremy.
(This used to be commit dee1326a1d8a0bf8977df22a0fe014dd5d8dc769)

21 years agoCleanup bogus initialisation in SID_NAME_USE enum.
Tim Potter [Thu, 20 Mar 2003 00:32:44 +0000 (00:32 +0000)]
Cleanup bogus initialisation in SID_NAME_USE enum.

Added new sid type = 9 for "computer" from MSDN.
(This used to be commit 45929d126932e5cac5a23fe76d28a4fa05b54b77)

21 years agoAdd make rules for passdb/*.so
Jelmer Vernooij [Wed, 19 Mar 2003 22:16:38 +0000 (22:16 +0000)]
Add make rules for passdb/*.so
(This used to be commit ea85f8ff21bfad378eb8464a94bb182cb3e4f988)

21 years agoFix corrupt memory reading in smb_register_passdb
Jelmer Vernooij [Wed, 19 Mar 2003 21:09:18 +0000 (21:09 +0000)]
Fix corrupt memory reading in smb_register_passdb
(This used to be commit 6acbb37e4e32de635ace8420a5182b04b6527e34)

21 years agouse strnlen to prevent coredumps
Jim McDonough [Wed, 19 Mar 2003 20:50:43 +0000 (20:50 +0000)]
use strnlen to prevent coredumps
(This used to be commit 1960a650c1546323708ed6bea615dc7215a97b4f)

21 years agoDon't generate a Samba-Developers-Guide.{ps,txt} with the contents
Jelmer Vernooij [Wed, 19 Mar 2003 20:47:35 +0000 (20:47 +0000)]
Don't generate a Samba-Developers-Guide.{ps,txt} with the contents
of the Samba HOWTO collection
(This used to be commit 4ce0e931ab098768e5a33c0062267176104485b2)

21 years agoIt's init_module(), not module_init() as metze pointed out. I really thought I check...
Jelmer Vernooij [Wed, 19 Mar 2003 20:19:47 +0000 (20:19 +0000)]
It's init_module(), not module_init() as metze pointed out. I really thought I check this well enough :-/
(This used to be commit 730e2a093152c406923bd9e28339781564b0afac)

21 years agoFix pdb_unix usage - noticed by jmcd
Jelmer Vernooij [Wed, 19 Mar 2003 20:18:00 +0000 (20:18 +0000)]
Fix pdb_unix usage - noticed by jmcd
(This used to be commit dd03aec26dc39a4e56f18d547132768204a500db)

21 years agoFix uncompleted sentence
Jelmer Vernooij [Wed, 19 Mar 2003 20:16:43 +0000 (20:16 +0000)]
Fix uncompleted sentence
(This used to be commit a14b7fcd493b89e6ea6bcc889a2d2f24fc72a5fc)

21 years agoFix build errors and move pdb_guest.so -> guest.so
Jelmer Vernooij [Wed, 19 Mar 2003 20:12:34 +0000 (20:12 +0000)]
Fix build errors and move pdb_guest.so -> guest.so
(This used to be commit 25412880251839de3dd17882fab30c873c886454)

21 years agoAdd documentation on new modules system
Jelmer Vernooij [Wed, 19 Mar 2003 20:08:30 +0000 (20:08 +0000)]
Add documentation on new modules system
(This used to be commit f0f454129a5a57e50391397f45d7cf4d58648d45)

21 years agoreplace pstrcpy
Jim McDonough [Wed, 19 Mar 2003 19:32:51 +0000 (19:32 +0000)]
replace pstrcpy
(This used to be commit c6eb950b6879d7566ded33dd6a3853cf2d5310db)

21 years agoFix module names
Jelmer Vernooij [Wed, 19 Mar 2003 19:28:05 +0000 (19:28 +0000)]
Fix module names
(This used to be commit fa1c8eee1fdd2452f9e3595b2b3957ea8c0ea46a)

21 years agoPut in the new modules system. It's now used by passdb and rpc. I will
Jelmer Vernooij [Wed, 19 Mar 2003 18:45:19 +0000 (18:45 +0000)]
Put in the new modules system. It's now used by passdb and rpc. I will
put a doc about it in dev-doc later today.
(This used to be commit af7bfee0c6902c07fdb8d3abccf4c8d6bab00b5a)

21 years agoAdd paramter 'ldap del only sam attr'.
Volker Lendecke [Wed, 19 Mar 2003 18:17:12 +0000 (18:17 +0000)]
Add paramter 'ldap del only sam attr'.

This patch is heavily based on a patch by SuSE. Thanks
to Guenther Deschner <gd@suse.de> for providing it.

Volker
(This used to be commit 5eaf9195eefda5ababba85cc0f6d581ff6f0f454)

21 years agoFix typo.
Volker Lendecke [Wed, 19 Mar 2003 18:06:40 +0000 (18:06 +0000)]
Fix typo.

Thanks to Guenther Deschner <gd@suse.de>

Volker
(This used to be commit 70bf31e1b0850c257e893e8850b7d5c53ba5af48)

21 years agoUpdate alpha information
Jelmer Vernooij [Wed, 19 Mar 2003 17:20:45 +0000 (17:20 +0000)]
Update alpha information
(This used to be commit 65dbd07b3012b0de4d8db0bb01c1d77ae3dc0fa8)

21 years agoUpdate to current situation - there's nothing about SAM/GUMS/IDMAP in here
Jelmer Vernooij [Wed, 19 Mar 2003 16:55:57 +0000 (16:55 +0000)]
Update to current situation - there's nothing about SAM/GUMS/IDMAP in here
currently, should there be?
(This used to be commit 0038a31819ad13dcfaff381ab2bb9f9fef62c1e8)

21 years agoFix some comment typos
Jelmer Vernooij [Wed, 19 Mar 2003 15:23:40 +0000 (15:23 +0000)]
Fix some comment typos
(This used to be commit 41ea416adbc074f3a34b66c18ed63c7d44ea28fc)

21 years agoRegenerate
Jelmer Vernooij [Wed, 19 Mar 2003 15:05:41 +0000 (15:05 +0000)]
Regenerate
(This used to be commit a4057885405a2dd5f78592f9a6da7f071b486fd0)

21 years agoHey -- there is an error code NT_STATUS_CANNOT_DELETE :-)
Volker Lendecke [Wed, 19 Mar 2003 14:58:20 +0000 (14:58 +0000)]
Hey -- there is an error code NT_STATUS_CANNOT_DELETE :-)
(This used to be commit aa9b8382d38346cb3e94ddf2e7caf6d663034579)

21 years agoIf we fail, return an error code :-)
Volker Lendecke [Wed, 19 Mar 2003 14:56:50 +0000 (14:56 +0000)]
If we fail, return an error code :-)

Volker
(This used to be commit a5218499eb3f0a62cd663a06157591fbb0dfcbef)

21 years agoGCC 3.x has deprecated multi-line string constants.
Tim Potter [Wed, 19 Mar 2003 11:26:01 +0000 (11:26 +0000)]
GCC 3.x has deprecated multi-line string constants.
(This used to be commit 54000fc3b0daee452f4d5bc7dad40757f1cf7c11)

21 years agoFix compiler warning.
Tim Potter [Wed, 19 Mar 2003 11:25:21 +0000 (11:25 +0000)]
Fix compiler warning.
(This used to be commit 74c1cd0040890d24e6191d4cb0467e9f9d70f5dc)

21 years agoRemoved unused variable.
Tim Potter [Wed, 19 Mar 2003 11:22:57 +0000 (11:22 +0000)]
Removed unused variable.
(This used to be commit 6326b0f0b489334c672548a50740890a124988a2)

21 years agoAdd function prototype.
Tim Potter [Wed, 19 Mar 2003 11:22:32 +0000 (11:22 +0000)]
Add function prototype.
(This used to be commit 57e5c2007b7390c06989b34c7ecf6b5f6f56a03b)

21 years agoRemove py_samba.c experiment - it didn't work.
Tim Potter [Wed, 19 Mar 2003 11:20:45 +0000 (11:20 +0000)]
Remove py_samba.c experiment - it didn't work.
(This used to be commit e69c061211e9c64201b54087d1381740d82cbbcd)

21 years agoPut group mapping into LDAP.
Volker Lendecke [Wed, 19 Mar 2003 09:38:47 +0000 (09:38 +0000)]
Put group mapping into LDAP.

Volker
(This used to be commit f0f1518fc450834725902e9cdf33fb8d35f99360)

21 years agoFix debug message not to use an uninitialized variable.
Volker Lendecke [Wed, 19 Mar 2003 08:36:42 +0000 (08:36 +0000)]
Fix debug message not to use an uninitialized variable.

Volker
(This used to be commit 80bfa7efd65af02108e3ef1e2b2952cda6dc5999)

21 years agoAdd additional StrCaseCmp test cases.
Martin Pool [Wed, 19 Mar 2003 08:32:42 +0000 (08:32 +0000)]
Add additional StrCaseCmp test cases.

Doc.
(This used to be commit ac6027884b04943fac3d469ff6542d62293f46cc)

21 years agoAdd an STF module that defines the tests to be run by "make check".
Martin Pool [Wed, 19 Mar 2003 03:56:50 +0000 (03:56 +0000)]
Add an STF module that defines the tests to be run by "make check".
(This used to be commit a5a2cc9ae9668e66d39beed1fdad4df0405fa4da)

21 years agoGet rid of "make check" targets that call nonexistent code.
Martin Pool [Wed, 19 Mar 2003 03:55:14 +0000 (03:55 +0000)]
Get rid of "make check" targets that call nonexistent code.

Add in new ones that run STF, after setting up a PATH and
LD_LIBRARY_PATH that will let them find samba in the build directory.

LD_LIBRARY_PATH is probably not portable but without libtool I don't
know a portable way to do it.  Perhaps the simple solution is just to
link these things statically?
(This used to be commit 27c1626ae0a30bf0f01ea6d6df5836425e6f9547)

21 years agoA new STF test case! This one checks strcasecmp correctness for
Martin Pool [Wed, 19 Mar 2003 03:42:27 +0000 (03:42 +0000)]
A new STF test case!  This one checks strcasecmp correctness for
various strings.
(This used to be commit ef5bdb1700f6033f342d6bb32a8d0ee240dd34b8)

21 years agoAdd the correct file :-( to ignore .po and .po32 files.
Martin Pool [Wed, 19 Mar 2003 03:41:18 +0000 (03:41 +0000)]
Add the correct file :-( to ignore .po and .po32 files.
(This used to be commit 00b147882221dbb92673bc19fb0572718e3b10c6)

21 years agoRemove this .po file from the repository. I meant to add a cvsignore
Martin Pool [Wed, 19 Mar 2003 03:39:16 +0000 (03:39 +0000)]
Remove this .po file from the repository.  I meant to add a cvsignore
file that ignored it, but I slipped.
(This used to be commit a3f90cc6ab2735296ca482c8e29dc1d83804e205)

21 years agoIgnore t_strcmp test case.
Martin Pool [Wed, 19 Mar 2003 03:14:54 +0000 (03:14 +0000)]
Ignore t_strcmp test case.
(This used to be commit 705db537c5c8495ce39d7ca609de4a2ee1bba6a5)

21 years agoIgnore .po and .po32 files.
Martin Pool [Wed, 19 Mar 2003 03:14:28 +0000 (03:14 +0000)]
Ignore .po and .po32 files.
(This used to be commit 9a8d50d45c352a22b9b67adb1548482ab2c3265c)

21 years agoRun test 10000 times to make measurement easier.
Martin Pool [Wed, 19 Mar 2003 02:59:18 +0000 (02:59 +0000)]
Run test 10000 times to make measurement easier.
(This used to be commit e051789ac6cc05f8a643ea81e887d3b969cf3a27)

21 years agoEnsure dev in make_connection is const.
Jeremy Allison [Tue, 18 Mar 2003 23:51:18 +0000 (23:51 +0000)]
Ensure dev in make_connection is const.
Jeremy.
(This used to be commit e8155fade61e9dc308a82f442453803160c36806)

21 years agoRemoved unused var.
Jeremy Allison [Tue, 18 Mar 2003 21:25:33 +0000 (21:25 +0000)]
Removed unused var.
Jeremy.
(This used to be commit fb925a72a6323d96d8fae658c4271ca05e8256de)

21 years agoRegenerate
Jelmer Vernooij [Tue, 18 Mar 2003 16:48:14 +0000 (16:48 +0000)]
Regenerate
(This used to be commit 25db62e3101dbcae8e9daee3cb16430297afa223)

21 years agoRegenerate
Jelmer Vernooij [Tue, 18 Mar 2003 16:38:59 +0000 (16:38 +0000)]
Regenerate
(This used to be commit 7affa21eb8982eeccb8852f60d3b962fc0dded67)

21 years agoMore updates:
Jelmer Vernooij [Tue, 18 Mar 2003 16:29:57 +0000 (16:29 +0000)]
More updates:
- Add SWAT as way to configure samba
- Remove some duplicated information
- Move some information to the part of the howto it belongs
(This used to be commit f78c98120be81100adbfee01a07283d014c425d4)

21 years ago- Move instructions on compiling samba to appendix
Jelmer Vernooij [Tue, 18 Mar 2003 15:49:05 +0000 (15:49 +0000)]
- Move instructions on compiling samba to appendix
- Add notes about binary packages
- Some small fixes (typos, remove outdated stuff)
(This used to be commit 7759686230e2512e7c79ca512f501f8bac084aef)

21 years agoPut in documentation update by jht
Jelmer Vernooij [Tue, 18 Mar 2003 12:12:39 +0000 (12:12 +0000)]
Put in documentation update by jht
(This used to be commit 38424c522ab2ddbf6d6c61274d692b14e574023a)

21 years agoPut in some macros for the new modules system
Jelmer Vernooij [Tue, 18 Mar 2003 12:07:43 +0000 (12:07 +0000)]
Put in some macros for the new modules system
(This used to be commit b6272a8f18c823be3056d9f03810be75e9129cce)

21 years agoStep one of optimizations for StrCaseCmp:
Martin Pool [Tue, 18 Mar 2003 07:31:49 +0000 (07:31 +0000)]
Step one of optimizations for StrCaseCmp:

First of all, do a char-by-char walk through both buffers until we get
to a non-ascii character, or a difference between the strings.  This
prefix can be directly compared without needing to call into iconv.
This should be much faster for strings that are either all ascii, or
differ near the start.
(This used to be commit f7f692b2db4dd513068d6d8fed2792186933ddda)

21 years agoAdd t_strcmp test/torture harness.
Martin Pool [Tue, 18 Mar 2003 07:13:15 +0000 (07:13 +0000)]
Add t_strcmp test/torture harness.
(This used to be commit 2c17cb1bd27658ac7a72cb9eccb4b048e9d0ec5f)

21 years agoSplit "clobber" function and variables into its own file before it
Martin Pool [Tue, 18 Mar 2003 07:09:23 +0000 (07:09 +0000)]
Split "clobber" function and variables into its own file before it
grows too much larger.
(This used to be commit 4bbddbfc6a97ebb11e299aa7bd07ebebeab42c65)

21 years agoIgnore t_stringoverflow binary.
Martin Pool [Tue, 18 Mar 2003 05:52:05 +0000 (05:52 +0000)]
Ignore t_stringoverflow binary.
(This used to be commit 195582c4cb7906ab95e47f5a2aea4ae86a7ab023)

21 years agoIgnore .po and .po32 files.
Martin Pool [Tue, 18 Mar 2003 05:51:41 +0000 (05:51 +0000)]
Ignore .po and .po32 files.
(This used to be commit 8d64419625dda242fdb7a5d956644b052b43a2ea)

21 years agoComment about deprecated macro overmalloc_safe_strcpy().
Martin Pool [Tue, 18 Mar 2003 05:42:53 +0000 (05:42 +0000)]
Comment about deprecated macro overmalloc_safe_strcpy().
(This used to be commit 5ac062580690eee9b4bd423dbb82631c0cdb8b30)

21 years agoRemove static libbigballofmud, which just does not seem to link.
Martin Pool [Tue, 18 Mar 2003 05:37:23 +0000 (05:37 +0000)]
Remove static libbigballofmud, which just does not seem to link.

Add bin/t_stringoverflow test case.  Not built by default.
(This used to be commit 7741bb8d18e7ba16522c00513174f2909d75535d)

21 years agoThe new string macros catch a bug at compile that previously only
Martin Pool [Tue, 18 Mar 2003 05:31:52 +0000 (05:31 +0000)]
The new string macros catch a bug at compile that previously only
trapped at runtime, which is great.  So we have to try a little harder
to provoke an overflow -- which is still caught nicely in developer
mode.
(This used to be commit cea126f62ad411f5efbebc7c5d39297fd8ef9efb)

21 years agoUpdate comment: Valgrind 1.9.4 seems to always respect client
Martin Pool [Tue, 18 Mar 2003 05:30:15 +0000 (05:30 +0000)]
Update comment: Valgrind 1.9.4 seems to always respect client
requests, without needing --client-perms=yes.
(This used to be commit 412a8780c35ee9449c9682e3ef73afb2c4933285)

21 years agoSpeling fixes and a little extra documentation.
Martin Pool [Tue, 18 Mar 2003 05:04:44 +0000 (05:04 +0000)]
Speling fixes and a little extra documentation.
(This used to be commit 8da383bb3e63d25ceb0204c775580f2f1b3336ec)

21 years agoglobal_globber_region_function/line ought to be recorded before
Martin Pool [Tue, 18 Mar 2003 05:00:02 +0000 (05:00 +0000)]
global_globber_region_function/line ought to be recorded before
clobbering the region, just in case clobbering causes us to crash
immediately.  (That might happen if we just shot ourselves in the
stack and strcpy was not inlined.)

Also, in DEVELOPER mode and when Valgrind is available, mark the
clobbered region as uninitialized.  This is an even stronger
protection than clobbering with 0xf1.
(This used to be commit 5653a42ae695f4b8f4c14d3184ca76523d38b51b)

21 years agoDecode waitstatus values when a command fails.
Martin Pool [Tue, 18 Mar 2003 03:07:39 +0000 (03:07 +0000)]
Decode waitstatus values when a command fails.
(This used to be commit e1baab1ee04b27447445351d0d88b0c02a5fa85d)

21 years agoAdded #ifdef'ed out implementation of auth_smbd python fn. Uncomment
Tim Potter [Tue, 18 Mar 2003 01:34:09 +0000 (01:34 +0000)]
Added #ifdef'ed out implementation of auth_smbd python fn.  Uncomment
when auth_smbd functionality merged to HEAD.
(This used to be commit 2b6d13672dc1e4a46fc2600e729c22d0ee7e534b)

21 years agoStart of a unit test for info3 caching. Much unfrastructure required
Tim Potter [Tue, 18 Mar 2003 01:32:51 +0000 (01:32 +0000)]
Start of a unit test for info3 caching.  Much unfrastructure required
before this can be fully implemented.  )-:
(This used to be commit a040a8471f884cb295100f841594d86ddf754bb6)

21 years agoAdd copyright.
Andrew Bartlett [Mon, 17 Mar 2003 22:22:46 +0000 (22:22 +0000)]
Add copyright.
(This used to be commit a7f9c3657ff052e382e290059f50f1d9812b8221)

21 years agoFix memory leak.
Volker Lendecke [Mon, 17 Mar 2003 22:09:06 +0000 (22:09 +0000)]
Fix memory leak.

Volker
(This used to be commit e8975d6e7bdcceb78a83a3446cf1430e1e3f1a72)

21 years agoAdded a slightly modified version of Tridge's note about securing
Tim Potter [Mon, 17 Mar 2003 11:03:29 +0000 (11:03 +0000)]
Added a slightly modified version of Tridge's note about securing
a Samba server.
(This used to be commit 03a227b7ee7ed6927541966ec226344cd8c88aff)

21 years agoRun autoconf. Shouldn't we have an autogen.sh here?
Tim Potter [Mon, 17 Mar 2003 11:02:54 +0000 (11:02 +0000)]
Run autoconf.  Shouldn't we have an autogen.sh here?
(This used to be commit a43fe8e5f0cc95a8fb89db4ab1ee051b8c9d1bab)

21 years agoFix invalid SAFE_FREE() of talloc()ed memory.
Andrew Bartlett [Mon, 17 Mar 2003 10:59:11 +0000 (10:59 +0000)]
Fix invalid SAFE_FREE() of talloc()ed memory.

Andrew Bartlett
(This used to be commit 21add5f97d0d112094e34a02e6319991a1d2af4d)

21 years agoBrain fart - make sure we truncate the right string...
Andrew Bartlett [Mon, 17 Mar 2003 10:58:05 +0000 (10:58 +0000)]
Brain fart - make sure we truncate the right string...

Andrew Bartlett
(This used to be commit 32eb2cdca62a784d96207507e273bbbf77b0c6c3)

21 years agoCall AC_MSG_ERROR if jw, perl or htmldoc is not installed rather than
Tim Potter [Mon, 17 Mar 2003 10:26:44 +0000 (10:26 +0000)]
Call AC_MSG_ERROR if jw, perl or htmldoc is not installed rather than
generate a bodgy Makefile.
(This used to be commit 2842e0925debe8bfabfdf011913cf5e13e824c10)

21 years agoFix const warnings.
Andrew Bartlett [Mon, 17 Mar 2003 09:18:06 +0000 (09:18 +0000)]
Fix const warnings.

Andrew Bartlett
(This used to be commit fc1408d5d1a8b64dfd20268ab6f4a5f2a007614b)

21 years agoAdd const.
Andrew Bartlett [Mon, 17 Mar 2003 09:08:34 +0000 (09:08 +0000)]
Add const.
(This used to be commit 02f81719c7c179b61663bdf789c01ab62286fea2)

21 years agoMore statcache fixes - and add a bit more doco.
Andrew Bartlett [Mon, 17 Mar 2003 08:03:08 +0000 (08:03 +0000)]
More statcache fixes - and add a bit more doco.

Andrew Bartlett
(This used to be commit 0e8dd52f6973ac5219e2c2dd53824de71f512083)

21 years agoApplied waider's patch to return DOS error codes for pipes that
Tim Potter [Mon, 17 Mar 2003 05:55:41 +0000 (05:55 +0000)]
Applied waider's patch to return DOS error codes for pipes that
support it.
(This used to be commit ac3df9a8051bd105e8e4192d36b3024fdf9f9506)

21 years agoIgnore .pyc files.
Tim Potter [Mon, 17 Mar 2003 05:46:54 +0000 (05:46 +0000)]
Ignore .pyc files.
(This used to be commit b20a357ac534b513383ad20046a99bb7f39bba25)