]>
git.ipfire.org Git - thirdparty/samba.git/log
Andrew Tridgell [Sun, 8 Jul 2001 18:23:53 +0000 (18:23 +0000)]
formatting fix
Andrew Tridgell [Sun, 8 Jul 2001 18:22:46 +0000 (18:22 +0000)]
added sec_initial_uid() function so we can ask if a file is owned by
the initial uid
Andrew Tridgell [Sun, 8 Jul 2001 18:22:04 +0000 (18:22 +0000)]
fixed the auto-initialisation of the iconv descriptors
Andrew Bartlett [Sun, 8 Jul 2001 14:24:29 +0000 (14:24 +0000)]
Update tests, start testing password server code, now I have it working and
know what it does...
Andrew Bartlett
Andrew Bartlett [Sun, 8 Jul 2001 14:10:30 +0000 (14:10 +0000)]
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 [Sun, 8 Jul 2001 13:02:16 +0000 (13:02 +0000)]
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 [Sat, 7 Jul 2001 21:24:00 +0000 (21:24 +0000)]
fixed some unicode and LANMAN2 bugs in trans2 find first/next
Andrew Tridgell [Sat, 7 Jul 2001 21:23:32 +0000 (21:23 +0000)]
fixed some unicode and LANMAN2 bugs in trans2 find first
Andrew Bartlett [Sat, 7 Jul 2001 08:45:39 +0000 (08:45 +0000)]
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 [Sat, 7 Jul 2001 07:00:15 +0000 (07:00 +0000)]
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 [Sat, 7 Jul 2001 06:44:50 +0000 (06:44 +0000)]
You can't dump_data() a function pointer...
Andrew Bartlett
Andrew Bartlett [Sat, 7 Jul 2001 06:21:32 +0000 (06:21 +0000)]
Update smbtorture in line with SAMBA_2_2
Andrew Bartlett
Jeremy Allison [Fri, 6 Jul 2001 22:54:49 +0000 (22:54 +0000)]
Password changing via PAM works now. DONT CHANGE THIS UNLESS YOU RE-TEST !!!!!!
Jeremy.
Andrew Tridgell [Fri, 6 Jul 2001 22:32:57 +0000 (22:32 +0000)]
fixed strrchr_m
Jeremy Allison [Fri, 6 Jul 2001 21:53:32 +0000 (21:53 +0000)]
Don't try and open tdb secrets file in non-root/local mode.
Jeremy.
Jeremy Allison [Fri, 6 Jul 2001 18:45:59 +0000 (18:45 +0000)]
Wrapped dlerror() in the same way as the other dlxxx() calls.
Jeremy.
Jeremy Allison [Fri, 6 Jul 2001 17:40:16 +0000 (17:40 +0000)]
Added JF's fix for max_entries being 0.
Jeremy.
Andrew Tridgell [Fri, 6 Jul 2001 11:50:45 +0000 (11:50 +0000)]
formatting fixes
Andrew Tridgell [Fri, 6 Jul 2001 11:50:07 +0000 (11:50 +0000)]
check for initialisation in convert_string()
otherwise initial load in smb.conf can fail
Tim Potter [Fri, 6 Jul 2001 10:49:34 +0000 (10:49 +0000)]
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 [Fri, 6 Jul 2001 08:59:50 +0000 (08:59 +0000)]
fixed a silly bug in the internal UTF8 implementation
Andrew Tridgell [Fri, 6 Jul 2001 04:08:24 +0000 (04:08 +0000)]
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 [Fri, 6 Jul 2001 03:18:54 +0000 (03:18 +0000)]
got rid of insanely verbose debug messages on startup
Andrew Tridgell [Fri, 6 Jul 2001 02:25:03 +0000 (02:25 +0000)]
fixed inetd operation as non-root
Andrew Tridgell [Fri, 6 Jul 2001 00:14:56 +0000 (00:14 +0000)]
added some comments and removed an unnecessary check
Jeremy Allison [Thu, 5 Jul 2001 23:37:09 +0000 (23:37 +0000)]
Fix race where wrong action (created or opened) could be returned.
Jeremy.
Jeremy Allison [Thu, 5 Jul 2001 22:36:25 +0000 (22:36 +0000)]
Fix for enumerating large numbers of users.
Jeremy.
Jeremy Allison [Thu, 5 Jul 2001 18:07:46 +0000 (18:07 +0000)]
Fix for rabbit-pellet mode. Chris please test this. Thanks for Dave CB
for help on this.
Jeremy.
Andrew Bartlett [Thu, 5 Jul 2001 12:28:01 +0000 (12:28 +0000)]
Allow user to specify CFLAGS even when using configure.developer
Andrew Bartlett
Andrew Tridgell [Thu, 5 Jul 2001 11:46:36 +0000 (11:46 +0000)]
removed an unreachable statement
Andrew Bartlett [Thu, 5 Jul 2001 11:34:50 +0000 (11:34 +0000)]
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 [Thu, 5 Jul 2001 10:33:10 +0000 (10:33 +0000)]
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 [Thu, 5 Jul 2001 08:24:03 +0000 (08:24 +0000)]
Renamed formal parameter fd to fnum because we're talking about SMB file
handles, not unix ones.
Andrew Tridgell [Thu, 5 Jul 2001 06:51:47 +0000 (06:51 +0000)]
added line-feed at end of templates
Andrew Tridgell [Thu, 5 Jul 2001 06:39:15 +0000 (06:39 +0000)]
fixed a bug in the parameters SMBctemp uses in open_file_shared()
Andrew Tridgell [Thu, 5 Jul 2001 05:53:08 +0000 (05:53 +0000)]
fixed compilation of masktest on AIX
Andrew Tridgell [Thu, 5 Jul 2001 04:44:09 +0000 (04:44 +0000)]
use alpha_strcpy on DNS names
Andrew Tridgell [Thu, 5 Jul 2001 04:34:50 +0000 (04:34 +0000)]
use alpha_strcpy on the domain as it comes off the wire
Andrew Tridgell [Thu, 5 Jul 2001 00:57:42 +0000 (00:57 +0000)]
optimised the 7 bit case for utf8 conversion
Andrew Tridgell [Thu, 5 Jul 2001 00:04:30 +0000 (00:04 +0000)]
make sure we reset the shift state on error for charsets like SJIS
Jean-François Micouleau [Wed, 4 Jul 2001 21:57:03 +0000 (21:57 +0000)]
allow to use usrmgr/svrmgr tools in win95
pretty cool
Jean-François Micouleau [Wed, 4 Jul 2001 18:57:16 +0000 (18:57 +0000)]
unicode string length is twice longer ;-)
Andrew Tridgell [Wed, 4 Jul 2001 15:08:30 +0000 (15:08 +0000)]
added builtin support for UTF8
Andrew Tridgell [Wed, 4 Jul 2001 14:41:06 +0000 (14:41 +0000)]
more portability fixes
Andrew Tridgell [Wed, 4 Jul 2001 12:16:24 +0000 (12:16 +0000)]
portability fixes
Andrew Tridgell [Wed, 4 Jul 2001 08:03:47 +0000 (08:03 +0000)]
got rid of __FUNCTION__ debug
Andrew Tridgell [Wed, 4 Jul 2001 07:50:54 +0000 (07:50 +0000)]
fixed uninitialised variable
Andrew Tridgell [Wed, 4 Jul 2001 07:42:57 +0000 (07:42 +0000)]
we don't need the codepage sources any more
Andrew Tridgell [Wed, 4 Jul 2001 07:41:37 +0000 (07:41 +0000)]
we don't need the codepages any more
Andrew Tridgell [Wed, 4 Jul 2001 07:39:01 +0000 (07:39 +0000)]
missed a couple of strchr calls
Andrew Tridgell [Wed, 4 Jul 2001 07:36:09 +0000 (07:36 +0000)]
strchr and strrchr are macros when compiling with optimisation in gcc, so we can't redefine them. damn.
Andrew Tridgell [Wed, 4 Jul 2001 07:15:53 +0000 (07:15 +0000)]
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 [Wed, 4 Jul 2001 06:31:15 +0000 (06:31 +0000)]
This brings HEAD into line with SAMBA_2_2, they now both use bindir.
Andrew Bartlett
Andrew Tridgell [Wed, 4 Jul 2001 04:39:52 +0000 (04:39 +0000)]
removed some debug code
Andrew Tridgell [Wed, 4 Jul 2001 04:17:58 +0000 (04:17 +0000)]
check for bad usernames early in session setup
Tim Potter [Wed, 4 Jul 2001 04:04:17 +0000 (04:04 +0000)]
Removed bogus server_n local variable in connect_one() function.
Jeremy Allison [Wed, 4 Jul 2001 01:01:02 +0000 (01:01 +0000)]
Ensure we correctly round down to 2 second boundary if dos filetime
set for a share.
Jeremy.
Jeremy Allison [Tue, 3 Jul 2001 22:00:11 +0000 (22:00 +0000)]
Small warning removal tidyup.
Jeremy.
Jeremy Allison [Tue, 3 Jul 2001 21:32:23 +0000 (21:32 +0000)]
Remove the exit_server() calls that stop nmbd linking.
Jeremy.
Jeremy Allison [Tue, 3 Jul 2001 21:07:26 +0000 (21:07 +0000)]
Fixed warnings and made const-safe so it has the correct prototype.
Jeremy.
Jeremy Allison [Tue, 3 Jul 2001 19:34:18 +0000 (19:34 +0000)]
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 [Tue, 3 Jul 2001 18:34:41 +0000 (18:34 +0000)]
Updated to latest from gnu.org.
Jeremy.
Jeremy Allison [Tue, 3 Jul 2001 18:33:16 +0000 (18:33 +0000)]
Added #define of int32 to int for cray. This will almost certainly cause
the rpc code to fail on the cray....
Jeremy.
Jeremy Allison [Tue, 3 Jul 2001 17:40:43 +0000 (17:40 +0000)]
Fixed incorrect debug parameters for lock_pid.
Jeremy.
Tim Potter [Tue, 3 Jul 2001 06:46:37 +0000 (06:46 +0000)]
Split pam_winbind out of WINBIND progs so it can be build separately
only if --with-pam is specified.
Andrew Bartlett [Tue, 3 Jul 2001 04:29:50 +0000 (04:29 +0000)]
See if we can stick to slightly valid C..
(With thanks to tpot)
Andrew Bartlett
Tim Potter [Tue, 3 Jul 2001 04:09:09 +0000 (04:09 +0000)]
Fixed incorrect comment for cli_NetServerEnum()
Andrew Bartlett [Tue, 3 Jul 2001 04:06:10 +0000 (04:06 +0000)]
Running torture-RANDOMIPC on the build farm doesn't go down as a 'good idea' as its logsfiles are BIG!
Andrew Tridgell [Tue, 3 Jul 2001 03:56:49 +0000 (03:56 +0000)]
fixed socketpair_tcp for OpenBSD
Tim Potter [Tue, 3 Jul 2001 02:46:50 +0000 (02:46 +0000)]
Reran autoconf.
Tim Potter [Tue, 3 Jul 2001 02:27:17 +0000 (02:27 +0000)]
Fixed quoting bug - shell programming sucks.
Jeremy Allison [Tue, 3 Jul 2001 01:01:12 +0000 (01:01 +0000)]
Adding Michael Sweet's LSB packaging.
Jeremy.
Simo Sorce [Tue, 3 Jul 2001 00:54:55 +0000 (00:54 +0000)]
- sorry, forgot to check a pointer
Jeremy Allison [Tue, 3 Jul 2001 00:52:56 +0000 (00:52 +0000)]
Applied Michael Sweet's patch, with one minor signal change.
Jeremy.
Simo Sorce [Tue, 3 Jul 2001 00:23:38 +0000 (00:23 +0000)]
- sorry, forgot to test a pointer
Jeremy Allison [Mon, 2 Jul 2001 22:17:58 +0000 (22:17 +0000)]
Made talloc_realloc() semantics match realloc(). JF was complaining :-).
realloc(NULL) == malloc. realloc(p,0) == free() - a no-op in talloc.
Jeremy.
Jeremy Allison [Mon, 2 Jul 2001 21:56:20 +0000 (21:56 +0000)]
Missing prs_align() was causing Win9x nexus tools to fail. security_info_sent
was being miss-parsed.
Jeremy.
Jeremy Allison [Mon, 2 Jul 2001 21:23:13 +0000 (21:23 +0000)]
Fixed auto-alloc of dispinfo code when unmarshalling.
Jeremy.
Jeremy Allison [Mon, 2 Jul 2001 18:37:39 +0000 (18:37 +0000)]
Fixed extra file_free calls - my fault :-(.
Jeremy.
Christopher R. Hertel [Mon, 2 Jul 2001 16:25:00 +0000 (16:25 +0000)]
Very minor cleanup. I was looking for another problem and found some bits
of code that were unclear.
Chris -)-----
Andrew Bartlett [Mon, 2 Jul 2001 13:43:46 +0000 (13:43 +0000)]
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
Andrew Bartlett [Mon, 2 Jul 2001 09:10:32 +0000 (09:10 +0000)]
Fix the torture test, we had the wrong file-name in the tests
Andrew Bartlett
Tim Potter [Mon, 2 Jul 2001 09:10:15 +0000 (09:10 +0000)]
Re-ran configure.
Tim Potter [Mon, 2 Jul 2001 08:58:57 +0000 (08:58 +0000)]
Only build the pam_winbind module if --with-pam used.
Replaced extra shell variable with_pam_for_crypto with a check against
$with_pam
Andrew Bartlett [Mon, 2 Jul 2001 07:20:00 +0000 (07:20 +0000)]
We need strict locking to pass LOCK4
Andrew Bartlett
Andrew Bartlett [Mon, 2 Jul 2001 07:18:49 +0000 (07:18 +0000)]
Start of smbtorture based testing. Not all of smbtorture's facilites
are used, but these ones should pass.
Andrew Bartlett
Andrew Bartlett [Mon, 2 Jul 2001 04:47:55 +0000 (04:47 +0000)]
Not all OSs have setbuffer, so we better check for it.
Andrew Bartlett
Andrew Bartlett [Mon, 2 Jul 2001 03:21:17 +0000 (03:21 +0000)]
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
Jeremy Allison [Mon, 2 Jul 2001 02:42:41 +0000 (02:42 +0000)]
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.
Jeremy Allison [Mon, 2 Jul 2001 00:33:15 +0000 (00:33 +0000)]
Insure caught the fact that PTRDIFFs were being done between two unrelated
pointers.
Jeremy.
Simo Sorce [Sun, 1 Jul 2001 23:24:08 +0000 (23:24 +0000)]
"netbios aliases" and "interfaces" options change from P_STRING to P_LIST
Jeremy Allison [Sun, 1 Jul 2001 20:01:32 +0000 (20:01 +0000)]
Fix for building --with-profile for new vfscalls.
Jeremy.
Andrew Tridgell [Sun, 1 Jul 2001 13:18:35 +0000 (13:18 +0000)]
cli_read() was reading too many bytes.
Simo Sorce [Sun, 1 Jul 2001 10:39:37 +0000 (10:39 +0000)]
- fix bug in reply_nt- fix bug in reply_nt1
Richard Sharpe [Sat, 30 Jun 2001 11:08:06 +0000 (11:08 +0000)]
Make sure we compile with gcc by default.
Richard Sharpe [Sat, 30 Jun 2001 04:01:51 +0000 (04:01 +0000)]
Add a static linking target to the examples Makefile so I can test out static linking ...
Jeremy Allison [Sat, 30 Jun 2001 03:11:44 +0000 (03:11 +0000)]
Ensure we return correct error on trying to unlock a region not locked.
Jeremy.
Richard Sharpe [Sat, 30 Jun 2001 03:01:09 +0000 (03:01 +0000)]
Fix another small problem with Makefile.in ... not doing the correct
check for whether or not we should build a shared library.
Andrew Bartlett [Sat, 30 Jun 2001 02:45:16 +0000 (02:45 +0000)]
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
Jeremy Allison [Sat, 30 Jun 2001 01:59:48 +0000 (01:59 +0000)]
Fixed the first locking error (test #8 found by locktest code from
Clarion locktest.
Jeremy.