1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-22 05:57:43 +03:00

11286 Commits

Author SHA1 Message Date
Martin Pool
553d1184fe Add the correct file :-( to ignore .po and .po32 files.
(This used to be commit 00b147882221dbb92673bc19fb0572718e3b10c6)
2003-03-19 03:41:18 +00:00
Martin Pool
f5765025c2 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)
2003-03-19 03:39:16 +00:00
Martin Pool
9474172774 Ignore t_strcmp test case.
(This used to be commit 705db537c5c8495ce39d7ca609de4a2ee1bba6a5)
2003-03-19 03:14:54 +00:00
Martin Pool
d071b731a6 Ignore .po and .po32 files.
(This used to be commit 9a8d50d45c352a22b9b67adb1548482ab2c3265c)
2003-03-19 03:14:28 +00:00
Martin Pool
54925dcc60 Run test 10000 times to make measurement easier.
(This used to be commit e051789ac6cc05f8a643ea81e887d3b969cf3a27)
2003-03-19 02:59:18 +00:00
Jeremy Allison
736c753841 Ensure dev in make_connection is const.
Jeremy.
(This used to be commit e8155fade61e9dc308a82f442453803160c36806)
2003-03-18 23:51:18 +00:00
Jeremy Allison
0331877348 Removed unused var.
Jeremy.
(This used to be commit fb925a72a6323d96d8fae658c4271ca05e8256de)
2003-03-18 21:25:33 +00:00
Jelmer Vernooij
2096762737 Regenerate
(This used to be commit 25db62e3101dbcae8e9daee3cb16430297afa223)
2003-03-18 16:48:14 +00:00
Jelmer Vernooij
404d5ba54d Regenerate
(This used to be commit 7affa21eb8982eeccb8852f60d3b962fc0dded67)
2003-03-18 16:38:59 +00:00
Jelmer Vernooij
b19116db97 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)
2003-03-18 16:29:57 +00:00
Jelmer Vernooij
a92806b651 - 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)
2003-03-18 15:49:05 +00:00
Jelmer Vernooij
56c5bc58c8 Put in documentation update by jht
(This used to be commit 38424c522ab2ddbf6d6c61274d692b14e574023a)
2003-03-18 12:12:39 +00:00
Jelmer Vernooij
85b5a5d427 Put in some macros for the new modules system
(This used to be commit b6272a8f18c823be3056d9f03810be75e9129cce)
2003-03-18 12:07:43 +00:00
Martin Pool
743d429d9b 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)
2003-03-18 07:31:49 +00:00
Martin Pool
6b2fb1e2fe Add t_strcmp test/torture harness.
(This used to be commit 2c17cb1bd27658ac7a72cb9eccb4b048e9d0ec5f)
2003-03-18 07:13:15 +00:00
Martin Pool
a084f06fe3 Split "clobber" function and variables into its own file before it
grows too much larger.
(This used to be commit 4bbddbfc6a97ebb11e299aa7bd07ebebeab42c65)
2003-03-18 07:09:23 +00:00
Martin Pool
6cb8656c26 Ignore t_stringoverflow binary.
(This used to be commit 195582c4cb7906ab95e47f5a2aea4ae86a7ab023)
2003-03-18 05:52:05 +00:00
Martin Pool
8cfec8554e Ignore .po and .po32 files.
(This used to be commit 8d64419625dda242fdb7a5d956644b052b43a2ea)
2003-03-18 05:51:41 +00:00
Martin Pool
c52a31b21a Comment about deprecated macro overmalloc_safe_strcpy().
(This used to be commit 5ac062580690eee9b4bd423dbb82631c0cdb8b30)
2003-03-18 05:42:53 +00:00
Martin Pool
29fa4c1631 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)
2003-03-18 05:37:23 +00:00
Martin Pool
2f07f71d78 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)
2003-03-18 05:31:52 +00:00
Martin Pool
556fea4e1e Update comment: Valgrind 1.9.4 seems to always respect client
requests, without needing --client-perms=yes.
(This used to be commit 412a8780c35ee9449c9682e3ef73afb2c4933285)
2003-03-18 05:30:15 +00:00
Martin Pool
b9a8ad5f3b Speling fixes and a little extra documentation.
(This used to be commit 8da383bb3e63d25ceb0204c775580f2f1b3336ec)
2003-03-18 05:04:44 +00:00
Martin Pool
eb83748940 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)
2003-03-18 05:00:02 +00:00
Martin Pool
1b0033dac6 Decode waitstatus values when a command fails.
(This used to be commit e1baab1ee04b27447445351d0d88b0c02a5fa85d)
2003-03-18 03:07:39 +00:00
Tim Potter
47b547c69d Added #ifdef'ed out implementation of auth_smbd python fn. Uncomment
when auth_smbd functionality merged to HEAD.
(This used to be commit 2b6d13672dc1e4a46fc2600e729c22d0ee7e534b)
2003-03-18 01:34:09 +00:00
Tim Potter
2e20359a8a Start of a unit test for info3 caching. Much unfrastructure required
before this can be fully implemented.  )-:
(This used to be commit a040a8471f884cb295100f841594d86ddf754bb6)
2003-03-18 01:32:51 +00:00
Andrew Bartlett
e0e31ca14a Add copyright.
(This used to be commit a7f9c3657ff052e382e290059f50f1d9812b8221)
2003-03-17 22:22:46 +00:00
Volker Lendecke
0a8e719a4b Fix memory leak.
Volker
(This used to be commit e8975d6e7bdcceb78a83a3446cf1430e1e3f1a72)
2003-03-17 22:09:06 +00:00
Tim Potter
4adde4c850 Added a slightly modified version of Tridge's note about securing
a Samba server.
(This used to be commit 03a227b7ee7ed6927541966ec226344cd8c88aff)
2003-03-17 11:03:29 +00:00
Tim Potter
9349b44ea7 Run autoconf. Shouldn't we have an autogen.sh here?
(This used to be commit a43fe8e5f0cc95a8fb89db4ab1ee051b8c9d1bab)
2003-03-17 11:02:54 +00:00
Andrew Bartlett
a9034ec179 Fix invalid SAFE_FREE() of talloc()ed memory.
Andrew Bartlett
(This used to be commit 21add5f97d0d112094e34a02e6319991a1d2af4d)
2003-03-17 10:59:11 +00:00
Andrew Bartlett
99e5d02f74 Brain fart - make sure we truncate the right string...
Andrew Bartlett
(This used to be commit 32eb2cdca62a784d96207507e273bbbf77b0c6c3)
2003-03-17 10:58:05 +00:00
Tim Potter
63c1aa25cf Call AC_MSG_ERROR if jw, perl or htmldoc is not installed rather than
generate a bodgy Makefile.
(This used to be commit 2842e0925debe8bfabfdf011913cf5e13e824c10)
2003-03-17 10:26:44 +00:00
Andrew Bartlett
0273df0bf7 Fix const warnings.
Andrew Bartlett
(This used to be commit fc1408d5d1a8b64dfd20268ab6f4a5f2a007614b)
2003-03-17 09:18:06 +00:00
Andrew Bartlett
1331a361bd Add const.
(This used to be commit 02f81719c7c179b61663bdf789c01ab62286fea2)
2003-03-17 09:08:34 +00:00
Andrew Bartlett
a564fed756 More statcache fixes - and add a bit more doco.
Andrew Bartlett
(This used to be commit 0e8dd52f6973ac5219e2c2dd53824de71f512083)
2003-03-17 08:03:08 +00:00
Tim Potter
1eae003fef Applied waider's patch to return DOS error codes for pipes that
support it.
(This used to be commit ac3df9a8051bd105e8e4192d36b3024fdf9f9506)
2003-03-17 05:55:41 +00:00
Tim Potter
355bea4b2c Ignore .pyc files.
(This used to be commit b20a357ac534b513383ad20046a99bb7f39bba25)
2003-03-17 05:46:54 +00:00
Andrew Bartlett
0ab29d6186 Fix a memory leak - 'smbcontrol smbd pool-usage' is your freind!
Andrew Bartlett
(This used to be commit a12e8524997e329a4f4cd766d6371e384698795a)
2003-03-17 04:42:57 +00:00
Tim Potter
077e093d8a Some cosmetic changes to make the popt --usage output look nicer.
(This used to be commit 39124b9a62e1ba0f8089c36b27d6c79352a27973)
2003-03-17 03:56:58 +00:00
Andrew Bartlett
1171b0c9ac Fix memory leaks and add parinoioa code to our stat() cache.
Andrew Bartlett
(This used to be commit 3fd07bd25eefdb2a7a6891fa1169ab2425607249)
2003-03-17 03:47:15 +00:00
Andrew Bartlett
3ecf5d6638 Missed one when I move 'share_sanity_checks' to use an fstring for 'dev'.
Andrew Bartlett
(This used to be commit a0208a4f74f9c61eb1e346d9cb62dbe00ef4c24a)
2003-03-16 22:07:36 +00:00
Andrew Bartlett
7b18c5d164 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)
2003-03-16 13:24:36 +00:00
Andrew Bartlett
c6cf087741 Add const.
(This used to be commit 5371720971bc60a4cfba0460614306f322aa10b8)
2003-03-16 13:23:12 +00:00
Andrew Bartlett
400bb4bfab - 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)
2003-03-16 13:21:12 +00:00
Andrew Bartlett
644ab8e9b1 Try to avoid dereferencing a null pointer.
Andrew Bartlett
(This used to be commit 4e96585b60512905776c2c6692c76d45241f089d)
2003-03-16 13:16:42 +00:00
Andrew Bartlett
6ba75b540f 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)
2003-03-16 13:15:29 +00:00
Andrew Bartlett
7cf0003dd2 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)
2003-03-16 03:21:58 +00:00
Andrew Bartlett
2f62a72d9a 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)
2003-03-16 02:14:05 +00:00