summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2003-09-04Remove convert_string_internal completely from fast path when processingJeremy Allison1-10/+18
NBENCH calls. Requires fixed buffer size for strdup_upper(). Jeremy. (This used to be commit e98fbfaf384bd2d3ebb002b0b981366377fb5ac0)
2003-09-04Fix UNIX passwd sync properly. I've finally understoodJeremy Allison2-99/+63
the as_root parameter has bugger all to do with who you *currently* are, and everything to do with who you run the script as. Doh ! Jeremy. (This used to be commit 17a241d9f788b63fec091001cb72d34c09cf32a4)
2003-09-04More FreeBSD PAM compile fixes. Don't redefine PAM_AUTHTOK_RECOVER_ERRTim Potter1-0/+3
if it already exists. FreeBSD 4.8 doesn't need the redefinition, 5.0 does. (This used to be commit 4a3727b03b0488fa82687014cb476b1971a78be8)
2003-09-04Produce an error if --with-pam_smbpass is specified and we can'tTim Potter1-3/+7
find libpam or security/pam_appl.h Also change the warnings when we can't do --with-pam_smbpass when is was requested to errors. (This used to be commit fe3fb58623c27472d54722b780af43c3e272abaf)
2003-09-04Quieten level 0 debug when probing for modules. We shouldn't display so loudTim Potter1-6/+22
an error when a smb_probe_module() fails. Also tidy up debugs a bit. Bug 375. (This used to be commit 24a1720472f1340778dea76a88770520dca26f12)
2003-09-04Used cachegrind to track down some bottlenecks.Jeremy Allison4-12/+111
Removed calls to clobber_region when not compiling with developer as they were hiding speed problems. Added fast path to convert_string() when dealing with ascii -> ascii, ucs2-le to ascii and ascii to ucs2-le with values <= 0x7F. This gives a speedup of 22% on my nbench tests. Next I will do this on convert_string_allocate. Jeremy. (This used to be commit ef140d15ea0d76a3e7cdcadbfd3e917c210a9411)
2003-09-04Produce an error if --with-pam is specified but no PAM headers can beTim Potter1-0/+7
found. (This used to be commit dc43c2dd1b4cd02e996fe10f1684a6571b2fd3de)
2003-09-03Fix up overlapping memcpy -> memmove found by valgrind.Jeremy Allison1-1/+3
Jeremy. (This used to be commit e0c1460c6b6af2b83ea205d8abeb37c71ca1d4c1)
2003-09-03Try to add memory keytab support. It also includes much of the genericJim McDonough1-1/+141
keytab support code, but it won't be enabled until we add that to smb.conf. Adapted from the work of Guenther Deschner (gd@suse.com). Please hammer on this... (This used to be commit a26fa5bee24c73cd835f59bb18162ab07760d76a)
2003-09-02Proposed patch for #308. Needs testing.Jeremy Allison1-7/+10
Jeremy (This used to be commit e2b73477e772ac2f527719df0d3d64c67649bb1c)
2003-09-02Disable rc4-hmac on broken heimdal setups. Pre-0.7 heimdal (or at least upJim McDonough1-2/+10
to a very recent snapshot) has arcfour-hmac code that doesn't work with windows. Love suggested detecting it via the existence of KEYTYPE_ARCFOUR_56 which only exists in working versions. (This used to be commit e039a61e51c50a1999ed8e375c4d5df8b622e310)
2003-09-02Check for support for in-memory keytabs, which are needed to make heimdalJim McDonough1-0/+22
work properly. MIT does not support them, so this check will be used to decide whether to use them. First part of fixing bug #372. (This used to be commit 85737fc9371d8208f3dd55d408958e357c48266e)
2003-09-02Fix for bug 261. Create a configure #define for FreeBSD and a check inTim Potter2-2/+6
nsswitch/pam_winbind.h so we can compile properly on this platform. (This used to be commit 75411005fcab7ecf31940c5f7b87fd407166f98a)
2003-09-01Fix comment strings to 43 bytes as per spec.Jeremy Allison1-3/+2
Jeremy. (This used to be commit f1ec43fae400455d20931ab2d3ecd8f9a6609050)
2003-09-01Proper fix for #380 -- use different algorithm to generate codepagesAlexander Bokovoy2-3/+19
source code which allows to take gaps into account thus making unneccessary extended [index] = value, syntax in to_ucs2 array (This used to be commit 4ab08a4bb8dbd023eb85d16a594d3c4ed066f9ac)
2003-09-01Fix CP437 and CP850 syntax for old compilers removing ANSI C99-specificsAlexander Bokovoy2-510/+64
(This used to be commit 61c671bd69674b9e1c4a8b72453dc6aae24b4323)
2003-09-01Fix bug 342. Short version of --add now -a instead of -A.Tim Potter1-2/+2
(This used to be commit 233568dd6b08d3dfb48a712b763dfc31c03b229d)
2003-08-31We don't need to #include memory.h here. It's a BSD'ism and just includesTim Potter1-1/+0
string.h anyways. (This used to be commit 71034cede83b5605b25a4d3b640086294244c239)
2003-08-29Remove cap_set_quota as it is the same as default oneAlexander Bokovoy1-8/+3
(This used to be commit e123f1a8c8ecc0958e640ed204348d0c831f90f5)
2003-08-29Update mount helper to take synonyms for file_mode and dir_mode (fmask and ↵Steve French1-9/+28
dmask) (This used to be commit 89a0e97094fa85b6339f0ad0884cf55987758263)
2003-08-29bumping versionGerald Carter1-1/+1
(This used to be commit e5f091e79511c5dc15f750e81063a962471634f2)
2003-08-29Fix some compiler warnings.Tim Potter1-10/+8
(This used to be commit f566de0541373fab97caa6b0f574f79e68ae74dc)
2003-08-29Add log2pcap to everything target.Tim Potter1-2/+4
(This used to be commit fb446ba8117c5e24489520aaea6abd25d6396287)
2003-08-28Fix bug found by tridge in 2.2.x. Ensure that %U substitution isJeremy Allison3-8/+18
restored on next valid packet if a logon fails. This has relevence if people are using su.exe within logon scripts ! Jeremy. (This used to be commit d405a93a9d3f9a1d93bb3289b00683fba3160bbe)
2003-08-28Fixed warnings in secret code.Jeremy Allison1-26/+0
Jeremy. (This used to be commit 86ebf990431903b12ec24a4d9af00d665e828145)
2003-08-28make sure using_samba 2ed. files get installed okGerald Carter1-0/+7
(This used to be commit 55b6129bd106898ebfe976facacfe1d079492993)
2003-08-28getting rid of copmpiler warningGerald Carter1-0/+2
(This used to be commit d3f5c5c22026b2e1e4f02617a823505ae88eab24)
2003-08-28fixing typos pointed out by Vance in WHATSNEWGerald Carter2-2/+57
Include patch to manually set the machine trust account password (on request from jht) to mimic 2.2. behavior. last changes before RC2 (not counting syncing the docs). (This used to be commit ce090371449097d4e5010e1219d449db8b0ccac5)
2003-08-28Add length warning on register name.Jeremy Allison1-2/+12
Jeremy. (This used to be commit 68d02ebbcd9bc4cf7c84763d03c903b1f2e55fb8)
2003-08-28Fixed off-by-one bugs in workgroup name comparisons. Complain when aJeremy Allison3-9/+16
workgroup name is >15 characters. Jeremy. (This used to be commit 35a0b3c035d50474eda97b015676885722737a95)
2003-08-28Fix rename of struct gap. ab - LOOK AT THIS. You changed one moduleJeremy Allison1-1/+1
but not the other. This now compiles but I need verification. Jeremy. (This used to be commit 787c9764b300651af83a6e54f3090cfcf078a8a9)
2003-08-28Refactor charset plugins a bit and add CP437 module.Alexander Bokovoy9-75/+597
Now all 8-bit charsets with gaps (not all symbols defined) could be produced through one macro -- SMB_GENERATE_CHARSET_MODULE_8_BIT_GAP(CHARSETNAME) within source file with three charset tables. Full source code for such modules can be generated by source/script/gen-8bit-gap.sh script which was taken from GNU libc and changed slightly to follow our data types and structure. (This used to be commit 37042c7bc0f349370e93e4bed37d8fa371013247)
2003-08-28revert a change to r1.397.2.91 because to operate like the docs; browseable ↵Gerald Carter1-0/+7
for new home directories should be inheritied from the global defaults, not [homes] (This used to be commit ea54bfc211f874c23b79572d8fb89bac73ec21a3)
2003-08-28Fix email address in copyright statementJim McDonough1-1/+1
(This used to be commit ffc82460f2b6b703739d9f95dc878d31bc9b3367)
2003-08-28skel_ -> cap_Alexander Bokovoy1-51/+51
(This used to be commit 8bb033273a0fa20ba88ad6797c9a6ba092224e3b)
2003-08-27Remove what looks like gcc-isms.Jeremy Allison1-16/+17
Jeremy. (This used to be commit ed72e0a1d56f0da29e4ef964f560f0962630e080)
2003-08-27Typo fix.Rafal Szczesniak1-1/+1
(This used to be commit 934fb418a3a3628ee4cde699df872bc1035fc769)
2003-08-27remove 'ldap trust ids' since there was no way for it to work nowGerald Carter2-3/+5
(This used to be commit 3724063f1518c25e33ba6b65cd3bb1e36cec51fa)
2003-08-27Fix bug 327 (again and I think for the last time). Make sure thatGerald Carter4-467/+493
pam_smbpass.so will load ok. Had to move some functions around to work around dependency problems (hence the new passdb/lookup_sid.c) Also make sure that libsmbclient.a is built and installed when we support shared libraries. (This used to be commit 780055f4422f11fb0524ac1f003cdc5f317f8b19)
2003-08-27renaming some functions for consistencyGerald Carter2-10/+10
(This used to be commit f4ca4aae8ad0496b76c710cf79c791724bdaa4ec)
2003-08-27Fix to properly set AP_OPTS_SUBKEY in heimdal. In MIT it is a #define, butJim McDonough2-1/+13
in heimdal it is an enum. Thanks to Guenther Deschner (gd@suse.de). With this join will work, but without a keytab, cifs connections will still fail with heimdal. Fix to come later. (This used to be commit d30bef4c37e8203c273eb3852215a89348bece7a)
2003-08-27Add CAP VFS module from Monyo. Primary purpose of this module is to provide ↵Alexander Bokovoy4-7/+470
CAP-compatible encoded file names for CJKV (This used to be commit e8a5a962ed2218144cbb9c593d8e996c7d034b0c)
2003-08-27Check for embedded mb chars when testing for illegal characters like /.Jeremy Allison1-1/+23
Should fix mangling for Japanese language. Jeremy. (This used to be commit a238bcc440e310a9ea7800e4fb0b4d39c1f0a0d7)
2003-08-27Fix initial debug.Jeremy Allison1-1/+1
Jeremy. (This used to be commit bd40da06352184ed1c4bcaf3449dcdc7fdc59bbd)
2003-08-27Ignore smbiconv binary as wellAlexander Bokovoy1-0/+1
(This used to be commit eea27b9a9cc749b3a67f2ced36ab72586a3905a1)
2003-08-27Remove completely unneeded malloc/free out of this codepath.Jeremy Allison1-12/+11
Jeremy. (This used to be commit fda254169778cc3fa9c226473b5a1f95c17c99a7)
2003-08-27Ensure we use correct length nstrings for workgroup and browser names.Jeremy Allison8-25/+24
Jeremy. (This used to be commit be534c8adf6c3cb8921ce49dbb79991c632d501e)
2003-08-27fix segfault on empty wins server name registration replyGerald Carter1-2/+4
(This used to be commit 743560284cebd686be1094ce1d657e6d06c291b0)
2003-08-27Be consistent about using capital letters in the function names. (The onlyPaul Green1-5/+5
one that really matters is the init entrypoint, but I changed the others to remain consistent). (This used to be commit ce0469ad1c01b36d3f0000756f6917478df37d02)
2003-08-27fix bug 230; make sure to set #define SYSV for solaris; do this outside of ↵Gerald Carter1-1/+9
the checks for shared library support (move the IRIX define as well) (This used to be commit 42d9b75d8c6ab61afd3b399ab485da6733af5bd2)