summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | r20694: To get this right we need to do signed 64-bitJeremy Allison2007-01-121-7/+7
| | | | | | | | | | | | | | comparisons here, not unsigned as we're eventually casting into what it normall a signed 32 bit value. Guenther please check (but I think I'm right here). Jeremy.
* | r20692: Fix bug found by Guenther -Jeremy Allison2007-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just try to log on in offline mode without the fix: all accounts are expired, although they are set to never expire in the PAC/info3. NTTIME "Never" needs to get (time_t) -1. We were casting a uint64 to time_t before comparing, and we should have been doing it the other way around. Guenther please check this fixes things. Jeremy.
* | r20413: Merge Volker's open directory changes to 3.0.24.Jeremy Allison2006-12-301-0/+31
| | | | | | | | | | | | I think they're correct, modulo more testing of error codes. Jeremy.
* | r20384: merge from samba4:Stefan Metzmacher2006-12-281-5/+7
| | | | | | | | | | | | | | only try to find dlfcn.h if the dlopen symbol was found, it hopefully fixes systems where dlfcn.h but no library with dlopen metze
* | r20361: Prevent strnlen_w reading beyond max. ValgrindJeremy Allison2006-12-271-1/+1
| | | | | | | | | | found by Volker. Jeremy
* | r20267: fix more no previous prototype warningsHerb Lewis2006-12-205-1/+12
| |
* | r20260: clean up a bunch of no previous prototype warningsHerb Lewis2006-12-192-1/+2
| |
* | r20247: get rid of warning: value computed is not usedHerb Lewis2006-12-181-1/+1
| |
* | r20208: Change sprintf_append() never to use malloc,Jeremy Allison2006-12-162-19/+13
| | | | | | | | | | | | but always use a talloc context. Thanks to simo for pointing this out. Jeremy.
* | r20196: merge talloc fixes from samba4:Stefan Metzmacher2006-12-152-20/+18
| | | | | | | | | | | | | | | | | | - make most static functions inline - handle NULL pointers in talloc_parent_chunk() - use talloc_parent_chunk() in talloc_parent_name() to fix a bug found by the IBM checker metze
* | r20183: Fix the build.Günther Deschner2006-12-151-6/+6
| | | | | | | | Guenther
* | r20181: Improve NT status to pam error mapping.Jeremy Allison2006-12-151-0/+7
| | | | | | | | Jeremy.
* | r20179: Sync up with Samba4 - remove blank lines at theJeremy Allison2006-12-151-3/+9
| | | | | | | | | | end parsing a file. Jeremy.
* | r20174: If we're only going to call one handler per messageJeremy Allison2006-12-141-4/+4
| | | | | | | | | | then terminate the traversal once we've done that. Jeremy.
* | r20165: Change messaging subsystem to only allow one messageJeremy Allison2006-12-141-3/+11
| | | | | | | | | | | | | | per type - this is all we use right now and makes re-entrancy problems with deleting handlers with a message dispatch loop go away. Jeremy.
* | r20160: Fix long-standing (ie. from initial code I think) bugJeremy Allison2006-12-131-2/+5
| | | | | | | | | | | | | | | | in tdb message processing. If we're inside a dispatch function and we delete our own handler we'd walk onto the next pointer from a deleted memory block. Fixes crash bug in winbindd (and goodness knows where else). Jeremy.
* | r20159: get rid of defined but not used warning - static function only usedHerb Lewis2006-12-131-5/+2
| | | | | | | | inside the #ifdef HAVE_NATIVE_ICONV
* | r20157: get rid of a few no previous prototype warningsHerb Lewis2006-12-132-0/+2
| |
* | r20147: Match up EINTR ignoring code from SAMBA_3_0.Jeremy Allison2006-12-131-1/+1
| | | | | | | | | | Else open_any_socket_out() can fail. Jeremy.
* | r20112: Forgot to merge to 3.0.24 - *BSD compile fix.Jeremy Allison2006-12-111-0/+17
| | | | | | | | Jeremy.
* | r20090: Fix a class of bugs found by James Peach. EnsureJeremy Allison2006-12-095-46/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | we never mix malloc and talloc'ed contexts in the add_XX_to_array() and add_XX_to_array_unique() calls. Ensure that these calls always return False on out of memory, True otherwise and always check them. Ensure that the relevent parts of the conn struct and the nt_user_tokens are TALLOC_DESTROYED not SAFE_FREE'd. James - this should fix your crash bug in both branches. Jeremy.
* | r20087: Ensure we clean up any random pending events weJeremy Allison2006-12-081-0/+15
| | | | | | | | | | | | may have inherited from our parent in the winbindd forked child. Jeremy.
* | r19981: From Michael Adam (ma@sernet.de)Stefan Metzmacher2006-12-011-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | Metze: as noted by "shattered" and discussed on the irc, here is a patch to lib/sysquotas_linux.c replacing some "get"s by "set"s. The other lib/sysquotas*.c files look ok to me. But in the linux variant, the problem is not in the actual call of quotactl but in the preparation of the respective "D" structs. This makes the difference between the get and set calls for SMB_USER_FS_QUOTA_TYPE and SMB_GROUP_FS_QUOTA_TYPE. metze
* | r19978: More "net sam policy" improvements. Thanks to Karolin Seeger ↵Volker Lendecke2006-12-011-16/+12
| | | | | | | | | | | | <ks@sernet.de> Volker
* | r19955: I'll leave that to others. I *knew* I should not have touchec thisVolker Lendecke2006-11-29131-0/+38848
| | | | | | | | | | | | anymore. Never. Volker
* | r19953: Remove ldb for 3.0.24. Thanks to Tridge for making this so easy!Volker Lendecke2006-11-29131-38848/+0
| | | | | | | | | | | | Now to dig up the multikey stuff.... Volker
* | r19813: smbd now compiles againGerald Carter2006-11-211-0/+18
| |
* | r19810: more merge work....does not compile currently. Working on smbd mergeGerald Carter2006-11-216-128/+135
| |
* | r19806: merge time.c changesGerald Carter2006-11-205-699/+1149
| |
* | r19801: grabbing minor changes (some missing pieces from jmcd's SAMR work as ↵Gerald Carter2006-11-2013-295/+168
| | | | | | | | well)
* | r19798: reducing some diffs...bringing over ntlm_auth changesGerald Carter2006-11-193-238/+8
| |
* | r19795: * bring the 'enum lsa_SidType', 'struct GUID', & 'structGerald Carter2006-11-193-12/+12
| | | | | | | | policy_handle' over from SAMBA_3_0.
* | r19784: smbd compiles (still a few warning which are actual bugs)Gerald Carter2006-11-1910-42/+248
| |
* | r19782: more compile fixes for mergeGerald Carter2006-11-191-3/+2
| |
* | r19769: more compile fixes while merging from SAMBA_3_0 (not done yet)Gerald Carter2006-11-182-73/+149
| |
* | r19767: Intermediate checking (does not yet compile)Gerald Carter2006-11-18204-2700/+56253
|\| | | | | | | | | | | | | | | | | * bring over lib/{ldb,replace,talloc,socket_wrapper} * bring over libaddns, tdb * remove smbwrappper * grab Makefile and configure.in from SAMBA_3_0 * Start dealing with snum -> share struct issues * Start merging filename mangling code
| * r19744: merge from samba4Stefan Metzmacher2006-11-165-53/+198
| | | | | | | | metze
| * r19741: fix compiler warningsStefan Metzmacher2006-11-161-4/+8
| | | | | | | | metze
| * r19739: fix compiler warningStefan Metzmacher2006-11-161-1/+1
| | | | | | | | metze
| * r19725: sync samba3's ldb with samba4Stefan Metzmacher2006-11-1531-628/+1810
| | | | | | | | metze
| * r19692: Another fix.Simo Sorce2006-11-131-1/+0
| |
| * r19690: Remove this ancient module, I never realized it was ported over.Simo Sorce2006-11-133-497/+1
| |
| * r19688: Fix a deadcode warning by Coverity.Volker Lendecke2006-11-131-7/+5
| | | | | | | | | | | | | | Simo, I'm not sure this is the correct fix. So I'd like you to look at it and merge to 4 if appropriate. Volker
| * r19669: set_share_security does not need a mem_ctx passedVolker Lendecke2006-11-111-1/+1
| |
| * r19666: Talloc_guide text on multithreading by Remi TurboultVolker Lendecke2006-11-111-0/+16
| |
| * r19647: Add some GPFS support in a vfs mod. Also adds the kernel flock op toJim McDonough2006-11-091-0/+25
| | | | | | | | | | the vfs layer, since gpfs supports it. Thanks to Volker, Christian, Mathias, Chetan, and Peter.
| * r19626: Coalesce usage of DUMP_CORE. Fix formatting on chdir error messageJames Peach2006-11-071-1/+6
| | | | | | | | in core dump path.
| * r19601: Fix protection from invalid struct tm values.Jeremy Allison2006-11-071-0/+10
| | | | | | | | | | Backport from Samba4. Jeremy.
| * r19576: Correct trivial typo.James Peach2006-11-061-1/+1
| |
| * r19533: Add a suffix to the program name if this is a process with aJeremy Allison2006-11-021-1/+12
| | | | | | | | | | non-default configuration file name. Jeremy.