Andrew Tridgell
527e824293
strchr and strrchr are macros when compiling with optimisation in gcc, so we can't redefine them. damn.
...
(This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04 07:36:09 +00:00
Andrew Tridgell
87fbb7092b
The big character set handling changeover!
...
This commit gets rid of all our old codepage handling and replaces it with
iconv. All internal strings in Samba are now in "unix" charset, which may
be multi-byte. See internals.doc and my posting to samba-technical for
a more complete explanation.
(This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-07-04 07:15:53 +00:00
Andrew Bartlett
9e9e73303e
This brings HEAD into line with SAMBA_2_2, they now both use bindir.
...
Andrew Bartlett
(This used to be commit cfd81e62c81dcb114e2c9f917a01168273bf75b0)
2001-07-04 06:31:15 +00:00
Andrew Tridgell
a594519d28
removed some debug code
...
(This used to be commit 1f6240daae4c5503d6fbb846d89cae986e010fc8)
2001-07-04 04:39:52 +00:00
Andrew Tridgell
59db9bcbf0
check for bad usernames early in session setup
...
(This used to be commit 657836599a847578096696af27cd7c9f0d52c931)
2001-07-04 04:17:58 +00:00
Tim Potter
d972dc06a1
Removed bogus server_n local variable in connect_one() function.
...
(This used to be commit 69d90a8af167d53ebdb6d7aeef41b28b672288d1)
2001-07-04 04:04:17 +00:00
Jeremy Allison
17a0a89c79
Ensure we correctly round down to 2 second boundary if dos filetime
...
set for a share.
Jeremy.
(This used to be commit 8f57233c0f871763bc3657d754c894dbd29ae501)
2001-07-04 01:01:02 +00:00
Jeremy Allison
4a6ef39261
Small warning removal tidyup.
...
Jeremy.
(This used to be commit 5cf7bc582bc2dc4fa7be43d87c81e94f6dd00573)
2001-07-03 22:00:11 +00:00
Jeremy Allison
b96c379dae
Remove the exit_server() calls that stop nmbd linking.
...
Jeremy.
(This used to be commit 110061ff5a0de7a5d7c5ee003d85d4d600c2531c)
2001-07-03 21:32:23 +00:00
Jeremy Allison
c5bcad8385
Fixed warnings and made const-safe so it has the correct prototype.
...
Jeremy.
(This used to be commit e0f6863a1155db5206c103c29dc597d7c297ec11)
2001-07-03 21:07:26 +00:00
Jeremy Allison
7ede14a3a7
Removed the default addition of /include to the directory given in
...
--with-sslinc. Should allow building on RH7.1 when set correctly.
Jeremy.
(This used to be commit 016a97d71aa1ac9de782248c645aecbf22ed647b)
2001-07-03 19:34:18 +00:00
Jeremy Allison
75601664bd
Updated to latest from gnu.org.
...
Jeremy.
(This used to be commit 03e1d4428e6efb3f231cdfc6820fe5039b3ef494)
2001-07-03 18:34:41 +00:00
Jeremy Allison
1b5af57b2f
Added #define of int32 to int for cray. This will almost certainly cause
...
the rpc code to fail on the cray....
Jeremy.
(This used to be commit 33a299a0c42bb7090e2030fb1e5cafdf07346bc6)
2001-07-03 18:33:16 +00:00
Jeremy Allison
0eb28dc851
Fixed incorrect debug parameters for lock_pid.
...
Jeremy.
(This used to be commit 310d2af6b0797cbd4f776b5c6c5b90a5d86b1aa9)
2001-07-03 17:40:43 +00:00
Tim Potter
23d4aec48c
Split pam_winbind out of WINBIND progs so it can be build separately
...
only if --with-pam is specified.
(This used to be commit 3fd2387a952484c27c580c896b6bc1456aa96365)
2001-07-03 06:46:37 +00:00
Andrew Bartlett
983d841e36
See if we can stick to slightly valid C..
...
(With thanks to tpot)
Andrew Bartlett
(This used to be commit e77cfe1379d92d2be4e2895454e14d11311a913d)
2001-07-03 04:29:50 +00:00
Tim Potter
75e33b7803
Fixed incorrect comment for cli_NetServerEnum()
...
(This used to be commit 0a505e50a5059930de6583918f25ef84af53de0e)
2001-07-03 04:09:09 +00:00
Andrew Bartlett
592e237876
Running torture-RANDOMIPC on the build farm doesn't go down as a 'good idea' as its logsfiles are BIG!
...
(This used to be commit bc6160a48282f026845476e632fe365ff2fd63d2)
2001-07-03 04:06:10 +00:00
Andrew Tridgell
b470d157cd
fixed socketpair_tcp for OpenBSD
...
(This used to be commit d99ce6a5e3455ed38ca3c1ac676b5048edf8c706)
2001-07-03 03:56:49 +00:00
Tim Potter
f97323dc9a
Reran autoconf.
...
(This used to be commit 547d63c60a9c0588d5263d5c0384e0198aa18be9)
2001-07-03 02:46:50 +00:00
Tim Potter
8f186886aa
Fixed quoting bug - shell programming sucks.
...
(This used to be commit 60d42618416295a8fc25a461a8b4783bb219d6a7)
2001-07-03 02:27:17 +00:00
Jeremy Allison
eae35e8f00
Adding Michael Sweet's LSB packaging.
...
Jeremy.
(This used to be commit 90985da62f733bed550ef326359bdbb8631ea554)
2001-07-03 01:01:12 +00:00
Simo Sorce
9b70d328cb
- sorry, forgot to check a pointer
...
(This used to be commit 4e0299d4c091bc4a63740f12588675507601e8cd)
2001-07-03 00:54:55 +00:00
Jeremy Allison
6daea198a8
Applied Michael Sweet's patch, with one minor signal change.
...
Jeremy.
(This used to be commit 8d1dab74c26d25938de14b34b383890731e9ebd0)
2001-07-03 00:52:56 +00:00
Simo Sorce
89ee12d373
- sorry, forgot to test a pointer
...
(This used to be commit 1aef52245229741bc24c3e8147fa86eaa20fe9b2)
2001-07-03 00:23:38 +00:00
Jeremy Allison
d6d9375efd
Made talloc_realloc() semantics match realloc(). JF was complaining :-).
...
realloc(NULL) == malloc. realloc(p,0) == free() - a no-op in talloc.
Jeremy.
(This used to be commit 1ab31e5db53bc839d2785cce4d3c739c8004bbf6)
2001-07-02 22:17:58 +00:00
Jeremy Allison
6780f050e1
Missing prs_align() was causing Win9x nexus tools to fail. security_info_sent
...
was being miss-parsed.
Jeremy.
(This used to be commit 1685e41da04f1fbbab036e194ce1b1e7ba9fef86)
2001-07-02 21:56:20 +00:00
Jeremy Allison
3d90180af4
Fixed auto-alloc of dispinfo code when unmarshalling.
...
Jeremy.
(This used to be commit d4872c94c2e6b63be0fb12e5dd2d0459fda54959)
2001-07-02 21:23:13 +00:00
Jeremy Allison
ed2fc96222
Fixed extra file_free calls - my fault :-(.
...
Jeremy.
(This used to be commit 2f8b84bda040edc87a7af29c3a281cf335e392cb)
2001-07-02 18:37:39 +00:00
Christopher R. Hertel
56b2a0c114
Very minor cleanup. I was looking for another problem and found some bits
...
of code that were unclear.
Chris -)-----
(This used to be commit c2977be3408645499915d728538ba2c65b97614f)
2001-07-02 16:25:00 +00:00
Andrew Bartlett
e682d6d54e
This fix from Eelco Vriezekolk <eelco@nexus.com.na> is for a SIG11 bug where we
...
would always file_free(fsp) twice, once in close_file and once afterwoulds.
The bug was reported in SAMBA_2_2, but a code inspection shows it to be in HEAD
as well. (Unfortunetly I don't have the facilites to actualy check this, but
the change is quite simple, makes sence and compiles).
Andrew Bartlett
(This used to be commit 5d3f622375842961a79536d36ee6f6ad508b91f1)
2001-07-02 13:43:46 +00:00
Andrew Bartlett
b07605976a
Fix the torture test, we had the wrong file-name in the tests
...
Andrew Bartlett
(This used to be commit d04ea88b5d4b010d77dec45104dcf6a2b5a071f2)
2001-07-02 09:10:32 +00:00
Tim Potter
6daaa1d29e
Re-ran configure.
...
(This used to be commit 33f668b137054f3eb768036398693a3b754158c3)
2001-07-02 09:10:15 +00:00
Tim Potter
e3284c5c12
Only build the pam_winbind module if --with-pam used.
...
Replaced extra shell variable with_pam_for_crypto with a check against
$with_pam
(This used to be commit 9db0332954e8b37fa5162b26d78de42a7fa533ae)
2001-07-02 08:58:57 +00:00
Andrew Bartlett
61b1874105
We need strict locking to pass LOCK4
...
Andrew Bartlett
(This used to be commit 584a14a2163a22d6a532c926040f4f9bcc34463d)
2001-07-02 07:20:00 +00:00
Andrew Bartlett
e3d6627f05
Start of smbtorture based testing. Not all of smbtorture's facilites
...
are used, but these ones should pass.
Andrew Bartlett
(This used to be commit eee251f71071034b6d1a74d192cdabe8e24dc08b)
2001-07-02 07:18:49 +00:00
Andrew Bartlett
d2af8d03ab
Not all OSs have setbuffer, so we better check for it.
...
Andrew Bartlett
(This used to be commit aa5708de69a71e6b41a12f63550fae94f2481742)
2001-07-02 04:47:55 +00:00
Andrew Bartlett
be242703e1
Make smbtorture return status values for use in the build_farm tests.
...
This should not have changed behaviour, and it has been tested.
Andrew Bartlett
(This used to be commit a73aefef09804bf95eec1449f75adc5ff5e032d0)
2001-07-02 03:21:17 +00:00
Jeremy Allison
5b69009b25
Fixed the nastiest locking bug to track down.... smb_pids are sent in the
...
lockingX calls - use that instead of smb_pid in the packet.
Jeremy.
(This used to be commit a3925cb9c6303ce24e5fecad6c8f3a0ba78b9ee0)
2001-07-02 02:42:41 +00:00
Jeremy Allison
82b76931cb
Insure caught the fact that PTRDIFFs were being done between two unrelated
...
pointers.
Jeremy.
(This used to be commit 15c64199cb29e2fca6ee7353673dbb3f962e0e24)
2001-07-02 00:33:15 +00:00
Simo Sorce
ef6c9d7425
"netbios aliases" and "interfaces" options change from P_STRING to P_LIST
...
(This used to be commit db36ed1d80fcbee16d0a0b5f226e56961f3bf1ec)
2001-07-01 23:24:08 +00:00
Jeremy Allison
2e181c76c4
Fix for building --with-profile for new vfscalls.
...
Jeremy.
(This used to be commit 33dc250ebb389f331cecf47101cf13c630be3a11)
2001-07-01 20:01:32 +00:00
Andrew Tridgell
4592d107fc
cli_read() was reading too many bytes.
...
(This used to be commit ba79d2a030b9ae087f0cc4248baa6cf6bee112fb)
2001-07-01 13:18:35 +00:00
Simo Sorce
247acd5521
- fix bug in reply_nt- fix bug in reply_nt1
...
(This used to be commit 200110a3b4caeb0d8be87f02476af29165e35ada)
2001-07-01 10:39:37 +00:00
Richard Sharpe
9178d7591b
Make sure we compile with gcc by default.
...
(This used to be commit 93c45024cdbbf51322106e2a5961db8c09618833)
2001-06-30 11:08:06 +00:00
Richard Sharpe
89cf219717
Add a static linking target to the examples Makefile so I can test out static linking ...
...
(This used to be commit 9627bace72eb3be322f8895b055a31768e551136)
2001-06-30 04:01:51 +00:00
Jeremy Allison
064b4904f9
Ensure we return correct error on trying to unlock a region not locked.
...
Jeremy.
(This used to be commit 015a077acc49e59179dc10256fd32166ee4623e2)
2001-06-30 03:11:44 +00:00
Richard Sharpe
6db4e76120
Fix another small problem with Makefile.in ... not doing the correct
...
check for whether or not we should build a shared library.
(This used to be commit 09837044a2aa47a61d635316afa38645855db512)
2001-06-30 03:01:09 +00:00
Andrew Bartlett
13bd0453ee
This should return the build to normallity.
...
When you update an #ifdef'ed function, also update its matching null function
or all hell breaks loose on the build farm!
Andrew Bartlett
(This used to be commit 58b981a56f99bce0e98c9e1752c99a69e3cb2a25)
2001-06-30 02:45:16 +00:00
Jeremy Allison
d1f38ac531
Fixed the first locking error (test #8 found by locktest code from
...
Clarion locktest.
Jeremy.
(This used to be commit 5c42845b5bb6fafd0ebf93fbdd23d9bf861da865)
2001-06-30 01:59:48 +00:00