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

5867 Commits

Author SHA1 Message Date
Andrew Tridgell
4b35a3494c 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
-
Andrew Tridgell
c3a21fc0f2 got rid of insanely verbose debug messages on startup -
Andrew Tridgell
9a9da44455 fixed inetd operation as non-root -
Andrew Tridgell
25c4b3f193 added some comments and removed an unnecessary check -
Jeremy Allison
af5b649b01 Fix race where wrong action (created or opened) could be returned.
Jeremy.
-
Jeremy Allison
c8c138c1fb Fix for enumerating large numbers of users.
Jeremy.
-
Jeremy Allison
7efaefdf60 Fix for rabbit-pellet mode. Chris please test this. Thanks for Dave CB
for help on this.
Jeremy.
-
Andrew Bartlett
8452300c76 Allow user to specify CFLAGS even when using configure.developer
Andrew Bartlett
-
Andrew Tridgell
6503f53abe removed an unreachable statement -
Andrew Bartlett
805c20452e Allow us to vary the log-level, so we can run at level 1 normally,
and push it to 10 when we fail (we redo the test).

Also disable the server-level security testing till it know what it does

Andrew Bartlett
-
Andrew Tridgell
970236ee99 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?
-
Tim Potter
974790e45e Renamed formal parameter fd to fnum because we're talking about SMB file
handles, not unix ones.
-
Andrew Tridgell
fe5d38780f added line-feed at end of templates -
Andrew Tridgell
a1dee993cb fixed a bug in the parameters SMBctemp uses in open_file_shared() -
Andrew Tridgell
832a91bbe6 fixed compilation of masktest on AIX -
Andrew Tridgell
f6f9e95dd9 use alpha_strcpy on DNS names -
Andrew Tridgell
3b9eb528f5 use alpha_strcpy on the domain as it comes off the wire -
Andrew Tridgell
0c61e54f15 optimised the 7 bit case for utf8 conversion -
Andrew Tridgell
42648a7aad make sure we reset the shift state on error for charsets like SJIS -
Jean-François Micouleau
04575ff17b allow to use usrmgr/svrmgr tools in win95
pretty cool
-
Jean-François Micouleau
d39d8429d1 unicode string length is twice longer ;-) -
Andrew Tridgell
76d83e7f70 added builtin support for UTF8 -
Andrew Tridgell
bf81826851 more portability fixes -
Andrew Tridgell
7a5c24c219 portability fixes -
Andrew Tridgell
815ca75274 got rid of __FUNCTION__ debug -
Andrew Tridgell
a03992f19b fixed uninitialised variable -
Andrew Tridgell
8dbee134b9 we don't need the codepage sources any more -
Andrew Tridgell
fa18e842f8 we don't need the codepages any more -
Andrew Tridgell
57e7df8ae5 missed a couple of strchr calls -
Andrew Tridgell
c41fc06376 strchr and strrchr are macros when compiling with optimisation in gcc, so we can't redefine them. damn. -
Andrew Tridgell
debb471267 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.
-
Andrew Bartlett
cfd81e62c8 This brings HEAD into line with SAMBA_2_2, they now both use bindir.
Andrew Bartlett
-
Andrew Tridgell
1f6240daae removed some debug code -
Andrew Tridgell
657836599a check for bad usernames early in session setup -
Tim Potter
69d90a8af1 Removed bogus server_n local variable in connect_one() function. -
Jeremy Allison
8f57233c0f Ensure we correctly round down to 2 second boundary if dos filetime
set for a share.
Jeremy.
-
Jeremy Allison
5cf7bc582b Small warning removal tidyup.
Jeremy.
-
Jeremy Allison
110061ff5a Remove the exit_server() calls that stop nmbd linking.
Jeremy.
-
Jeremy Allison
e0f6863a11 Fixed warnings and made const-safe so it has the correct prototype.
Jeremy.
-
Jeremy Allison
016a97d71a Removed the default addition of /include to the directory given in
--with-sslinc. Should allow building on RH7.1 when set correctly.
Jeremy.
-
Jeremy Allison
03e1d4428e Updated to latest from gnu.org.
Jeremy.
-
Jeremy Allison
33a299a0c4 Added #define of int32 to int for cray. This will almost certainly cause
the rpc code to fail on the cray....
Jeremy.
-
Jeremy Allison
310d2af6b0 Fixed incorrect debug parameters for lock_pid.
Jeremy.
-
Tim Potter
3fd2387a95 Split pam_winbind out of WINBIND progs so it can be build separately
only if --with-pam is specified.
-
Andrew Bartlett
e77cfe1379 See if we can stick to slightly valid C..
(With thanks to tpot)

Andrew Bartlett
-
Tim Potter
0a505e50a5 Fixed incorrect comment for cli_NetServerEnum() -
Andrew Bartlett
bc6160a482 Running torture-RANDOMIPC on the build farm doesn't go down as a 'good idea' as its logsfiles are BIG! -
Andrew Tridgell
d99ce6a5e3 fixed socketpair_tcp for OpenBSD -
Tim Potter
547d63c60a Reran autoconf. -
Tim Potter
60d4261841 Fixed quoting bug - shell programming sucks. -