summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2009-03-01Use common header file for character set handling in Samba 3 and Samba 4.Jelmer Vernooij6-39/+44
2009-03-01s4: Use same function signature for convert_* as s3.Jelmer Vernooij21-148/+124
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.
2009-02-25Updates to the recent cn=config support for the OpenLDAP backendOliver Liebel3-31/+9
- removed workaround for olcSyncprovConfig - creation (works perfect now with 2.4.15, release was today) - added 1 message-helpline, which is displayed when running provision-backend with olc and/or mmr setup - corrected 1 wrong slapcommand-helpline - slapd.conf is removed now in case of olc-setup - added 1 copyright-line to provision.py and provision-backend Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-02-24Make S4 build on OpenSolaris.Jeremy Allison2-1/+3
Jeremy.
2009-02-24Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison1-11/+22
2009-02-24Fix the build. Looks like no one ever compiled this on a systemJeremy Allison3-0/+16
with a libintl.h before. Jeremy.
2009-02-24Fix some C++ warningsVolker Lendecke1-11/+22
2009-02-24Start fixing Solaris build failures.Jeremy Allison3-3/+4
Jeremy.
2009-02-24libcli/ldap: move generic ldap control encoding code to ldap_message.cStefan Metzmacher4-137/+14
As they can we static there, we pass the specific handlers as parameter where we need to support controls. metze
2009-02-24s4:libcli/ldap: don't use 'void **out' as arguments as the behavior is not ↵Stefan Metzmacher1-17/+32
defined in C. metze
2009-02-24libcli/ldap: move ldap_ndr from source4/ to toplevelStefan Metzmacher4-115/+2
metze
2009-02-24libcli/ldap: move ldap_errors.h to the toplevel and install itStefan Metzmacher3-67/+2
metze
2009-02-24libcli/ldap: move ldap_message.[ch] from source4/ to the toplevelStefan Metzmacher6-1702/+4
metze
2009-02-24s4:libcli/ldap: remove reference to DEBUG()Stefan Metzmacher1-1/+0
This prepares using ldap_message.c in source3/ later metze
2009-02-24s4:libcli: split out LIBCLI_LDAP_MESSAGE subsystemStefan Metzmacher6-287/+301
metze
2009-02-24Added mmr and olc to the OpenLDAP backend provisioning-scriptsOliver Liebel13-63/+224
These extensions add mmr (multi-master-replication) and olc (openldap-online-configuration) capabilities to the provisioning-scripts (provision-backend and provision.py), for use with the openldap-backend (only versions >=2.4.15!). Changes / additions made to the provision-backend -script: added new command-line-options: --ol-mmr-urls=<list of whitespace separated ldap-urls> for use with mmr (can be combined with --ol-olc=yes), --ol-olc=[yes/no] (activate automatic conversion from static slapd.conf to olc), --ol-slaptest=<path to slaptest binary> (needed in conjunction with --ol-olc=yes) Changes / additions made to the provision.py -script: added extensions, that will automatically generate the chosen mmr and/or olc setup for the openldap backend, according to the to chosen parameters set in the provision-backend script Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-02-24Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell30-97/+117
2009-02-24fixed the event context for net vampireAndrew Tridgell1-1/+1
2009-02-24Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij30-97/+117
2009-02-24expand tabs in python file, consistent with the rest of the file.Jelmer Vernooij4-9/+9
2009-02-24expand tabs in python file, consistent with the rest of the file.Jelmer Vernooij1-39/+39
2009-02-24Fix finding of setup data.Jelmer Vernooij1-1/+1
2009-02-24added a missing linefeedAndrew Tridgell1-1/+1
2009-02-23Fix headers, ldb_includes.h is a private header,Simo Sorce28-38/+42
do not reference it from ldb.h
2009-02-23Make all transactions nested in ldb. The current samba4 code expects thisSimo Sorce2-59/+75
behavior anyway, and given we can only have one transaction active per ldb context this is the only sane model we can support. Fix ldb_tdb transactions, we could return back with an error with neither committing nor canceling the actual tdb transaction in some error paths within the ltdb commit and cancel transaction paths. Added also some debugging to trace what was going on.
2009-02-21s4-smbtorture: fix eventlog getinformation test.Günther Deschner1-4/+4
Guenther