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 98e2c6f4f854065c56a73ebc9e0a50e0ba018dde)
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 2a8601d0bfa35f4d0ccd7946d483473fd10e19d0)
2004-02-02Merge from 3.0.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 5c5545bd44cdaf4a0b75b0c1c22dd74bb278a6a5)
2004-02-02(merge from 3.0)Andrew Bartlett1-2/+0
Remove duplicate comment. Andrew Bartlett (This used to be commit 841766bcbddbbe5e18d1b7989e54c85ab97715f5)
2004-02-02Remove bogus check. Cosmetics.Volker Lendecke1-5/+0
Volker (This used to be commit 3768b64c81879231a88c0f3235bfe8ecf29f3af8)
2004-02-02janitor duty (merges from 3.0) and cleanup compiler warning on SuSE 9 in the ↵Gerald Carter15-896/+749
end mapper code (This used to be commit 902d4a647a88d1def09d5b1eacb06ab1561f3dec)
2004-02-01Merge from 3.0:Tim Potter1-1/+3
>Include sys/acl.h in check for broken nisplus include files. Bug #1025. (This used to be commit cbf9c3d3953e25999312492dc08f61db875a04e7)
2004-02-01Merge from 3.0:Tim Potter1-4/+8
>Don't log an error if a tdb_brlock() returns EAGAIN - it's supposed to >do that. (This used to be commit d8182b8bf54dc00378caa82e8c325891a08b17ca)
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 758bbfb5f133c3c85e3092ad88294ae4abbbbc6f)
2004-01-31cleanup patch for bug 977 so we don't display incorrect debug messagesGerald Carter1-8/+12
(This used to be commit d59dc1bc1cf47eee2158e5c9d56d0ed750948fa0)
2004-01-30(merge from 3.0)Andrew Bartlett1-17/+31
If we are setting the NT or LM password to NULL, remove the attribute rather than writing XXXXX Andrew Bartlett (This used to be commit 2ae9672f811c91c95ee2ddfd4b0dcc6b0f4fa192)
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 be60768e64ae2061f220faa3943dcb0588393dbc)
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 6c4de7198b94a8cea176e1c9d86deb65705f9058)
2004-01-29more initialization fixesGerald Carter2-0/+63
(This used to be commit 63206b1204bd532bf99912cd4312baf7d69db1f6)
2004-01-29merge from 3.0Gerald Carter3-3/+52
(This used to be commit 77335cc5bce46ab3498f9401099f110b0e5506c1)
2004-01-29removing more unused parametersGerald Carter1-10/+0
(This used to be commit c81c0ffaabaa805211d9c6e1ab5aa66a02365e26)
2004-01-29BUG 570: don't overwrite LDFLAGS; patch from MORIYAMA Masayuki ↵Gerald Carter1-1/+1
<moriyama@miraclelinux.com> (This used to be commit e94590fd5a85117d170c14640cf79b603a5b1d22)
2004-01-29reactivate pdb_gums as static moduleSimo Sorce1-1/+1
(This used to be commit 9836def8a90bc3b375f070e91dbfabd8177f24b3)
2004-01-29This should cure the problem with gums not compiling.Simo Sorce1-120/+188
(This used to be commit 428504b5508e9e0f9cbc0dc8041f25f06de52f88)
2004-01-29updated the head branch as wellAndrew Tridgell1-148/+778
(This used to be commit 467a58af346b30291b69b5d8da7f1b21d518fc1d)
2004-01-29Remove an unused parameter in winbindd (reload_services_file)Richard Sharpe1-4/+3
(This used to be commit 9a81094a0f0ca5c209f640c48b77522e5f81d28e)
2004-01-28This is Simo's patch for the NetShareEnum() bug which caused us to returnChristopher R. Hertel1-11/+31
share names longer than 12 bytes. The function now filters out names longer than 12 bytes (which is compatible with Windows behavior). A better fix might be to store short names along with any names longer than 12 bytes, using a simple (very) name mangling. I'm committing in HEAD. If there are no problems this can easily be merged into 3.0.x. Chris -)----- (This used to be commit 6a8a64dc87863b39490d7f22a7d107e6916584f2)
2004-01-27Don't built gums by defaultJelmer Vernooij2-5/+4
(to enable it, run ./configure --with-static-modules=pdb_gums) (This used to be commit df7666161f75b61058a017fea04b733751d5ac06)
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 e589f6502fc280d5f89b399c6cef167e26773062)
2004-01-27(merge from 3.0)Andrew Bartlett1-2/+10
Clarify comment on set_effective_uid() Andrew Bartlett (This used to be commit 0a9afefb55e9071fd21ea280095555f423571853)
2004-01-26(merge from 3.0)Andrew Bartlett1-109/+158
Revise our server-side password change code to cope with the various 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 e5b5cd5966f2894c283383abe5d99fda524cbb9f)
2004-01-26(merge from 3.0)Andrew Bartlett10-91/+220
This adds client-side support for the unicode/SAMR password change scheme. 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 8063b8b6c2eb30cb116988e265fb289109d7c348)
2004-01-26(merge from 3.0)Andrew Bartlett1-0/+2
Patch by Luca Bolcioni <Luca.Bolcioni@yacme.com>. Ensure we always initialise the session key. Fixes segfaults with security=server, and encrypt passwords = no. Andrew Bartlett (This used to be commit b5b6a5937ccb8126876e9ecf9b17cd95f6eec19d)
2004-01-25(merge from 3.0)Andrew Bartlett1-2/+2
Fix the initialisation vectors for NTLM2, so that they at least make sense, even if they don't work yet. Andrew Bartlett (This used to be commit 40cc86d4b31efdee519cf2e2c9b62c4fdc885724)
2004-01-25(merge from 3.0)Andrew Bartlett1-0/+4
If we are providing strndup(), ensure we provide a prototype too. Andrew Bartlett (This used to be commit 5536c7448e88caa95b13c01956c37deee899dd92)
2004-01-25(merge from 3.0)Andrew Bartlett1-16/+16
Fix removal of attributes in LDAP - we would not actually remove the old value in the previous code. Andrew Bartlett (This used to be commit 971dd33244918cde6bf49a2f9c650da856d31cd6)
2004-01-24(merge from 3.0)Andrew Bartlett1-8/+8
A Samba DC is nothing special these days - so every domain controller 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 c84e8e91e4d4786ece6288a177f66f260d6e7945)
2004-01-23Fix typoVolker Lendecke1-2/+1
(This used to be commit f83606a058b934309bf1b2075747f504eb38575d)
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 3fda2a0432a1dc7a0d28d83e35f6329bc30378e0)
2004-01-22fix previously committed old version by mistakeSimo Sorce1-3/+3
(This used to be commit 4840b25dbd4d2eafc010389a711d42862d5fb0f0)
2004-01-22sorry for the conflict markers committed in by mistake :-(Simo Sorce1-7/+1
(This used to be commit c5634e0b713e594a32522df7a76c36639f772ed5)
2004-01-22(merge from 3.0)Andrew Bartlett1-0/+2
Fix for debian Bug#225328 by LaMont Jones <lamont@debian.org>, where the failure of our LFS test on ia64 caused the _GNU_SOURCE define not to be added, causeing strndup() not to be defined... This was due to strdup() bein implicitly declared, and casting pointer->int->pointer. I'll look into when we really should define _GNU_SOURCE shortly, but the fix is correct anyway. Andrew Bartlett (This used to be commit ba9bc99d3df5098864513e73b0086e42cfab2a19)
2004-01-22merge:Stefan Metzmacher1-3/+6
* Add SIGABRT to fault handling so we now got a backtrace, if we crash in libldap with SIGABRT metze (This used to be commit 7f7b86e4b3815b112fe6881af6c261381f35286f)
2004-01-21Fix compiler warningVolker Lendecke1-0/+2
(This used to be commit 3ec0d3abe9c838ad78fb8fd6a390ea3d8d2b9fcf)
2004-01-21Display some nicer error messages for login via 'net'. I don'tVolker Lendecke1-0/+8
see a reason why we have so many special cases and not simply use nt_errstr(nt_status). Comments? Volker (This used to be commit 18fa3ee649102f4bd36f9b03702fe72d234b6a3a)
2004-01-191. The most part of this patch changed the unknown_3 flag to the now knownSimo Sorce20-894/+673
meaning of fields_present bit mask. Also avoid it being saved in backends (0 is saved where removing the unit32 would have produced a format change). Also add support in samr functions to correctly interpret the flags. Flags still not set properly (eg. still set all flags 0xffffff as previous code), need a tool to test this properly (I',ve done preliminary tests with samba4 rpc torture and it seem to work properly against w2k). 2. Patch for handlig the flag user must change password at next logon in usrmgr based on Jianliang Lu <j.lu@tiesse.com> patch (This used to be commit 78975e9483e64412e436c5dbfe2b71e20b79de29)
2004-01-17Fix for a signing bug when the mid wraps.Jeremy Allison1-3/+11
Found by Fran Fabrizio <fran@cis.uab.edu>. Add to the *start* of the list not the end of the list. This ensures that the *last* send sequence with this mid is returned by preference. This can happen if the mid wraps and one of the early mid numbers didn't get a reply and is still lurking on the list. Jeremy. (This used to be commit b84d249e67315c153e0aa3c5c9adfcf6ca008f97)
2004-01-16fix another bug caused by cli_lsa_query_info_policy() changesGerald Carter1-2/+4
(This used to be commit f9664523282f3e92ff4d7641aded46fdf794aa5b)
2004-01-16Fix another join problem. Don't use a TALLOC_CTX before it has beenJim McDonough1-4/+25
initialized. Also split out the oldstyle join into a new fn, allowing us to call it with no failure message from net rpc join, but displaying a failure message when used with net rpc oldjoin. (This used to be commit cab0a4c4d5c7bf9d89697bf1d351eafbd00d7fd2)
2004-01-16Patch from "Stoian Ivanov" <sdr@bultra.com>: Add -g (greppable..) toVolker Lendecke1-14/+34
smbclient -L to make the output usable in pipes. Volker (This used to be commit 190beff495742d8e45f5e3621ece74c33570d31a)
2004-01-15Bug 381: check builtin (not local) group SID. Patch from Jianliang Lu ↵Gerald Carter1-1/+1
<j.lu@tiesse.com> (This used to be commit 59cabc5b940990352ebd0ceef8b6e85ac04669c4)
2004-01-15Fix net rpc join (at least newstyle) after it was broken by changingJim McDonough1-5/+5
the parms to cli_lsa_query_info_policy without changing them here... (This used to be commit 97d6f4752572cc10894e6e80379c25f5da143ad1)
2004-01-15* BUG 446Gerald Carter3-2/+7
- setup_logging() in smbclient to be interactive (remove the timestamps) - Fix bad return value in pull_ucs2( needs more testing to make sure this didn't break something else) that caused clistr_pull() to always read the same string from the buffer (pull_usc2() could return -1 if the original source length was given as -1) - increment some debugging messages to avoid printing them out so often (This used to be commit f452585073fbeeae3e3a0db644e381f94cb918f3)
2004-01-15BUG 958; don't use the -N option when invoking smbclient from the smbtar scriptGerald Carter1-1/+1
(This used to be commit cb463b8fc9476695507fa996b508d98f1cf1e3ac)
2004-01-15reply_spnego_kerberos did not set the domain of the user handed toVolker Lendecke1-0/+7
register_vuid correctly. We ended up with the local netbios name in substitutions for %D later. Volker P.S: Tridge, I can *really* see why you want to get rid of global variables :-) (This used to be commit 05bfaa858f8253b02fe0f78f97fb665e6847585d)