summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2002-12-04merges from HEAD - change_trust_account_password() must always talk to PDCGerald Carter2-88/+80
(This used to be commit af2fa4385015dce8dedafe80e02a0115892e508e)
2002-12-04Need brackets around macro args. Spotted by Patrick Welche ↵Jeremy Allison1-1/+1
<prlw1@newn.cam.ac.uk>. Jeremy. (This used to be commit 2b9d35cf3f91e9488a55e0a73150d4c18b998afe)
2002-12-04Missed the removal of the incorrect ifdef.Jeremy Allison1-3/+1
Jeremy. (This used to be commit f9cef6f42193b3ae70569e2c7584f088fb53a51c)
2002-12-04Fix for 64 bit issues with oplocks and allocation size.Jeremy Allison4-47/+68
Jeremy. (This used to be commit 379e719e983fb71f94cd2b691f8b194c109496c3)
2002-12-03Reformat of reply.c before Volker's patch.Jeremy Allison1-1059/+1029
Jeremy. (This used to be commit c3877cfb9c9f3f9f86e32169cbb69c3c5bb2e3db)
2002-12-03Fixed nasty bug where file writes with start offsets in the rangeJeremy Allison3-23/+24
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 2d14c442bc601a277458b69f05a763aa2a1ab3b7)
2002-11-29Merge a bunch of trivial changes from HEAD. The difference remainingTim Potter2-2/+0
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 d3998307adc50ba50defe610cb656c73799ae3b9)
2002-11-20merged the %U changes to 3.0Andrew Tridgell2-3/+11
(This used to be commit 58fa6bfee8ba35cc182c18c980e0a4040ddd7d09)
2002-11-19Very curious. It turns out attribute matching on truncate only mattersJeremy Allison1-2/+2
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 3bf21ca936973efcd74b826bc750131c6ab2c701)
2002-11-18Samba janitor... Merging tridge's change to 3.0. Original commitJeremy Allison1-0/+3
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 64b2243ccd984e0d69d8bb7421d43f1f1f84b017)
2002-11-15Updates from HEAD:Andrew Bartlett1-2/+2
- 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 43e90eb6e331d478013a9c038292f245edc51bd0)
2002-11-13small patch to makesure we fallback to <xfs/xqm.h> if <linux/xqm.h> doesn't ↵Jelmer Vernooij1-0/+5
exist (e.g. in SuSE 8.1) (by Metze) (This used to be commit da8794afe8ca8f454937f06d1c43cc5d844b6037)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison12-66/+44
dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
2002-11-09Last sync with HEADJelmer Vernooij1-105/+27
(This used to be commit 1175b62337f5c29954cd5e8dfdc2327c9c80748c)
2002-11-07Stop using hardcoded smbtrans subcommandsJim McDonough1-3/+3
(This used to be commit 117077b172acbdf0e059feb0d598e99cec481291)
2002-11-06Merge of get_dc_list() api change from HEAD.Tim Potter1-10/+4
(This used to be commit 6ba7847ce2756fde94e530fd0bf2a055f3e27373)
2002-11-05Ensure can_delete returns the correct error code.Jeremy Allison1-1/+4
Jeremy. (This used to be commit 52af4ed9ecd8ef5f31ce00c94bc55d6013a7f65a)
2002-11-05Fix to correctly return NT_STATUS_DELETE_PENDING.Jeremy Allison2-0/+4
Jeremy. (This used to be commit 4ec381d64249203e0924b86600fe8e67ada1cb5b)
2002-11-02Merge passdb from HEAD -> 3.0Andrew Bartlett3-4/+4
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 2044d60bbe0043cdbb9aba931115672bde975d2f)
2002-11-01Merges from HEAD:Andrew Bartlett2-1/+3
- 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 b8951a6551b352e4aac7e8b0ecf7fec3f2d9634e)
2002-10-31Fix slowdown because of enumerating all print queues on every smbd startup.Jeremy Allison1-4/+7
Jeremy. (This used to be commit 6efd17ef78ebcfed1130312fa019d674e4663a00)
2002-10-28Fix fd leak with kernel change notify.Jeremy Allison1-1/+1
Jeremy. (This used to be commit a2043390734b38cab8fe2f013960272c0e202b99)
2002-10-23First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.Jeremy Allison5-108/+430
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 40eafb9dde113af9f7f1808fda22908953f7e8c3)
2002-10-22Fix for systems that allow more than 65536 open files per process.Jeremy Allison1-1/+8
Jeremy. (This used to be commit 947a56ce00e552e8b8d2ed64435eabde6225f044)
2002-10-21Merge mangle prefix code.Jeremy Allison1-16/+41
Jeremy. (This used to be commit 83261f43326ae65af498399b5c933dfb20df1df7)
2002-10-21removed the following parametersGerald Carter2-225/+94
* postscript * printer driver * printer driver location * printer driver file also removed the get_a_printer_driver_9x_compatible() function (This used to be commit 743f2b8025effe57d8f075ff14a9357123c507a8)
2002-10-17Added new error codes. Fix up connection code to retry in the same wayJeremy Allison1-1/+1
that app-head does. Jeremy. (This used to be commit ec7953f20145799f6286a295472df4826bfdfb8f)
2002-10-15Change default of max_xmit to match W2K. Ensure NT negprot uses it.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 0bf7187e3ba57ee2422a0f6f736266a55502123c)
2002-10-15Merge Anton's 64-bit fix.Jeremy Allison1-4/+2
Jeremy. (This used to be commit 0644f6a68e5c1d9a2c236ab0f90d4801848a9b33)
2002-10-11Turns out with Win9x, we could occasionally return from unix_convert() givenJeremy Allison1-0/+12
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 af80b033a5374da9163e3484f7d8707813490597)
2002-10-08Fix based on Jim McDonough's code for ACL inheritance problem.Jeremy Allison1-9/+60
Jeremy. (This used to be commit 3343efaaa8b80d5bc549afebbc06e02e125a6af9)
2002-10-07Fix from Andreas Gruenbacher <agruen@suse.de> to prevent ACL set on read-onlyJeremy Allison1-0/+5
share. Jeremy. (This used to be commit 9b8f362abc5abf25f02718774a8aa1f4574f19ff)
2002-10-04merge of new client side support the Win2k LSARPC UUID in rpcbindGerald Carter1-1/+1
from APP_HEAD (This used to be commit 1cfd2ee433305e91e87804dd55d10e025d30a69e)
2002-10-03Added ASCII art to make this clearer.Jeremy Allison1-1/+73
Jeremy. (This used to be commit 31c0dd7e213509c3bed1061f140f2ea9c6e95a9d)
2002-10-03Write cache bugfix from Rasmus Borup Hansen, system adm. Email: ↵Jeremy Allison1-0/+13
rbh@math.ku.dk Jeremy. (This used to be commit d40a14dbb0ec233f7a2190df1845b039072c4b84)
2002-09-26remove files not in HEADGerald Carter1-286/+0
(This used to be commit 9d9f7bbf87bf9a0e003e6da482615fe040d00852)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter22-685/+1049
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-08-17Sync 3.0 branch with headJelmer Vernooij23-885/+1188
(This used to be commit 42615b945e2e48e53a21ea47f2e45407913a6a1e)
2002-07-15more bug updates from headAndrew Tridgell1-1/+1
(This used to be commit 8b769bf5bbbe54b1a39fd85cc24db09c1ab7faab)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell37-3460/+4406
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-04-15merge from SAMBA_2_2Gerald Carter1-1/+1
(This used to be commit 305ff4203e7313c7869305c63290b1964ac17f2e)
2002-04-12merged the mangling test and passdb bugfixes into SAMBA_3_0Andrew Tridgell2-5/+29
(This used to be commit 97eb3a121d33200ee7559b2413d6252efc04ebaf)
2002-04-11don't try to return a voidAndrew Tridgell1-1/+1
(This used to be commit 51b4de0ae3b05c4f34a645ae9c6e395bc37226e6)
2002-04-11- the 36^6 hash space gives 31 bits, not 32 bits. We need to mask theAndrew Tridgell1-2/+4
hash to suit - the prefix ends at the last dot, not the first (This used to be commit 91a3ccd3e790f980421c1ee93388e19e87026b29)
2002-04-11a few debug statements (disabled)Andrew Tridgell1-2/+7
(This used to be commit 582f753eac7a111a93a8d6c049398a0998af848f)
2002-04-11don't treat '.' as FLAG_ASCII, instead handle it separatelyAndrew Tridgell1-2/+2
(This used to be commit ecdddd674f2ffad16eaa01a68c9c91ff3b355b3f)
2002-04-11- tidier flag checking codeAndrew Tridgell1-8/+40
- finished the is_mangled() function (This used to be commit 128bec2071d640c775b58322256ac6bb03363741)
2002-04-11added some more commentsAndrew Tridgell1-5/+15
(This used to be commit 8d6f2e239940cbac44f6f0e9d584a47553acbc56)
2002-04-11some optimisations to the new mangling systemAndrew Tridgell1-16/+44
(This used to be commit 30b35d0c1f41f72ebe230905f76db8807802a6cc)
2002-04-11this adds a completely new hash based mangling schemeAndrew Tridgell2-0/+511
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 bb173c1a7e2408ced967ebac40b5e3f852ccd3a1)