summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-02-04Working on #830. Cope with bad conversions better - don't just memcpy butJeremy Allison2-11/+82
try a crap conversion instead. Next this needs to be done to the convert_alloc function. Actually fixes some valgrind warnings as well - cool ! Jeremy. (This used to be commit 6a7919f2544a689840fe46f3c58ed66f69aca65a)
2004-02-03Fix for a bug where the mutex could be left locked. Also remove theJeremy Allison2-168/+8
memory keytab code which has no effect. Driven by bug report from "Rob J. Caskey" <rcaskey@uga.edu>. Jeremy. (This used to be commit 4cb8facbf9fa6fa5233fdb363ceac4b304d263d4)
2004-02-02A few fixes from "L. Lucius" <ib@digicron.com>. Don't use int when it'sJeremy Allison1-3/+3
really a size_t. Jeremy. (This used to be commit 2da24613ed62c6dd8465c976bdb2e3aaa33a5058)
2004-02-02fix installmodules problem with make on True64Gerald Carter1-2/+2
(This used to be commit ec30303669ee4742aef228fc0e4a801ce4918ad8)
2004-02-02fix problems with proto.hGerald Carter2-2/+2
(This used to be commit 5a32f9568f128374df98491b43e6f5b299cb656c)
2004-02-02update script to build a tarball from the cvs treeGerald Carter1-0/+14
(This used to be commit 3780ee9ea08b780cfddcd6932c71c4107f8dce0d)
2004-02-02there are places in the samba3 code that don't check properly forAndrew Tridgell1-0/+4
packet-termination of strings. This change ensures that when we go past the end of a packet we hit 2 null bytes, thus terminating. We are relying on the SAFETY_MARGIN packet allocation stuff here. (This used to be commit 655ec168288159f5c0961ed8cbdd84c4e14eab26)
2004-02-02the conversion from int to size_t in charcnv did not take into accountAndrew Tridgell1-1/+1
one place where we checked "if (src_len > 0)". I actually would greatly prefer to switch back to int for src_len. The type *can* be negative, which means an unsigned type is inappropriate. There is absolutely no reason why "int" should not be used for a parameter like this. I didn't change back to int as we are close to a release and I wanted a mininal change, but please don't go changing types like this in future without very careful testing and a damn good reason. this bug broke pull_ucs2(), I would not be surprised if it caused all sorts of nastiness. Thanks to vl for noticing the symptoms! (This used to be commit 8b8f0c527959c707f274b435fc59156e37232981)
2004-02-02Remove bogus check. No functional change, just cosmetics.Volker Lendecke1-5/+0
Volker (This used to be commit e3a5e2d9c23e8ba6bc817e433e596f535644c862)
2004-02-02Always at least try to compile in cracklib support.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 6cde5e8307c2425c5c496a2a5fb9fcde6c8ef433)
2004-02-02Merge the 'use cracklib' parameter from HEAD back to 3.0Andrew Bartlett1-0/+4
Andrew Bartlett (This used to be commit 2202667ebb713fb5d933fcaa1c19dc761da47ccb)
2004-02-02remerge andrew's cracklib patch from HEAD and fix a compile warningsGerald Carter5-26/+144
(This used to be commit b60f6ec30d05e4e5bba9934a416ddc8bc089824f)
2004-02-01Include sys/acl.h in check for broken nisplus include files. Bug #1025.Tim Potter1-1/+3
(This used to be commit 5ca866f2475e11759d04dbf6469b055808020d5a)
2004-02-01Don't log an error in tdb_brlock() if a non-blocking lock returns EAGAIN -Tim Potter1-4/+8
it's supposed to do that. (This used to be commit 2423a459471136d701b498ff0db797c70c6d0fce)
2004-01-31* BUG 101: patch from j.lu@tiesse.com to set the SV_TYPE_PRINTQ_SERVER;Gerald Carter2-115/+10
* don't set the unix_ERR_XX code in mkdir_internal, let the error mapping handle it. (This used to be commit 87343fc15a385153c2205bd8bfe876504d38d9a1)
2004-01-31cleanup patch for bug 977 so we don't display incorrect debug messagesGerald Carter1-8/+12
(This used to be commit 11093ecfb7bab1ecb16d19ac00b3e7e38dff43e2)
2004-01-30If we are setting the NT or LM password to NULL, remove the attributeAndrew Bartlett1-17/+31
rather than writing XXXXX Andrew Bartlett (This used to be commit ab7dd748a98361ac9c1c3ca52e9a97aee3f93e6f)
2004-01-30fix pam config fileGerald Carter1-2/+4
(This used to be commit 4dcf2f6e39ad07ead37815e9ed978099459b1569)
2004-01-30fix a few more bugs in Fedora scripts (files not getting installed)Gerald Carter2-1/+5
(This used to be commit 8ee3cc48c3a1784d6d5e0abb6f81d6f14b616777)
2004-01-30Fix up name canonicalization (needed for krb5 keytab support later).Jeremy Allison8-56/+39
Remove source_env handler (no longer used in any codepath). Jeremy. (This used to be commit 3a3e33603084048e647af86a9badaaf49433c789)
2004-01-30fixes for fedora packagingGerald Carter2-15/+307
(This used to be commit 1924dfb266525053b48a636818f32eae14730051)
2004-01-30disable any account that doesn't have a password and doesn't had the ↵Gerald Carter1-6/+12
ACB_PWNOTREQ bit set (This used to be commit 52bf070b10ca99be7e4b9d1b5e32f69d2667d8f4)
2004-01-29more initialization fixesGerald Carter2-0/+63
(This used to be commit 9e590d603547ef1e8388bea66eb5d44e4dfd6412)
2004-01-29disable template accounts by defaultGerald Carter1-1/+1
(This used to be commit 02899224a195260140496c6e72aee66cc6d65ee4)
2004-01-29initialization fixesGerald Carter2-2/+51
(This used to be commit 54fd3992c385fd6208c061131b2c98e448baf2c2)
2004-01-29removing more unused parametersGerald Carter1-10/+0
(This used to be commit 8135ea08b3dce212a98c17a604619dd383e96c24)
2004-01-29BUG 570: don't overwrite LDFLAGS; patch from MORIYAMA Masayuki ↵Gerald Carter1-1/+1
<moriyama@miraclelinux.com> (This used to be commit d39b1b3fd67d117016907aa79ffac7cb89d3cd5b)
2004-01-29completely rewrote the AIX UESS backend (UESS is the AIX equivalent ofAndrew Tridgell1-148/+778
NSS). This time I think I've actually got it right. I wrote a fairly good test suite for UESS modules (similar to nsstest.c) that allowed me to explore how the modules supplied with AIX actually work. This new module also incorporates authentication features, so you don't need a PAM module at all. Just install this UESS module and authentication will "just work". It also handles password change, so /usr/bin/passwd can be used to change windows password. (This used to be commit d62cb9454e310d2baeea0077dad4ba9382ba06cd)
2004-01-29Remove an unused parameter from reload_services_file.Richard Sharpe1-4/+3
(This used to be commit 0032c3f46aaef065e95d987dc0506016aabbe644)
2004-01-28Merge of Chris's fix.Jeremy Allison1-11/+31
Jeremy. (This used to be commit 1a7714ea32300ba0e48f275addcf2e1f272a96ed)
2004-01-27forgotten commit -- version == 3.0.3pre1Gerald Carter1-1/+1
(This used to be commit 043a81b94de390136bd18f299d71f1edb526be77)
2004-01-27fix typo in init scriptGerald Carter1-1/+1
(This used to be commit bc63d989c06d733fd6c411dde150cf0f50029757)
2004-01-27prepping the SAMBA_3_0 branch for 3.0.3 workGerald Carter2-41/+41
(This used to be commit 50f278ddcc046e7578b4397d10c22b424d2b01a3)
2004-01-27bug 977 - don't create a homes share for a user if a static share already ↵Gerald Carter1-1/+7
exists by the same name (This used to be commit 6b89a76aa7efaa0ad7a0139aeb3e4ebf5c01cdcb)
2004-01-27Clarify comment on set_effective_uid()Andrew Bartlett1-2/+10
Andrew Bartlett (This used to be commit ca24ae50ea37942dde335e97019880b6ce518a6a)
2004-01-26Revise our server-side password change code to cope with the variousAndrew Bartlett1-109/+158
different feilds that different clients send. (For example, not all clients send both password types). This also cleans up the code to make it clearer what is really going on, and to make better use of common functions. Andrew Bartlett (This used to be commit 934e9f3bd0e8a938263978ffcd1fef51e42fa5e4)
2004-01-26This adds client-side support for the unicode/SAMR password change scheme.Andrew Bartlett10-91/+220
As well as avoiding DOS charset issues, this scheme returns useful error codes, that we can map back via the pam interface. This patch also cleans up the interfaces used for password buffers, to avoid duplication of code. Andrew Bartlett (This used to be commit 2a2b1f0c872d154fbcce71a250e23dfad085ba1e)
2004-01-26Add a few more NTSTATUS <=> PAM error mappings.Andrew Bartlett1-1/+3
Andrew Bartlett (This used to be commit 7495cafd42617c0aa2ba9de69f87426ecacc1297)
2004-01-26Patch by Luca Bolcioni <Luca.Bolcioni@yacme.com>. Ensure we alwaysAndrew Bartlett1-0/+2
initialise the session key. Fixes segfaults with security=server, and encrypt passwords = no. Andrew Bartlett (This used to be commit 493ac5ce98fa3fcddb596139240dd762e70d4ac3)
2004-01-25Fix memleak just introduced. Thanks to abartlet :-)Volker Lendecke1-0/+1
Volker (This used to be commit be485eea81c6bab8067642c26e41a14652ce7ee6)
2004-01-25On my SuSE 8.2 (glibc 2.3.2) the getpwnam inside pdb_getsampwnam resetVolker Lendecke1-30/+43
the surrounding getpwent loop to the first entry. So smbd went into an endless loop. Volker (This used to be commit 1797b16fadd61ef1f30a1be950e3afe7a2e1d791)
2004-01-25Fix the initialisation vectors for NTLM2, so that they at least make sense,Andrew Bartlett1-2/+2
even if they don't work yet. Andrew Bartlett (This used to be commit 636b98dab9bc27f55bdc65d7dedb58cdf8d8563b)
2004-01-25If we are providing strndup(), ensure we provide a prototype too.Andrew Bartlett1-0/+4
Andrew Bartlett (This used to be commit 109627145463fc4c00b8f6664e3f2e48e0305d56)
2004-01-25Fix removal of attributes in LDAP - we would not actually remove the oldAndrew Bartlett1-16/+16
value in the previous code. Andrew Bartlett (This used to be commit c97d3eb1622ee25c24b0cd81b65ec7d4b854e604)
2004-01-24A Samba DC is nothing special these days - so every domain controllerAndrew Bartlett1-8/+8
location packet from the client is not a DEBUG(1) event anymore... (Yes, we printed this for each of these UDP packets...) Andrew Bartlett (This used to be commit 4ca0ab7506f15112d996bf68278e54e535c4cab4)
2004-01-23Fix typoVolker Lendecke1-2/+1
(This used to be commit 09a30014233f111fe978effb12ecb2f88b710cb5)
2004-01-23Fix decoding of base64. We got the length wrong when the result was notVolker Lendecke1-0/+2
an exact multiple of 3. I also wrote a torture test and it survived some minutes of random stuff coded/decoded up to 16 MB data. But that would be a bit too embarassing to commit... :-) Volker (This used to be commit 6d22f0d8c36bea618ad0adf4eefc2f5a37cb3fda)
2004-01-22Fix for debian Bug#225328 by LaMont Jones <lamont@debian.org>, whereAndrew Bartlett1-0/+2
the failure of our LFS test caused the _GNU_SOURCE define not to be added, causeing strndup() not to be defined... I'll into when we really should define _GNU_SOURCE shortly, but the fix is correct anyway. Andrew Bartlett (This used to be commit aca07f33a2f3cca48b44ac92d3b1b35592ffadc7)
2004-01-22* Add SIGABRT to fault handlingStefan Metzmacher2-4/+9
so we now got a backtrace, if we crash in libldap with SIGABRT metze (This used to be commit b5e814294eb3ce44131084d89014cb8a8840fe74)
2004-01-21Fix compiler warningVolker Lendecke1-0/+2
(This used to be commit 413ed77142377351a0ed1c6cf800a14809e56e9c)