summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
* r1248: Fix from Nick Wellnhofer <wellnhofer@aevum.de> to preventJeremy Allison2007-10-101-4/+8
| | | | | | lp_interfaces() list from being corrupted. Jeremy. (This used to be commit c892545960a9c3206b5a1f73e98ea924c802c17c)
* r1215: Intermediate checkin of the new keytab code. I need to make sure IJeremy Allison2007-10-101-0/+15
| | | | | | | | haven't broken krb5 ticket verification in the mainline code path, also need to check with valgrind. Everything now compiles (MIT, need to also check Heimdal) and the "net keytab" utility code will follow. Jeremy. (This used to be commit f0f2e28958cb9abfed216c71f291f19ea346d630)
* r1156: Ensure new remote arch of CIFSFS is seen.Jeremy Allison2007-10-101-0/+3
| | | | | Jeremy. (This used to be commit 33fa4b8b27427874ac70af00908d97709c1cddc7)
* r1111: Rename vsnprintf to smb_vsnprintf so we don't get duplicate symbol errorsJelmer Vernooij2007-10-101-1/+1
| | | | | when linking against an app that does have vsnprintf() (bug #478) (This used to be commit 9f1c978088321b09dea96c54026ebdfaaf770641)
* r1106: Lars Mueller <lmuelle@suse.de> asked me to apply this patch, as this ↵Volker Lendecke2007-10-101-5/+9
| | | | | | | | | | is needed for their build environment. The AFS stuff is linux 2.4 only currently, it works for me on this platform, so apply it. Volker (This used to be commit 69e8c65f1f0cb0c5237bb3b2560cd6f936503eb7)
* r1104: get_called_name is used in the printing subsystem. In case of multi-homedVolker Lendecke2007-10-101-0/+22
| | | | | | | | servers we need to make sure that the clients are given back the IP address they connected to. Volker (This used to be commit 5f482df169eebae87ec769a05e3c3fc6e32af1e3)
* r1087: BUG 1221: revert old change that used single and double quotes as ↵Gerald Carter2007-10-101-1/+1
| | | | | | delimters in next_token(), and change print_parameter() to print out parm values surrounded by double quotes (instead of single quotes) (This used to be commit b0739b073a1db8b0b163726a1d181b2f05d71883)
* r1085: Now it's had some proper user testing, merge in the deferred open ↵Jeremy Allison2007-10-101-0/+6
| | | | | | | | | fix. I'm still doing more testing, but it fixes a behaviour that we've been wrong on ever since the start of Samba. Jeremy. (This used to be commit 894cc6d16296b934c112786eec896846156aee5d)
* r993: BUG 703 -- finishing patch by Eric Boehm <boehm@nortelnetworks.com> ↵Gerald Carter2007-10-101-14/+17
| | | | | | for netgroup case lookups (This used to be commit 82f3fee5954ef57e922a9da077893422e054839f)
* r938: on an error save the original errno before calling iconv to resetHerb Lewis2007-10-101-1/+5
| | | | | the conversion state (This used to be commit 4a5a122b3a85c653bbf458342400f3b8a69dc615)
* r907: fixing browse.dat bug -- don't include the resouce byte from the ↵Gerald Carter2007-10-101-1/+1
| | | | | | netbios name when pulling a string from a packet (jra, please double check this (This used to be commit c9bef86b8b422c5cbb6e3e5d2abb96c6e4560c1e)
* r772: fix cut and paste error in commentHerb Lewis2007-10-101-1/+1
| | | | (This used to be commit a3bb4909c34c50673e0859be35200a8628ecdb8c)
* r647: fix for setting the called name to by our IP if the called name was ↵Gerald Carter2007-10-102-24/+6
| | | | | | *SMBSERVER and *SMBSERV -- fixes issue with connecting to printers via \ip.ad.dr.ess\printer UNC path (This used to be commit 8ee268f0ed0c2f75ded9c2ddd66e0953f443c79e)
* r645: Patch from kawasa_r@itg.hitachi.co.jp to correctly enable core dumps.Jeremy Allison2007-10-101-0/+3
| | | | | Jeremy. (This used to be commit ea41d694270264557f740cd40ccc69b4acaa57e9)
* r570: Remove lots of globals to handle case issues - move themJeremy Allison2007-10-103-25/+10
| | | | | | | | | to connection struct entries (as they should have been from the start). Jerry, once you've cut over to 3.0.4 release branch I'll add this to 3.0 also. - Jerry cut over :-). Jeremy. (This used to be commit 578a508509d21226ad3332fc54c3ab54cd8ae452)
* r487: fixing some compile issues with the IBM AIX compiler reoported on the ↵Gerald Carter2007-10-102-6/+8
| | | | | | ml -- now to watch the build farm some more (This used to be commit 79fed5f5a73cfe4811f626acbcf85860e23e7826)
* r470: BUG 1302: fix seg fault by not trying to optimize a list of invalid ↵Gerald Carter2007-10-101-5/+4
| | | | | | gids using the wrong array size (This used to be commit 3003769164ed1265f57504f240e56f4a4ba34550)
* r449: Two AFS-related things:Volker Lendecke2007-10-102-228/+237
| | | | | | | | | | Split off the non-crypto related parts of lib/afs.c into lib/afs_settoken.c. This makes wbinfo link without -lcrypto. Commit vfs_afsacl.c, display & set AFS acls via the NT security editor. Volker (This used to be commit 43870a3fc1073cf7d60f1becae5c2ff98ab49439)
* r428: add acls debug classHerb Lewis2007-10-101-0/+1
| | | | (This used to be commit b7703799f8899affda205eacb0bf79cf8e2b9362)
* r426: fixed bug noticed by wim.delvaux@adaptiveplanet.com in handling of ↵Andrew Tridgell2007-10-101-0/+1
| | | | | | timeout in socket connections (This used to be commit 88278b24de4e3e408ac8a6139bd375a72bc664ce)
* r416: add a newline to the debuglevel message returned stringHerb Lewis2007-10-101-3/+4
| | | | | and have smbcontrol print the PID with it (This used to be commit d3edf71885bfb5d342e62d46542db8ca814f3303)
* r316: Fix split_domain_name. This defaulted to get_myname() instead ofVolker Lendecke2007-10-101-8/+14
| | | | | | | | | | | | get_global_sam_name(). Error case: Adding a domain user to a XP local group did a lsalookupname on the user without domain prefix, and this then failed. Jerry: This is a must-fix before 3.0.3. Volker (This used to be commit f35e353454b6825da1de138a3f0d8106787e938b)
* r288: combination of BUG 1081 and patch from J. Klinger -- added ↵Gerald Carter2007-10-102-0/+50
| | | | | | remove_duplicate_gids() to smbd and winbindd (This used to be commit 95c68103ea9dbd02651e26fcaa15dd054b157529)
* r196: merging struct uuid from trunkGerald Carter2007-10-103-58/+112
| | | | (This used to be commit 911a28361b9d8dd50597627f245ebfb57c6294fb)
* r116: volker's patch for local group and group nestingGerald Carter2007-10-102-0/+20
| | | | (This used to be commit b393469d9581f20e4d4c52633b952ee984cca36f)
* r104: Fix ntlm_auth by adding the new strhex_to_data_blob() call.Andrew Bartlett2007-10-101-0/+11
| | | | | Andrew Bartlett (This used to be commit 0693b9e79fabd58491f8aaec11dbbc71fab34f80)
* r91: Fix lsalookupnames. Previously we'd fail if we didn't find the name, butJim McDonough2007-10-101-0/+7
| | | | | we never checked if it was a domain user and didn't find a local one. (This used to be commit 68022f5ebc55d1f3403dee5198d364cff300baf5)
* r53: Remove modifyTimestamp from list of our attributes. We just check it forJim McDonough2007-10-101-1/+0
| | | | | | | cache entry time comparisons in password lockout. Fixes problems where pdb_ldap tries to delete the operational attribute modifyTimestamp when deleting a user account. (This used to be commit 5ebcb9081e435d54c39d4d3a1ef1d7b651ccb53f)
* r39: * importing .cvsignore filesGerald Carter2007-10-101-3/+0
| | | | | * updateing WHATSNEW with vl's change (This used to be commit a7e2730ec4389e0c249886a8bfe1ee14c5abac41)
* "Fixing my FORTRAN". Ensure we always have some valid char converter for theJeremy Allison2004-04-011-4/+14
| | | | | | | neccessary types before we will run at all. If we can't get one, use ASCII but complain mightily. Jeremy. (This used to be commit 37dd5e52f61e7ba1facb726ac70fc75e22608103)
* This restructures lib/afs.c so that the token data can be but into aVolker Lendecke2004-04-011-67/+294
| | | | | | | | stream. This is to implement wbinfo -k that asks winbind for authentication which then creates the AFS token for the authenticated user. Volker (This used to be commit 2df6750a079820826013360fb9e47f90bc8223a5)
* Based on the detective work of Jianliang Lu <j.lu@tiesse.com>, allow yetAndrew Bartlett2004-03-271-0/+18
| | | | | | | | | | | | | | another NTLMv2 combination. We should allow the NTLMv2 response to be calculated with either the domain as supplied, or the domain in UPPER case (as we always did in the past). As a client, we always UPPER case it (as per the spec), but we also make sure to UPPER case the domain, when we send it. This should give us maximum compatability. Andrew Bartlett (This used to be commit 1e91cd0cf87b29899641585f46b0dcecaefd848e)
* Merge from HEAD the SMB signing patch that I developed a couple of weeksAndrew Bartlett2004-03-271-1/+1
| | | | | | | | | | | | | | ago. This patch re-adds support for 'optional' SMB signing. It also ensures that we are much more careful about when we enable signing, particularly with on-the-fly smb.conf reloads. The client code will now attempt to use smb signing by default, and disable it if the server doesn't correctly support it. Andrew Bartlett (This used to be commit e27b5cbe75d89ec839dafd52dd33101885a4c263)
* source code fix for bug 1095 -- honor the '-l' optionGerald Carter2004-03-262-0/+9
| | | | (This used to be commit ab48af6993b427f525c36aa0ffd57c612c100561)
* 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)
* BUG 417: fix %UuGg variables expansion in include lines setging the ↵Gerald Carter2004-03-192-0/+10
| | | | | | current_user_info struct in register_vuid() -- shouldn't be any more broken than we were (This used to be commit a90c3bd281e7a62bb8482e42aa3b674eeeb5995a)
* updating release notes & merging Derrel Lipman's libsmbclient patch from HEADGerald Carter2004-03-191-1/+1
| | | | (This used to be commit 5fbfaa687a3674287eeadd205f56b2b253a9e2a9)
* backport from headSimo Sorce2004-03-191-0/+3
| | | | (This used to be commit e05eb1437054286f14714c46099e867a396dac7d)
* Merge from HEAD for Amanda group.Jeremy Allison2004-03-181-0/+14
| | | | | | 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-181-0/+2
| | | | | | | | | | | | | | | | 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)
* 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)
* Remove excess logging when probing for the length of the next mb char.Jeremy Allison2004-03-171-0/+3
| | | | | Jeremy. (This used to be commit 6339c4690aef7692571dd4c65dd0a12d56a7ffab)
* Change check_path_syntax() to use the new next_mb_char_size() functionJeremy Allison2004-03-171-20/+4
| | | | | | | | | | 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-161-0/+24
| | | | | | | | | 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 check_path_syntax() for multibyte encodings which have no '\' as second ↵Alexander Bokovoy2004-03-161-0/+20
| | | | | | | | | 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)
* Ensure we don't truncate strcmps to nstring anymore...Jeremy Allison2004-03-131-0/+2
| | | | | Jeremy. (This used to be commit d7cf64b1e4e501bcd01ddc8279babc65d894a4b3)
* Modified fix for bugid #784. Based on a patch from moriyama@miraclelinux.com ↵Jeremy Allison2004-03-132-4/+6
| | | | | | | | | | | (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-131-1/+29
| | | | | | | fix up netbios names with mb strings. Includes reformat of libsmb/nmblib.c so it's readable. Jeremy. (This used to be commit 966e49a48c352563cdd7f75fe2768f2d6612ec7e)
* Restore the contract on all convert_stringXX() interfaces. Add a ↵Jeremy Allison2004-03-114-43/+67
| | | | | | | | | | "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-111-4/+13
| | | | | | | | 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)