summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-12-29lib/tevent: rename event_* => tevent_* in the header fileStefan Metzmacher11-117/+208
We have compat macros to keep the callers happy. metze
2008-12-28Add -D option to sharesec util to delete the entire security descriptor.Steven Danneman1-8/+23
* also modified --usage descriptions to be more accurate
2008-12-28Change error messages in sharesec util to go to stderr instead of stdoutSteven Danneman1-10/+10
2008-12-28Make sure share_info.tdb is open before attempting to delete an entrySteven Danneman1-2/+6
2008-12-28Make sharesec utility part of the default binary install.Steven Danneman1-2/+2
2008-12-28Cleaned up whitespace issues in sharesec.cSteven Danneman1-35/+39
2008-12-28Fix Samba 3 merged build - include tevent.Jelmer Vernooij1-0/+11
2008-12-26Fix some tevent includes, trying to fix the buildKai Blin3-4/+4
2008-12-26Try to fix the build by fixing some typos in the vfs codeKai Blin1-3/+3
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