1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

1813 Commits

Author SHA1 Message Date
Jeremy Allison
95ce704fe6 pstring/fstring missmatches found by Andrew Bartlett.
Jeremy.
(This used to be commit 666861b1e2)
2003-01-02 20:43:17 +00:00
Jeremy Allison
da41ac6e6b Merge Andrew Bartletts (size_t)-1 checks.
Jeremy.
(This used to be commit 339f4fe15e)
2003-01-02 19:25:28 +00:00
Simo Sorce
0747016dfc from HEAD:
fix for bad check spotted by Ray Simard <ray@sylvan-glade.com>
(This used to be commit bcc633c409)
2002-12-31 10:25:11 +00:00
Shirish Kalele
6b7f50594b Add check to prevent non-Dfs clients from connecting to an msdfs proxy.
(This used to be commit 2a665ab60a)
2002-12-27 23:03:22 +00:00
Jeremy Allison
ef8bd7c4f7 Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them.
Jeremy.
(This used to be commit 09a218a9f6)
2002-12-20 20:21:31 +00:00
Jeremy Allison
ce2b200add Fix for old DOS client when veto files is set to /.*/
Jeremy.
(This used to be commit 8e9f3b1574)
2002-12-13 19:07:37 +00:00
Jeremy Allison
d0fe43f918 Added "kernel change notify" boolean to allow easier valgrind testing.
Jeremy.
(This used to be commit faf89f214f)
2002-12-12 02:01:56 +00:00
Jeremy Allison
39c78bf516 Fixed auth module code. Added VALGRIND defines to reduce spurious warnings.
Jeremy.
(This used to be commit ec4ed45563)
2002-12-11 23:54:40 +00:00
Tim Potter
2c5e33b7f2 Merge from HEAD:
>Remove FILE_MACRO as __FILE__ is ANSI C.
(This used to be commit 21eb4b5a2d)
2002-12-05 23:30:49 +00:00
Jeremy Allison
00a20ce45f The element in fsp->print_job should be a RAP jobid, not a uint32 RPC
jobid. This was causing Win9x client "set name" calls to fail.
Still need one cleanup fix to finish.
Jeremy.
(This used to be commit 6c23d2030a)
2002-12-05 04:00:16 +00:00
Jeremy Allison
d4103a0991 Added Volker's directory fix - save the attributes
from the first call.
Jeremy.
(This used to be commit b60a441b91)
2002-12-04 22:48:13 +00:00
Gerald Carter
612e1ffdba merges from HEAD - change_trust_account_password() must always talk to PDC
(This used to be commit af2fa43850)
2002-12-04 20:57:48 +00:00
Jeremy Allison
f60f763a2d Need brackets around macro args. Spotted by Patrick Welche <prlw1@newn.cam.ac.uk>.
Jeremy.
(This used to be commit 2b9d35cf3f)
2002-12-04 18:45:25 +00:00
Jeremy Allison
821e3d19f0 Missed the removal of the incorrect ifdef.
Jeremy.
(This used to be commit f9cef6f421)
2002-12-04 03:21:21 +00:00
Jeremy Allison
ce4628c199 Fix for 64 bit issues with oplocks and allocation size.
Jeremy.
(This used to be commit 379e719e98)
2002-12-04 03:12:09 +00:00
Jeremy Allison
5ed2d4a1d3 Reformat of reply.c before Volker's patch.
Jeremy.
(This used to be commit c3877cfb9c)
2002-12-03 23:57:45 +00:00
Jeremy Allison
6a019636b9 Fixed nasty bug where file writes with start offsets in the range
0x80000000 -> 0xFFFFFFFF would fail as they were being cast
from IVAL (uint32) to SMB_OFF_T (off_t or off64_t, both *signed* types).
The sign extension would cause the offset to be treated as negative.
Thanks to Herb for helping me track this one down (IRIX is good for large
file tests :-).
Jeremy.
PS. That horrid EXEXIST thing has broken configure.....
(This used to be commit 2d14c442bc)
2002-12-03 08:02:41 +00:00
Tim Potter
f3e3a56ea9 Merge a bunch of trivial changes from HEAD. The difference remaining
should actual functional differences between HEAD and 3.0.

 - Mostly reformatting
 - Removal of unecessary #include "smb.h"
 - Merge of dyn_DRIVERFILE removal
 - Silly bug fix for python code
(This used to be commit d3998307ad)
2002-11-29 02:58:59 +00:00
Andrew Tridgell
91b7ac9fb9 merged the %U changes to 3.0
(This used to be commit 58fa6bfee8)
2002-11-20 00:53:24 +00:00
Jeremy Allison
faf1f0df4d Very curious. It turns out attribute matching on truncate only matters
when opening truncate with current SYSTEM|HIDDEN -> NONE. It's fine to
truncate on open with current NONE -> SYSTEM | HIDDEN.
Jeremy.
(This used to be commit 3bf21ca936)
2002-11-19 01:46:10 +00:00
Jeremy Allison
ae94f2eaa5 Samba janitor... Merging tridge's change to 3.0. Original commit
message :

the change in the way %U is handled to use current_user has broken
some basic usages like 'include = smb.conf.%U'

This changes fixes things again, by checking for reload after we setup
current_user in tconx.
(This used to be commit 64b2243ccd)
2002-11-18 06:12:47 +00:00
Andrew Bartlett
c64d762997 Updates from HEAD:
- const for PACKS() in lanman.c
 - change auth to 'account before password'
 - add help to net rpc {vampire,samsync}
 - configure updates for sun workshop cc
 - become_root() around pdb_ calls in auth_util for guest login.

Andrew Bartlett
(This used to be commit 43e90eb6e3)
2002-11-15 21:43:57 +00:00
Jelmer Vernooij
7cfe3919f3 small patch to makesure we fallback to <xfs/xqm.h> if <linux/xqm.h> doesn't exist (e.g. in SuSE 8.1) (by Metze)
(This used to be commit da8794afe8)
2002-11-13 21:54:31 +00:00
Jeremy Allison
2f194322d4 Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit f755711df8)
2002-11-12 23:20:50 +00:00
Jelmer Vernooij
f09109c7bc Last sync with HEAD
(This used to be commit 1175b62337)
2002-11-09 17:08:58 +00:00
Jim McDonough
1486559181 Stop using hardcoded smbtrans subcommands
(This used to be commit 117077b172)
2002-11-07 14:46:24 +00:00
Tim Potter
ab1cf8d1cf Merge of get_dc_list() api change from HEAD.
(This used to be commit 6ba7847ce2)
2002-11-06 05:14:15 +00:00
Jeremy Allison
66b62281e2 Ensure can_delete returns the correct error code.
Jeremy.
(This used to be commit 52af4ed9ec)
2002-11-05 22:49:07 +00:00
Jeremy Allison
b51160452e Fix to correctly return NT_STATUS_DELETE_PENDING.
Jeremy.
(This used to be commit 4ec381d642)
2002-11-05 21:47:03 +00:00
Andrew Bartlett
6d7195d1d7 Merge passdb from HEAD -> 3.0
The work here includes:
 - metze' set/changed patch, which avoids making changes to ldap on unmodified
attributes.

 - volker's group mapping in passdb patch

 - volker's samsync stuff
 - volkers SAMR changes.

 - mezte's connection caching patch

 - my recent changes (fix magic root check, ldap ssl)

Andrew Bartlett
(This used to be commit 2044d60bbe)
2002-11-02 03:47:48 +00:00
Andrew Bartlett
56dc17378b Merges from HEAD:
- off-by-one fix - fixes warnings about insufficent space in buffer.
- fix a memleak in uid.c - we forgot to free() the allocated struct.
(This used to be commit b8951a6551)
2002-11-01 22:17:19 +00:00
Jeremy Allison
a63844e10e Fix slowdown because of enumerating all print queues on every smbd startup.
Jeremy.
(This used to be commit 6efd17ef78)
2002-10-31 23:41:00 +00:00
Jeremy Allison
0fff69f974 Fix fd leak with kernel change notify.
Jeremy.
(This used to be commit a204339073)
2002-10-28 22:04:14 +00:00
Jeremy Allison
f735551b9e First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.
This is not 100% the same as what SuSE shipped in their Samba, there is
a crash bug fix, a race condition fix, and a few logic changes I'd like to
discuss with Andreas. Added Andreas to (C) notices for posix_acls.c
Jeremy.
(This used to be commit 40eafb9dde)
2002-10-23 01:22:32 +00:00
Jeremy Allison
83219da302 Fix for systems that allow more than 65536 open files per process.
Jeremy.
(This used to be commit 947a56ce00)
2002-10-22 22:17:29 +00:00
Jeremy Allison
1ef283d5c3 Merge mangle prefix code.
Jeremy.
(This used to be commit 83261f4332)
2002-10-21 20:40:23 +00:00
Gerald Carter
6ce3e3b10c removed the following parameters
* postscript
  * printer driver
  * printer driver location
  * printer driver file

also removed the get_a_printer_driver_9x_compatible() function
(This used to be commit 743f2b8025)
2002-10-21 20:11:12 +00:00
Jeremy Allison
c53eb2ed54 Added new error codes. Fix up connection code to retry in the same way
that app-head does.
Jeremy.
(This used to be commit ec7953f201)
2002-10-17 17:10:24 +00:00
Jeremy Allison
3d8274df34 Change default of max_xmit to match W2K. Ensure NT negprot uses it.
Jeremy.
(This used to be commit 0bf7187e3b)
2002-10-15 21:35:46 +00:00
Jeremy Allison
b8e4a3331d Merge Anton's 64-bit fix.
Jeremy.
(This used to be commit 0644f6a68e)
2002-10-15 05:58:32 +00:00
Jeremy Allison
d0a99a261d Turns out with Win9x, we could occasionally return from unix_convert() given
a mangled name without a valid stat struct if the file existed. This would
then cause open_file_shared1() to erroneously think the file open was new,
thus not check for oplock break, thus causing a spurious EAGAIN reply to
the open on a file we already had kernel oplocked.... (phew - that was fun
to track down :-).
Jeremy.
(This used to be commit af80b033a5)
2002-10-11 01:19:00 +00:00
Jeremy Allison
06b5917af4 Fix based on Jim McDonough's code for ACL inheritance problem.
Jeremy.
(This used to be commit 3343efaaa8)
2002-10-08 00:20:17 +00:00
Jeremy Allison
2d5d51e9f3 Fix from Andreas Gruenbacher <agruen@suse.de> to prevent ACL set on read-only
share.
Jeremy.
(This used to be commit 9b8f362abc)
2002-10-07 18:09:29 +00:00
Gerald Carter
36ef82a529 merge of new client side support the Win2k LSARPC UUID in rpcbind
from APP_HEAD
(This used to be commit 1cfd2ee433)
2002-10-04 04:10:23 +00:00
Jeremy Allison
474340e440 Added ASCII art to make this clearer.
Jeremy.
(This used to be commit 31c0dd7e21)
2002-10-03 19:05:36 +00:00
Jeremy Allison
a4f7b7bec1 Write cache bugfix from Rasmus Borup Hansen, system adm. Email: rbh@math.ku.dk
Jeremy.
(This used to be commit d40a14dbb0)
2002-10-03 18:10:59 +00:00
Gerald Carter
ef6f8197a3 remove files not in HEAD
(This used to be commit 9d9f7bbf87)
2002-09-26 18:53:51 +00:00
Gerald Carter
a834a73e34 sync'ing up for 3.0alpha20 release
(This used to be commit 65e7b5273b)
2002-09-25 15:19:00 +00:00
Jelmer Vernooij
127e77e6e3 Sync 3.0 branch with head
(This used to be commit 42615b945e)
2002-08-17 15:27:10 +00:00
Andrew Tridgell
b0b28531c8 more bug updates from head
(This used to be commit 8b769bf5bb)
2002-07-15 11:16:26 +00:00