summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2004-03-19bumping version to 3.0.3pre2Gerald Carter1-1/+1
(This used to be commit 54de60405457bd1fdcbaf6d888969cf6ba897ec4)
2004-03-19updating release notes & merging Derrel Lipman's libsmbclient patch from HEADGerald Carter5-118/+547
(This used to be commit 5fbfaa687a3674287eeadd205f56b2b253a9e2a9)
2004-03-19backport from headSimo Sorce1-0/+3
(This used to be commit e05eb1437054286f14714c46099e867a396dac7d)
2004-03-19Fix gcc warnings. Fix mkproto with new type.Jeremy Allison2-11/+12
Jeremy. (This used to be commit 00fa66df3edeb92ec5efd49bd61f98691e74877a)
2004-03-18Merge from HEAD for Amanda group.Jeremy Allison2-2/+16
Apply Craig Barratt's fixes to allow multiple exlusion files and patterns. Jeremy. (This used to be commit 0272fac8ca40b3d4ea4de8ac8a2e371d450d12e6)
2004-03-18Password lockout for LDAP backend. Caches autolock flag, bad count, andJim McDonough6-2/+308
bad time locally, updating the directory only for hitting the policy limit or resetting. This needed to be done at the passdb level rather than auth, because some of the functions need to be supported from tools such as pdbedit. It was done at the LDAP backend level instead of generically after discussion, because of the complexity of inserting it at a higher level. The login cache read/write/delete is outside of the ldap backend, so it could easily be called by other backends. tdbsam won't call it for obvious reasons, and authors of other backends need to decide if they want to implement it. (This used to be commit 2a679cbc87a2a9111e9e6cdebbb62dec0ab3a0c0)
2004-03-18BUG 932: ulrich@holeschak.de (Ulrich Holeschak); fix local password change ↵Gerald Carter1-1/+1
using pam_smbpass (This used to be commit f21182e24fe440b0cec57baf52cfbe6e07d6c7b7)
2004-03-18Correctness patch from fumiya@miraclelinux.com to count characters correctly,Jeremy Allison1-0/+3
doesn't affect what got put on the wire. Jeremy. (This used to be commit e8b68ef965ea2e3bed41cb397ef32df05c631e92)
2004-03-18Fix sambaUserWorkstations for network samlogons against us as DC. StripVolker Lendecke1-1/+9
the \\ off the workstation. Volker (This used to be commit d01cb00aad76f8be9767fdcfd92c88ea5d8c4f14)
2004-03-18Two little annoyances:Volker Lendecke2-3/+2
net rpc did not inform you if no smbd is running. I never liked the error message (!) Success! when we established a trust. Volker (This used to be commit 4191a434d48065a75f38752c4aa27219f36d602b)
2004-03-18Added a varient of Volker's patch to fix the "self-referrals as anonymous user"Jeremy Allison1-19/+49
problem. Jeremy. (This used to be commit 74de9a61407e6c5a15fc7becca085a1d40199080)
2004-03-17Remove excess logging when probing for the length of the next mb char.Jeremy Allison2-13/+20
Jeremy. (This used to be commit 6339c4690aef7692571dd4c65dd0a12d56a7ffab)
2004-03-17asu/syntax/pc_netlink doesn't fill in the pipe name in the rpc_bind response ↵Gerald Carter1-0/+2
so dont check for it (This used to be commit 4d68d3d5ddeda9589f2e3387144fdac616bb791f)
2004-03-17Change check_path_syntax() to use the new next_mb_char_size() functionJeremy Allison2-43/+17
to make it generic. Remove the mb-codepage "blacklist". Alexander, please check this fix as it reverts your blacklist changes, but I'm hoping it fixes the problem in a more generic way for all charsets. I'm not trying to trample on your (excellent!) work here, just make things more generic without special cases. Jeremy. (This used to be commit 5a9324525acc02e6bf14528679816b35929a564e)
2004-03-16Add function next_mb_char_size() that returns a size_t of the number ofJeremy Allison2-0/+25
bytes in the mb character at a pointer. Will be useful in fixing check_path_syntax() to not use a "blacklist". Also re-added my (C) to reply.c. I mean, really - I've been adding code to the file for over 10 years and I recognise many of the fuctions as mine ! :-). Jeremy. (This used to be commit d2b2a39fd2f2e06cc4aebf081876985f0b28b477)
2004-03-16fix overlapping memory bug when copying usernameGerald Carter1-2/+5
(This used to be commit a7cac639c2cf0e2606d9cfbdb08e961212ee3bfa)
2004-03-16BUG 979 -- fix quota display on AIX; patch from Heinrich.Mislik@univie.ac.at ↵Gerald Carter1-0/+4
(Heinrich Mislik) (This used to be commit 760b63496ccc908c76ea5d3ed474cbbca268ad61)
2004-03-16BUG 1182: patch from john.klinger@lmco.com (John Klinger) to reanable the ↵Gerald Carter2-2/+4
-n 'no cache' option for winbindd (This used to be commit d1848988d9ee9fdd870bcdd32c938b907419558b)
2004-03-16Fix check_path_syntax() for multibyte encodings which have no '\' as second ↵Alexander Bokovoy2-1/+23
byte. This is intermediate fix as discussed with Jeremy until we move check_path_syntax() to UCS2 internally where all ambiguity is resolved. Please add other encodings into charcnv.c with such property.' ' (This used to be commit 2c404f6ba988d68c6f44df9409c0de319553de10)
2004-03-16merging print change notify fix from HP appliance. Also might address some ↵Gerald Carter2-80/+16
one the issues in BUG 1007 (This used to be commit 17ecea4152fb0883acde675b01f19d3e19ff1d64)
2004-03-16BUG 1165, 1126: Fix bug with secondary groups (security = ads) and winbind ↵Gerald Carter4-76/+96
use default domain = yes (This used to be commit f2eaa14b1eb7e89c945b2b06a48e17998c75d620)
2004-03-16Avoid mb conversion overflow when sending an announcement.Jeremy Allison1-1/+4
Jeremy. (This used to be commit 188e1daaffb3b21abc250ebb37d9a671ba51d054)
2004-03-15Use "unix netbios name" type unstring - 64 bytes long to manipulate netbiosJeremy Allison22-94/+97
names in nmbd. Allows conversion from dos codepage mb strings (ie. SJIS) to expand to utf8 size on read. Jeremy. (This used to be commit 834d816caf9cd6318da00febde50d9233469dac2)
2004-03-15removing extra comma in --with-fhsGerald Carter1-1/+1
(This used to be commit 12f3f0268c49c9393ff4cd97cfcd802e6b61bbea)
2004-03-15include swatdir in 'make showlayout'Gerald Carter1-0/+1
(This used to be commit b1115c0fc507e82d828ccbb5853734a964701cd2)
2004-03-15fix byte ordering problem when storing the updating pid for the lpq cache; ↵Gerald Carter1-2/+5
was causing an abort in process_exists() on solaris (This used to be commit 26681cd2a1567d90cc7d344e8aca6e6a686053f5)
2004-03-14When trying to remove a user from a group, winbind should be informedVolker Lendecke1-0/+3
about the user and group... Volker (This used to be commit 9fa2c4045252f07cc0518457d8ef8b81d8402327)
2004-03-14Use possessive in message asking for user's password.Tim Potter1-1/+1
(This used to be commit cc9765ce97b65bb7a6cd44e847a690d3fbe9d032)
2004-03-13Ensure we don't truncate strcmps to nstring anymore...Jeremy Allison6-11/+16
Jeremy. (This used to be commit d7cf64b1e4e501bcd01ddc8279babc65d894a4b3)
2004-03-13Modified fix for bugid #784. Based on a patch from moriyama@miraclelinux.com ↵Jeremy Allison25-176/+197
(MORIYAMA Masayuki). Don't use nstrings to hold workgroup and netbios names. The problem with them is that MB netbios and workgroup names in unix charset (particularly utf8) may be up to 3x bigger than the name when represented in dos charset (ie. cp932). So go back to using fstrings for these but translate into nstrings (ie. 16 byte length values) for transport on the wire. Jeremy. (This used to be commit b4ea493599ab414f7828b83f40a5a8b43479ff64)
2004-03-13First part of patch from moriyama@miraclelinux.com (MORIYAMA Masayuki) toJeremy Allison5-809/+887
fix up netbios names with mb strings. Includes reformat of libsmb/nmblib.c so it's readable. Jeremy. (This used to be commit 966e49a48c352563cdd7f75fe2768f2d6612ec7e)
2004-03-12if we are truncating to the . we need to start at the beginning in caseHerb Lewis1-1/+1
there are multiple "."'s in the name. This code is protected with an #ifdef TRUNCATE_NETBIOS_NAME and this is #define'd to 1 directly above. Should we also get rid of the #ifdef? (This used to be commit 0375dace248eb3dc660fa2bca2808552e502b3f7)
2004-03-12Fix from Robert.Dahlem@gmx.net (Robert Dahlem) for bugid #1048Jeremy Allison1-2/+2
when mangled names are turned off. Jeremy. (This used to be commit 29909ce26ac9a0d8e631b1ed884c525674ee5606)
2004-03-12Fix problems with very long filenames in both smbd and smbclient.Alexander Bokovoy2-47/+55
It appears that we pass filename through resolve_wildcards() as pstring and use fstring temporary buffer there. As result, a long filename in unix charset (UTF-8 by default) can easily expand over 255 bytes while Windows is able to send to us such names (e.g. Japanese name of ~190 mb chars) which we unable to process through this small fstring buffer. Tested with W2K and smbclient, Japanese and Cyrillics. (This used to be commit 83dac6571f99b854ac607d4313cc3f742c1fae2e)
2004-03-12Fix build after Jeremy -- yet another place where convert_string() wasn't ↵Alexander Bokovoy1-2/+2
updated (This used to be commit 9acd46ab462cb4aee9938658dda594ef8b8ddcbd)
2004-03-12Fix string overflow due to wrong size calculationAlexander Bokovoy1-1/+1
(This used to be commit e1d0b8fc7bbe075dd817e3816f29640cda980732)
2004-03-12Allow msdfs symlink syntax to be more forgiving (it took me ages to rememberJeremy Allison1-4/+12
what it was :-). Allow msdfs links to now look like UNC paths : eg. sym_link -> msdfs://server/share/path/in/share or : sym_link -> msdfs:\\server\share\path\in\share Jeremy. (This used to be commit 2979c3e388400fb030b94da5c711f803f81ae0b9)
2004-03-11Restore the contract on all convert_stringXX() interfaces. Add a ↵Jeremy Allison10-77/+81
"allow_bad_conv" boolean parameter that allows broken iconv conversions to work. Gets rid of the nasty errno checks in mangle_hash2 and check_path_syntax and allows correct return code checking. Jeremy. (This used to be commit 7b96765c23637613f079d37566d95d5edd511f05)
2004-03-11Get MungedDial actually working with full TS strings in it for pdb_ldap.Jim McDonough4-48/+60
I know this isn't pretty, but neither was our assumption that all strings from the directory fit inside a pstring. There was no way this worked before will all versions of usrmgr (for example, the only version of mine that has the TS Confic button). (This used to be commit d275c0e384db08c2a6efc28e52844f676ff71fb6)
2004-03-11add missing #ifdef HAVE_BICONV stuffHerb Lewis1-0/+3
(This used to be commit 9ea0560b0b62dbefaedd640cf9f4f58a0d337abe)
2004-03-11BUG 1088: patch from SATOH Fumiyasu <fumiya@miraclinux.com> -- use ↵Gerald Carter1-29/+19
strchr_m() for query_host (smbclient -L) (This used to be commit bc6992c4bffed043dd8ad58d721202091cd14cd3)
2004-03-11Ensure we use check_path_syntax() to pull out DFS paths.Jeremy Allison1-7/+2
Jeremy (This used to be commit 28f1e21c583ea9a7771d6e0134b09a7acd5f054d)
2004-03-11Fix processing of pathnames with embedded '\\' characters (0x5c) in CP932Jeremy Allison1-5/+23
character set. Because of the allowing of "broken conversions" for people who have broken iconv libraries we can't rely on the return from convert_string() to be valid - we must check errno instead. This is ripe for revisiting at some stage. I prefer adding a bool parameter to all convert_string_XX varients to specify if we will allow broken conversions or not. With "allow_broken_conversions" set to false we could then rely on the return from convert_string rather than checking errno. Jeremy. (This used to be commit 74722f28659ac369676e898fda48d3d9ab265045)
2004-03-10another typoHerb Lewis1-1/+1
(This used to be commit e6c2d9a3f7b5e427c6e7139726160d79e1dfc16d)
2004-03-10Moving towards getting msdfs working again (this looks like it was brokenJeremy Allison1-5/+62
in 3.0.2a actually). We now send a correct referral back, but the client refuses to follow it... Not sure why. Will do more tests.. Maybe unicode character count is wrong (it looks it). Jeremy. (This used to be commit e2709f99fc4e603897472d3ba3bf1ca2e7ca728f)
2004-03-10Formatting reformat before I start to change anything here.Jeremy Allison1-273/+258
Jeremy. (This used to be commit 80fde09fc4a5d7e72611fd587777151adc5c890d)
2004-03-10fix typo for tag in proto fileHerb Lewis1-1/+1
(This used to be commit 2367d988ae8d33397cd255d39100ae5791401558)
2004-03-09Fix dfs referrals - don't use check_path_syntax. Also use mb char calls inJeremy Allison2-16/+10
dfs code. Jeremy. (This used to be commit 42175b4518764e484d33d9fbfba3b78ba4102ead)
2004-03-09Yet another '\n' termination of debug message.Rafal Szczesniak1-1/+1
rafal (This used to be commit 3e57c2c6850655da77e25de4cb047cc27741ca9c)
2004-03-09Fix to debug message lacking termination with '\n'.Rafal Szczesniak1-12/+12
rafal (This used to be commit 2a7dd469430459d124cb48d516b82766a2a249bc)