summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-11-25s4/libcli: rename previously reserved field in SMB2 LOCK structSteven Danneman6-18/+18
The lock.in.reserved field has been renamed lock_sequence in the SMB 2.1 dialect. See MS-SMB 2.2.26.
2009-11-25s4/libcli: Initialize client PID for SMB2 connectionsSteven Danneman3-0/+6
Set the SMB pid to the Unix pid of the client process.
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-25nsswitch: fix compile of winbind_krb5_locator with recent Heimdal versions.Günther Deschner1-0/+1
Guenther
2009-11-25cifs.upcall: 2nd part of fix for Bug #6868: support building with Heimdal we ↵Günther Deschner1-0/+2
well as with MIT. Guenther
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: Change RAW-OPLOCK to use the documented version of ↵Tim Prouty1-4/+4
SET_END_OF_FILE_INFO The passtrhough version of SET_END_OF_FILE_INFO is tested in RAW-SFILEINFO-END-OF-FILE. Additionally, the first opener is changed to use SHARE_WRITE for the share mode since SET_END_OF_FILE_INFO actually writes data to the file via truncating/extending.
2009-11-25s4 torture: Allow onefs to be checked like samba3 and samba4Tim Prouty1-0/+1
This is needed for the new RAW-SFILEINFO-END-OF-FILE test to differentiate what appears to be a windows bug.
2009-11-25s4 torture: Add two new setfileinfo testsTim Prouty1-0/+191
These tests expose a potential bug in winXP, win7, and likely others. There is also a bug in samba where share modes aren't being enforced where they should. For more details see: http://lists.samba.org/archive/cifs-protocol/2009-November/001130.html
2009-11-25s4 torture: Split up the torture suite setup for RAW-SFILEINFOTim Prouty5-14/+25
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-25The start of a WHATSNEW for Samba4 alpha9Andrew Bartlett1-7/+22
If you think what you did is missing, please edit. Release of alpha9 will be this week. Andrew Bartlett
2009-11-25s4:dsdb Make samba_dsdb easier to use in upgrades - assume default valuesAndrew Bartlett1-4/+7
2009-11-25s4: update valgrind suppressions for use on build farmAndrew Bartlett1-0/+62
2009-11-25libcli: allow ntstatus.h to be used by openchangeAndrew Tridgell1-0/+8
apparently ntstatus.h is used by openchange, but they don't include replace.h. This makes that possible again.
2009-11-25s4:upgradeschema.py Update to reflect recent change in provisionMatthieu Patou1-27/+31
- define which modules we want to use when loading the ldb - move partition in sam.ldb.d dir Changes have been suggested by Andrew Bartlett. (commit message clarified by Andrew Bartlett) Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-25s4:upgradeschema.py CleanupMatthieu Patou1-6/+1
- remove some useless comments - remove hardcoded paths (commit message clarified by Andrew Bartlett) Signed-off-by: Andrew Bartlett <abartlet@samba.org>
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-24s4:installmisc - install also the new "domainlevel" tool from the setup dirMatthias Dieter Wallnöfer1-1/+1
2009-11-24s4: Check SUN compiler and remove "-fullwarn" when using itBrian Lu1-1/+19
This option is only supported by "gcc". For details consider https://bugzilla.samba.org/show_bug.cgi?id=6905 Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
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-24Revert "s4-netlogon: always set the dNSHostName in GetDomainInfo"Matthias Dieter Wallnöfer1-7/+3
This reverts commit 87b6f2e863c6e117643ab6704e50167e849b69cc. This was the cause of the breakage of the "LogonGetDomainInfo" testsuite. I think my behaviour is more correct to Windows Server since the test works against it (at least release 2003 R2). One problem I discovered is that freshly joined workstations don't get their DNS name into the directory. Therefore I think also another part (maybe another RPC call) is able to do this.
2009-11-24s4:ldap.py - fix the schema update test on Windows ServerMatthias Dieter Wallnöfer1-1/+2
Apparently Windows Server (2003) doesn't like the comma delimiter here. I got always error 16 ("LDB_NO_SUCH_ATTRIBUTE"). With this change the test works again.
2009-11-24s4:libnet_become_dc - fix typoMatthias Dieter Wallnöfer1-1/+1
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-24RAW-PING-PONG: use timeval_current/timeval_elapsed instead of ↵Stefan Metzmacher1-19/+5
start_timer/end_timer metze
2009-11-24s3:fix the merged build of bin/smbtorture4Michael Adam7-6/+6
Michael
2009-11-24docs: Fix Bug 6922: Add Registry patchfile for Win7 domain join.Günther Deschner1-0/+0
Patchfile from SATOH Fumiyasu <fumiyas@osstech.co.jp>. Thanks! Guenther
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-24s4:param remove reference to private header from source4/param/param.hBrad Hards3-1/+3
source4/param/param.h has a param.h is a public header (and parmlist isn't, even if the relative path could work), so I suggest making it a forward declaration in the header, and including parmlist.h in the implementation. (commit message included from e-mail by Andrew Bartlett) Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-24s4: Fix missing TLS dir when targetdir is not the default oneMatthieu Patou1-0/+2
2009-11-23Remove unused code.Jeremy Allison2-49/+0
Jeremy.
2009-11-24heimdal Fix invalid format stringAndrew Bartlett1-1/+1
2009-11-24s4:dsdb Handle LDAP backends correctly with new samba_dsdb systemAndrew Bartlett1-5/+5
The original code had the wrong module names, and use strcasecmp() incorrectly. Andrew Bartlett
2009-11-24s4:provision Move exceptions into a new fileAndrew Bartlett3-9/+36
This allows provisionbackend and provision to both raise ProvisionException
2009-11-24s4:provision Don't bother with a template for the LDAP backend startup script.Andrew Bartlett2-4/+1
2009-11-24s4:provision Move secrets.ldb over to .c file module lists, like sam.ldbAndrew Bartlett3-1/+112
2009-11-24s4:ldap.py - activate test for operational attributesMatthias Dieter Wallnöfer1-8/+8
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-24s4:operational LDB module - Prevent the modification of operational attributesAndrew Bartlett1-0/+16
(merged by Andrew Bartlett) Signed-off-by: Andrew Bartlett <abartlet@samba.org>