summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-11-27s3-kerberos: fix the build on Mac OS X 10.6.2.Günther Deschner1-1/+1
Guenther
2009-11-27s3-kerberos: add a missing reference to authdata headers.Günther Deschner1-0/+1
Guenther
2009-11-27s3-kerberos: do not include authdata headers before including krb5 headers.Günther Deschner3-3/+1
Guenther
2009-11-27s3-spoolss: simplify _spoolss_EnumPrinterKey a little more.Günther Deschner1-14/+6
Guenther
2009-11-27s3-kerberos: only use krb5 headers where required.Günther Deschner20-229/+256
This seems to be the only way to deal with mixed heimdal/MIT setups during merged build. Guenther
2009-11-27s3-nsstest: drastically shrink size and dependencies of nsstest binary.Günther Deschner2-14/+17
The size went down from 6.4M to 104K on my box. Guenther
2009-11-27s3-kerberos: Fix Bug #6929: build with recent heimdal.Günther Deschner2-1/+20
Heimdal changed the KRB5_DEPRECATED define (which now may not take an identifier for activation) in new releases (like 1.3.1). Guenther
2009-11-27s3-spoolss: use macros to fillup driver levels.Günther Deschner1-158/+114
Guenther
2009-11-26s3-smbd: no drsuapi server stubs yet in s3. Fixes the build, sorry.Günther Deschner1-1/+0
Guenther
2009-11-26s3-rpc: running minimal_includes.pl on rpc_client and rpc_server.Günther Deschner4-7/+0
Guenther
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner75-64/+109
samba. Guenther
2009-11-26s3-passdb: move some defines out of rpc headers (they really belong to passdb).Günther Deschner2-16/+15
Guenther
2009-11-26s3-winbind: properly include netlogon.idl in wbint.idl.Günther Deschner3-1/+3
Guenther
2009-11-26s3-spoolss: pre cosmetics: reorder levels in construct_printer_info levels.Günther Deschner1-104/+104
Guenther
2009-11-26s3-kerberos: next step to resolve Bug #6929: build with recent heimdal.Günther Deschner1-3/+3
Based on patch from Allan <allan@archlinux.org>. Also should fix the FreeBSD build on the buildfarm. Guenther
2009-11-25Fix warnings with talloc_asprintf.Jeremy Allison1-3/+3
Jeremy.
2009-11-25Make us pass RAW-CHKPATH with a case sensitive share.Jeremy Allison1-42/+105
I know Volker will look at this closely so here's the explaination :-). Originally on a case-sensitive share we simply did a stat (or lstat) call and returned success of fail based on the result. However this failed to take account of incoming paths with a wildcard (which must always fail, and with different error messages depending on whether the wildcard is the last component or in the path). Also it failed to take account of a stat fail with ENOENT due to a missing component of the path as the last component (which is ok as it could be a new file) or if the ENOENT was due to the missing component within the path (not the last component) - which must return the correct error. What this means is that with "case sensitive = yes" we do one more talloc call (to get the parent directory) and one more stat call (on the parent directory) in the case where the stat call fails. I think this is an acceptable overhead to enable case sensitive shares to return the correct error messages for applications. Volker please examine carefully :-). Jeremy.
2009-11-25Add RAW-CHKPATH test with case-sensitive share.Jeremy Allison2-0/+7
Jeremy.
2009-11-25s3-build: try to fix QNX build ("delay" is defined in lib headers).Günther Deschner1-7/+7
Guenther
2009-11-25s3-registry: fix REG_MULTI_SZ handling in registry_push_value.Günther Deschner1-3/+20
Catched by smbconftort test on the buildfarm. Guenther
2009-11-25s3-kerberos: add check for prerequisite krb5/krb5.h header while checking ↵Günther Deschner1-2/+7
for krb5/locate_plugin.h. (Needed for new Heimdal versions). Guenther
2009-11-25Fix bug 6892 - When a chown operation is issued via Windows Explorer, all ↵Jeremy Allison1-15/+36
ACLS are wiped out. Merges existing DACLs when a ACL set operation comes in with only owner or group values set. Jeremy.
2009-11-25Fix crash due to uninitialized pointer (not a problem in 3.4.x or below).Jeremy Allison1-2/+1
Jeremy.
2009-11-25s3 selftest: Add RAW-SFILEINFO-END-OF-FILE to selftestTim Prouty1-1/+1
2009-11-25s3 setfileinfo: Open with FILE_WRITE_DATA when setting the file sizeTim Prouty1-1/+1
This matches what is outlined here: http://msdn.microsoft.com/en-us/library/ms804363.aspx This is also inline with how winXP/win7 handle this. See RAW-SFILEINFO-END-OF-FILE* in smbtorture4.
2009-11-25s4 torture: Split up the torture suite setup for RAW-SFILEINFOTim Prouty1-2/+2
A side effect of this change is that RAW-SFILEINFO now runs the whole suite instead of just the first test. I changed the name of the first test to RAW-SFILEINFO-BASE and changed all of the selftest scripts that call it.
2009-11-24Remove call into reduce_name if case sensitive. This allows us to passJeremy Allison1-2/+1
RAW-CHKPATH when case sensitive = yes, but isn't the correct way to do it. I'm testing a larger patch to smbd/filename.c that should fix this correctly, and will add a torture test to ensure RAW-CHKPATH is run against a case sensitive share once this is done. Jeremy.
2009-11-24Allow us to pass RAW-CHKPATH with FILE_FLAG_POSIX_SEMANTICS set or withJeremy Allison2-4/+13
wide links = no. Jeremy.
2009-11-24Fix make test. Only do POSIX case conversion if FILE_FLAG_POSIX_SEMANTICS ↵Jeremy Allison1-8/+12
set. Doh ! Jeremy.
2009-11-24s3: Always try SamLogonExVolker Lendecke1-2/+6
Required for cluster systems working in a Samba domain. With NT4 this won't work, but real NT4 DCs should not be around in environments that pay big bucks for a cluster... And if they are, they can always install a Samba DC trusting that NT4 domain.
2009-11-24s3-spoolss: re-arrange driver info level fillup functions.Günther Deschner1-95/+95
Guenther
2009-11-24s3-spoolss: fixes for _spoolss_EnumPrinterKey client and server.Günther Deschner2-3/+3
Thanks Metze for review! Guenther
2009-11-24s3-registry: use push_reg_multi_sz() in registry_push_value().Günther Deschner1-59/+3
Guenther
2009-11-24s3-registry: remove reg_pull_multi_sz().Günther Deschner3-30/+18
Guenther
2009-11-24s3:torture: use timeval_current/timeval_elapsed instead of start_timer/end_timerStefan Metzmacher2-33/+19
metze
2009-11-24s3:torture/nbio: use timeval_current/timeval_elapsed instead of ↵Stefan Metzmacher1-2/+5
start_timer/end_timer metze
2009-11-24s3:dbwrap_torture: use timeval_current/timeval_elapsed instead of ↵Stefan Metzmacher1-16/+3
start_timer/end_timer metze
2009-11-24s3:fix the merged build of bin/smbtorture4Michael Adam7-6/+6
Michael
2009-11-23Restore NtCreateX case handling with FILE_FLAG_POSIX_SEMANTICS to the wayJeremy Allison1-5/+68
it worked in 3.3.x and 3.2.x. UCF_POSIX_PATHNAMES may no longer be needed, as lp_posix_pathnames() being set isn't the same as case handling from NtCreateX (lp_posix_pathnames() changes the STAT calls to LSTAT, not the case semantics). Jeremy.
2009-11-23Remove unused code.Jeremy Allison2-49/+0
Jeremy.
2009-11-23Proper fix for #6898 - Samba duplicates file content on appending. Pointed ↵Jeremy Allison3-13/+21
out by Volker.Restores the pathname handling for FILE_FLAG_POSIX_SEMANTICS but still prevents the O_APPEND problems. Jeremy.
2009-11-23s3: add dbwrap_torture - a tool to stress test tdb transactions through dbwrapMichael Adam2-1/+369
This can be used to also test tdb transactions on clustered installations throught ctdb. The test is modeled after the ctdb_transaction.c test program from the ctdb source code. It runs transactions in a tight loop on a test database called "transactions.tdb" (by default), increasing a counter in each iteration. In a clustered environment, a counter is maintained for each node. Michael
2009-11-23s3:torture: move the torture-specific headers to new torture/torture.hMichael Adam8-55/+87
Michael
2009-11-23s3:idmap_ldap: fix indentation: tab/space mixupMichael Adam1-14/+14
Michael
2009-11-23Fix bug #6898 - Samba duplicates file content on appendingJeremy Allison1-0/+10
Clients using a Windows open call should not be able to set FILE_FLAG_POSIX_SEMANTICS in an open. Jeremy.
2009-11-23s3-spoolss: Fix GetPrinter level 101.Günther Deschner1-1/+1
Guenther
2009-11-23Revert "s3: Make the implicit reference to Protocol in mask_match() explicit"Volker Lendecke5-18/+10
This reverts commit e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc.
2009-11-23Revert "s3: Make the implicit reference to Protocol in mask_match_list() ↵Volker Lendecke3-12/+6
explicit" This reverts commit 1e22899d268ae5a089f941a204413c07ee64fc78.
2009-11-23Revert "s3: Make the implicit reference to Protocol in is_in_path() explicit"Volker Lendecke10-22/+15
This reverts commit f7b4151a64d8c6851e62255a7139fd00a5fc63a3.
2009-11-23Revert "s3: Make the implicit reference to get_Protocol in lp_use_sendfile() ↵Volker Lendecke3-9/+5
explicit" This reverts commit 6a149022976fe6a5579ec9afc7a4d2dcb44dc8af.