Jeremy Allison
c98ebb3031
Fix delete on close semantics to match W2K. I (think:-) I understand it now :-).
...
Thanks to Nir Livni <nirl@cyber-ark.com > for giving me the test case to
track it down.
Jeremy.
-
Andrew Tridgell
e4ce26332b
query_alt_name takes a forced unicode string in win2000. It is not
...
null terminated.
Thanks to Metze for finding this.
-
Jeremy Allison
15f0bad1fc
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.
-
Jeremy Allison
51c2cf3a9c
Need brackets around macro args. Spotted by Patrick Welche <prlw1@newn.cam.ac.uk>.
...
Jeremy.
-
Jeremy Allison
9cfa245bba
Missed the removal of the incorrect ifdef.
...
Jeremy.
-
Jeremy Allison
4a9c995e50
Fix for 64 bit issues with oplocks and allocation size.
...
Jeremy.
-
Jeremy Allison
82b8f749a3
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.
-
Jeremy Allison
a81d700ae9
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.
-
Jeremy Allison
af2168c034
Merged Steve French's fix for OS/2 EA return error being removed.
...
Jeremy.
-
Jeremy Allison
b3fe55838d
Patch from Steve French to fix difference in responses to
...
smbclient //server/share
ls /
on Samba and Windows 2000.
Jeremy.
-
Jeremy Allison
095e2bf946
Merged initial allocation code for IFSTEST fix.
...
Jeremy.
-
Jeremy Allison
d01bbd42ff
Fix longstanding bug in Win2k clients by clearing the shortname
...
buffer before returning ascii short name.
Jeremy.
-
Tim Potter
ca73d24307
Added comment about our implementation of the trans2
...
SMB_FILE_INTERNAL_INFORMATION possibly causing the failure of one of the
IFSKIT tests.
-
Andrew Tridgell
c529cee0b2
introduced a get_file_size() macro in trans2.c to make it easier to
...
experiment with file size returns
-
Andrew Tridgell
7dfdb456d4
an initial fix for handling sparse files in smbd
...
This gets my test code working, where we previously failed with files
above 20G in size.
I'm still not completely happy with this. There are just too many
fields in trans2.c that we don't fill in.
-
Jeremy Allison
3a9ceb6b3b
Don't crash on setfileinfo on printer fsp.
...
Jeremy.
-
Jeremy Allison
4ff64f6970
Gone back to explicit queue number passing as snum - removed encoding of
...
queueid in job number. This means we must have an internal tdb to store
mapping from 16 bit RAP jobid's to 32 bit RPC jobids.
Jeremy.
-
Andrew Tridgell
4a78137111
fixed 3 bugs in jeremys trans2 merge. Hopefully it now works.
-
Jeremy Allison
082c5c084e
Merged across trans2.c from SAMBA_2_2. UNIX extensions and passthrough
...
now supported in HEAD.
Jeremy.
-
Jeremy Allison
5841ca54b6
Don't use uint. It doesn't exist on some platforms and we don't define it.
...
Replaced with "unsigned int".
Jeremy.
-
Jeremy Allison
5e2571f424
Merge in mangle fixes from 2.2.
...
Jeremy.
-
Jeremy Allison
6b4affde16
Fix bug where setting end of file length to 8 was hitting erroneous
...
check for OS/2 EA set. This caused Macromedia movie files to not export
correctly onto a Samba share. Originally spotted by Michel Stoop stoop@ncg.nl .
Jeremy.
-
Shirish Kalele
d926cc9896
Sync'ing SAMBA_2_2 with HEAD.
-
Andrew Tridgell
79630bb2c0
two time handling bugfixes
...
- the pending mtime overrides the current file time in setfileinfo
- a later wtime can override a mtime on setfileinfo
this fixes the date of file copies in win2000
-
Andrew Tridgell
699a1d9f46
fixed the display of the 'size on disk' property of files from w2k.
-
Andrew Tridgell
be23d87a17
This split the mangling code up to allow for the possibility of multiple
...
mangling implementation, selectable using "mangling method = " in smb.conf
It also tidies the interface a little, although it is still nasty.
-
Jeremy Allison
2475c09b35
Fixed the error bad path for recursive mkdir so mkdir \a\b\c\d works.
...
Forward ported some of the code tidyups from 2.2.
Jeremy.
-
Jeremy Allison
14e2beca9b
Ensure that setting file length can return disk full on failure.
...
Jeremy.
-
Jeremy Allison
3b1b8ac435
Fix the mp3 rename bug - also tidy up our open code and remove the special
...
cases for rename and unlink. Had to add desired_access into the share mode record.
Jeremy.
-
Jeremy Allison
bc8d4b9880
HEAD only fix for truncate from Alexander Bokovoy <a.bokovoy@sam-solutions.net>.
...
This code needs replacing with the trans2.c from 2.2.x.
Jeremy.
-
Jeremy Allison
00cabb2346
Ensure we get a real fd when opening for set file allocation.
...
Jeremy.
-
Jeremy Allison
504e5ef049
Remove the "stat open" code - make it inline. This should fix the
...
bugs with opening and renaming mp3 files, also the word rename
problems that people have had for a while.
Needs a make clean :-) make.
Also added JohnR's printing fix.
Jeremy.
-
Jeremy Allison
d9cb1bf20a
Mask off the aDIR on setfileinfo.
...
Jeremy.
-
Jeremy Allison
4aaa4f52b8
Canonicalise pathnames returned to Windows directory separators.
...
Found by Andrew at connectathon with some new tests
Jeremy.
-
Andrew Tridgell
a75a2e9e2f
This fixes 4 info levels in a trans2 find_first that should not be null
...
terminated for the filenames.
this is what caused win2k to go into a loop sending 20000 packets to set
an acl on a directory. It didn't recognise ".." with a null termination as
being ".."
-
Andrew Tridgell
367358c738
this fixes the security tab on mapped drives for unicode clients.
...
Jeremy, this is wrong in 2.2.x
-
Andrew Tridgell
c78b16c1f8
check for empty parameters in qpathinfo
-
Tim Potter
6a58c9bd06
Removed version number from file header.
...
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
-
Jeremy Allison
01ff6ce496
Same fix as went into 2.2 (I'm waiting for jerry to finish some code).
...
Jeremy.
-
Jeremy Allison
02b18f2cca
First part of UNIX extensions (#ifdefed out) more to follow.
...
Jeremy.
-
Andrew Tridgell
c8a040f2aa
fixed long filenames on win98
...
the fstype must not be null terminated or win98 doesn't recognise it
-
Jeremy Allison
1f3dcd99bd
Ensure the CAN_WRITE is checked and prevents O_CREAT and O_TRUNC from
...
being set. Also prevent an open on a file on a readonly share from
setting delete on close.
Jeremy.
-
Jeremy Allison
a58d0f91f9
Fixed delete on close bug. Added core dump code to winbindd.
...
Jeremy.
-
Jeremy Allison
9148bb9eaa
Tidyups when I was doing the big merge...
...
Jeremy.
-
Jeremy Allison
9ff6b0c20c
Fixed allocation bug in database prog. Some format fixes.
...
Jeremy.
-
Jeremy Allison
d20949fe50
Use defined constants not integers.
...
Jeremy.
-
Jeremy Allison
c339a99a89
Only 1mb allocate slop.
...
Jeremy.
-
Jeremy Allison
36ea09d3a0
Merge overdue changes from 2.2. Fix <4gb write problem.
...
Jeremy.
-
Jeremy Allison
eba8204bfa
Added more define bits. Fixed error in vol attributes.
...
Jeremy.
-
Tim Potter
dfb8566220
Don't put a \n on the end of the arg to exit_server()
-