Steve French [Fri, 24 Oct 2003 19:34:12 +0000 (19:34 +0000)]
Fix spurious check of unix home directory during session_setup when add user script not configured
Gerald Carter [Fri, 22 Aug 2003 12:52:42 +0000 (12:52 +0000)]
ensure that 'available = no' works for [homes]; reported by Walter Haidinger
Jeremy Allison [Fri, 20 Jun 2003 17:43:12 +0000 (17:43 +0000)]
Back port of the delete readonly fix from tridge.
Jeremy.
Jeremy Allison [Fri, 6 Jun 2003 18:47:24 +0000 (18:47 +0000)]
Fixup RT signal allocation. From 3.0.
Jeremy.
John Terpstra [Wed, 4 Jun 2003 13:29:32 +0000 (13:29 +0000)]
Fix typos.
Jeremy Allison [Thu, 29 May 2003 01:20:22 +0000 (01:20 +0000)]
Back-port of merge from Volker.
Jeremy.
Jeremy Allison [Thu, 22 May 2003 20:36:17 +0000 (20:36 +0000)]
Fix potential core dump with 'stat' opens.
Jeremy.
Jeremy Allison [Wed, 21 May 2003 06:49:41 +0000 (06:49 +0000)]
Merge tridge's old protocol fix back for 2.x.
Jeremy
Jeremy Allison [Sat, 17 May 2003 01:34:39 +0000 (01:34 +0000)]
Fix for bugid #82 (missing null check in rpcstr_pull destination).
Jeremy.
Jeremy Allison [Sat, 10 May 2003 02:05:44 +0000 (02:05 +0000)]
Fix from Tom.Lackemann@falconstor.com to correctly set the flags based
on the security entries sent.
Jeremy.
Jeremy Allison [Sat, 10 May 2003 00:35:35 +0000 (00:35 +0000)]
Optimisation. We don't need to do 2 strlen's when we're setting the stat
struct in the correct place.
Jeremy.
Jeremy Allison [Sat, 10 May 2003 00:33:14 +0000 (00:33 +0000)]
Fix for possible segfault in readline handler. Found by vitalyb@mail333.com.
Jeremy.
Gerald Carter [Fri, 9 May 2003 21:31:23 +0000 (21:31 +0000)]
fix bug #7; bad offset when retreiving the lanman string
Jeremy Allison [Fri, 9 May 2003 01:06:39 +0000 (01:06 +0000)]
Fix nasty bug pointed out by samba-technical poster. If name is mangled
then we weren't always correctly detecting that it had a valid stat struct
and so might now return a 'file existed'. Finally realized this when installing
the W2K resource kit as a test case.
Jeremy.
Jeremy Allison [Wed, 7 May 2003 22:19:53 +0000 (22:19 +0000)]
SMB_QUERY_FILE_ALT_NAME_INFO and SMB_FILE_ALTERNATE_NAME_INFORMATION
are identical - noticed by "Dr. Tilo Levante" <tilo@levante.de>.
Jeremy.
Jeremy Allison [Wed, 7 May 2003 01:49:36 +0000 (01:49 +0000)]
uint -> uint32 (noticed by Joachim Schmitz).
Jeremy.
Jeremy Allison [Wed, 7 May 2003 01:00:55 +0000 (01:00 +0000)]
We used to use the name "*",0x0 here, but some Windows
servers don't answer that name. However we *know* they
have the name workgroup#1b (as we just looked it up).
So do the node status request on this name instead.
Found at LBL labs.
Jeremy.
Volker Lendecke [Tue, 29 Apr 2003 16:10:03 +0000 (16:10 +0000)]
This adds the 'socket address' hack to nmbd. Jerry, could you please
review my addition to smb.conf.5 and then re-gen the docs?
Volker
Gerald Carter [Sat, 26 Apr 2003 16:19:17 +0000 (16:19 +0000)]
round three of CIDR fixes; spotted by Tomoki AONO
Jeremy Allison [Fri, 25 Apr 2003 18:00:48 +0000 (18:00 +0000)]
Fixup use of fchmod and setgroups on systems that don't have them.
Jeremy.
Jeremy Allison [Thu, 24 Apr 2003 17:11:06 +0000 (17:11 +0000)]
Bug report from Joachim Schmitz jojo@schmitz-digital.de. Don't call
sys_setgroups if we don't have it.
Jeremy.
Shirish Kalele [Wed, 23 Apr 2003 19:04:40 +0000 (19:04 +0000)]
For deep referrals, track consumed path using a counter, and calculate the
consumed count only if and when it is needed. Check into SAMBA_2_2.
Jeremy Allison [Tue, 22 Apr 2003 17:31:47 +0000 (17:31 +0000)]
Add runtime tests for "impossible" case with -DDEVELOPER. Trying to catch logic
error on Linux.
Jeremy.
Gerald Carter [Tue, 22 Apr 2003 16:48:17 +0000 (16:48 +0000)]
update copyright notice that is written to the logs
Jeremy Allison [Tue, 22 Apr 2003 01:13:20 +0000 (01:13 +0000)]
Tidyups of some dubious logic discovered whilst trying to track down a
strange oplock related issue on the PSA.
Jeremy.
Gerald Carter [Fri, 18 Apr 2003 14:57:25 +0000 (14:57 +0000)]
fix byte ordering when using CIDR notation in hosts allow/deny; spotted by Eloy Paris
Jeremy Allison [Mon, 14 Apr 2003 10:40:32 +0000 (10:40 +0000)]
Fix _smb_setlen to be non {} safe.
Jeremy.
Gerald Carter [Fri, 11 Apr 2003 14:10:32 +0000 (14:10 +0000)]
workaround streams leak on SCO openserver 5.0.x
Simo Sorce [Fri, 11 Apr 2003 10:26:05 +0000 (10:26 +0000)]
Fix error in schema.
Thanks to Alex Danoyan from Novell
Shirish Kalele [Thu, 10 Apr 2003 19:51:31 +0000 (19:51 +0000)]
Handle deep referrals: check whether each component in the requested path of a dfs referral is a dfs link and redirect.
Simo Sorce [Thu, 10 Apr 2003 09:39:53 +0000 (09:39 +0000)]
add "Creator Group" as known SID name, otherwise smbcacls run against a
samba server will give back "\" as ACL user name ...
Jeremy Allison [Wed, 9 Apr 2003 22:49:49 +0000 (22:49 +0000)]
Ensure we have WinXP-like semantics for checking TIDs and FIDs.
Jeremy.
Gerald Carter [Wed, 9 Apr 2003 04:28:21 +0000 (04:28 +0000)]
fix restart option (noticed by Stanford K. Baldwin)
Gerald Carter [Tue, 8 Apr 2003 14:03:17 +0000 (14:03 +0000)]
reran autoconf
Gerald Carter [Tue, 8 Apr 2003 14:01:09 +0000 (14:01 +0000)]
oopss. message for previous commit should have been
* smbpasswd : s/getpass/get_pass/
* add EXEEXT patches from Paul Green
Gerald Carter [Tue, 8 Apr 2003 13:45:27 +0000 (13:45 +0000)]
Makefile.in
Gerald Carter [Mon, 7 Apr 2003 15:15:54 +0000 (15:15 +0000)]
syncing with release branch (includes trans2 fixes)
Herb Lewis [Sat, 5 Apr 2003 00:57:19 +0000 (00:57 +0000)]
copy released version here
Jeremy Allison [Fri, 4 Apr 2003 21:58:30 +0000 (21:58 +0000)]
Re-fix regression noticed by Tom Schaefer <tom@umsl.edu> due to
correct delete on close semantics change.
Jeremy.
Richard Sharpe [Fri, 4 Apr 2003 21:03:15 +0000 (21:03 +0000)]
Add some castiness for Don McCall ...
Jeremy Allison [Fri, 4 Apr 2003 20:04:56 +0000 (20:04 +0000)]
Fix for very subtle POSIX lock interaction race condition found by
Herb. We need to unlock POSIX locks before notifying pending lock
processes.
Jeremy.
Gerald Carter [Tue, 1 Apr 2003 15:58:15 +0000 (15:58 +0000)]
update smb.conf; fixing typos in smbpasswd.8; regen docs
Gerald Carter [Tue, 1 Apr 2003 14:47:58 +0000 (14:47 +0000)]
merged $(DESTDIR) option from SAMBA_3_0
Gerald Carter [Tue, 1 Apr 2003 14:06:19 +0000 (14:06 +0000)]
fix potential handle leak in _spoolss_open_printer_ex(); final fix for CR2102; reviewed by jra
Gerald Carter [Mon, 31 Mar 2003 17:45:54 +0000 (17:45 +0000)]
fix potential smbd crash when we fail to alloacte a policy handle for a printer open; CR 2102 (reviewed by jreilly)
Gerald Carter [Sun, 30 Mar 2003 23:04:17 +0000 (23:04 +0000)]
update copyright notice since it we are now almost 4 months into 2003
Gerald Carter [Sat, 29 Mar 2003 22:04:10 +0000 (22:04 +0000)]
fix a few bad paths in the spec file
Gerald Carter [Fri, 28 Mar 2003 15:43:18 +0000 (15:43 +0000)]
fix CIDR hosts allow/deny notation
Jeremy Allison [Wed, 26 Mar 2003 22:14:37 +0000 (22:14 +0000)]
Fix DOS del command with widelinks = False.
Jeremy.
Gerald Carter [Wed, 26 Mar 2003 02:47:04 +0000 (02:47 +0000)]
fix a few paths
Jeremy Allison [Wed, 26 Mar 2003 02:37:11 +0000 (02:37 +0000)]
Add BROKEN_GETGRNAM and POSIX_ACL_NEEDS_MASK to systems that need them.
Jeremy.
Gerald Carter [Wed, 26 Mar 2003 02:32:54 +0000 (02:32 +0000)]
working on fixing problems with winbindd packaging for SolariS
Jeremy Allison [Tue, 25 Mar 2003 23:50:47 +0000 (23:50 +0000)]
Fix up msdfs support for WinXP (new architecture type).
Jeremy.
Gerald Carter [Tue, 25 Mar 2003 17:34:50 +0000 (17:34 +0000)]
fixing up compile problems with solaris ldap libraries
Jelmer Vernooij [Mon, 24 Mar 2003 17:59:11 +0000 (17:59 +0000)]
FALSE -> False
John Terpstra [Sat, 22 Mar 2003 17:44:59 +0000 (17:44 +0000)]
Added new -T option info.
John Terpstra [Sat, 22 Mar 2003 17:38:27 +0000 (17:38 +0000)]
Patch from Matt Peterson <mpeterson@center7.com>
This patch allows non-samba applications to force samba to use the
trust account that was already created by allowing the trust account hash to
be set in the secrets database only. This way, another application can
change the trust account password and call 'smbpasswd -T' so that Samba can
continue to work.
Volker Lendecke [Wed, 19 Mar 2003 09:13:40 +0000 (09:13 +0000)]
Fix debug message not to use an uninitialized variable.
Volker
Volker Lendecke [Mon, 17 Mar 2003 22:20:18 +0000 (22:20 +0000)]
Fix the same memory leak as in 3.0/HEAD.
But wait -- there's no more 2.2, is it? ;-)
Volker
Simo Sorce [Mon, 17 Mar 2003 21:37:54 +0000 (21:37 +0000)]
keep up to date patches needed for debian distribution
I changed the maintainer names to mine, to reflect the builds I do and maintain on samba.org for the Team releases.
comment from debian developers are very welcome.
Simo.
Gerald Carter [Sat, 15 Mar 2003 04:22:38 +0000 (04:22 +0000)]
regenerating smb.conf(5) after update of smb.conf.5.sgml
Jeremy Allison [Fri, 14 Mar 2003 23:47:17 +0000 (23:47 +0000)]
Added "acl compatibility" parameter.
Jeremy.
Herb Lewis [Fri, 14 Mar 2003 21:21:00 +0000 (21:21 +0000)]
when nmbd is a wins server it doesn't die properly trying to kill the
process group
Gerald Carter [Fri, 14 Mar 2003 20:32:13 +0000 (20:32 +0000)]
* backport of "WinXP" and "Win2K3" values for %a
* increase the max PDU size to deal with some troublesome
printer drivers and Windows NT 4.0 clients
* increment the process counter immediately after the fork
(not just when we receive the first smb packet); found by
Leonardo Fogel.
Herb Lewis [Fri, 14 Mar 2003 15:57:10 +0000 (15:57 +0000)]
janitor work - merge off by one bug from 3.0
Herb Lewis [Thu, 13 Mar 2003 15:51:33 +0000 (15:51 +0000)]
more janitor duties - don't forget 2_2 on crash bugs
Merge of tdb_unlockeys() crash fix.
Jeremy Allison [Wed, 12 Mar 2003 22:11:23 +0000 (22:11 +0000)]
Change size parameters from signed to unsigned to fix up warnings.
Jeremy.
Jeremy Allison [Wed, 12 Mar 2003 19:08:09 +0000 (19:08 +0000)]
Ensure we count the length correctly in mangle_map.
Jeremy.
Jeremy Allison [Wed, 12 Mar 2003 00:53:23 +0000 (00:53 +0000)]
Janitor for tpot's memleak fix.
Jeremy.
Jeremy Allison [Tue, 11 Mar 2003 20:57:12 +0000 (20:57 +0000)]
We use unsigned now, so use %u.
Jeremy.
Jeremy Allison [Tue, 11 Mar 2003 18:10:46 +0000 (18:10 +0000)]
Fix up zero termination. Spotted by Sebastian Krahmer <krahmer@suse.de>.
Jeremy.
John Terpstra [Tue, 11 Mar 2003 07:30:54 +0000 (07:30 +0000)]
More updates from evan@sco.com
John Terpstra [Tue, 11 Mar 2003 07:28:00 +0000 (07:28 +0000)]
Adding most recent patches from evan@sco.com.
Jeremy Allison [Mon, 10 Mar 2003 20:33:45 +0000 (20:33 +0000)]
Ensure rename sets errno correctly.
Jeremy.
Jeremy Allison [Sat, 8 Mar 2003 01:17:34 +0000 (01:17 +0000)]
Fix typo in earlier fix, caught by Ranjit @ HP.
Jeremy.
Jeremy Allison [Sat, 8 Mar 2003 01:13:53 +0000 (01:13 +0000)]
Fixed typo in earlier fix. Cut-n-paste bug.
Jeremy.
Jeremy Allison [Fri, 7 Mar 2003 23:35:00 +0000 (23:35 +0000)]
Use ERROR_NT, not ERROR_DOS as Andrew Bartlett pointed out.
Jeremy.
Jeremy Allison [Fri, 7 Mar 2003 20:08:24 +0000 (20:08 +0000)]
Unify ACL code (back-port from 3.0) - the ACL code is much better there.
Documentation for new parameter to follow.
Jeremy.
Jeremy Allison [Fri, 7 Mar 2003 00:34:51 +0000 (00:34 +0000)]
Fix noticed by Corny.Bondad@hp.com. Ensure we free up memory on error exit.
Jeremy.
Jeremy Allison [Fri, 7 Mar 2003 00:31:32 +0000 (00:31 +0000)]
Found at Connectathon, .NET RC1 arranges trans/trans2/nttrans parameters
differently to W2K, cope with this.
Jeremy.
Gerald Carter [Thu, 6 Mar 2003 16:03:33 +0000 (16:03 +0000)]
updating packager information so jht doesn't get reports about my bugs :-)
Gerald Carter [Wed, 5 Mar 2003 16:42:14 +0000 (16:42 +0000)]
fixes for unpakcaged files and removeing *.old (from Eirik Thorsnes)
Jeremy Allison [Wed, 5 Mar 2003 00:54:12 +0000 (00:54 +0000)]
Connectathon fix. W2K -> W2K over port 445 doing a tconX does the full
\\server\share syntax, not just a "share" tconX syntax. This broke interop
with a vendor.
Jeremy.
Jeremy Allison [Tue, 4 Mar 2003 23:36:02 +0000 (23:36 +0000)]
Make 2.2 compile (relatively) cleanly with -Wwrite-strings. Looks a
big change but really is mainly const correctness.
Jeremy.
Richard Sharpe [Mon, 3 Mar 2003 05:29:07 +0000 (05:29 +0000)]
Fix the size param to getattrE so that it does not give compile errors.
Also, fix a typo in the profiling code in reply_setattrE or whatever.
Richard Sharpe [Mon, 3 Mar 2003 01:34:28 +0000 (01:34 +0000)]
Fix some further issues around off_t and large offsets as pointed out
by Brian Poole again.
Gerald Carter [Fri, 28 Feb 2003 18:01:41 +0000 (18:01 +0000)]
reverting patch back to localhost in smbd_running()
Gerald Carter [Fri, 28 Feb 2003 16:33:17 +0000 (16:33 +0000)]
remove some unused variable from enumprinterkey()
use global_myname instead of localhost when checking
if smbd is running (SWAT)
Gerald Carter [Fri, 28 Feb 2003 15:17:38 +0000 (15:17 +0000)]
bump version
Martin Pool [Fri, 28 Feb 2003 04:02:59 +0000 (04:02 +0000)]
Remove reference to "mainpage.dox" and CodingStandards, which have
been removed.
Put subdirectory names in file list, so we get lib/util_chr.c, not
just util_chr.c.
Jeremy Allison [Fri, 28 Feb 2003 00:18:08 +0000 (00:18 +0000)]
*Excellent* patch from Michael Steffens <michael_steffens@hp.com> to limit
the unix domain sockets used by winbindd (also solves FD_SETSIZE problem
in winbindd to boot !). Adds a "last_access" field to winbindd connections,
and will close the oldest idle connection once the number of open connections
goes over WINBINDD_MAX_SIMULTANEOUS_CLIENTS (defined in local.h as 200
currently).
Jeremy.
Gerald Carter [Thu, 27 Feb 2003 23:53:59 +0000 (23:53 +0000)]
don't forget the NULL
Gerald Carter [Thu, 27 Feb 2003 23:26:17 +0000 (23:26 +0000)]
and the winner of "i should have just written it in assembly
is..."
don't use pstrcpy() when you are not dealing with pstrings.
Jeremy Allison [Thu, 27 Feb 2003 22:33:44 +0000 (22:33 +0000)]
don't pass NULL pointers to strcmp() - from HEAD.
Jeremy.
Jeremy Allison [Wed, 26 Feb 2003 22:46:30 +0000 (22:46 +0000)]
Remove unused static BOOL.
Jeremy.
Herb Lewis [Wed, 26 Feb 2003 22:04:07 +0000 (22:04 +0000)]
janitorial work - update more changes since 2.2.8pre1
Jeremy Allison [Wed, 26 Feb 2003 21:28:07 +0000 (21:28 +0000)]
Fix to allow blocking lock notification to be done rapidly (no wait
for smb -> smb lock release). Adds new PENDING_LOCK type to lockdb
(does not interfere with existing locks).
Jeremy.
Jeremy Allison [Mon, 24 Feb 2003 19:35:31 +0000 (19:35 +0000)]
Merge from HEAD. Use pstrcpy not safe_strcpy.
Jeremy.
Jeremy Allison [Mon, 24 Feb 2003 19:23:08 +0000 (19:23 +0000)]
Merge from head. Move off-by-one buggy malloc()/safe_strcpy() combination to strdup() instead.
Jeremy.
Jeremy Allison [Mon, 24 Feb 2003 03:27:10 +0000 (03:27 +0000)]
Merge off-by-one crash fixes found and fixed in HEAD by Andrew Bartlett.
Jeremy.