samba.git
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?

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.

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.

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.

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.

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.

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.

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.

17 years agoRemoved unused var.
Jeremy Allison [Tue, 18 Mar 2003 21:25:33 +0000 (21:25 +0000)]
Removed unused var.
Jeremy.

17 years agoRegenerate
Jelmer Vernooij [Tue, 18 Mar 2003 16:48:14 +0000 (16:48 +0000)]
Regenerate

17 years agoRegenerate
Jelmer Vernooij [Tue, 18 Mar 2003 16:38:59 +0000 (16:38 +0000)]
Regenerate

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

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)

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

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

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.

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.

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.

17 years agoIgnore t_stringoverflow binary.
Martin Pool [Tue, 18 Mar 2003 05:52:05 +0000 (05:52 +0000)]
Ignore t_stringoverflow binary.

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.

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().

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.

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.

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.

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.

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.

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.

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.

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.  )-:

17 years agoAdd copyright.
Andrew Bartlett [Mon, 17 Mar 2003 22:22:46 +0000 (22:22 +0000)]
Add copyright.

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

Volker

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.

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?

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

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

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.

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

Andrew Bartlett

17 years agoAdd const.
Andrew Bartlett [Mon, 17 Mar 2003 09:08:34 +0000 (09:08 +0000)]
Add const.

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

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.

17 years agoIgnore .pyc files.
Tim Potter [Mon, 17 Mar 2003 05:46:54 +0000 (05:46 +0000)]
Ignore .pyc files.

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

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.

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

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

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

17 years agoAdd const.
Andrew Bartlett [Sun, 16 Mar 2003 13:23:12 +0000 (13:23 +0000)]
Add const.

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

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

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

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

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

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

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

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.

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

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

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

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

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

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

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

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

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.

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

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

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

17 years agoSpecify buffer sizes
Andrew Bartlett [Sat, 15 Mar 2003 06:46:43 +0000 (06:46 +0000)]
Specify buffer sizes

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

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

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.

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

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

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

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

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

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

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

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

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

17 years ago/tmp/newfun.msg
Rafal Szczesniak [Fri, 14 Mar 2003 17:05:13 +0000 (17:05 +0000)]
/tmp/newfun.msg

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

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

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

* Better report formatting

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

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)

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.

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.

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.

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!

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

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

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

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.

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

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.

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)

17 years agoAdd const
Andrew Bartlett [Wed, 12 Mar 2003 11:00:02 +0000 (11:00 +0000)]
Add const

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

17 years agoPatch from Ken Cross <kcross@nssolutions.com> to take a username in the form
Andrew Bartlett [Wed, 12 Mar 2003 10:36:14 +0000 (10:36 +0000)]
Patch from Ken Cross <kcross@nssolutions.com> to take a username in the form
of user@realm for kerberos logins.

Andrew Bartlett