summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-08s3: add a test to test libsmbclientBo Yang2-2/+98
Signed-off-by: Bo Yang <boyang@samba.org>
2009-08-08s3: Fix nss info substitutionBo Yang1-3/+3
Signed-off-by: Bo Yang <boyang@samba.org>
2009-08-07make sure we never look past the end of either string in ldb_comparison_fold()Andrew Tridgell1-26/+44
This fixes a bug in the samba3sam test with the python libraries as noticed by abartlet
2009-08-07s4:ldb Make error message in rnd_name more usefulAndrew Bartlett1-3/+9
2009-08-07Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-develAndrew Bartlett2-6/+69
2009-08-07s4:setup Remove extra newlines that break OpenLDAP backendOliver Liebel1-2/+0
2009-08-06s3: Fix a bug in renames of directoriesTim Prouty1-6/+19
Recently code was added to match windows semantics of denying the rename of a directory if there are open files underneath it. This does partly match windows semantics, but it turns out the rename should be allowed if the open file handle is for the directory being renamed, or for a stream on the directory being renamed. This patch refines the check to better follow these rename semantics.
2009-08-06s4 torture: Extend the RAW-RENAME test to more fully test directory renames.Tim Prouty1-0/+50
The existing test was only covering files opened underneath the directory that was being renamed. It is not uncommon for windows clients to actually hold a read-only handle to a directory open across the rename, which it turns out doesn't return NT_STATUS_ACCESS_DENIED. Additionally, holding a handle open to a stream on the directory is also allowed.
2009-08-06Remove a const warning.Jeremy Allison2-2/+3
Jeremy.
2009-08-06Fix bug #5714 - NetBSD, ENODATA undefined, at least some releases.Jeremy Allison1-0/+4
Jeremy.
2009-08-06Put SMB_INFO_STANDARD back into setfileinfo, but do it rightJeremy Allison1-0/+45
this time :-). Jeremy.
2009-08-06Add define guards around otherwise unused variable.Jeremy Allison1-0/+3
Jeremy.
2009-08-06s3-ldap: Fix Bug #5879. Update LDAP schema for Netscape DS 5.Günther Deschner1-1/+6
Patch from TAKEDA Yasuma <yasuma@osstech.co.jp>. Guenther
2009-08-07Unable to browse DFS when using kerberosBo Yang1-8/+14
Signed-off-by: Bo Yang <boyang@samba.org>
2009-08-06s4: Simplify two lines in the "samdb.py" file (cosmetic)Matthias Dieter Wallnöfer1-2/+1
2009-08-06s4:enableaccount script: Remove a redundant lineMatthias Dieter Wallnöfer1-1/+0
2009-08-06s3/smbldap: Fix typo in debug message.Karolin Seeger1-1/+1
Karolin
2009-08-06There is one signedness issue in tdb which prevents traverses of TDB recordsRusty Russell1-9/+21
over the 2G offset on systems which support 64 bit file offsets. This fixes that case. On systems with 32 bit offsets, expansion and fcntl locking on these records will fail anyway. SAMBA already does '#define _FILE_OFFSET_BITS 64' in config.h (on my 32-bit x86 Linux system at least) to get 64 bit file offsets. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-08-06Revert "deliberately break the build"Andrew Tridgell1-1/+1
This reverts commit 57da47c1bd76157a6a403154551645c16ad64a75. The build emails do work :-)
2009-08-06deliberately break the buildAndrew Tridgell1-1/+1
I want to make sure that the build breakage emails are now working correctly
2009-08-06s4:heimdal: import lorikeet-heimdal-200908052208 (commit ↵Andrew Bartlett33-117/+31
370a73a74199a5a55188340906e15fd795f67a74) This removes some of the portability changes made to code under heimdal/ If these are still required, then we will re-add them with code under heimdal_build/ (so that we can simply 'drop in' future heimdal releases). Andrew Bartlett
2009-08-06set uidwrappersrcdirAndrew Tridgell1-0/+1
this is needed for the combined build
2009-08-06define uwrap_enabled() on Samba3Andrew Tridgell1-0/+3
s3 doesn't use uwrap yet, but it uses some common coe in lib/, and so needs a dummy version of the uwrap_enabled() macro
2009-08-05s4:ldb Cosmetic corrections in "rdn_name" moduleMatthias Dieter Wallnöfer1-4/+4
2009-08-05changed BCC handling for SMBwriteX to handle broken MacOSX clientAndrew Tridgell1-13/+8
see bug #6610 The MacOSX SMB client sets the BCC value in SMBwriteX calls to zero instead of the correct size. Checking against WindowsXP, I've found that Windows uses the maximum of the computed buffer size and the given BCC value. I've changed Samba4 to do the same to allow MacOSX to work. I've limited this change to non-chained packets to ensure we don't get the possibility of exploits based on overlapping chained requests
2009-08-05on buffer overflow windows gives SMBSRV:ERRerror hereAndrew Tridgell1-1/+1
2009-08-05s4:torture The test logic for the target was wrong. This should correct it.Matthias Dieter Wallnöfer1-4/+4
2009-08-05s4:heimdal_build: define HEIMDAL_LOCALEDIRStefan Metzmacher1-0/+1
metze
2009-08-05s4:ldap_server: make sure we shutdown the tls socket before ↵Stefan Metzmacher1-0/+1
stream_terminate_connection() removes the fd event This fixes a crash bug where tls_destructor() relies on the fd event still being there. metze
2009-08-05s4:torture Remove some unwanted code in the LDAP test - hope this fixes up ↵Matthias Dieter Wallnöfer1-12/+0
the test failures
2009-08-05fixed a problem with group policy writes causing policy corruptionAndrew Tridgell3-4/+48
This bug was caused by two things: 1) in the unix ACL mapping, we were not taking into account group write permssions for the SEC_STD_DELETE flag 2) when a file is created using OVERWRITE mode, a fchmod() would fail if the user is not the file owner. We resolve that by only doing the fchmod() if the mapped file attribute does not match the desired file attribute
2009-08-05s3:winbind: Convert WINBINDD_GETGROUPS to the new APIVolker Lendecke5-173/+230
2009-08-05s3:winbind: Add async wb_gettokenVolker Lendecke3-0/+224
2009-08-05s3:winbind: Convert WINBINDD_GETUSERDOMGROUPS to the new APIVolker Lendecke5-28/+131
2009-08-05s3:winbind: Add async wb_lookupusergroupsVolker Lendecke12-2/+497
2009-08-05s3:winbind: Make wcache_lookup_usergroups externally visibleVolker Lendecke2-29/+52
2009-08-05s3:winbind: Convert WINBINDD_GETSIDALIASES to the new APIVolker Lendecke5-28/+145
2009-08-05s3:winbind: Add async wb_lookupuseraliasesVolker Lendecke12-2/+643
2009-08-05s3:winbind: Make parse_sidlist take a const char *Volker Lendecke2-5/+12
2009-08-05s3:winbind: Make wcache_lookup_useraliases available publicallyVolker Lendecke2-33/+78
2009-08-05s3:winbind: Convert WINBINDD_GETPWUID to the new APIVolker Lendecke5-265/+117
2009-08-05s3:winbind: Convert WINBINDD_GETPWNAM to the new APIVolker Lendecke5-98/+152
2009-08-05s3:winbind: Convert WINBINDD_GETPWSID to the new APIVolker Lendecke5-21/+101
2009-08-05s3:winbind: Add async wb_getpwsidVolker Lendecke3-0/+230
2009-08-05s3:winbind: Make fillup_pw_field publically availableVolker Lendecke2-1/+9
2009-08-05s3:winbind: Add async wb_queryuserVolker Lendecke12-2/+721
2009-08-05s3:winbind: Make wcache_query_user externally visibleVolker Lendecke2-22/+47
2009-08-05s3:winbind: Convert WINBINDD_GID_TO_SID the new APIVolker Lendecke5-59/+96
2009-08-05s3:winbind: Add async wb_gid2sidVolker Lendecke12-2/+541
2009-08-05s3:winbind: Convert WINBINDD_UID_TO_SID the new APIVolker Lendecke5-59/+96