1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

5792 Commits

Author SHA1 Message Date
Andrew Tridgell
b2a4a62b5e fixed anonymous login in rpcclient -
Andrew Tridgell
abe01facea removed remnants of libtool -
Andrew Tridgell
29d8f9bcb3 improved the command line parsing of rpcclient -
Andrew Tridgell
001129e215 allow winbindd to run as non-root so we can test it more easily -
Andrew Tridgell
3dc9fd076a formatting fix -
Andrew Tridgell
9449544428 added sec_initial_uid() function so we can ask if a file is owned by
the initial uid
-
Andrew Tridgell
66632782c5 fixed the auto-initialisation of the iconv descriptors -
Andrew Bartlett
51903dbfee Update tests, start testing password server code, now I have it working and
know what it does...

Andrew Bartlett
-
Andrew Bartlett
04f090c224 This removes unused paramaters from various authtication functions, and should
not change behaviour.

This should make my later diffs smaller, where I actualy start cleaning up this
mess...

Andrew Bartlett
-
Andrew Bartlett
ebd2f9b07c Fix the loading of configuration files using the include syntax.
We had a problem where if a % macro in the smb.conf could be ignored if the
various files it pointed to had the same time-stamp.

This changes the code to insted check that the both the time-stamp and the
substituted filename are the same over each change.

This was picked up only becouse the build-farm automaticly generates its config
files, and hence gets identical timestamps.

(Why this doesn't happen all the time I'm not entirly sure, somthing to do with
the 'test' paramater to reload_services(), but this fixes this problem).

Andrew Bartlett
-
Andrew Tridgell
d5097b2f20 fixed some unicode and LANMAN2 bugs in trans2 find first/next -
Andrew Tridgell
dc99b9ddf8 fixed some unicode and LANMAN2 bugs in trans2 find first -
Andrew Bartlett
7a478e050f Add a new paramater: add machine script
This allows the administrator to define different scripts for adding unix users
and automaticly adding machines.  If it is not defined, it falls back to the
value of 'add user script'.

Andrew Bartlett
-
Andrew Bartlett
8df8e84144 Add backend encryption support for NTLMv2.
The leg-work for this was done by the folks at samba-tng.org, I'm just bringing
it accross to HEAD.

The MD5 implementation is seperatly derived, and does not have the copyright
problems that the one in TNG has.

Also add const to a few places where it makes sence.

Andrew Bartlett
-
Andrew Bartlett
4f7b2f51b0 You can't dump_data() a function pointer...
Andrew Bartlett
-
Andrew Bartlett
dc588ee87a Update smbtorture in line with SAMBA_2_2
Andrew Bartlett
-
Jeremy Allison
79574c07ed Password changing via PAM works now. DONT CHANGE THIS UNLESS YOU RE-TEST !!!!!!
Jeremy.
-
Andrew Tridgell
f4359b5f7f fixed strrchr_m -
Jeremy Allison
e78a114425 Don't try and open tdb secrets file in non-root/local mode.
Jeremy.
-
Jeremy Allison
ed5a1f70c6 Wrapped dlerror() in the same way as the other dlxxx() calls.
Jeremy.
-
Jeremy Allison
5059fbbb76 Added JF's fix for max_entries being 0.
Jeremy.
-
Andrew Tridgell
67ca6cd8eb formatting fixes -
Andrew Tridgell
e9c53606de check for initialisation in convert_string()
otherwise initial load in smb.conf can fail
-
Tim Potter
6b4559506d A program to display a tree of domains, servers and shares similar to the
network neighbourhood graph.  Still needs a bit of work.
-
Andrew Tridgell
95a9a1814f fixed a silly bug in the internal UTF8 implementation -
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 -