Jean-François Micouleau
56de6fa470
this code has been sitting on one of my box for 3 months.
...
add wins push replication, better handling of partners, rewrote half of
parser.
I know some parser code need to be changed to better cope with multihomed
machine and groups.
J.F.
(This used to be commit a2d07bc6eb269c8048165947928b8b5643dc9a64)
2002-04-27 16:58:05 +00:00
Jeremy Allison
1d79e6b90e
Another attempt at fixing the endian problem when upgrading from 2.2.3a.
...
Herb please check.
Jeremy.
(This used to be commit a312b5b2de117797ddfdc79316378aac93034718)
2002-04-27 01:18:31 +00:00
Jeremy Allison
9199721eba
Attempt to fix big-endian upgrade problem (Herb, Jerry, please check).
...
Jeremy.
(This used to be commit 54261460b35cc531e033a99596d5596e94bebe24)
2002-04-26 23:11:26 +00:00
Herb Lewis
19bacddd52
fix compile error
...
(This used to be commit c64a57a6106bfd766679ac89837881ed9592409b)
2002-04-26 16:16:14 +00:00
Gerald Carter
63050a8d16
* merge from SAMBA_2_2
...
* fix typos
* regenerate pages
(This used to be commit edfafa1d40649101d599859951f7289c1d057cfa)
2002-04-25 02:15:18 +00:00
Jeremy Allison
52c7c149c5
Fix from Herb for upgrading from big-endian earlier databases.
...
Jeremy.
(This used to be commit e65563fc9eb454988c11c12e3e979dd07e3032a3)
2002-04-25 00:56:43 +00:00
Jeremy Allison
eb0736b09b
smbd/fileio.c: debug changes so read/write/seek calls can be logged for name, pos, size easily.
...
Might help with access problem.
Jeremy.
(This used to be commit e08d72b3271ae1b155a59ae82acf9d619c22c81f)
2002-04-24 19:11:34 +00:00
Simo Sorce
5922eaf61a
move to the FNV1 hash alghorithm seem good
...
the test revealed 15 collision with 1 Million long file names :-)
Simo.
(This used to be commit 77dc498b6f0c435f082eb2d934920d3f3bef0b65)
2002-04-24 11:57:00 +00:00
Andrew Tridgell
193225dd42
patch from Alexander Bokovoy needed for dlopen on bsd systems
...
(This used to be commit 38fd99e84176106ed700f637e9292d2a4c1385b4)
2002-04-24 11:43:02 +00:00
Simo Sorce
ee8dad7b3d
add collision/total indication to every collision report
...
(This used to be commit c4d6a49779e0e2bff86256b8b353e6c803e31ba9)
2002-04-24 11:24:58 +00:00
Andrew Tridgell
a87a63a958
damn! I forgot to commit winbindd_dual.c
...
(This used to be commit f3764ab2c602d6af9dce15f0d525a9f11c1723f1)
2002-04-24 09:59:48 +00:00
Andrew Tridgell
6e1c478082
main() needs to be indented to make sure it doesn't generate a
...
prototype
(This used to be commit fdfde9b84cf825d84316344fea5af43a9b8ebcc9)
2002-04-24 09:51:14 +00:00
Andrew Tridgell
d4034d796f
made a couple of variables static
...
(This used to be commit fb6ce175d479e5bddc239595320f5dc245ac2ec6)
2002-04-24 09:00:29 +00:00
Tim Potter
f2843dec43
Added constant and message for invalid security descriptor dos error.
...
(This used to be commit 0827bd4184256a87d6cf6c58bc314309503da7be)
2002-04-24 05:36:40 +00:00
Andrew Tridgell
a67b5ac62f
a new "dual daemon" operating mode for winbindd
...
this mode improves the response time of winbindd by having a
background process update the cache while the forground process
responds to queries from cache.
You can enable this mode using the -B command line option. It is quite
experimental, which is why it is not the default.
(This used to be commit c0feff97eefdf5a70e5973e247b395dbdf5d2ef2)
2002-04-24 04:11:27 +00:00
Andrew Tridgell
27173b205f
prototypes for some systems that don't have them
...
(This used to be commit 2dde9f711979c04cd02107447395a55307f7a30a)
2002-04-24 04:09:37 +00:00
Jeremy Allison
4547fde9f5
When doing a non-io open the stat failing is no cause for a debug zero
...
to be printed, it just means file not found.
Jeremy.
(This used to be commit 25dea499b82da5e84412bf10781adbd240aa46f0)
2002-04-23 18:50:10 +00:00
Jeremy Allison
fd99accdb5
Fix my stupid compile bug in num_files_open.
...
Jeremy.
(This used to be commit 7c02db7c4f0d04b7c45a9c580f3e85f52fa505d5)
2002-04-23 18:34:52 +00:00
Andrew Bartlett
bfa6281944
Spelling fixes from vance
...
(This used to be commit 70c6f5fc6d3ec3121b29d1e46e7fd3933fbcce6b)
2002-04-23 04:43:44 +00:00
Jeremy Allison
569fa9b3dd
Fix for a bug Jerry found with printing where a smbd connection may
...
be idled even with an open pipe.
Jeremy.
(This used to be commit 3a93c5daeca3edd4f319199c8a6068d25cb6750e)
2002-04-23 02:16:48 +00:00
Jeremy Allison
4df4aca784
Ensure auth requests from the same machine are completely serialized.
...
NT4.x DC's require this.
Jeremy.
(This used to be commit d162b6285d549370a24a926ab1c46cef7e7f630a)
2002-04-22 22:44:44 +00:00
Gerald Carter
dde9187728
merge from SAMBA_2_2
...
(This used to be commit 5e381abbbfaa15f3ebd89cba3cd9bb6de8e4ff4e)
2002-04-22 18:47:36 +00:00
Christopher R. Hertel
0fb9ea9fa4
My seven-year-old daughter calls me 'Captain Pedantic'. I don't know which
...
is freakier... the name or the fact that a seven-year-old knows what it
means.
Small change to correct the value we place in the DGM_LENGTH field of
NBT Datagram messages. We have been counting the full datagram, but it's
fairly clear in the RFCs that we should only count the source name,
destination name, and payload. We've been overcharging by 14 bytes
(the size of the NBT DGM header).
This fix brings us in line with what Windows does, and what the RFCs
say should be done. I'm a little surprised that this didn't cause any
bugs or error messages. I guess no one actually checks this field.
(This used to be commit 3156c020e5b6f12a448d58669977ad4449789460)
2002-04-22 03:08:33 +00:00
Andrew Tridgell
86cf3b9f11
try to cope better with the take ownership operation for foreign SIDs
...
what we do is map to the authenticated user when the sid is unmappable
and dos filemodes are enabled
(This used to be commit b6c2ef4f54e7b42125f8c89ee5a62b0ba6b52f59)
2002-04-20 07:28:46 +00:00
Tim Potter
5c261ce93d
Return exception text if getprinter level not [0..3]
...
(This used to be commit c02a7a71d6ddae711c84094e410d1117efc031f0)
2002-04-20 07:17:36 +00:00
Jeremy Allison
ca2e14ddc3
We cannot set errno=0 in any of the wrapper calls as this breaks UNIX error
...
returns to the client.
Jeremy.
(This used to be commit 1d66e53a64ec2878293e6d74a852b736ddab8f21)
2002-04-19 21:45:02 +00:00
Jeremy Allison
16e1ff4f3a
Added Martin's lpq parse fixes from 2.2.
...
Jeremy.
(This used to be commit 3853234c2649c501e9876f940f802be86cb6383d)
2002-04-19 17:59:13 +00:00
Jeremy Allison
4f4d25d3e1
Fix different args to sys_fcntl without going varargs....
...
Jeremy.
(This used to be commit 65742067e07195048edcee46dae95a58a4a50950)
2002-04-19 17:30:27 +00:00
Jeremy Allison
8bc0e73a43
Fixed one more sendto.
...
Jeremy.
(This used to be commit 7adcc930ca56bf879b5e73b74bca19ac2353f1c0)
2002-04-19 17:22:32 +00:00
Jeremy Allison
baf8e2e712
When opening a tdb fails - don't expect to be able to do tdb_errstr ! (Doh!).
...
Jeremy.
(This used to be commit 9209d8e718e860e6a58937376cbb437b6b7adbbb)
2002-04-19 17:10:56 +00:00
Jean-François Micouleau
2ad27d872c
add NetUserEnum and NetGroupEnum lanmap API calls, untested. I don't have
...
anymore a SNAP/DELL NAS to test.
from Kevin Stefanik.
J.F.
(This used to be commit d0ce52230b456108ad91361b51e30d9a9cb25dff)
2002-04-19 13:41:43 +00:00
Jean-François Micouleau
8295173206
DEBUG cleanup.
...
J.F.
(This used to be commit 1ece80a6b70ab26eb1a8484134b536efa007f6f9)
2002-04-19 13:39:52 +00:00
Jeremy Allison
b63be4e1ab
Added sys_fcntl (not to be used everywhere). Added sys_read/sys_write
...
for transfer_file.
Jeremy.
(This used to be commit c7ff521bab838c070931f2b0ece4be3371fbcdbf)
2002-04-19 03:05:38 +00:00
Andrew Tridgell
fc78c773f8
fixed trust relationships in ADS winbindd after breaking them with my BDC changes ...
...
(This used to be commit 8096032663690eafb6bb8b4f405d6231389d4f80)
2002-04-19 03:00:29 +00:00
Jeremy Allison
e762f93821
Fixed sendto in oplock code.
...
Jeremy.
(This used to be commit 64974fa334fd757ff5cfd1bd32d7300bf8a6208c)
2002-04-19 02:20:04 +00:00
Jeremy Allison
87fc828012
Fix oplock recvfrom.
...
Jeremy.
(This used to be commit 68c0eb5ca7bc96cfdc8df07bd84f3e49de024b81)
2002-04-19 02:16:54 +00:00
Jeremy Allison
e41915d7c8
Fix send and recvfrom.
...
Jeremy.
(This used to be commit 8cbc24c3bd0e2d2349625c3b5d2e12ac092ec5a8)
2002-04-19 02:15:10 +00:00
Jeremy Allison
302b581ddc
First cut at fix for the EINTR problem... More needs to be done I think.
...
Jeremy.
(This used to be commit 48475a7a697242b9fd7b1aec24389afb112569c4)
2002-04-19 02:08:52 +00:00
Andrew Tridgell
dcb572e0b2
fixed a namequery bug caused by my recent string length patches
...
(This used to be commit b2329039d255928faf53474ee7ab06b6353b9fbe)
2002-04-19 00:16:18 +00:00
Richard Sharpe
ba309aaffa
Back out the wrong changes I made yesterday ...
...
(This used to be commit 6d52aa1fc892b48d72a790800ee00d6d7bdc4844)
2002-04-18 18:36:17 +00:00
Andrew Tridgell
c0a9919430
fixed the fallback to a BDC for ADS connections
...
(This used to be commit 3e58a1ee83ea0b4347ce24e566445cc6cb67bb3a)
2002-04-18 06:56:44 +00:00
Andrew Tridgell
6a9bc86d62
nicer strndup() function
...
(This used to be commit 546764f3cbbefaad312386280dd2ebbbe5b4446d)
2002-04-18 03:59:02 +00:00
Tim Potter
b0fbd72b41
Started working on setprinter code.
...
(This used to be commit 38d2b1794a0942ac4c2787f06bc5e546508c2515)
2002-04-18 03:35:05 +00:00
Tim Potter
eaf7e2b374
make proto
...
(This used to be commit a721843197d39c0edc6c464214123be3300d0b91)
2002-04-18 03:24:02 +00:00
Andrew Tridgell
5b8135e038
- fixed the is_mangled() interface to handle multiple components
...
- fixed the no-extension case of reverse mangling
(This used to be commit 64a2ae5cee4ffc5ae3c902705b6e1050f649e3a5)
2002-04-18 02:13:55 +00:00
Jeremy Allison
e9be6c4db4
Fix found by Li Shao @ HP - XP clients don't bother to set the devmode_ptr
...
in the SetPrinter() call - they send it in the devmode_ctr instead.
Jeremy.
(This used to be commit f988a1af034b4cea2412171a257a752192afaece)
2002-04-18 01:48:45 +00:00
Richard Sharpe
4e5e548170
Fix smbtorture so it can handle collisions etc ...
...
(This used to be commit ba4d6c76aabd3d1fd8dc1e2335baf50c58d636a7)
2002-04-17 22:50:02 +00:00
Jeremy Allison
82b573678d
Fixed the AFP_Resource:$DATA filename creation bug.
...
Jeremy.
(This used to be commit b6c466e8800c03d154381c02a3893f338430b82d)
2002-04-17 21:59:55 +00:00
Jeremy Allison
37d67c3345
libsmb/cli_netlogon.c: Fixed confusing debug messages.
...
param/loadparm.c: Added missing debugs that would have helped me find a misconfiguration
I lost a day on....
Jeremy.
(This used to be commit 6e9572379784c77f3c4e6a95e18a9641880a8ffc)
2002-04-17 17:34:38 +00:00
Jeremy Allison
5e2547e4db
Fix unused warnings with deleted code.
...
Jeremy.
(This used to be commit 255c68856eeccf75b152e15be66130175907188c)
2002-04-17 16:58:12 +00:00