summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2009-03-10Fix extended operation return path.Simo Sorce1-8/+12
Extended operations return was not going thorugh the same patch as others leaving the ctx around. Plus we were neutralizing the spy too early so that it didn't set the request_terminated flag as it should have. This should hopefully fix the failures in the build farm.
2009-03-10added a test that triggers a bug in the Samba3 notify codeAndrew Tridgell1-0/+169
The Samba3 internal notify code doesn't work correctly when there is more than one tree connect to the same smbd process. This change to the RAW-NOTIFY test triggers the bug.
2009-03-09Fix potential segfaults using freed memory.Simo Sorce4-10/+54
In some code paths ltdb_context was still referenced even after we were returned an error by one of the callbacks. Because the interface assumes that once an error is returned the ldb_request may be freed, and because the ltdb_context was allocated as a child of the request, this might cause access to freed memory. Allocate the ltdb_context on ldb, and keep track of what's going on with the request by adding a spy children on it. This way even if the request is freed before the ltdb_callback is called, we will safely free the ctx and just quietly return.
2009-03-07s4-spoolss: just return OK for dcesrv_spoolss_EnumPrintProcDataTypes for now.Günther Deschner2-2/+1
Guenther
2009-03-07don't rely on shebang's perl path, call our $PERL insteadBjörn Jacke1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-03-07s4-smbtorture: add test_EnumPrintProcDataTypes to RPC-SPOOLSS test.Günther Deschner2-0/+53
Guenther
2009-03-06s4-spoolss: fix spoolss server enum calls after pointer changes.Günther Deschner2-14/+14
Guenther
2009-03-06s4-smbtorture: exit early in test_EnumPorts when no port info has been returned.Günther Deschner1-0/+2
Guenther
2009-03-06s4-smbtorture: fix s3 flavor rpc spoolss test.Günther Deschner1-0/+2
Guenther
2009-03-06s4-smbtorture: fix RPC-SPOOLSS-WIN.Günther Deschner1-1/+7
Guenther
2009-03-06s4-smbtorture: fix RPC-SPOOLSS test after enum out info pointer changes.Günther Deschner1-18/+30
Guenther
2009-03-06s4:errormap: map ECANCELED to NT_STATUS_CANCELLEDStefan Metzmacher1-0/+4
metze
2009-03-05Remove parse_control from header, long after the function was removedAndrew Bartlett1-1/+0
Simo reminded me that when (long ago) I moved parse_controls away from this place, I forgot to update the manually maintained header file. Andrew Bartlett
2009-03-05Update talloc version so we don't fail on system talloc 1.2.0Andrew Bartlett1-1/+1
The problem is that talloc in the Samba tree now includes talloc_get_type_abort(), which is not present on Fedora 10 or ubuntu's talloc 1.2.0. Andrew Bartlett
2009-03-04Pull in all the schema information during DRS schema fetchAndrew Bartlett1-9/+38
This includes things such as allowed attributes, which were not populated into the schema structure before. Andrew Bartlett
2009-03-04Don't print the admin password if we don't set one.Andrew Bartlett1-1/+2
For example, if we don't create the admin user (perhaps expecting users to be in LDAP already, or we are due an incoming replication) we should not confuse the administrator by printing a unused password. Andrew Bartlett
2009-03-04Allow 'net vampire' to work without an existing smb.confAndrew Bartlett2-3/+7
Now the provision can generate one based on the detected settings from the target domain. Andrew Bartlett
2009-03-02make man page (un)install more portableBjörn Jacke2-2/+2
2009-03-02some shells are picky about ^ without quotesBjörn Jacke1-2/+2
2009-03-02Fix test_surrounding in samba4.rpcecho.python.Jelmer Vernooij1-1/+1
2009-03-01Merge branch 'master' of git://git.samba.org/samba into convenienceJelmer Vernooij2-2/+5
2009-03-01Use common header file for character set handling in Samba 3 and Samba 4.Jelmer Vernooij6-39/+44
2009-03-01Add header files for secace and secacl.Jelmer Vernooij1-1/+2
2009-03-01s4: Use same function signature for convert_* as s3.Jelmer Vernooij21-148/+124
2009-03-01Move secacl to top-level.Jelmer Vernooij1-1/+2
2009-03-01Move secace.c to top-level.Jelmer Vernooij1-1/+2
2009-03-01Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij21-49/+49
consistency with Samba 3.
2009-02-27And the prize for the most pain caused in the build farm for a simpleJeremy Allison1-1/+1
typo goes to..... Tim Prouty !!!! Sorry Tim, nice test but you made a typo in passing in the size of an array so we were reading uninitialized memory :-). That took far longer than it should have to track down... (%$&#ing build system....). The build farm should now slowly go back to normal. Jeremy.
2009-02-26don't hardcode python pathBjörn Jacke1-1/+5
Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-26Add another torture test inspired by George @ Apple.Jeremy Allison1-0/+86
Inside a directory, keep a file open and then renaming the directory should fail with ACCESS_DENIED. This is connected to the test case where the close was failing due to a delayed write on a file not being able to succeed when Samba allowed the containing directory to be renamed. I will fix this in the server shortly (this should be done across connections also but with will be very hard in Samba - would need a full scan of the open file db on every directory rename) - so I will fix for the local case first (scanning local file opens inside an smbd is cheap). Jeremy.
2009-02-26s4:heimdal_build: correrctly switch closefrom() and get/setprogname() ↵Stefan Metzmacher1-4/+6
replacements on and off metze
2009-02-26s4:Makefile: try to fix 'make installheaders' on *BSD systemsStefan Metzmacher1-1/+1
metze
2009-02-26s4:heimdal_build: don't always build setprogname.oStefan Metzmacher2-17/+34
This hopefully fixes the build on Mac OS 10, where setprogname() is available via libc. asn1_compile and compile_et use only .ho files again and don't use socket_wrapper anymore. metze
2009-02-26s4:ldb_map: include ldb_includes.h first to get replace.h as first headerStefan Metzmacher3-0/+3
This should bring the build on AIX one step further. metze
2009-02-26s4:VERSION: mark as 4.0.0-alpha8 gitsnapshotStefan Metzmacher1-2/+2
metze
2009-02-26Mark as the Samba 4.0 alpha7 releaseAndrew Bartlett1-1/+1
2009-02-26A simple hack to avoid the segfault in #6138Andrew Bartlett1-1/+1
Thanks to Andrew Kroeger <andrew@id10ts.net> for reporting this. This fix just for the release. A better fix will make it into the master branch soon. Andrew Bartlett
2009-02-25s4-spoolss: implement dcesrv_spoolss_AddJob which always is a dummy.Günther Deschner1-1/+5
Guenther
2009-02-25s4-smbtorture: add test_AddJob test to RPC-SPOOLSS test.Günther Deschner1-0/+29
Guenther
2009-02-25s4-spoolss: implement dcesrv_spoolss_GetPrintProcessorDirectory.Günther Deschner4-1/+68
Guenther
2009-02-25s4-smbtorture: expand RPC-SPOOLSS enumform and getform tests for level 2 forms.Günther Deschner1-32/+42
Guenther
2009-02-25s4-smbtorture: add test_GetPrintProcessorDirectory to RPC-SPOOLSS.Günther Deschner1-0/+64
Guenther
2009-02-25s4: make libintl a build dependency of heimdal_krb5 so all dependent ↵Tim Prouty1-1/+1
binaries are linked properly
2009-02-25Use stdbool.h instead of manually defining boolSimo Sorce1-10/+1
2009-02-25s4:lib/events: map TEVENT_DEBUG_TRACE to debug level 10Stefan Metzmacher1-1/+1
metze
2009-02-25Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij39-2078/+408
Conflicts: source4/scripting/python/samba/provision.py
2009-02-25s4 heimdal: Link libintl correctlyTim Prouty1-0/+6
2009-02-25s4:build: add some comments to the SMB_EXT_LIB() definitionStefan Metzmacher1-0/+7
metze
2009-02-24Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison3-31/+9
2009-02-24Added torture test from a usage case from the Apple OS/X client.Jeremy Allison1-0/+119
Setting an attribute on a stream fnum must change the attribute on the base file. Jeremy.