summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* r2331: check password script code and example from trunkSimo Sorce2007-10-101-1/+122
|
* r2258: Attempt to fix Bug 1715. Not sure if all of ldapsam_compat works now, ↵Volker Lendecke2007-10-101-0/+7
| | | | | | | | but this definitely fixes two segfaults. Volker
* r2231: Fix iconv.c to use the Samba-supplied uint8 type not the uint8_t ↵Paul Green2007-10-101-4/+4
| | | | type, which does not exist on all platforms.
* r2213: Optimisation. Passes masktest against W2K3.Jeremy Allison2007-10-101-0/+3
| | | | Jeremy.
* r2175: Fix for #1546 from fumiya@samba.gr.jp. Preserve errno in MB ↵Jeremy Allison2007-10-101-0/+6
| | | | | | strupper_m/strlower_m. Jeremy.
* r2163: converted samba3 to use the new utf-16 aware iconv code. Also changedAndrew Tridgell2007-10-101-64/+208
| | | | | | iconv to recognise UCS-2LE and UTF-16LE as synonyms, which means this change should be more robust when applied in trees that treat UCS-2LE or UTF-16LE as correct.
* r2160: fixed the uuid pack/unpack routines (they could go past the end of ↵Andrew Tridgell2007-10-101-52/+14
| | | | the UUID structure)
* r2155: Reformat, plus steal from Samba4 :-).Jeremy Allison2007-10-101-233/+259
| | | | | | | | | | | | | | | tridge: the lp_use_mmap() in map_file() is inappropriate for 2 reasons, so I have removed it. - lp_use_mmap() is really meant to cope with systems that have broken mmap coherence, but map_file() doesn't need coherence, as its maps read only - map_file() is used to map the charset files before loadparm has loaded, so lp_use_mmap() is always returning false for the major use of map_file() Jeremy.
* r2133: Several fixes:Gerald Carter2007-10-101-6/+2
| | | | | | | | | | | | | | | | | | | * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 and 5.1 patch from Olaf Flebbe <o.flebbe@science-computing.de>. Will need to watch this one in the build farm. * Fix bug found by rwf@loonybin.net where the PRINT_ATTRIBUTE_PUBLISHED was getting reset by attempts to sanitize the defined attributes (PRINTER_ATTRIBUTE_SAMBA) * Resolve name conflict on DEC OSF-5.1 (inspired by patch from Adharsh Praveen <rprav@india.hp.com>) * Work around parsing error in the print change notify code (not that the alignment bug is still there but reording the entries in the array works around it). * remove duplicate declaration of getprintprocdir from rpcclient.
* r2114: Shameless theft of iconv commit from Samba4 to keep the two libs more ↵Jeremy Allison2007-10-102-29/+60
| | | | | | | | in sync :-). try to cope with a wider range of UTF-16 characters when we are using an external libiconv library. Jeremy.
* r2111: Fix memleak with valid names.Jeremy Allison2007-10-101-0/+1
| | | | Jeremy.
* r2070: Let's try to overload srnlen and strndup for AIX where they are natly ↵Simo Sorce2007-10-101-2/+2
| | | | broken.
* r2026: Simplify statcache to use an in-memory tdb. Modify tdb to useJeremy Allison2007-10-101-316/+0
| | | | | | a customer hash function for this tdb (yes it does make a difference on benchmarks). Remove the no longer used hash.c code. Jeremy.
* r2023: If there's garbage in the pidfile, we should not panic but assume ↵Volker Lendecke2007-10-101-0/+7
| | | | | | | | that no one else is around. We can't find the other guy anyway. Volker
* r1890: Cut down on debug messages from is_in_path. paulgPaul Green2007-10-101-3/+2
|
* r1885: tighten the cache consistency with the ntprinters.tdb entry an the in ↵Gerald Carter2007-10-101-2/+4
| | | | memory cache associated with open printer handles; also make sure that register_messages_flags() doesn't overwrite the originally registers flags
* r1834: prevent infinite recusion in reopen_logs() when expanding the ↵Gerald Carter2007-10-101-1/+7
| | | | smb.conf variable %I
* r1810: Patch from Richard Renard <rrenard@idealx.com> to storeJeremy Allison2007-10-101-0/+1
| | | | | logon hours attributes in an LDAP database. Jeremy.
* r1684: Patch for bug #1578 based on fix from Alexander E. Patrakov,Jeremy Allison2007-10-101-12/+19
| | | | | | <patrakov@ums.usu.ru>. Main change, hardcode replacement char to '_' as I really don't want a new parameter. Jeremy.
* r1656: Patch from James Peach:Vance Lankhaar2007-10-101-0/+2
| | | | | | | | | | | > This patch is (probably) needed for all systems that don't have a > C99/UNIX98 compliant vsnprintf by default. The builtin sm_*printf > were no being called, causing things like talloc_init to fail, with > predictable results. The should fix 6 (solaris/hpux/irix) builds on the build farm. Vance
* r1608: Fix from Nick THOMPSON <nickthompson@agere.com> to protect smbdJeremy Allison2007-10-101-3/+8
| | | | | against broken filesystems which return zero blocksize. Jeremy.
* r1588: This is one of the more pathetic patches I ever checked in. Many hours ofVolker Lendecke2007-10-101-95/+72
| | | | | | | | | | | | | coding have passed, but I could not find a way to get the OpenLDAP libraries to reliably time out on any of the queries we make, *and* get correct error returns. No, async calls and ldap_result does NOT work, or I was simply too stupid to correctly interpret the OpenLDAP manpage and source. We can not allow to hang indefinitely in an ldap query, especially not for winbindd. "ldap timeout" now specifies the overall timeout for the complete operation, that's why I increased that to 15 seconds. Volker
* r1570: merging changes from 3.0.5Gerald Carter2007-10-101-4/+12
|
* r1492: Rework our random number generation system.Andrew Bartlett2007-10-103-15/+27
| | | | | | | | | | On systems with /dev/urandom, this avoids a change to secrets.tdb for every fork(). For other systems, we now only re-seed after a fork, and on startup. No need to do it per-operation. This removes the 'need_reseed' parameter from generate_random_buffer(). Andrew Bartlett
* r1425: Fix memleak in interactive mode. Reformat..Jeremy Allison2007-10-101-312/+292
| | | | Jeremy.
* r1412: Fix password history list in tdbsam. Fix some memory leaks. AddJeremy Allison2007-10-101-2/+25
| | | | | my (C) to a header file that was at least 50% mine :-). Jeremy.
* r1392: Added password history code to tdbsam backend. Not yet tested (ie. mayJeremy Allison2007-10-101-1/+1
| | | | | | core dump) but compiles and links correctly. I will run the full set of tests on the ldap sam and the tdb sam for password history tomorrow. Jeremy.
* r1388: Adding password history code for ldap backend, based on a patch fromJeremy Allison2007-10-101-13/+11
| | | | | | | | | "Jianliang Lu" <j.lu@tiesse.com>. Multi-string attribute changed to linearised pstring due to ordering issues. A few other changes to fix race conditions. I will add the tdb backend code next. This code compiles but has not yet been tested with password history policy set to greater than zero. Targeted for 3.0.6. Jeremy.
* r1325: Always use GetTimeOfDay() (wrapper). Ensure ldap replicationJeremy Allison2007-10-101-12/+11
| | | | | | sleep time is not more than 5 seconds. Should fix issue reported by Chris Garrigues <cwg@deepeddy.com>. Jeremy.
* r1317: Patch from Joe Meadows "Joe Meadows" <jameadows@webopolis.com> toJeremy Allison2007-10-101-1/+1
| | | | | | add a timeout to the ldap open calls. New parameter, ldap timeout added. Jeremy.
* r1248: Fix from Nick Wellnhofer <wellnhofer@aevum.de> to preventJeremy Allison2007-10-101-4/+8
| | | | | lp_interfaces() list from being corrupted. Jeremy.
* 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.
* r1156: Ensure new remote arch of CIFSFS is seen.Jeremy Allison2007-10-101-0/+3
| | | | Jeremy.
* 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)
* 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
* 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
* 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)
* 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.
* r993: BUG 703 -- finishing patch by Eric Boehm <boehm@nortelnetworks.com> ↵Gerald Carter2007-10-101-14/+17
| | | | for netgroup case lookups
* r938: on an error save the original errno before calling iconv to resetHerb Lewis2007-10-101-1/+5
| | | | the conversion state
* 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
* r772: fix cut and paste error in commentHerb Lewis2007-10-101-1/+1
|
* 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
* r645: Patch from kawasa_r@itg.hitachi.co.jp to correctly enable core dumps.Jeremy Allison2007-10-101-0/+3
| | | | Jeremy.
* 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.
* 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
* 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
* 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
* r428: add acls debug classHerb Lewis2007-10-101-0/+1
|
* r426: fixed bug noticed by wim.delvaux@adaptiveplanet.com in handling of ↵Andrew Tridgell2007-10-101-0/+1
| | | | timeout in socket connections