summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* remove unused variableGerald Carter2004-03-221-2/+0
| | | | (This used to be commit 170c443b19604c3ec997ae494954c473e356e59d)
* missed one on BUG 1195; make sure to set the private * to NULLGerald Carter2004-03-221-5/+2
| | | | (This used to be commit 97a24d13892e292d31a1a6d7a1c96893508d6222)
* BUG 1185: use 'winbind cache time' as the reconnect period when seq_num == ↵Gerald Carter2004-03-221-0/+2
| | | | | | -1 rather than multiplying it by 8 (the default cache time is 5 minutes now) (This used to be commit 8d6e370313b62556ba13d88e1ab5ff468ac103c8)
* bug 1195: add flag to ADS_STRUCT so we know who owns the main structure's ↵Gerald Carter2004-03-223-9/+35
| | | | | | memory (not the members though) (This used to be commit 4449e0e251190b741f51348819669453f0758f36)
* Given how often a panic has to do with malloc() problems, don't temptAndrew Bartlett2004-03-211-1/+1
| | | | | | | things more by calling SAFE_FREE() just before we exit our panic handler. Andrew Bartlett (This used to be commit d0b820562b8a7f8e5d0224926d46590b9f1ca9a3)
* Fix for #1064 - ensure truncate attribute checking is done correctly on ↵Jeremy Allison2004-03-192-5/+28
| | | | | | | "hidden" dot files. Jeremy. (This used to be commit a6045c904fbe7df111c520134581bfd4f1ca67a8)
* BUG 417: fix %UuGg variables expansion in include lines setging the ↵Gerald Carter2004-03-195-2/+43
| | | | | | current_user_info struct in register_vuid() -- shouldn't be any more broken than we were (This used to be commit a90c3bd281e7a62bb8482e42aa3b674eeeb5995a)
* missed some of Derrel's changesGerald Carter2004-03-191-1/+1
| | | | (This used to be commit 3aac1e549eaf4693ded84be432a2c94b6331ef6d)
* add --with-libdir and --with-mandir (patch from Guenther Deschner)Gerald Carter2004-03-191-2/+34
| | | | (This used to be commit a1d6200cd5488ce328c7238b11c54785d64ca447)
* bumping version to 3.0.3pre2Gerald Carter2004-03-191-1/+1
| | | | (This used to be commit 54de60405457bd1fdcbaf6d888969cf6ba897ec4)
* updating release notes & merging Derrel Lipman's libsmbclient patch from HEADGerald Carter2004-03-195-118/+547
| | | | (This used to be commit 5fbfaa687a3674287eeadd205f56b2b253a9e2a9)
* backport from headSimo Sorce2004-03-191-0/+3
| | | | (This used to be commit e05eb1437054286f14714c46099e867a396dac7d)
* Fix gcc warnings. Fix mkproto with new type.Jeremy Allison2004-03-192-11/+12
| | | | | Jeremy. (This used to be commit 00fa66df3edeb92ec5efd49bd61f98691e74877a)
* Merge from HEAD for Amanda group.Jeremy Allison2004-03-182-2/+16
| | | | | | Apply Craig Barratt's fixes to allow multiple exlusion files and patterns. Jeremy. (This used to be commit 0272fac8ca40b3d4ea4de8ac8a2e371d450d12e6)
* Password lockout for LDAP backend. Caches autolock flag, bad count, andJim McDonough2004-03-186-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)
* BUG 932: ulrich@holeschak.de (Ulrich Holeschak); fix local password change ↵Gerald Carter2004-03-181-1/+1
| | | | | | using pam_smbpass (This used to be commit f21182e24fe440b0cec57baf52cfbe6e07d6c7b7)
* Correctness patch from fumiya@miraclelinux.com to count characters correctly,Jeremy Allison2004-03-181-0/+3
| | | | | | doesn't affect what got put on the wire. Jeremy. (This used to be commit e8b68ef965ea2e3bed41cb397ef32df05c631e92)
* Fix sambaUserWorkstations for network samlogons against us as DC. StripVolker Lendecke2004-03-181-1/+9
| | | | | | | the \\ off the workstation. Volker (This used to be commit d01cb00aad76f8be9767fdcfd92c88ea5d8c4f14)
* Two little annoyances:Volker Lendecke2004-03-182-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)
* Added a varient of Volker's patch to fix the "self-referrals as anonymous user"Jeremy Allison2004-03-181-19/+49
| | | | | | problem. Jeremy. (This used to be commit 74de9a61407e6c5a15fc7becca085a1d40199080)
* Remove excess logging when probing for the length of the next mb char.Jeremy Allison2004-03-172-13/+20
| | | | | Jeremy. (This used to be commit 6339c4690aef7692571dd4c65dd0a12d56a7ffab)
* asu/syntax/pc_netlink doesn't fill in the pipe name in the rpc_bind response ↵Gerald Carter2004-03-171-0/+2
| | | | | | so dont check for it (This used to be commit 4d68d3d5ddeda9589f2e3387144fdac616bb791f)
* Change check_path_syntax() to use the new next_mb_char_size() functionJeremy Allison2004-03-172-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)
* Add function next_mb_char_size() that returns a size_t of the number ofJeremy Allison2004-03-162-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)
* fix overlapping memory bug when copying usernameGerald Carter2004-03-161-2/+5
| | | | (This used to be commit a7cac639c2cf0e2606d9cfbdb08e961212ee3bfa)
* BUG 979 -- fix quota display on AIX; patch from Heinrich.Mislik@univie.ac.at ↵Gerald Carter2004-03-161-0/+4
| | | | | | (Heinrich Mislik) (This used to be commit 760b63496ccc908c76ea5d3ed474cbbca268ad61)
* BUG 1182: patch from john.klinger@lmco.com (John Klinger) to reanable the ↵Gerald Carter2004-03-162-2/+4
| | | | | | -n 'no cache' option for winbindd (This used to be commit d1848988d9ee9fdd870bcdd32c938b907419558b)
* Fix check_path_syntax() for multibyte encodings which have no '\' as second ↵Alexander Bokovoy2004-03-162-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)
* merging print change notify fix from HP appliance. Also might address some ↵Gerald Carter2004-03-162-80/+16
| | | | | | one the issues in BUG 1007 (This used to be commit 17ecea4152fb0883acde675b01f19d3e19ff1d64)
* BUG 1165, 1126: Fix bug with secondary groups (security = ads) and winbind ↵Gerald Carter2004-03-164-76/+96
| | | | | | use default domain = yes (This used to be commit f2eaa14b1eb7e89c945b2b06a48e17998c75d620)
* Avoid mb conversion overflow when sending an announcement.Jeremy Allison2004-03-161-1/+4
| | | | | Jeremy. (This used to be commit 188e1daaffb3b21abc250ebb37d9a671ba51d054)
* Use "unix netbios name" type unstring - 64 bytes long to manipulate netbiosJeremy Allison2004-03-1522-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)
* removing extra comma in --with-fhsGerald Carter2004-03-151-1/+1
| | | | (This used to be commit 12f3f0268c49c9393ff4cd97cfcd802e6b61bbea)
* include swatdir in 'make showlayout'Gerald Carter2004-03-151-0/+1
| | | | (This used to be commit b1115c0fc507e82d828ccbb5853734a964701cd2)
* fix byte ordering problem when storing the updating pid for the lpq cache; ↵Gerald Carter2004-03-151-2/+5
| | | | | | was causing an abort in process_exists() on solaris (This used to be commit 26681cd2a1567d90cc7d344e8aca6e6a686053f5)
* When trying to remove a user from a group, winbind should be informedVolker Lendecke2004-03-141-0/+3
| | | | | | | about the user and group... Volker (This used to be commit 9fa2c4045252f07cc0518457d8ef8b81d8402327)
* Use possessive in message asking for user's password.Tim Potter2004-03-141-1/+1
| | | | (This used to be commit cc9765ce97b65bb7a6cd44e847a690d3fbe9d032)
* Ensure we don't truncate strcmps to nstring anymore...Jeremy Allison2004-03-136-11/+16
| | | | | Jeremy. (This used to be commit d7cf64b1e4e501bcd01ddc8279babc65d894a4b3)
* Modified fix for bugid #784. Based on a patch from moriyama@miraclelinux.com ↵Jeremy Allison2004-03-1325-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)
* First part of patch from moriyama@miraclelinux.com (MORIYAMA Masayuki) toJeremy Allison2004-03-135-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)
* if we are truncating to the . we need to start at the beginning in caseHerb Lewis2004-03-121-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)
* Fix from Robert.Dahlem@gmx.net (Robert Dahlem) for bugid #1048Jeremy Allison2004-03-121-2/+2
| | | | | | when mangled names are turned off. Jeremy. (This used to be commit 29909ce26ac9a0d8e631b1ed884c525674ee5606)
* Fix problems with very long filenames in both smbd and smbclient.Alexander Bokovoy2004-03-122-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)
* Fix build after Jeremy -- yet another place where convert_string() wasn't ↵Alexander Bokovoy2004-03-121-2/+2
| | | | | | updated (This used to be commit 9acd46ab462cb4aee9938658dda594ef8b8ddcbd)
* Fix string overflow due to wrong size calculationAlexander Bokovoy2004-03-121-1/+1
| | | | (This used to be commit e1d0b8fc7bbe075dd817e3816f29640cda980732)
* Allow msdfs symlink syntax to be more forgiving (it took me ages to rememberJeremy Allison2004-03-121-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)
* Restore the contract on all convert_stringXX() interfaces. Add a ↵Jeremy Allison2004-03-1110-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)
* Get MungedDial actually working with full TS strings in it for pdb_ldap.Jim McDonough2004-03-114-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)
* add missing #ifdef HAVE_BICONV stuffHerb Lewis2004-03-111-0/+3
| | | | (This used to be commit 9ea0560b0b62dbefaedd640cf9f4f58a0d337abe)
* BUG 1088: patch from SATOH Fumiyasu <fumiya@miraclinux.com> -- use ↵Gerald Carter2004-03-111-29/+19
| | | | | | strchr_m() for query_host (smbclient -L) (This used to be commit bc6992c4bffed043dd8ad58d721202091cd14cd3)