Andrew Tridgell
5dcf0069b6
tdb: fixed the intermittent failure of tdbtorture in the build farm
...
There was a race condition that caused the torture.tdb to be left in a
state that needed recovery. The torture code thought that any message
from the tdb code was an error, so the "recovered" message, which is a
TDB_DEBUG_TRACE message, marked the run as being an error when it
isn't.
2009-10-20 10:59:40 +11:00
John H Terpstra
751fd6fb8d
Fixes for typos. Thank-you PC Oota.
2009-10-19 13:29:17 -05:00
Günther Deschner
10bd521849
wbinfo: use wbcLookupDomainControllerEx for wbinfo --dsgetdcname.
...
Guenther
2009-10-19 18:44:51 +02:00
Günther Deschner
110a40d4bc
libwbclient: fix wbcLookupDomainController().
...
Found by WINBIND-WBCLIENT torture test.
Guenther
2009-10-19 18:44:51 +02:00
Günther Deschner
71cfbf958c
s4-smbtorture: test wbcLookupDomainController{Ex} in WINBIND-WBCLIENT.
...
Guenther
2009-10-19 18:44:51 +02:00
Günther Deschner
dbd03997e1
gitignore: remove old netlogon prototypes.
...
Guenther
2009-10-19 18:44:51 +02:00
Matthias Dieter Wallnöfer
abeb794b66
s4:torture "cldap" test - restore the removed constraints and add more
...
Consider for description the post on the technical mailing list. I hope that this
satisfies abartlet again.
2009-10-19 18:34:29 +02:00
Matthias Dieter Wallnöfer
0ef7c22b5d
s4:password_hash LDB module - substitute "lp_workgroup" with "lp_sam_name"
...
According to abartlet's response on my post about "lp_workgroup" this should be
the right call.
2009-10-19 18:25:05 +02:00
Andrew Tridgell
8d0959b2b1
selftest: try to get the valgrind errors showing again in the build farm
2009-10-19 22:58:23 +11:00
Andrew Tridgell
d680729dfb
util: fixed generate_unique_strs() to be portable
...
'place' was going negative, and giving undefined results. The result
was duplicate names which gave errors in SMB2-DIR on PPC and other
systems.
2009-10-19 22:47:45 +11:00
Andrew Tridgell
729c4b3eee
s4-selftest: fixed 'make testenv'
...
The 'TERM' variable is used for terminal type, so we can't use it for
what terminal to use.
2009-10-19 21:37:20 +11:00
Andrew Tridgell
c45a81ecf3
s4-pyldb: fixed 64 bit issues
...
The python argument parse functions take standard C types, not enums
and time_t. This broken the python interface on PPC.
2009-10-19 21:36:41 +11:00
Andrew Tridgell
96a41581e6
s4-idmap: the idmap database should be indexed
2009-10-19 20:31:40 +11:00
Andrew Tridgell
89ba043c7d
s4-libnet: fixed privilege handling in samsync to use the right db
...
I only noticed this one because of Karolins spelling fix :-)
2009-10-19 20:03:12 +11:00
Andrew Tridgell
4828f92754
s4-pvfs: fill in alignment_requirement (valgrind error)
2009-10-19 20:03:12 +11:00
Karolin Seeger
b7b548411c
s4:test: Fix typo.
...
Karolin
2009-10-19 10:40:15 +02:00
Karolin Seeger
fa08d0b44b
Fix typo.
...
privilage -> privilege
Karolin
2009-10-19 09:47:33 +02:00
Andrew Tridgell
38fbfdca4d
Revert "selftest: fixed filter to know about a "error" result"
...
This reverts commit 1de7e43fb4a4863e3663af8b2a2d9f19cf82d7f3.
This is much more delicate than it seems
2009-10-19 14:17:02 +11:00
Andrew Tridgell
fb9319d971
s4-selftest: move secdesc.python test to skip list
...
This test produces a python backtrace due to
LDAP_INSUFFICIENT_ACCESS_RIGHTS errors, which are expected until the
new acl code is finished. The python backtrace overrides the
'knownfail' listing, so we need to skip this test for now.
2009-10-19 13:51:18 +11:00
Andrew Tridgell
1de7e43fb4
selftest: fixed filter to know about a "error" result
...
This is what caused some of the python tests to not match knownfail
entries
2009-10-19 13:51:17 +11:00
Andrew Tridgell
959accb4e6
s4-test: removed duplicate knownfail entry
2009-10-19 13:51:17 +11:00
Andrew Tridgell
e5b36c6eae
s4-pvfs: another uninitialised variable
...
thanks to valgrind for this one
2009-10-19 13:51:17 +11:00
Bo Yang
31f1a36901
s3: Don't fail authentication when one or some group of require-membership-of is invalid.
...
Signed-off-by: Bo Yang <boyang@samba.org>
2009-10-20 02:05:58 +08:00
Andrew Tridgell
1219dac5ae
s4-pvfs: fixed uninitialised variable
...
This caused havoc on the build farm. Interestingly, it only affected
gcc 4.3.3, not gcc 4.4.1
2009-10-19 11:59:57 +11:00
Matthias Dieter Wallnöfer
d673b49dfc
s4:ldb_msg_check_string_attribute - add a comment about the result values
2009-10-18 18:16:31 +02:00
Matthias Dieter Wallnöfer
9d097fa0e0
Revert "s4:ldb_msg - Use LDB constants on results"
...
This reverts commit 56a8baff3df6a5120b6c7bbca771dfb7c6934fd5.
Simo pointed out that I was wrong here.
2009-10-18 18:15:55 +02:00
Björn Jacke
718d2801d6
s3:configure: fix avahi activation
...
Avahi was correctly found but not activated since e4a26c942.
2009-10-18 17:06:29 +02:00
Matthias Dieter Wallnöfer
77b9d2827b
s4:torture "cldap" test - rework and test more results
2009-10-18 14:33:43 +02:00
Matthias Dieter Wallnöfer
85e4995364
s4:sites - get the server site (name) from DSDB
2009-10-18 14:33:43 +02:00
Matthias Dieter Wallnöfer
5d4093a937
s4:dcerpc_netlogon - unify the two workstation object lookups (DNS hostname and supported encryption types)
...
This is simply for better performance (no functional change).
2009-10-18 14:32:59 +02:00
Matthias Dieter Wallnöfer
56a8baff3d
s4:ldb_msg - Use LDB constants on results
2009-10-18 10:45:30 +02:00
Matthias Dieter Wallnöfer
a69f84fd2a
s4:ldb_ldap - Fix intendation
2009-10-18 10:45:15 +02:00
Andrew Tridgell
bc2b4192c0
s4-test: the ldap secdesc test is expected to fail for now
...
Nadya, if this is not correct and you think this should be passing
already the please let me know. When I looked over it, it doesn't look
like it has a chance of passing until your acl module is in place and
enabled by default.
2009-10-18 16:32:01 +11:00
Andrew Tridgell
5d3659a881
s4-test: SMB2 oplocks in s4 are a mess
...
I don't have time to fix these right now, and as we don't advertise
SMB2 by default I'll mark it as a known failure till we start enabling
SMB2 by default.
2009-10-18 15:57:21 +11:00
Andrew Tridgell
81eb31f07b
s4: spelling error
2009-10-18 15:56:16 +11:00
Andrew Tridgell
9ae4daeb96
s4-torture: fixed the streams tests for Samba4
...
In some cases we were not doing streams tests on s4 that we should. In
others, we were calling tests that are known to fail on s4. Some of
those are a bit puzzling.
2009-10-18 15:06:13 +11:00
Andrew Tridgell
764c09e6bc
s4-streams: fixed handling of stream rename and overwrite
2009-10-18 15:06:13 +11:00
Andrew Tridgell
44612c74a6
s4-pvfs: rename with full name gives SHARING_VIOLATION
2009-10-18 15:06:12 +11:00
Andrew Tridgell
83db71e9a7
s4-pvfs: when reporting the file name, don't include the :$DATA suffix
2009-10-18 15:06:12 +11:00
Andrew Tridgell
2d4ad4f504
s4-pvfs: the STREAM_INFORMATION calls don't need any access flags
2009-10-18 15:06:11 +11:00
Andrew Tridgell
edd0ea5225
s4-pvfs: fixed update of stream sizes
...
The data_blob_free() was changing the size we set the stream to
2009-10-18 15:06:11 +11:00
Jeremy Allison
8d85757578
Fix posix_unlink test. Was doing grep without quotes around the
...
target string.
Jeremy.
2009-10-17 20:46:22 -07:00
Andrew Tridgell
a2aa13da32
s4-pvfs: more fixes for ACLs on file creation
...
The passed in SD is not used to limit the access mask allowed on file
create.
2009-10-18 10:32:06 +11:00
Andrew Tridgell
bae8c93d9b
s4-smb2: fixed SMB2 find commands
...
The change to check for invalid \ prefix on SMB2 paths broke the
internal SMB2 code.
2009-10-18 10:30:10 +11:00
Andrew Tridgell
0463d69883
s4-pvfs: change the handling of access checking on create
...
Previously when a file was created, we produces the resulting access
mask based on an ACL check against the parent. This change means we
now calculate the inherited ACL much earlier, and produce the
resulting access mask from that ACL, or the user supplied ACL.
2009-10-18 07:13:47 +11:00
Andrew Tridgell
d1efaf39f5
smb2-torture: samba4 allows SEC_FLAG_SECURITY to be used with privileges
2009-10-18 07:13:47 +11:00
Andrew Tridgell
a319ba49e7
s4: fixed howto for new binary name
2009-10-18 07:13:46 +11:00
Jeremy Allison
d6351adca9
Fix the smbtorture4 build. root_fid is a "union smb_handle". tridge
...
please check.
Jeremy.
2009-10-17 12:56:15 -07:00
Jeremy Allison
096589aead
Trying to find out why the posix_unlink test build farm is still failing even
...
though we're now successfully deleting the symlink.
Jeremy.
2009-10-17 10:38:44 -07:00
Jeremy Allison
7c51fa6d69
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
2009-10-17 10:36:33 -07:00