1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-14 01:57:53 +03:00

2232 Commits

Author SHA1 Message Date
Jeremy Allison
8fb05cfa3a Fix buggy data_len calculation in echo. Add paranoia debug message.
Jeremy.
-
Jeremy Allison
ef183bf00f Ensure error code path doesn't free unmalloced memory. Bug #628.
Jeremy.
-
Tim Potter
3d777f5389 Enclose usage of st_blksize and st_blocks struct stat members in
#ifdef HAVE_STAT_ST_BLKSIZE and #ifdef HAVE_STAT_ST_BLOCKS,
respectively.

Fixes bug 550 reported by Joachim Schmitz <schmitz@hp.com>.
-
Jeremy Allison
5e6080597f Ensure cancelling a blocking lock returns the correct error message.
Testing with Samba4 RAW-MUX code.
Jeremy.
-
Jeremy Allison
1c19739aea Make us pass Samba4 lock tester (with one different error message).
Jeremy.
-
Jeremy Allison
1c1c4ee8be Match W2K insanty w.r.t. writelock and writeclose. Samba4 torture tester.
Jeremy.
-
Jeremy Allison
9216948062 At least give a message if we're returning a short read for W2K compatibility.
Jeremy.
-
Jeremy Allison
e4df467320 Changes to allow Samba3 to pass the Samba4 RAW-READ tests.
Jeremy.
-
Jeremy Allison
960e2b4a5f Fixup error code returns from Samba4 tester. Ensure invalid paths are
validated the same way.
Jeremy.
-
Jeremy Allison
76fe5ffb4d Version of patch from nick@isilon.com (Nicholas Kirsch) for bug #564.
Canonicalise SMB_INFO_ALLOCATION in the same was as SMB_FS_FULL_SIZE_INFORMATION.
Jeremy.
-
Jeremy Allison
e2f4c3d113 Fix for bug #562 (incorrect mode sum) by h-yamasaki@pd.jp.nec.com.
Jeremy.
-
Gerald Carter
bbc403ec6e cleaning out patch list; patch from Steve L. to change the cwd before the postexec script -
Jeremy Allison
0857932c1c Correct fix for excel read-only bug. Add panic for logic error in developer mode.
Jeremy.
-
Jeremy Allison
d9b9113a08 Fix for not opening Excel 2000 files that are read-only. Needs tidying
up but works for now.
Jeremy.
-
Jeremy Allison
294f376aa9 Take care of condition where DOS and NT error codes must differ. Found by
DOS program test by Amir Hardon <hardon@actcom.co.il>.
Jeremy.
-
Tim Potter
424acd6ee9 Merge from 3.0:
>Ensure %S gets expanded in read/write lists.
>Jeremy.
-
Tim Potter
799da7092c Merge from 3.0:
>Fix for valid users = %S in homes share.
>Jeremy.
-
Gerald Carter
c6a61ffcbd * sync more files from 3.0
* set version string to "CVS 3.1.0alpha1"
-
Jeremy Allison
640bc276ba Fix coredump from Samba4 torture suite.
Jeremy.
-
Tim Potter
3266777acb Merge from 3.0:
>Fix OOPS when dealing with mangled names reported by several users.
>This was my bug when removing a redundant strlen.
>Jerry - last showstopper I knew about.
>Jeremy.
-
Jeremy Allison
3b3e19f66f Ensure HEAD is also up to date.
Fix OOPS when dealing with mangled names reported by several users.
This was my bug when removing a redundant strlen.
Jeremy.
-
Tim Potter
1956478dde Merge from samba-3.0:
>Fix for bug #273 - smbd crash on machine account change.
>Someone only half changed the code to use dc_name
>instead of remote machine... Found via back trace from Dariush Forouher
><dariush@forouher.de>.
>Jeremy.
-
Gerald Carter
c17a7dc9a1 sync 3.0 into HEAD for the last time -
Simo Sorce
3101c236b8 port latest changes from SAMBA_3_0 tree -
Gerald Carter
e66541d0e1 fix the build. Ifdef out some code -
Gerald Carter
99feae7b5b ading new files from 3.0 -
Gerald Carter
adb98e7b7c trying to get HEAD building again. If you want the code
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE
-
Jeremy Allison
6a4502b03b Fix bug brought up by Ken Cross that empty ACE's cause existing ACE's to
be applied to new ACE set calls. This is incorrect. Don't think this
has a bugzilla id.
Jeremy.
-
Jeremy Allison
a1fee6594e It seems only NT4 does the VC == 0 session drop code.
Jeremy.
-
Tim Potter
d2bc89b860 Merge from 3.0:
>Restore a number of fixes that idra removed when he merged his
>idmap-and-the-rest from HEAD.
>
>These are correctness fixes that were already in 3.0, and a memory leak fix.
>
>The pdb_ldap changes are held back at jerry's request (he is also playing
>with pdb_ldap ATM).
>
>Andrew Bartlett
-
Jeremy Allison
870e111fac Correct (?) handling for VC = 0. Trying to fix XP logoff leaving resources
around.
Jeremy.
-
Gerald Carter
81cccd25b8 volker's add_signature() fix; must pass the beginning on the outbuf to get the flags field -
Tim Potter
7345bca285 Fix shadow parameter warning in free_empty_sys_acl() -
Jeremy Allison
0811acb957 Stat opens can have fsp->fd == -1 and will have a share entry. Ensure
that file_find_dif will find them. Fixes a core dump in smbd/open.c.
Jeremy.
-
Jeremy Allison
0e2a47c1e6 More fixes for debug log to catch logic error.
Jeremy.
-
Gerald Carter
207186e1c8 fix for UNICODE plaintext passwords (bug #59) and fix smbclient to send the unicode plain text password if negoitated -
Andrew Tridgell
a16415a6c9 we weren't filling in the keylength in LANMAN1 and LANMAN2.1 negprot
reply. Seems to have been broken for a long time!
-
Gerald Carter
a032c38ed4 really make sure to include the version in the lanman string; tested spnego using smbclient -
Jeremy Allison
34b170a82c Cope with cumulative permissions sets. This code is #ifdef'ed out at the
moment as I don't think cumulative permission sets make sense in POSIX even
though that's the way Windows works....
Jeremy.
-
Jeremy Allison
ef2d5a9c0c Fix from Steve G <linux_4ever@yahoo.com>. Ensure sigemptyset is called on
the sa_mask to prevent valgrind complaints.
Jeremy.
-
Jeremy Allison
b6e7890017 Fix winbindd coredump. Remember to set a ** pointer to null before
searching and not finding otherwise we return a valid looking pointer
that was whatever crap was on the stack.
Jeremy.
-
Tim Potter
249a697470 spelling -
Gerald Carter
bd660f45df fixing typos in debug statements -
Jelmer Vernooij
d31509fe88 Reverse previous patch from Stefan and me after comments by Andrew Bartlett. -
Jelmer Vernooij
367a5cad1e Patch from metze and me that adds dummy smb_register_*() functions -
Jeremy Allison
98729bc9a6 Optimisation. We don't need to do 2 strlen's when we're setting the stat
struct in the correct place.
Jeremy.
-
Jeremy Allison
a0688316ce 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
a635b6406a 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
4fe84f6173 Make fchown, fchmod conditional for systems that don't have them.
Jeremy.
-
Jelmer Vernooij
e599eba851 Add metze's exit and idle event patch -