summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-22s4:dsdb Add 'const' to some struct dsdb_schema variablesAndrew Bartlett2-9/+9
We don't currently require this, but we may move this way in future.
2010-03-22s4:dsdb Don't load the schema unconditionallyAndrew Bartlett2-3/+19
Schema loads now come at a price, so avoid doing them if we don't have to (such as when doing an @REPLCHANGED or other special DN based search). Andrew Bartlett
2010-03-22s3: file_walk_table -> files_forallVolker Lendecke3-3/+3
This is more in line with the rest of the Samba code, like connections_forall etc.
2010-03-22s3: Fix some nonempty blank linesVolker Lendecke2-7/+6
2010-03-22s4:registry - "patchfile.c" - consider also the hives in the generated diffsMatthias Dieter Wallnöfer1-0/+9
Apparently the diffs for the hives weren't generated previously.
2010-03-22s4:registry - "patchfile.c" - fix a typoMatthias Dieter Wallnöfer1-1/+1
2010-03-21s4:regtree - fix counter variables to be "unsigned"Matthias Dieter Wallnöfer1-3/+4
2010-03-21s4:registry - "LDB backend" - "reg_ldb_unpack_value"Matthias Dieter Wallnöfer1-1/+1
When the name isn't found it is the default value. Call it "" to be consistent.
2010-03-21s4:registry - "LDB backend" - "reg_key_get_info"Matthias Dieter Wallnöfer1-2/+29
Consider also the default value (if it exists) as value. That means: - count it when setting "num_values" - take also his buffer length as a candidate for the maximum value buffer length This is what Windows does.
2010-03-21s4:registry - "LDB backend" - "ldb_get_default_value"Matthias Dieter Wallnöfer1-1/+1
There exist also key objects (the hives) which don't contain a "key" entry at all. This prevented to display their default value (my fault).
2010-03-21s4:registry - "LDB backend" - make the key argument "const" of ↵Matthias Dieter Wallnöfer1-1/+2
ldb_get_default_value
2010-03-21s4:registry - "LDB backend" - fix indentationMatthias Dieter Wallnöfer1-2/+2
2010-03-21Fix an uninitialized variableVolker Lendecke1-0/+4
2010-03-21s3: Fix bug 7202 for multi-threaded applicationsVolker Lendecke1-0/+1
Thanks to Sergey Tereschenko <serg.partizan@gmail.com> for providing good feedback! Volker
2010-03-21Use TALLOC_FREE in talloc_pop()Volker Lendecke1-2/+1
2010-03-21Use calloc instead of ZERO_STRUCTP in talloc_stackframe_create()Volker Lendecke1-7/+5
2010-03-21Trim an overlong lineVolker Lendecke1-2/+2
2010-03-21s4:regshell - here we don't need a newline - "ctime" itself provides oneMatthias Dieter Wallnöfer1-1/+1
2010-03-21s4:regshell - don't return an error code if we get a security descriptors errorMatthias Dieter Wallnöfer1-2/+2
s4 itself doesn't support them so print only the error code out (in s4's case WERR_NOT_SUPPORTED).
2010-03-21s4:registry - "LDB backend" - reg_key_get_info - adapt max. subkey and value ↵Matthias Dieter Wallnöfer1-8/+8
length Those lengths are measured in UTF8 string lengths and not in UTF16 ones (the returned strings are generally in this format). Discovered this by checking the s3 registry code. Therefore we have to multiply the both numbers by two. Discovered with the "regedt32" (old NT registry editor).
2010-03-21s4:WINREG RPC server - don't check for the "name" size in "EnumValue"Matthias Dieter Wallnöfer1-5/+0
This isn't needed at all since: 1.) a new name object is created and sent back to the client 2.) the "size" seems to be the size of the "name" pointer. On my test with the "regedt32" program this has always been "4".
2010-03-21s4:torture - WINREG RPC - reactivate test "SetValueExtended" for s4Matthias Dieter Wallnöfer1-3/+2
Should be definitely fixed now.
2010-03-21s4:WINREG RPC - we support only non-volatile keysMatthias Dieter Wallnöfer1-0/+5
2010-03-21s4:registry - "LDB backend" - don't test for "0" as string termination on ↵Matthias Dieter Wallnöfer1-2/+1
binary and unknown typed values
2010-03-21s4:WINREG RPC - specify the performed create action for "CreateKey"Matthias Dieter Wallnöfer1-1/+10
To make the WINREG RPC testsuite happy.
2010-03-21s4:registry - handle type "DWORD_BIG_ENDIAN" as type "DWORD"Matthias Dieter Wallnöfer3-16/+5
Further tests show that (at least per default) there aren't any differences between them.
2010-03-21s4:torture WINREG - enhance test for "QWORD" typeMatthias Dieter Wallnöfer1-0/+5
We need to know how this behaves.
2010-03-21s4:torture WINREG - enhance test for "DWORD_BIG_ENDIAN" typeMatthias Dieter Wallnöfer1-0/+2
We need to know how this behaves.
2010-03-21s4:registry - "LDB backend" - fix up memory allocation for dynamic integersMatthias Dieter Wallnöfer1-2/+2
We don't need to reserve memory for NULL termination when storing data as integers.
2010-03-21s4:registry - "LDB backend" - Fix up the storage of binary ↵Matthias Dieter Wallnöfer1-11/+12
REG_SZ/REG_EXPAND_SZ values There seem to exist also UTF16 sequences which have byte sizes of a multiple of two but are invalid (gd's winreg test shows this).
2010-03-21s3: Open winbindd_cache.tdb with read/write access.Bo Yang1-1/+1
Open winbindd_cache.tdb with read/write access when validate the cache, otherwise, validation fails to get lock in tdb_check. It results in validation failure even the cache is good. Signed-off-by: Bo Yang <boyang@samba.org>
2010-03-20s3: Fix bug 7202Volker Lendecke1-0/+5
Make sure _nss_wins_gethostbyname_r has a talloc stackframe available Thanks to Sergey Tereschenko <serg.partizan@gmail.com> for reporting the bug! Volker
2010-03-20build: useful shell vars for setting up selftestAndrew Tridgell1-0/+9
2010-03-20subunit: fixed reporting of unexpected failuresAndrew Tridgell1-7/+10
2010-03-20subunit: keep total error and failure countsAndrew Tridgell1-0/+8
2010-03-20s4-selftest: skip RPC-DFS for s4 entirely.Günther Deschner2-1/+1
Guenther
2010-03-19s4-smbtorture: rework RPC-DFS test a bit.Günther Deschner2-211/+196
Guenther
2010-03-19s3-selftest: use proper names for samba3 dcerpc tests.Günther Deschner1-2/+2
Guenther
2010-03-19s4-smbtorture: put all RPC-SAMB3-X torture tests into their own torture_suite.Günther Deschner2-29/+36
Guenther
2010-03-19s4:librpc/rpc: add NCACN_INTERNAL from s3Stefan Metzmacher1-1/+1
metze
2010-03-19s3:librpc: remove unused stuffStefan Metzmacher4-229/+0
metze
2010-03-19s3-selftest: enable RAP calls testsuite against samba3.Günther Deschner1-1/+3
Guenther
2010-03-19s4-smbtorture: skip RAP netservergetinfo level 1 test against s3.Günther Deschner1-2/+11
Guenther
2010-03-19s3-selftest: rearrange uid/gid calculation to achieve correct membership.Günther Deschner1-21/+25
(make test variant) Guenther
2010-03-19s3-selftest: rearrange uid/gid calculation to achieve correct membership.Günther Deschner1-25/+33
Guenther
2010-03-19nss_wrapper.pl: allow to specify gid for new users.Günther Deschner1-21/+24
Guenther
2010-03-19error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo.Günther Deschner3-3/+3
Metze, please check. Guenther
2010-03-19s4-smbtorture: use torture_context in policy function in RPC-LSA-LOOKUP test.Günther Deschner1-15/+17
Guenther
2010-03-18s3:libsmb/nterr.c: fix/add NT_STATUS_RPC_* codesStefan Metzmacher1-4/+9
metze
2010-03-18s3-selftest: fix Samba3.pm provisioning after uid/gid changes.Günther Deschner1-3/+3
Guenther