summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2003-09-06address bug #359. Andrew B's patch for implementing clientGerald Carter3-32/+39
portion of NTLMv2 key exchange. Also revert the default for 'client ntlmv2 auth' to no. This caused no ends of grief in different cases. And based on abartlet's mail.... > All I care about at this point is that we use NTLMv2 > in our client code when connecting to a server that > supports it. There is *no* way to tell this. The server can't tell us, because it doesn't know what it's DC supports. The DC can't tell us, because it doesn't know what the trusted DC supports. One DC might be Win2k, and the PDC could be an older NT4. (This used to be commit fe585d49cc3df0d71314ff43d3271d276d7d4503)
2003-09-06revert retry loops in winbindd_ads as abartket points out, weGerald Carter2-314/+153
already have ads_search_retry() for this. However, neither domain_sid() nor sequence_nunber() used this function. So modify them to us ads_do_search_retry() so we can specify the base search DN and scope. (This used to be commit 89f6adf830187d020bf4b35d1a4b2b48c7a075d0)
2003-09-06Only set sids when they're retrurned by the MySQL queryJelmer Vernooij1-2/+2
(This used to be commit 9a603f6f077a2e1ddc41849cca3641421ecbaf11)
2003-09-05More cachegrind tuning, plus fix an error message.Jeremy Allison3-15/+38
Jeremy. (This used to be commit 8cb9ec5d533085d40fc6bfe4ca9647d80bf41ac7)
2003-09-05More tuning from cachegrind. Change most trim_string() calls to trim_char(0,Jeremy Allison26-119/+130
as that's what they do. Fix string_replace() to fast-path ascii. Jeremy. (This used to be commit f35e9a8b909d3c74be47083ccc4a4e91a14938db)
2003-09-05fixes for ads domain membership when only the realm is defined inGerald Carter5-17/+95
smb.conf Fixes to ensure we work with disable netbios = yes (This used to be commit 3913e43724870c62a0d77ec3e73cbe9480cb6247)
2003-09-05revert the change from r1.414 in HEAD that removed theGerald Carter1-7/+2
ability to use variables in paths for the [homes] service. (This used to be commit 8fd13b63103b3c144bdd170edcb3b642dfd9bb54)
2003-09-05fix some output formattingGerald Carter1-0/+1
(This used to be commit 0283b0152e4cbe3d26b305ab9867e2b0765addfe)
2003-09-05reformattingGerald Carter1-102/+107
(This used to be commit 5c3094ee5558a85b9e688aca8044f228ec6fbb33)
2003-09-05fix some problems with the findsmb script due to changes in smbclient & ↵Gerald Carter1-29/+31
nmblookup (This used to be commit 50bb063f3ba0ce0f336bd9f1af3090839ee7b118)
2003-09-05Very weird. On my SLES8 installation ntlm_auth would give missingVolker Lendecke1-1/+1
kerberos symbols unless I do the same as smbd does. It does not hurt on my debian, so simply give a pointer to LDAPLIBS as well. Volker (This used to be commit 353d5272912ac11aa3ebf7403593177c45b20147)
2003-09-05Fix for bug 282 that didn't get checked in.Tim Potter1-1/+1
(This used to be commit e3f5afb83142f44369dcd341d6e66ed2fe51248f)
2003-09-05fix bug 397: use a variant of alloc_sub_basic() for string lists.Gerald Carter2-1/+34
(This used to be commit 62d5611df0cf86c267d7fe820822d4d019ae28bd)
2003-09-05should fix bug 364 & 311: Retry patch based on suggestion fromGerald Carter1-142/+316
Ken Cross. Sometimes ads conenction get stale but we don't know they are dead until we try them. This patch may need some optimization after people bang on it for a while. (This used to be commit 7021cf63a4501c90620cf6a5f117eef345bbd291)
2003-09-05Fix for bug #73. Name types can be specified using name#type notation.Tim Potter1-7/+31
Also added shortcut so that 'net lookup foo#1b' works. (This used to be commit f38679201e301d66473e74506f07812590d19fa4)
2003-09-05Move $(KRBCLIENT_OBJ) to libnss_wins PICOBJ variable so it is converted toTim Potter1-5/+8
relocatable form. Added a comment about this in the hope that it won't happen again. Renamed PAM_WINBIND_OBJ to PAM_WINBIND_PICOBJ to make it a bit clearer. (This used to be commit 04797e12d85a4b4d616397dd1283e5a65af5adab)
2003-09-05Hand optimisatinos for strrchr_m using the properties we know about MBJeremy Allison1-11/+47
character sets and how we use this call. Jeremy. (This used to be commit a9709700eea3bb48ab4a79d74e0b8d22dc98576f)
2003-09-05Return 0 DFS links instead of -1 when dfs support is not enabled.Tim Potter1-1/+1
Possible fix for bug 403. (This used to be commit 6babab93ff845c18f7c0d73e6a016764e31f4fac)
2003-09-04Removed {OLD,NEW}_NTDOMAIN cruft from mkproto.awkTim Potter1-14/+0
(This used to be commit 061decb608a3c881e646617b623277895fc0c13e)
2003-09-04Fastpath strchr_m for ASCII.Jeremy Allison1-0/+13
Jeremy. (This used to be commit b3176f2ec246441dd483dc9757a487535b1656e6)
2003-09-04More hand-tuning of the fastpath. Don't do strlen() when we're doingJeremy Allison2-14/+31
to walk to the end anyway. Jeremy. (This used to be commit 467cafdb1f7ddfb4278824f385b732975246a4f5)
2003-09-04Check in Andrew's fix for bug #305 (always use lp_realm() )Gerald Carter2-15/+9
Also make sure thet ads_startup uses lp_realm instead of just relying on the workgroup name. Fixes bug in net ads join when the workgroup defaults to "WORKGROUP" and we ignore the realm name. (This used to be commit b1763ace4e85f41574894e3807cabb5196fec661)
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)