summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4 torture: Add a few more windows target typesTim Prouty2009-12-032-0/+6
|
* s4 torture: Convert to a more modern version of read in RAW-OPLOCK-BATCH4Tim Prouty2009-12-031-5/+7
|
* s4 torture: Allow some implementations to break from level1 to none with two ↵Tim Prouty2009-12-033-7/+21
| | | | breaks
* s4-smbtorture: check more WERRORs in RPC-SPOOLSS.Günther Deschner2009-12-031-34/+35
| | | | Guenther
* s4-smbtorture: call test_EnumPrinterDrivers with architecture in RPC-SPOOLSS.Günther Deschner2009-12-031-25/+6
| | | | Guenther
* s4:operational LDB module - Fix usage of LDB constantsMatthias Dieter Wallnöfer2009-12-031-4/+4
|
* s4:ntvfs/posix/pvfs_streams - Fix "discard const" warningMatthias Dieter Wallnöfer2009-12-031-1/+1
| | | | | | I removed one "const" in front of a string declaration to achieve this. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:ntvfs/posix/pvfs_resolve - Fix "discard const" warningMatthias Dieter Wallnöfer2009-12-032-4/+4
| | | | | | I removed two "const"s in front of string declarations to achieve this. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4/selftest: knownfail some locking tests until bugs are fixedSteven Danneman2009-12-021-0/+2
|
* s4/torture: add multiple lock cancel testSteven Danneman2009-12-021-2/+91
| | | | | | | | | See what happens when we have multiple outstanding lock requests and we try to cancel both of them within a single LockingAndX. On Windows, it seems only the first lock in the array is cancelled, and the second is left pending. Though, this behavior goes against the MS-CIFS spec.
* s4/torture: add addition multiple lock testsSteven Danneman2009-12-022-29/+279
| | | | | | | | * test that 2 locks in a single LockAndX are transactional * test that 1 unlock and 1 lock in a single LockAndX are not transactional * test that SMB2 doesn't like mixed lock/unlock in a single PDU
* s4/torture: fix build warnings by removing unecessary constSteven Danneman2009-12-021-1/+1
|
* s4/torture: Add target functionality parameters to SMBv1 BRL testsSteven Danneman2009-12-023-7/+42
| | | | | | | | Abstract the server requirements to pass some BRL tests. * The new default for >64bit lock tests, is that the server should return STATUS_INVALID_LOCK_RANGE. * Add parameter for targets that don't implement DENY_DOS
* s4-smbtorture: be very strict in checking spools_EnumPrinterKey results.Günther Deschner2009-12-032-3/+15
| | | | Guenther
* s4-drs: fixed UDV and overlapping sync calls in DRSAndrew Tridgell2009-12-031-40/+42
| | | | | | | | | When windows abandons a DRS sync, it will sometimes re-use the same bind handle for a new sync. This means we need to check the DN of the sync and blank the getnc_state if the DN has changed. This also fixes the UDV to use the highest uSN for the partition, not for the whole SAM.
* s4-drs: fixed updating of uSNChanged in replmd_modifyAndrew Tridgell2009-12-031-3/+2
| | | | Updating of uSNChanged broke in a recent change
* samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.Günther Deschner2009-12-022-32/+6
| | | | | | | This should finally resolve the endian issues we were seeing on sparc and is much cleaner for spoolss clients and servers. Guenther
* s4 torture: Change oplock to use passthrough for exclusive3/batch11Tim Prouty2009-12-011-2/+2
| | | | | | | In light of the INVALID_LEVEL that is seen for RAW_SFILEINFO_END_OF_FILE_INFO requests on a path, I'm changing these back to using the passthrough RAW_SFILEINFO_END_OF_FILE_INFORMATION to test the oplock break behavior as originally intended
* s4 torture: Update RAW-SFILEINFO-END-OF-FILE to test some additional corner ↵Tim Prouty2009-12-011-19/+104
| | | | | | | | | | cases It turns out setting the end-of-file with Trans2SetPathInfo using the snia spec's info level will attempt to open the file, enforcing share modes, but then subsequentlys fail the setpathinfo with a dos error of INVALID_LEVEL. Doing a Trans2SetFileInfo with either end-of-file info level succeeds as expected.
* Revert "s4 torture: Allow onefs to be checked like samba3 and samba4"Tim Prouty2009-12-011-1/+0
| | | | | | This reverts commit 98f595036e196dd61340fef0faf63ca762a25307. No longer necessary
* s4 torture: Change RAW-SFILEINFO-END-OF-FILE to check for share modes by defaultTim Prouty2009-12-011-7/+5
| | | | | | Since the windows behavior appears to be a bug, only check for the windows-style share mode bug if target=<windows variant> is specified
* s4 torture: Move target macros to a common header instead of redefining them ↵Tim Prouty2009-12-013-7/+8
| | | | in multiple files
* s4:torture/raw/lock - Fix "discard const" warnings by introducing ↵Matthias Dieter Wallnöfer2009-12-011-3/+6
| | | | "discard_const_p"s
* s4:torture/nbt/wins - Add more castsMatthias Dieter Wallnöfer2009-12-011-6/+12
|
* s4:torture/nbench/nbench - Add a cast before "str_list_make_shell"Matthias Dieter Wallnöfer2009-12-011-2/+3
|
* s4:torture/ldap/ldap_sort - Add some casts to suppress warningsMatthias Dieter Wallnöfer2009-12-011-7/+7
|
* s4:schema - Make some more (result) variables const and fix up warnings with ↵Matthias Dieter Wallnöfer2009-12-012-53/+72
| | | | "discard_const_p"
* s4:kdc - Merged kdc_tcp_accept() and kpasswdd_tcp_accept().Endi S. Dewata2009-12-011-26/+6
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:kdc - Merged kdc_add_kdc_socket() and kdc_add_kpasswd_socket().Endi S. Dewata2009-12-011-75/+27
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4 - Create default modules directory.Endi S. Dewata2009-12-011-0/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:kdc - Disable KDC port when it's set to 0.Endi S. Dewata2009-12-011-42/+63
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* Merge commit 'origin/master' into abartlet-develAndrew Bartlett2009-12-011-1/+1
|\
| * s4-ldb: the '1' form of extended_dn search is easier to readAndrew Tridgell2009-12-011-1/+1
| | | | | | | | | | The '1' form gives GUIDs and SIDs in the ascii form as normally used for display.
* | On our way to Samba4 alpha10!Andrew Bartlett2009-12-011-2/+2
| |
* | Fix build of Samba4 from tarball generated by mkrelease.shAndrew Bartlett2009-12-011-3/+0
| | | | | | | | | | | | | | | | | | | | Revert "Remove RFC's from the release tarballs to make the lives of the Debian" This reverts commit eda7f35bc891ca4a7505ec054a2b4591c6edfb38. These files are essential to the Samba4 build. Andrew Bartlett
* | This is alpha9Andrew Bartlett2009-12-011-1/+1
|/
* s4:setup Adjust upgradeprovision blackbox test now we don't have --targetdirAndrew Bartlett2009-12-011-2/+2
|
* s4: Remove targetdir as it can cause some trouble and can be replaced by an ↵Matthieu Patou2009-12-011-3/+1
| | | | | | adapted -s smb.conf Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4: Handle the case in secrets.ldb without name attributeMatthieu Patou2009-12-011-5/+25
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4: don't forget to update defaultSecurityDescriptorMatthieu Patou2009-12-011-2/+3
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4: load the domain level of the current provision and create a provision ↵Matthieu Patou2009-12-012-3/+9
| | | | | | with the same domain level Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:ldap.py Add test of namingContext behaviour after tridge found a bugAndrew Bartlett2009-12-011-0/+15
| | | | | | | Tridge found that the partitions.c module was being initialised twice, and setting the partitions into the rootDSE twice. Andrew Bartlett
* Fix bug 6546: Avoid accessing buf[-1] if NUL byte comes from fgetsVolker Lendecke2009-11-301-1/+3
|
* s4-drs: Test situations for runtime constructed parentGUIDFernando J V da Silva2009-11-301-1/+24
| | | | | | | | | | Includes the following verifications for the constructed parentGUID: - Checks if it returns nothing when there is no parent object - Ensures that attributes mentioned after the parentGUID are returned correctly (this avoid a bug pointed out by Tridge during sync constructed parentGUID development) Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-drs: Using dsdb_msg_add_guid() utility functionFernando J V da Silva2009-11-304-54/+6
| | | | | | | Uses the dsdb_msg_add_guid() to add any kind of GUID attribute to a ldb_message in several places of samba4 code. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-drs: add deletion of old connectionsCrístian Deives2009-11-303-37/+190
| | | | | | | the nTDSConnection objects that are not needed anymore will be deleted. the function kccsrv_delete_connection wasn't tested yet. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-ldb: changed ldb_msg_add_dn() to ldb_msg_add_linearized_dn()Crístian Deives2009-11-304-11/+15
| | | | | | this makes the usage clearer Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-drs: Create connection obejct (nTDSConnection)Crístian Deives2009-11-303-0/+130
| | | | | | create nTDSConnection objects to match the list of servers Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-ldb: check for -ve value for page sizeAndrew Tridgell2009-11-301-0/+5
| | | | | This comes from a tip from Howard Chu. Apparently some clients will send a -ve page size value.
* s4-dsdb: don't call ldb_next_init() twice in objectclass moduleAndrew Tridgell2009-11-301-1/+1
|