samba.git
17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

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

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

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

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

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

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

17 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)

17 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)

17 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)

17 years agoFix a memory leak - 'smbcontrol smbd pool-usage' is your freind!
Andrew Bartlett [Mon, 17 Mar 2003 04:42:57 +0000 (04:42 +0000)]
Fix a memory leak - 'smbcontrol smbd pool-usage' is your freind!

Andrew Bartlett
(This used to be commit a12e8524997e329a4f4cd766d6371e384698795a)

17 years agoSome cosmetic changes to make the popt --usage output look nicer.
Tim Potter [Mon, 17 Mar 2003 03:56:58 +0000 (03:56 +0000)]
Some cosmetic changes to make the popt --usage output look nicer.
(This used to be commit 39124b9a62e1ba0f8089c36b27d6c79352a27973)

17 years agoFix memory leaks and add parinoioa code to our stat() cache.
Andrew Bartlett [Mon, 17 Mar 2003 03:47:15 +0000 (03:47 +0000)]
Fix memory leaks and add parinoioa code to our stat() cache.

Andrew Bartlett
(This used to be commit 3fd07bd25eefdb2a7a6891fa1169ab2425607249)

17 years agoMissed one when I move 'share_sanity_checks' to use an fstring for 'dev'.
Andrew Bartlett [Sun, 16 Mar 2003 22:07:36 +0000 (22:07 +0000)]
Missed one when I move 'share_sanity_checks' to use an fstring for 'dev'.

Andrew Bartlett
(This used to be commit a0208a4f74f9c61eb1e346d9cb62dbe00ef4c24a)

17 years agoMake sure we mark the assumption of a fstring parameter for 'devicetype'
Andrew Bartlett [Sun, 16 Mar 2003 13:24:36 +0000 (13:24 +0000)]
Make sure we mark the assumption of a fstring parameter for 'devicetype'
in the function prototype, and change callers to respect this.

Andrew Bartlett
(This used to be commit 9f3d3c380120f16d76d68f346799282d61eec892)

17 years agoAdd const.
Andrew Bartlett [Sun, 16 Mar 2003 13:23:12 +0000 (13:23 +0000)]
Add const.
(This used to be commit 5371720971bc60a4cfba0460614306f322aa10b8)

17 years ago - Make ReadDirName return a const char*.
Andrew Bartlett [Sun, 16 Mar 2003 13:21:12 +0000 (13:21 +0000)]
 - Make ReadDirName return a const char*.

 - Consequential changes from that

 - mark our fstring/pstring assumptions in function prototypes

Andrew Bartlett
(This used to be commit fe2bc64bc439b27387b8f326b0f4f3bfcc3d04a1)

17 years agoTry to avoid dereferencing a null pointer.
Andrew Bartlett [Sun, 16 Mar 2003 13:16:42 +0000 (13:16 +0000)]
Try to avoid dereferencing a null pointer.

Andrew Bartlett
(This used to be commit 4e96585b60512905776c2c6692c76d45241f089d)

17 years agoNew statcache internals - this time it's actually possible to follow what's
Andrew Bartlett [Sun, 16 Mar 2003 13:15:29 +0000 (13:15 +0000)]
New statcache internals - this time it's actually possible to follow what's
going on.

In particular, add doxygen documentation.

Andrew Bartlett
(This used to be commit 7ff77ab46c63eca3b6edf18f39024eadb83a1a90)

17 years agoFix nmbd under -DDEVELOPER (pstrcpy on not-pstring).
Andrew Bartlett [Sun, 16 Mar 2003 03:21:58 +0000 (03:21 +0000)]
Fix nmbd under -DDEVELOPER (pstrcpy on not-pstring).

Make a new macro to help in this situation, and add memcpy() parinoia

Andrew Bartlett
(This used to be commit 4d00626b6e003952df6715fa80615ec028facdf4)

17 years agoChanges to help the kerberos change password code work on systems that
Andrew Bartlett [Sun, 16 Mar 2003 02:14:05 +0000 (02:14 +0000)]
Changes to help the kerberos change password code work on systems that
have some of the labels 'duplicated' (ie, the defines double-up).

Also, to an ads_connect() to try and find our KDC. (So we don't segfualt
*every* time)

Andrew Bartlett
(This used to be commit 56dce7ddad118051c93c62507234efca3920bc9b)

17 years agoMore work on my macro mess - we need function prototypes of different types,
Andrew Bartlett [Sun, 16 Mar 2003 00:39:40 +0000 (00:39 +0000)]
More work on my macro mess - we need function prototypes of different types,
and we were missing the 'char' type.

Andrew Bartlett
(This used to be commit 193e80fafbda9e3af58fec1e629ec607f29b4099)

17 years agoA hack to get us building on a slightly older heimdal kerberos. It appears
Andrew Bartlett [Sat, 15 Mar 2003 23:16:40 +0000 (23:16 +0000)]
A hack to get us building on a slightly older heimdal kerberos.  It appears
that we don't need this flag - heimdal's internal password change routines
don't set it.

Andrew Bartlett
(This used to be commit 069825bd78f2bf125e8a4e72933da924d393f5a5)

17 years agoFix non-gmake syntax error.
Andrew Bartlett [Sat, 15 Mar 2003 22:57:00 +0000 (22:57 +0000)]
Fix non-gmake syntax error.
(This used to be commit 97daece056516e52e56bf5a749676e7c53e087e3)

17 years agoCheckin cifs vfs for Linux mount helper
Steve French [Sat, 15 Mar 2003 22:35:47 +0000 (22:35 +0000)]
Checkin cifs vfs for Linux mount helper
(This used to be commit a55acfd7a296c5ae9b043dc03393a29d87e43a40)

17 years agoFix the 'non-optomizing compiler' case...
Andrew Bartlett [Sat, 15 Mar 2003 11:28:45 +0000 (11:28 +0000)]
Fix the 'non-optomizing compiler' case...

Andrew Bartlett
(This used to be commit 94424c5d72246b2e58f3a21aa0de6949d7eb2da1)

17 years agoFix the non-DEVELOPER case of my macro madness...
Andrew Bartlett [Sat, 15 Mar 2003 10:59:14 +0000 (10:59 +0000)]
Fix the non-DEVELOPER case of my macro madness...

Andrew Bartlett
(This used to be commit 618bda3a28f65417e3c31a70229f6da70cf223fc)

17 years agoMinor fixes.
Andrew Bartlett [Sat, 15 Mar 2003 08:18:29 +0000 (08:18 +0000)]
Minor fixes.
 - signed/unsigned
 - quieten warning about assignment as truth value
 - whitespace

Andrew Bartlett
(This used to be commit a13ce0df4b4a776fa635a1fb804dd00d195f58d0)

17 years agoRemove an unused function and fix the build.
Andrew Bartlett [Sat, 15 Mar 2003 08:03:11 +0000 (08:03 +0000)]
Remove an unused function and fix the build.

Andrew Bartlett
(This used to be commit 67a0319d268dfc0e2154d3ab0f8bf866e3cbb6db)

17 years agoFix signed/unsigned issues - mostly 'i' counters.
Andrew Bartlett [Sat, 15 Mar 2003 07:45:51 +0000 (07:45 +0000)]
Fix signed/unsigned issues - mostly 'i' counters.

Fix an inconpatible poitner type that caused the IA64 not to build

Andrew Bartlett
(This used to be commit 37436b0aae108fceace3049d3868510e1ba592ac)

17 years agosigned/unsigned fix
Andrew Bartlett [Sat, 15 Mar 2003 07:16:32 +0000 (07:16 +0000)]
signed/unsigned fix
(This used to be commit f6bcfa59447700e0ccfc069d0228019a9bdca9d2)

17 years agoString handling parinoia fixes.
Andrew Bartlett [Sat, 15 Mar 2003 07:14:55 +0000 (07:14 +0000)]
String handling parinoia fixes.

This patch enables the compile-time checking of strings assable by means of
sizeof().  (Original code had the configure check reversed).

This is extended to all safe_strcpy() users, push_string and pull_string,
as well as the cli and srv derivitives.  There is an attempt to cap strings
at the end of the cli buffer, and clobber_region() of the speified length
(when not -1 :-).

Becouse of the way they are declared, the 'overmalloc a string' users of
safe_strcpy() have been changed to use overmalloc_safe_strcpy() (which skips
some of the checks).

This whole ball of mud worked fine, until I pulled out my 'fix' for our
statcache.  When jeremy fixes that, we should be able to get back to testing
this stuff.

This patch also includes a 'marker' of the last caller to clobber_region (ie,
the function that called pstrcpy() that called clobber_region) to assist in
debugging problems that may have smashed the stack.  This is printed at
smb_panic() time.  (Original idea and patch by metze).

It also removes some unsused functions, and #if 0's some others that are
unused but probably should be used in the near future.

For now, this patch gives us some confidence on one class of trivial parsing
error in our code.

Andrew Bartlett
(This used to be commit 31f4827acc2a2f00399a5528fc83a0dae5cebaf4)

17 years agoFix off-by-one bug in safe_strcpy size paramater.
Andrew Bartlett [Sat, 15 Mar 2003 06:54:09 +0000 (06:54 +0000)]
Fix off-by-one bug in safe_strcpy size paramater.
(This used to be commit 9af30c9aae3623c4db1edca39a91973f0279acb4)

17 years agoTruncate the machinename manually, so as not to generate level 0 debugs for
Andrew Bartlett [Sat, 15 Mar 2003 06:53:37 +0000 (06:53 +0000)]
Truncate the machinename manually, so as not to generate level 0 debugs for
an expected situation.

Andrew Bartlett
(This used to be commit a07fccb7ae169c0b5089e3f7d2c5d6465b2e4686)

17 years agospecify the size of these buffers
Andrew Bartlett [Sat, 15 Mar 2003 06:51:57 +0000 (06:51 +0000)]
specify the size of these buffers
(This used to be commit f6ea572cd57d4e655d387fe225a5d7122d587a9b)

17 years agoIf the server went away, don't segfault by attempting to FD_SET -1.
Andrew Bartlett [Sat, 15 Mar 2003 06:50:45 +0000 (06:50 +0000)]
If the server went away, don't segfault by attempting to FD_SET -1.

Andrew Bartlett
(This used to be commit 4b1337ee94a19e39a2f4012c4dbc32a2e58cacf5)

17 years agoSpecify buffer sizes
Andrew Bartlett [Sat, 15 Mar 2003 06:46:43 +0000 (06:46 +0000)]
Specify buffer sizes
(This used to be commit aa12379b3fd9646199a8ff3f217ec7dfef1942a5)

17 years agoBe parinoid, malloc an extra SAFETY_MARGIN on the client's inbuf and outbuf.
Andrew Bartlett [Sat, 15 Mar 2003 06:46:05 +0000 (06:46 +0000)]
Be parinoid, malloc an extra SAFETY_MARGIN on the client's inbuf and outbuf.

Andrew Bartlett
(This used to be commit 2effcae13f9dfbff40b34d32c7fd82118c3fd096)

17 years agoclient-side smbpasswd fixes - use pstrcpy_base to avoid clobber_region bugs
Andrew Bartlett [Sat, 15 Mar 2003 06:45:19 +0000 (06:45 +0000)]
client-side smbpasswd fixes - use pstrcpy_base to avoid clobber_region bugs

Andrew Bartlett
(This used to be commit 7ab6559369b4e6ee3c5269d8cff04e5a39f6b493)

17 years agoAdd const, and a signed/unsigned fix.
Andrew Bartlett [Sat, 15 Mar 2003 06:43:37 +0000 (06:43 +0000)]
Add const, and a signed/unsigned fix.
(This used to be commit f07a93eaeba20f5704f43c7f02141adc564db136)

17 years agoIf it's an fstring, use fstrcpy().
Andrew Bartlett [Sat, 15 Mar 2003 06:42:44 +0000 (06:42 +0000)]
If it's an fstring, use fstrcpy().

Andrew Bartlett
(This used to be commit bf5e0698eed72d7fc005be08feb36ef82ada716c)

17 years agoClean up the VFS module loading logic by making the parameter an P_LIST,
Andrew Bartlett [Sat, 15 Mar 2003 06:41:31 +0000 (06:41 +0000)]
Clean up the VFS module loading logic by making the parameter an P_LIST,
rather than a runtime-parsed string.

Andrew Bartlett
(This used to be commit 3465cd6cd92c39c018979b5a82acbddca0927623)

17 years agoFound by my new checking code (yet to be commited):
Andrew Bartlett [Sat, 15 Mar 2003 06:34:32 +0000 (06:34 +0000)]
Found by my new checking code (yet to be commited):

Allow a service longer than 4 characters in CORE tcon.

Andrew Bartlett
(This used to be commit b56613c1cc13ebd5c9ba11a35d2f96c4c3eb0628)

17 years agostrictly, you can't #if on somthing that may or may not be defined.
Andrew Bartlett [Sat, 15 Mar 2003 06:31:23 +0000 (06:31 +0000)]
strictly, you can't #if on somthing that may or may not be defined.

Andrew Bartlett
(This used to be commit 49bae0227323e811cb71ada24928d24f7dc56d1f)

17 years agoNow that mimir has done the grunt work, I'll fix up the comment
Andrew Bartlett [Sat, 15 Mar 2003 06:10:48 +0000 (06:10 +0000)]
Now that mimir has done the grunt work, I'll fix up the comment
(This used to be commit 7154fe10969a34b97ddc8321bfb5271b8e6d4795)

17 years agofix WinXP & Win2K3 remote_arch and check pointer in ntlmssp code before dereferencing
Gerald Carter [Fri, 14 Mar 2003 23:11:19 +0000 (23:11 +0000)]
fix WinXP & Win2K3 remote_arch and check pointer in ntlmssp code before dereferencing
(This used to be commit 2487480228b99183cab9e34ab497997e0c144ed6)

17 years agoWe haven't implemented The Singing Contexts so far.
Rafal Szczesniak [Fri, 14 Mar 2003 17:20:13 +0000 (17:20 +0000)]
We haven't implemented The Singing Contexts so far.
Who knows what .NET server brings, though ...?  ;-)

Rafal
(This used to be commit d81b0d26903004be6a99ac029dd531fd18947268)

17 years agoExtending code to work both in case of domain membership
Rafal Szczesniak [Fri, 14 Mar 2003 17:16:33 +0000 (17:16 +0000)]
Extending code to work both in case of domain membership
and domain controller respecting interdomain trust relationships.
In the latter case we need to find DC of remote domain instead
of ours. In the former 'domain' is our domain name.

Rafal
(This used to be commit 0cd45d5d3b3e3ec5a589c3ee9f0e369901eefe8f)

17 years agoFresh meat in trusted domains code:
Rafal Szczesniak [Fri, 14 Mar 2003 17:12:40 +0000 (17:12 +0000)]
Fresh meat in trusted domains code:
 - packing/unpacking utility functions for trusted domain
   password struct; can be used to prepare buffer to store
   in secrets.tdb or (soon) passdb backend
 - similiar functions for DOM_SID
 - respectively modified secrets_(fetch|store) routines
 - new auth mapping code utilising introduced is_trusted_domain
   function
 - added tdb (un)packing of single bytes

Rafal
(This used to be commit 5281ee7e84421b9be746aed2f1718ceaf2a2fe3d)

17 years ago/tmp/newfun.msg
Rafal Szczesniak [Fri, 14 Mar 2003 17:05:13 +0000 (17:05 +0000)]
/tmp/newfun.msg
(This used to be commit 3f4cb7b2c4d9b54b41bcc184ccfd00032e2b021b)

17 years agoFound by metze with the clobber-region check - if it's a pstring, use pstrcpy().
Andrew Bartlett [Fri, 14 Mar 2003 10:02:12 +0000 (10:02 +0000)]
Found by metze with the clobber-region check - if it's a pstring, use pstrcpy().

Andrew Bartlett
(This used to be commit f9c3c93f55cac774e576fd5975c0582e0b334d6a)

17 years agoAdd examples of ComfyChair
Martin Pool [Fri, 14 Mar 2003 04:54:10 +0000 (04:54 +0000)]
Add examples of ComfyChair
(This used to be commit dfee0a6ad5d203df04df8a54da87ff5e493a33ca)

17 years agoMerge from Subversion
Martin Pool [Fri, 14 Mar 2003 04:50:17 +0000 (04:50 +0000)]
Merge from Subversion

* Better report formatting
(This used to be commit e7eafa10da828b4dc46a05a99164eb8ac37563df)

17 years agoMerge cifsntdomain.sgml fixes from 3.0 branch
Alexander Bokovoy [Thu, 13 Mar 2003 14:55:44 +0000 (14:55 +0000)]
Merge cifsntdomain.sgml fixes from 3.0 branch
(This used to be commit fb85311941967fa1080b84103a01d16b4fd33926)

17 years agoAdd bin/libbigballofmud.a non-shared library. A bit easier to link to
Martin Pool [Thu, 13 Mar 2003 07:05:10 +0000 (07:05 +0000)]
Add bin/libbigballofmud.a non-shared library.  A bit easier to link to
for testing than the .so.  (http://www.laputan.org/mud/mud.html)
(This used to be commit 386087d77f836b8133afc977c9c3e8e7845125dc)

17 years agoIn Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,
Martin Pool [Thu, 13 Mar 2003 06:18:18 +0000 (06:18 +0000)]
In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,
etc.  So check for that as well as the old names when including macros
and conditionally defining -DVALGRIND.
(This used to be commit c9151c7b1113e2f01bd33d4dd301a2e7e2040b35)

17 years agoIn Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,
Martin Pool [Thu, 13 Mar 2003 06:16:51 +0000 (06:16 +0000)]
In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,
etc.  So check for that as well as the old names.
(This used to be commit 1ffa4d75b75979b8abb409634212ce43a0826467)

17 years agoAdded chainlock, chainunlock, lock_bystring and unlock_bystring methods.
Tim Potter [Thu, 13 Mar 2003 06:09:18 +0000 (06:09 +0000)]
Added chainlock, chainunlock, lock_bystring and unlock_bystring methods.
(This used to be commit cd5c47f47379a8c4021771ec28a9da0085f80d98)

17 years agoFixed crash bug when calling tdb_unlockkeys() with no locked keys.
Tim Potter [Thu, 13 Mar 2003 05:52:49 +0000 (05:52 +0000)]
Fixed crash bug when calling tdb_unlockkeys() with no locked keys.

woot!
(This used to be commit eb432700c0010e536be3a0703f152c533357b851)

17 years agoshow which files we fail to create in the casetable test
Andrew Tridgell [Thu, 13 Mar 2003 04:36:32 +0000 (04:36 +0000)]
show which files we fail to create in the casetable test
(This used to be commit d40e3747cfa2994349aa84568f7b79457341a058)

17 years agofixed the unmarshalling of the queryaliasmem SAMR call
Andrew Tridgell [Thu, 13 Mar 2003 04:35:15 +0000 (04:35 +0000)]
fixed the unmarshalling of the queryaliasmem SAMR call
(This used to be commit 80c45434092a881fe2c9ae7f90856deea4722cb0)

17 years agowin2000 can take much longer than the specified time to respond to a
Andrew Tridgell [Thu, 13 Mar 2003 04:34:31 +0000 (04:34 +0000)]
win2000 can take much longer than the specified time to respond to a
lock - so to make the torture tests valid I give it a grace time of 10
seconds instead of 2
(This used to be commit c9c9e9eb26ec3042395637d14a6661d04a629ccc)

17 years agoChange size parameters from signed to unsigned to fix up warnings.
Jeremy Allison [Wed, 12 Mar 2003 22:24:12 +0000 (22:24 +0000)]
Change size parameters from signed to unsigned to fix up warnings.
Jeremy.
(This used to be commit 2e9880ef7c259b67eb75edc8098b734c3b7b22c1)

17 years agofixed a strcat noticed by metze
Andrew Tridgell [Wed, 12 Mar 2003 21:01:25 +0000 (21:01 +0000)]
fixed a strcat noticed by metze
(This used to be commit db3ad0dbe0bca729f98ca5d5a698388fe086daf2)

17 years agoEnsure we count the length correctly in mangle_map.
Jeremy Allison [Wed, 12 Mar 2003 19:08:01 +0000 (19:08 +0000)]
Ensure we count the length correctly in mangle_map.
Jeremy.
(This used to be commit 596705198c555568da208f59008ab87c5164bfb4)

17 years agoadding some initiaial code to sert %a to Win2K3 (using Native LanMan string from...
Gerald Carter [Wed, 12 Mar 2003 15:40:43 +0000 (15:40 +0000)]
adding some initiaial code to sert %a to Win2K3 (using Native LanMan string from .NET RC2)
(This used to be commit 4c823e61d14a33344deb887043b60b2e3c83416f)

17 years agoAdd const
Andrew Bartlett [Wed, 12 Mar 2003 11:00:02 +0000 (11:00 +0000)]
Add const
(This used to be commit 147a0c8b13d20e06c557fb817a36fddf9a920d65)

17 years ago - Fix a double-free (I can't say I understand the code, but it matches the other
Andrew Bartlett [Wed, 12 Mar 2003 10:56:55 +0000 (10:56 +0000)]
 - Fix a double-free (I can't say I understand the code, but it matches the other
cases and keeps valgrind quiet).

 - Add static

Andrew Bartlett
(This used to be commit e9da9c500b96a828d744e7a1c64427fc01153310)