1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-20 14:03:59 +03:00

4969 Commits

Author SHA1 Message Date
Andrew Bartlett
1c3c995221 You can't dump_data() a function pointer...
Andrew Bartlett
(This used to be commit 4f7b2f51b071ee02b9a2ac7decd9fa7d9e078c1a)
2001-07-07 06:44:50 +00:00
Andrew Bartlett
cd41846aa5 Update smbtorture in line with SAMBA_2_2
Andrew Bartlett
(This used to be commit dc588ee87ae16e207324d42f926d7889b70362de)
2001-07-07 06:21:32 +00:00
Jeremy Allison
429b3c3cc5 Password changing via PAM works now. DONT CHANGE THIS UNLESS YOU RE-TEST !!!!!!
Jeremy.
(This used to be commit 79574c07ed5de7194a17c9ee8d189370d8e42bcc)
2001-07-06 22:54:49 +00:00
Andrew Tridgell
a732bcd9d2 fixed strrchr_m
(This used to be commit f4359b5f7ff891d7fcb5772b589756376ae5d412)
2001-07-06 22:32:57 +00:00
Jeremy Allison
da9fb5ba38 Don't try and open tdb secrets file in non-root/local mode.
Jeremy.
(This used to be commit e78a114425129d980f79db812dbea368123913ed)
2001-07-06 21:53:32 +00:00
Jeremy Allison
9df203f876 Wrapped dlerror() in the same way as the other dlxxx() calls.
Jeremy.
(This used to be commit ed5a1f70c6d155788b62e9e6e8c5d97a5ca0858d)
2001-07-06 18:45:59 +00:00
Jeremy Allison
df68e652d6 Added JF's fix for max_entries being 0.
Jeremy.
(This used to be commit 5059fbbb76ffa24658a878080a36e355df4894f5)
2001-07-06 17:40:16 +00:00
Andrew Tridgell
6bd8340781 formatting fixes
(This used to be commit 67ca6cd8eb20621d3f5926e19822b479ac80cb9c)
2001-07-06 11:50:45 +00:00
Andrew Tridgell
c5cc721dc3 check for initialisation in convert_string()
otherwise initial load in smb.conf can fail
(This used to be commit e9c53606de237f91712bb9d2a9fdf84b80bce38d)
2001-07-06 11:50:07 +00:00
Tim Potter
2036ce8a5d A program to display a tree of domains, servers and shares similar to the
network neighbourhood graph.  Still needs a bit of work.
(This used to be commit 6b4559506d1434e6114d9707dd11fdc8ee8d54be)
2001-07-06 10:49:34 +00:00
Andrew Tridgell
4b7c807085 fixed a silly bug in the internal UTF8 implementation
(This used to be commit 95a9a1814f1a1ac07c316cc920c7493a86d5a09b)
2001-07-06 08:59:50 +00:00
Andrew Tridgell
7a58c800ed fixed bug where we looked at the first byte of a password to determine
if the password is blank. That ain't valid with encrypted passwords!

Jeremy, this changes the semantics of session setup. We no longer
automatically set guest=True when the client happens to choose their
username == the guest username. Instead we rely on the map_to_guest
code. I'm pretty sure this is now the right thing, but please look at
it carefully before putting it in 2.2

This is the bug that was causing the build farm to sometimes
fail. Basically we failed every 256 attempts - ie. when the first byte
of the encrypted password happened to be 0
(This used to be commit 4b35a3494c53fe38532fc12cf1c57e1a3715ad0f)
2001-07-06 04:08:24 +00:00
Andrew Tridgell
2251221550 got rid of insanely verbose debug messages on startup
(This used to be commit c3a21fc0f21b3f493031cb0c9a6a990528b276d9)
2001-07-06 03:18:54 +00:00
Andrew Tridgell
85a310c7f3 fixed inetd operation as non-root
(This used to be commit 9a9da44455fc35cb9b1625ffefd12a9c5fe48d6b)
2001-07-06 02:25:03 +00:00
Andrew Tridgell
9a0397cf69 added some comments and removed an unnecessary check
(This used to be commit 25c4b3f19315bdef57041da79c12271b72015701)
2001-07-06 00:14:56 +00:00
Jeremy Allison
aa91def29f Fix race where wrong action (created or opened) could be returned.
Jeremy.
(This used to be commit af5b649b017f703a14a69f77a9067efb9c6a8269)
2001-07-05 23:37:09 +00:00
Jeremy Allison
3a40f80a94 Fix for enumerating large numbers of users.
Jeremy.
(This used to be commit c8c138c1fbb49799a2dd4c6e781bd89f51c0c0c5)
2001-07-05 22:36:25 +00:00
Jeremy Allison
aff5f5c158 Fix for rabbit-pellet mode. Chris please test this. Thanks for Dave CB
for help on this.
Jeremy.
(This used to be commit 7efaefdf60e1880cf4ab97e1901248abd00acd79)
2001-07-05 18:07:46 +00:00
Andrew Bartlett
34b8f0b33d Allow user to specify CFLAGS even when using configure.developer
Andrew Bartlett
(This used to be commit 8452300c769b2b046fc4b2fd078e7da0b93cd316)
2001-07-05 12:28:01 +00:00
Andrew Tridgell
ca3b64fca4 removed an unreachable statement
(This used to be commit 6503f53abe2642b002d8c9c64a2e0534c2b39b8c)
2001-07-05 11:46:36 +00:00
Andrew Tridgell
c9291d02c1 this fixes the failure of MS office on VFAT partitions on Linux
The problem is that ftruncate can't expand on VFAT, but it can on
ext2. That means our autoconf test is useless. I have recoded it to
use the alternative to ftruncate when then sys_ftruncate fails.

Jeremy, do you want this for 2.2.1?
(This used to be commit 970236ee9926b64c0b39bd8a36b2a9317206873c)
2001-07-05 10:33:10 +00:00
Tim Potter
005582d1b5 Renamed formal parameter fd to fnum because we're talking about SMB file
handles, not unix ones.
(This used to be commit 974790e45e6774a0e8ca3f8bb73ea941457e0866)
2001-07-05 08:24:03 +00:00
Andrew Tridgell
8ffcec213e fixed a bug in the parameters SMBctemp uses in open_file_shared()
(This used to be commit a1dee993cbf52e7232b65323430c8574843eb168)
2001-07-05 06:39:15 +00:00
Andrew Tridgell
6668abac5e fixed compilation of masktest on AIX
(This used to be commit 832a91bbe643ba816407965863b8fa3bb5b8730c)
2001-07-05 05:53:08 +00:00
Andrew Tridgell
61e6d867c4 use alpha_strcpy on DNS names
(This used to be commit f6f9e95dd9254c6aad19d4fa1ff891bfa33070b6)
2001-07-05 04:44:09 +00:00
Andrew Tridgell
55bd0867d8 use alpha_strcpy on the domain as it comes off the wire
(This used to be commit 3b9eb528f56b325399e5a4588242bb6d9f9226e2)
2001-07-05 04:34:50 +00:00
Andrew Tridgell
fb50cf54e5 optimised the 7 bit case for utf8 conversion
(This used to be commit 0c61e54f152eca6b7607fcce9ea512bc60a19060)
2001-07-05 00:57:42 +00:00
Andrew Tridgell
ee3119cee6 make sure we reset the shift state on error for charsets like SJIS
(This used to be commit 42648a7aada48220fdfaf6acfe95b9614122f1da)
2001-07-05 00:04:30 +00:00
Jean-François Micouleau
6b97f76be8 allow to use usrmgr/svrmgr tools in win95
pretty cool
(This used to be commit 04575ff17b9b5fe802e66bb8dd1948317ab35485)
2001-07-04 21:57:03 +00:00
Jean-François Micouleau
0a33bdc7bd unicode string length is twice longer ;-)
(This used to be commit d39d8429d1cb8a976022ae92a1ce551f7d876aff)
2001-07-04 18:57:16 +00:00
Andrew Tridgell
22325f6fdb added builtin support for UTF8
(This used to be commit 76d83e7f704cf016308dccaad9bc42d57db97686)
2001-07-04 15:08:30 +00:00
Andrew Tridgell
681c3100ed more portability fixes
(This used to be commit bf818268516cfbebcdeacbb0528395e9bbb8e442)
2001-07-04 14:41:06 +00:00
Andrew Tridgell
33b550e47b portability fixes
(This used to be commit 7a5c24c219d8b19f2c3cd11fdde3ebcede0646a2)
2001-07-04 12:16:24 +00:00
Andrew Tridgell
f51260a65e got rid of __FUNCTION__ debug
(This used to be commit 815ca752744c2ae93390445f4bb6532d396bbc59)
2001-07-04 08:03:47 +00:00
Andrew Tridgell
0225d0c26d fixed uninitialised variable
(This used to be commit a03992f19b268ca212ada5869c6fc93da5ac3c35)
2001-07-04 07:50:54 +00:00
Andrew Tridgell
749bf905d5 we don't need the codepage sources any more
(This used to be commit 8dbee134b99c8f87e6e591ffd52edd1f71c0aaec)
2001-07-04 07:42:57 +00:00
Andrew Tridgell
7e288e8325 we don't need the codepages any more
(This used to be commit fa18e842f8f8f7d7f7a0674cdf375b398f655745)
2001-07-04 07:41:37 +00:00
Andrew Tridgell
5a2b87d810 missed a couple of strchr calls
(This used to be commit 57e7df8ae58020ab653307c1fdfbadd44983e900)
2001-07-04 07:39:01 +00:00
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