summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-12-25Fix bug #5990 - strict allocate should be checked before ftruncateJeremy Allison1-0/+14
reported by and based on a patch by Yasuma Takeda <yasuma@osstech.co.jp>. Jeremy.
2008-12-25s3:idmap: Remove passd check from idmap_backends_unixid_to_sid().Michael Adam1-9/+0
As noted by Metzy, it makes no sense here to check id->sid. What is worse, this might even be passed in uninitialized. This still fixes the bug for me (of course), but we might need to check, if another special handling of passdb is needed (possibly changing from constant return code NT_STATUS_OK...) Michael Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-25s:Fix uid_to_sid mapping when the idmap cache is empty.Michael Adam1-8/+7
This failed for backends other than passed, since idmap_backends_unixid_to_sid() always asked passdb first, which returned Success no matter whether a mapping was found or not. One effect wast that getpwuid failed after "net cache flush". Only after filling the cache with a getpwnam call it succeeded. This fix makes the behaviour of idmap_backends_unixid_to_sid() exactly the same as that of idmap_backends_sid_to_unixid() Michael Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-24lib/tevent: libtevent will change a lot until it's version 1.0.0Stefan Metzmacher2-2/+2
metze
2008-12-24Fix accidental condition inversion.Jelmer Vernooij1-1/+1
2008-12-24Rename samba-socket -> samba_socket to fix a couple more compilerJelmer Vernooij10-16/+16
warnings.
2008-12-23Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij1-5/+15
2008-12-23s4: Fix make clean to remove gen_ndr objects.Jelmer Vernooij1-1/+1
2008-12-23Fix more compiler warnings.Jelmer Vernooij10-36/+33
2008-12-23Use 32-bit smbpid in interface as required by SMB2, in line withJelmer Vernooij3-8/+8
1bdd08227e7d046305705050f21f0f1b6dd6994a.
2008-12-23Fix more compiler warnings in various places.Jelmer Vernooij12-53/+43
2008-12-23Install tevent_internal.h, as Samba 4 needs it.Jelmer Vernooij1-0/+1
2008-12-23Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij57-276/+586
2008-12-23Fix compiler warnings in libnet.Jelmer Vernooij6-18/+9
2008-12-23Fix use of "time offset" parameter, and add test to make sure I don't break ↵Jelmer Vernooij5-5/+23
it again :-)
2008-12-23Fix more asprintf warnings and some error path errors.Jeremy Allison7-30/+44
Jeremy.
2008-12-23More asprintf warning fixes.Jeremy Allison3-8/+28
Jeremy.
2008-12-23More asprintf warning fixes.Jeremy Allison2-13/+21
Jeremy.
2008-12-23Fix more asprintf errors and error code paths.Jeremy Allison3-12/+36
Jeremy.
2008-12-23Add missing includes, required for use of gensec by 3rd-partyMatthias Dieter Wallnöfer1-0/+3
applications.
2008-12-23pytevent: Add missing file.Jelmer Vernooij1-0/+10
2008-12-23Allow using external libtevent.Jelmer Vernooij4-14/+12
2008-12-23standalone: Use more variables, preparing to include these files from mainJelmer Vernooij3-14/+17
Samba 4 makefile.
2008-12-23Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison5-6/+3
2008-12-23Fix more ‘asprintf’, declared with attribute warn_unused_result.Jeremy Allison2-11/+18
Jeremy.
2008-12-23Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2-25/+67
2008-12-23Move Samba4-specific file out of common libtevent.Jelmer Vernooij5-6/+3
2008-12-23Fix more "warning: ignoring return value of ‘asprintf’, declared withJeremy Allison1-23/+62
attribute warn_unused_result" Jeremy.
2008-12-23Fix another "format not a string literal and no format arguments" warning.Jeremy Allison1-2/+5
Jeremy
2008-12-23Fix silly typo.Jelmer Vernooij1-1/+1
2008-12-23pyldb: Provide replacement for sizeargfunc, not available before Python2.5.Jelmer Vernooij1-0/+1
2008-12-23samba.tests.samdb: Fix test after merger of samba.security andJelmer Vernooij1-1/+1
samba.dcerpc.security
2008-12-23python: Define Py_ssize_t if the Python library doesn't.Jelmer Vernooij2-0/+12
2008-12-23s3: Fix stream marshalling to return the correct streaminfo statusTim Prouty1-10/+1
When there are enough streams on a file to fill up the max_data_count when responding to a trans2 streaminfo, samba is returning NT_STATUS_BUFFER_TOO_SMALL. Windows handles this by returning NT_STATUS_BUFFER_OVERFLOW while still sending as much of the data that it can fit into the buffer. When the windows client sees BUFFER_OVERFLOW, it retries the streaminfo with a larger buffer (2x). The windows client starts at 2K and will continue increasing the buffer size by two until it reaches 64K. If the streams don't fit in 64K the windows client seems to give up. This patch fixes marshall_stream_info to overfill the buffer by 1 stream so that send_trans2_replies can properly detect the overflow and return the correct status.
2008-12-23pyldb: Fix segfault because of incorrect reference counting.Jelmer Vernooij3-8/+22
2008-12-23pyldb: Avoid use of pytalloc, as it may not be available.Jelmer Vernooij2-77/+213
2008-12-22In gcc version 4.3.2 we get warnings for functions declared withJeremy Allison2-4/+11
attribute warn_unused_result. Start to fix these. Jeremy.
2008-12-23ldb: Include tevent.h rather than events.h.Jelmer Vernooij3-3/+3
2008-12-23ldb: Fix linking against tevent library (rather than events)Jelmer Vernooij4-13/+14
replace: Fix copyright for dlfcn.c.
2008-12-23pytalloc: Add some comments, use talloc object location in repr ratherJelmer Vernooij1-5/+15
than python object location.
2008-12-23python/tevent: Remove use of pytalloc.h.Jelmer Vernooij1-8/+21
2008-12-23pidl: Fix typelist test after addition of type origin tracking.Jelmer Vernooij1-0/+1
2008-12-23Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij1-3/+0
2008-12-23merged build: Remove shared-build related variables, as they are already set ↵Jelmer Vernooij1-3/+0
up correctly by the main configure.
2008-12-23Use make variable for Samba 4 shared library output directory.Jelmer Vernooij6-12/+12
2008-12-23Fix prefixing swig library directory with prefix.Jelmer Vernooij1-2/+2
2008-12-23Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2-2/+5
2008-12-23Use relative paths for Python modules. Seems to workaround a strange bug inJelmer Vernooij1-1/+1
GNU make.
2008-12-22s4: Fix a getaddrinfo/EAI_NODATA portability issueTim Prouty1-0/+4
FreeBSD has explicitly deprecated EAI_NODATA as a return value from getaddrinfo by removing it from netdb.h. On systems that don't have EAI_NODATA, EAI_NONAME should be used instead.
2008-12-22Fix installation of standalone tevent Python module.Jelmer Vernooij1-2/+1