1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-08 16:23:49 +03:00
Commit Graph

4214 Commits

Author SHA1 Message Date
Andrew Tridgell
aa82b105d5 r6580: fixed the bug that caused the truncation of the main file on a stream
open with openx and the 'truncate if exists' flag
2007-10-10 13:16:27 -05:00
Andrew Tridgell
dffeb3c3d4 r6579: improved the handling of lock timeouts and cancels in the pvfs locking
code. On lock cancel don't retry the lock.
2007-10-10 13:16:27 -05:00
Andrew Tridgell
d465ff67bd r6578: brown paper bag time with the new messaging code .... 2007-10-10 13:16:27 -05:00
Jelmer Vernooij
6d93fcc407 r6577: Make test works without installation now.
Running as a non-root user using socket_wrapper is possible by simple
export SOCKET_WRAPPER_DIR before running 'make test'
2007-10-10 13:16:27 -05:00
Stefan Metzmacher
748ab5449b r6574: send a value for embedded ref pointers,
(this fixes the doublepointer test against w2k3)

but we accept zero pointers on the receive side,
because it's used in DRSUAPI

metze
2007-10-10 13:16:27 -05:00
Andrew Bartlett
550f17f992 r6573: Start on my project to implement an NT4 compatible BDC in Samba4.
This brings in a compatability layer for Samba3 in Samba4 - where we
will start to define file formats and similar details.

The 'net samdump' command uses 'password server = ' for now, and
performs a similar task to Samba3's 'net rpc samsync'.

Andrew Bartlett
2007-10-10 13:16:27 -05:00
Stefan Metzmacher
23b529ee09 r6572: add "string_array" as new scalar type for handling SPOOLSS string array's
metze
2007-10-10 13:16:26 -05:00
Stefan Metzmacher
af16ecb7ac r6571: create a simple smb.conf by provision.pl
metze
2007-10-10 13:16:26 -05:00
Jelmer Vernooij
02160c991a r6568: Some more small 'make test' fixes 2007-10-10 13:16:26 -05:00
Jelmer Vernooij
195753b6af r6567: Use "real" prefix for 'make test' 2007-10-10 13:16:26 -05:00
Andrew Bartlett
8ee208a926 r6565: Cludge, cludge, cludge...
We need to pass the 'secure channel type' to the NETLOGON layer, which
must match the account type.

(Yes, jelmer objects to this inclusion of the kitchen sink ;-)

Andrew Bartlett
2007-10-10 13:16:26 -05:00
Jelmer Vernooij
7d2d4a57e0 r6564: - Fix bug in socket_wrapper
- Add options --quiet and --outputdir options to the provisioning script
- Add simple 'make test' and 'make test-swrap'
2007-10-10 13:16:26 -05:00
Andrew Tridgell
079e1f4e85 r6563: - fixed the local messaging torture test not to fork, as this causes
trouble with the epoll() based event handling

- changes the test to use a local directory instead of the prefix lock
  directory, so the LOCAL-MESSAGING test can run as non-root even when
  the lock directory is not writeable
2007-10-10 13:16:26 -05:00
Andrew Tridgell
23b2046dcb r6562: added support for datagram unix domain sockets in the socket library 2007-10-10 13:16:25 -05:00
Andrew Tridgell
f244a64ed5 r6561: re-did the internal message system based on DGRAM unix domain
sockets. This gains us about 40% in messaging speed.
2007-10-10 13:16:25 -05:00
Andrew Tridgell
917f2a8a07 r6560: added a tdb_chainlock_read() call in ldb_search(). This guarantees
that ldb_search() sees a single consistent view of the database (by
blocking writes during a ldb_search)
2007-10-10 13:16:25 -05:00
Andrew Tridgell
d4e702da77 r6557: make srvsvc available on ncalrpc and ncacn_ip_tcp so we can do each
comparitive benchmarks
2007-10-10 13:16:25 -05:00
Andrew Tridgell
d1e0b7a2e3 r6556: added BENCH-RPC test, useful for simple rpc load testing 2007-10-10 13:16:25 -05:00
Andrew Tridgell
e2f5d36e47 r6549: a simple ldap test script 2007-10-10 13:16:25 -05:00
Jelmer Vernooij
95fed657f4 r6546: Fix ldb standalone build
Add autoconf to tdb
2007-10-10 13:16:25 -05:00
Andrew Tridgell
87d3d55bd3 r6545: some notes and experiments on ref ptrs, testing with midl 2007-10-10 13:16:24 -05:00
Andrew Bartlett
d9c31e60a7 r6544: Use common structures between SAMR, NETLGON and the Krb5 PAC.
Fill out the group list for the SamLogon reply, so clients get the
supplementary groups.

Andrew Bartlett
2007-10-10 13:16:24 -05:00
Tim Potter
7ab240644e r6540: Implement a bunch more SAMR functions. 2007-10-10 13:16:24 -05:00
Tim Potter
f40977c421 r6539: A patch from jbm:
- convert rpcclient to new credential code
  - allow anonymous connections
2007-10-10 13:16:24 -05:00
Tim Potter
d05cb53399 r6538: Somehow building shared libraries was broken. Either AC_CANONICAL_HOST
or AC_CANONICAL_SYSTEM needs to be called in order for $host_os to be
defined.
2007-10-10 13:16:24 -05:00
Andrew Bartlett
1a1f0bd33c r6534: Patch from lieschen to fix our vital user creation tools :-)
Andrew Bartlett
2007-10-10 13:16:24 -05:00
Andrew Tridgell
3e610e3952 r6531: fixed gentest with new credentials code 2007-10-10 13:16:23 -05:00
Andrew Tridgell
3e1b2742db r6530: the server ID of a connection in the single process model should be
based on the new socket fd, not the listening socket!

this fixes locktest with -M single
2007-10-10 13:16:23 -05:00
Andrew Tridgell
70b4a687c0 r6529: fixed locktest with new credentials code 2007-10-10 13:16:23 -05:00
Andrew Tridgell
162bbe4402 r6528: - in tdb_fetch() we effectively disallowed zero length records by
returning NULL/0, which is the same as we used for a failure. Having
  to look at tdb->ecode (which we never do) is too error prone.

  Instead, tdb_fetch() should behave like malloc() and talloc(), where
  zero length is not special and malloc(0) returns a valid pointer.

- similarly in data_blob(), asking for data_blob(NULL, 0) should
  return a zero blob, but asking for data_blob(ptr, 0) should return a
  zero length blob with a valid pointer, just like talloc() and malloc()

This change fixes the SummaryInformation stream stored in the tdb
backend when manipulated from w2k. The w2k client was using
SET_EOF_INFORMATION to create a zero-length stream, which we return
STATUS_NOT_FOUND on, as the tdb_fetch() gave us back a NULL/0 blob,
which we returned as not-found
2007-10-10 13:16:23 -05:00
Tim Potter
b32c159c38 r6527: Resurrect getntacl utility program. At the moment we only display the
output of ndr_print_xattr_NTACL() to stdout.
2007-10-10 13:16:22 -05:00
Andrew Bartlett
4bec3d3f37 r6526: Rename this RPC fault. Everybody else calls this ACCESS_DENIED, and
it certainly doesn't make sense as LOGON_FAILURE.

Andrew Bartlett
2007-10-10 13:16:22 -05:00
Andrew Bartlett
7c8a0d86d4 r6525: Remove incorrect comment.
Andrew Bartlett
2007-10-10 13:16:22 -05:00
Andrew Bartlett
4fc2a056cd r6524: Fix the error we print when the RPC-ECHO test fails.
Andrew Bartlett
2007-10-10 13:16:22 -05:00
Andrew Bartlett
437aabf15e r6523: Another string that isn't filled in. I wonder why this is, but for
now don't fail the test.

Andrew Bartlett
2007-10-10 13:16:22 -05:00
Andrew Bartlett
99c9afe45a r6522: I have no idea why this change was made, but it not only breaks
connections to Win2k3, it doesn't match the well-known behaviour from
samba3.

Andrew Bartlett
2007-10-10 13:16:22 -05:00
Tim Potter
45383f6cec r6521: Include system/network.h to fix compiler warning. 2007-10-10 13:16:22 -05:00
Tim Potter
36de31a631 r6520: Fix unused variable warning. 2007-10-10 13:16:21 -05:00
Stefan Metzmacher
a29d52817c r6519: move string handling functions to a seperate file
metze
2007-10-10 13:16:21 -05:00
Stefan Metzmacher
44f943f881 r6518: fix formatting
metze
2007-10-10 13:16:21 -05:00
Stefan Metzmacher
41316e7f1b r6517: this line should be removed in the last patch, (I readded it just for testing...)
metze
2007-10-10 13:16:21 -05:00
Stefan Metzmacher
ba1686e31a r6516: use only one list of scalar types and make "string" just a simple scalar type (mostly)
metze
2007-10-10 13:16:21 -05:00
Volker Lendecke
9fa26d2c97 r6513: Commit talloc_free_children.
Volker
2007-10-10 13:16:21 -05:00
Tim Potter
16b7e503bd r6512: Refactor samr torture test to use the nicer OO interface instead of the
previous dictionary based SWIG interface (which was broken anyway).
2007-10-10 13:16:21 -05:00
Tim Potter
f9742de617 r6511: Implement GetUserPwInfo(), QueryUserInfo(), QueryUserInfo2(). 2007-10-10 13:16:21 -05:00
Tim Potter
2e44402751 r6510: Initialise rid parameter in samr_RidToSid(). This is faulting for me
on win2k - not sure why.

Add dodgy implementations of QueryDisplayInfo{,2,3}()
2007-10-10 13:16:20 -05:00
Andrew Tridgell
b352ef1a42 r6509: fixed a crash bug found by a-jutley@microsoft.com in RPC-RAP test
(the call freed the memory it used to fill in the result structure)
2007-10-10 13:16:20 -05:00
Tim Potter
61da936dbc r6508: Fix typo - yay testsuite. 2007-10-10 13:16:20 -05:00
Tim Potter
3055addde6 r6507: Fix syntax error in GetAliasMembership().
Implement SetDomainInfo() which got lost somehow.
2007-10-10 13:16:20 -05:00
Tim Potter
1542a13493 r6506: Rename parameter to GetDomPwInfo. 2007-10-10 13:16:20 -05:00