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
Andrew Tridgell
e90b652848
updated the 3.0 branch from the head branch - ready for alpha18
...
(This used to be commit 03ac082dcb
)
2002-07-15 10:35:28 +00:00
Gerald Carter
33640a7484
merge from SAMBA_2_2
...
(This used to be commit 305ff4203e
)
2002-04-15 13:52:26 +00:00
Andrew Tridgell
4023a61892
merged the mangling test and passdb bugfixes into SAMBA_3_0
...
(This used to be commit 97eb3a121d
)
2002-04-12 10:18:46 +00:00
Andrew Tridgell
41b8137169
don't try to return a void
...
(This used to be commit 51b4de0ae3
)
2002-04-11 14:59:27 +00:00
Andrew Tridgell
5c0e682c4a
- the 36^6 hash space gives 31 bits, not 32 bits. We need to mask the
...
hash to suit
- the prefix ends at the last dot, not the first
(This used to be commit 91a3ccd3e7
)
2002-04-11 14:20:18 +00:00
Andrew Tridgell
1ed0c5ea70
a few debug statements (disabled)
...
(This used to be commit 582f753eac
)
2002-04-11 14:03:30 +00:00
Andrew Tridgell
4c889cb8b6
don't treat '.' as FLAG_ASCII, instead handle it separately
...
(This used to be commit ecdddd674f
)
2002-04-11 13:35:28 +00:00
Andrew Tridgell
bf9cb3c5f3
- tidier flag checking code
...
- finished the is_mangled() function
(This used to be commit 128bec2071
)
2002-04-11 12:14:55 +00:00
Andrew Tridgell
ef88357403
added some more comments
...
(This used to be commit 8d6f2e2399
)
2002-04-11 11:46:42 +00:00
Andrew Tridgell
b1f04740ad
some optimisations to the new mangling system
...
(This used to be commit 30b35d0c1f
)
2002-04-11 10:52:59 +00:00
Andrew Tridgell
714518e550
this adds a completely new hash based mangling scheme
...
the hash for this scheme is *much* larger (approximately 31 bits) and
the code is written to be very fast, correctly handling multibyte
while not doing any actual multi-byte conversions in the vast majority
of cases
you can select this scheme using "mangling method = hash2", although I
may make it the default if it works out well.
(This used to be commit bb173c1a7e
)
2002-04-11 09:56:38 +00:00
Andrew Tridgell
9cd0306baa
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.
(This used to be commit be23d87a17
)
2002-04-11 02:20:56 +00:00
Jeremy Allison
4ad0ff29bf
Added Shirish's client side caching policy change.
...
Jeremy.
(This used to be commit 16015c07ea
)
2002-04-10 01:04:13 +00:00
Jeremy Allison
c36b31783e
Shirish pointed out more areas we should be doing roundups for allocation size.
...
Jeremy.
(This used to be commit cda9fccd62
)
2002-04-09 18:10:09 +00:00
Simo Sorce
9c1665b299
a fix yet committed to 2.2 sometimes ago and reintroduced here!
...
(This used to be commit aff7073dab
)
2002-04-08 09:29:28 +00:00
Andrew Bartlett
c21ff8f762
Reintroduce the 2.2 name mangling code, until we get are more flexible solution.
...
Even for a hash/cache setup, this code needs some more work, in particular
it needs to use mangle_get_prefix() etc and to move to unicode internals.
Andrew Bartlett
(This used to be commit ad8aa47057
)
2002-04-08 01:58:44 +00:00
Jeremy Allison
2a664807c5
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.
(This used to be commit 2475c09b35
)
2002-04-02 19:34:36 +00:00
Jean-François Micouleau
14f0beb21c
added shutdown to smbd
...
J.F.
(This used to be commit 51a5bbfee7
)
2002-03-29 14:28:38 +00:00
Jeremy Allison
906d3bda26
Ensure that setting file length can return disk full on failure.
...
Jeremy.
(This used to be commit 14e2beca9b
)
2002-03-28 01:00:31 +00:00
Jeremy Allison
7d7c594644
Removed HAVE_LIBDL from most places (except system.c). Added checks for
...
dlopen & friends into configure.in. This should help building on *BSD
where dl*** calls are in libc.
Jeremy
(This used to be commit ac1baba35d
)
2002-03-27 03:00:39 +00:00
Jeremy Allison
8f9d7ebb35
Removed unused variable.
...
Jeremy.
(This used to be commit 4eb29ac559
)
2002-03-26 03:07:51 +00:00
Jeremy Allison
81a0d5b5e9
Matched W2K *insane* open semantics....
...
Jeremy.
(This used to be commit 6819e81da4
)
2002-03-26 00:38:12 +00:00
Andrew Bartlett
1c92b99c80
Correctly store the hostname of the remote machine if so configured. If the
...
reverse DNS fails, then store the IP.
(This used to be commit d97771aa80
)
2002-03-23 09:00:27 +00:00
Jeremy Allison
c90cd26e94
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.
(This used to be commit 3b1b8ac435
)
2002-03-23 02:57:44 +00:00
Jeremy Allison
bffc69a877
Fix stupid typo !
...
Jeremy.
(This used to be commit d0b58f66ed
)
2002-03-21 21:23:22 +00:00
Herb Lewis
1783dcd2f1
return . and .. first in readdir - this fixes masktest on IRIX which
...
returns . then single letter files then .. then all other files.
(This used to be commit d4d9361eec
)
2002-03-21 14:00:13 +00:00
Jeremy Allison
2eab97160b
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.
(This used to be commit bc8d4b9880
)
2002-03-20 19:29:06 +00:00
Jeremy Allison
418d5684a2
Ensure we get a real fd when opening for set file allocation.
...
Jeremy.
(This used to be commit 00cabb2346
)
2002-03-20 00:58:23 +00:00
Jeremy Allison
b9e91d2a8e
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.
(This used to be commit 504e5ef049
)
2002-03-20 00:46:53 +00:00
Jeremy Allison
ffadd471b9
Sync up vfs changes from 2.2.x.
...
Jeremy.
(This used to be commit ad1e858d8e
)
2002-03-19 02:32:39 +00:00
Tim Potter
ab13654dc9
Renamed get_nt_error_msg() to nt_errstr().
...
(This used to be commit 1f007d3ed4
)
2002-03-17 04:36:35 +00:00
Gerald Carter
65c007b583
syncing up printing code with SAMBA_2_2 (already done some merges
...
in the reverse).
* add in new printer change notify code from SAMBA_2_2
* add in se_map_standard() from 2.2 in _spoolss_open_printer_ex()
* sync up the _print_queue_struct in smb.h (why did someone change the
user/file names in fs_user/fs_file (or vice-versa) ? )
* sync up some cli_spoolss_XXX functions
(This used to be commit 5760315c1d
)
2002-03-15 08:14:10 +00:00
Andrew Bartlett
d19e06c0c6
Actually include some *information* in the mangle debug messages.
...
In particular this shows the filename, prefix and counters involved.
The unicode -> unix converion only occours for the error case.
Andrew Bartlett
(This used to be commit 9c8de8c6cf
)
2002-03-14 22:52:19 +00:00
Jeremy Allison
840279f342
Now we have reliable signals take SIGTERM inband.
...
Jeremy.
(This used to be commit cad82926a8
)
2002-03-14 02:15:08 +00:00