1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
Commit Graph

4220 Commits

Author SHA1 Message Date
Tim Potter
17f1cf0950 r6592: Throw an IOError exception if tdb_open() or tdb_open_Ex() returns NULL.
(This used to be commit 99fb6b6bad)
2007-10-10 13:16:29 -05:00
Tim Potter
c8d0e36312 r6591: Add some comments.
Use SWIG %rename to get rid of prefix on every tdb function.

Treat mode_t as an int so we can actually pass a mode argument to
tdb_open().
(This used to be commit 0abd03f70c)
2007-10-10 13:16:28 -05:00
Tim Potter
6950d5f895 r6590: Remove bogus library versioning variables from swig wrappers.
(This used to be commit 83a125ce57)
2007-10-10 13:16:28 -05:00
Tim Potter
ac6c2f44cd r6589: Make the library versioning options for building a shared library optional.
This will allow us to build unversioned libraries suitable for loading
using dlopen() i.e for the swig wrappers.
(This used to be commit 3feac34d84)
2007-10-10 13:16:28 -05:00
Andrew Bartlett
f551a6ee23 r6582: Remove the hack that metze needed because Samba4 didn't have a samdump
command.

Andrew Bartlett
(This used to be commit adb5a3093e)
2007-10-10 13:16:28 -05:00
Andrew Tridgell
965fab8268 r6581: improved the error message for RAW-LOCK timeouts
(This used to be commit 13ab07214e)
2007-10-10 13:16:28 -05:00
Andrew Tridgell
289bc557eb r6580: fixed the bug that caused the truncation of the main file on a stream
open with openx and the 'truncate if exists' flag
(This used to be commit aa82b105d5)
2007-10-10 13:16:27 -05:00
Andrew Tridgell
3716deee4c r6579: improved the handling of lock timeouts and cancels in the pvfs locking
code. On lock cancel don't retry the lock.
(This used to be commit dffeb3c3d4)
2007-10-10 13:16:27 -05:00
Andrew Tridgell
fc5c075cff r6578: brown paper bag time with the new messaging code ....
(This used to be commit d465ff67bd)
2007-10-10 13:16:27 -05:00
Jelmer Vernooij
bd638ea71c 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'
(This used to be commit 6d93fcc407)
2007-10-10 13:16:27 -05:00
Stefan Metzmacher
d70232a747 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
(This used to be commit 748ab5449b)
2007-10-10 13:16:27 -05:00
Andrew Bartlett
8bf57cf8f5 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
(This used to be commit 550f17f992)
2007-10-10 13:16:27 -05:00
Stefan Metzmacher
591ff7675d r6572: add "string_array" as new scalar type for handling SPOOLSS string array's
metze
(This used to be commit 23b529ee09)
2007-10-10 13:16:26 -05:00
Stefan Metzmacher
b686e0b926 r6571: create a simple smb.conf by provision.pl
metze
(This used to be commit af16ecb7ac)
2007-10-10 13:16:26 -05:00
Jelmer Vernooij
34a70b80da r6568: Some more small 'make test' fixes
(This used to be commit 02160c991a)
2007-10-10 13:16:26 -05:00
Jelmer Vernooij
d58fb60ddc r6567: Use "real" prefix for 'make test'
(This used to be commit 195753b6af)
2007-10-10 13:16:26 -05:00
Andrew Bartlett
85e9412c47 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
(This used to be commit 8ee208a926)
2007-10-10 13:16:26 -05:00
Jelmer Vernooij
7fca1d46ce r6564: - Fix bug in socket_wrapper
- Add options --quiet and --outputdir options to the provisioning script
- Add simple 'make test' and 'make test-swrap'
(This used to be commit 7d2d4a57e0)
2007-10-10 13:16:26 -05:00
Andrew Tridgell
0e5de220d9 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
(This used to be commit 079e1f4e85)
2007-10-10 13:16:26 -05:00
Andrew Tridgell
b2584a403c r6562: added support for datagram unix domain sockets in the socket library
(This used to be commit 23b2046dcb)
2007-10-10 13:16:25 -05:00
Andrew Tridgell
7282ddda0a r6561: re-did the internal message system based on DGRAM unix domain
sockets. This gains us about 40% in messaging speed.
(This used to be commit f244a64ed5)
2007-10-10 13:16:25 -05:00
Andrew Tridgell
425350bb61 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)
(This used to be commit 917f2a8a07)
2007-10-10 13:16:25 -05:00
Andrew Tridgell
d448b73b5c r6557: make srvsvc available on ncalrpc and ncacn_ip_tcp so we can do each
comparitive benchmarks
(This used to be commit d4e702da77)
2007-10-10 13:16:25 -05:00
Andrew Tridgell
1fd59e3d61 r6556: added BENCH-RPC test, useful for simple rpc load testing
(This used to be commit d1e0b7a2e3)
2007-10-10 13:16:25 -05:00
Andrew Tridgell
060ea52989 r6549: a simple ldap test script
(This used to be commit e2f5d36e47)
2007-10-10 13:16:25 -05:00
Jelmer Vernooij
dfaa7a3bae r6546: Fix ldb standalone build
Add autoconf to tdb
(This used to be commit 95fed657f4)
2007-10-10 13:16:25 -05:00
Andrew Tridgell
cf476b09b5 r6545: some notes and experiments on ref ptrs, testing with midl
(This used to be commit 87d3d55bd3)
2007-10-10 13:16:24 -05:00
Andrew Bartlett
bb6e2059ee 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
(This used to be commit d9c31e60a7)
2007-10-10 13:16:24 -05:00
Tim Potter
9d87efb681 r6540: Implement a bunch more SAMR functions.
(This used to be commit 7ab240644e)
2007-10-10 13:16:24 -05:00
Tim Potter
5c6e1f81ce r6539: A patch from jbm:
- convert rpcclient to new credential code
  - allow anonymous connections
(This used to be commit f40977c421)
2007-10-10 13:16:24 -05:00
Tim Potter
2b215cb506 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.
(This used to be commit d05cb53399)
2007-10-10 13:16:24 -05:00
Andrew Bartlett
13d31a4871 r6534: Patch from lieschen to fix our vital user creation tools :-)
Andrew Bartlett
(This used to be commit 1a1f0bd33c)
2007-10-10 13:16:24 -05:00
Andrew Tridgell
3f4093de8a r6531: fixed gentest with new credentials code
(This used to be commit 3e610e3952)
2007-10-10 13:16:23 -05:00
Andrew Tridgell
7b03af8963 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
(This used to be commit 3e1b2742db)
2007-10-10 13:16:23 -05:00
Andrew Tridgell
68269bde7c r6529: fixed locktest with new credentials code
(This used to be commit 70b4a687c0)
2007-10-10 13:16:23 -05:00
Andrew Tridgell
98549af7bf 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
(This used to be commit 162bbe4402)
2007-10-10 13:16:23 -05:00
Tim Potter
77255b7f9c r6527: Resurrect getntacl utility program. At the moment we only display the
output of ndr_print_xattr_NTACL() to stdout.
(This used to be commit b32c159c38)
2007-10-10 13:16:22 -05:00
Andrew Bartlett
6b6bb89c91 r6526: Rename this RPC fault. Everybody else calls this ACCESS_DENIED, and
it certainly doesn't make sense as LOGON_FAILURE.

Andrew Bartlett
(This used to be commit 4bec3d3f37)
2007-10-10 13:16:22 -05:00
Andrew Bartlett
cf687fce84 r6525: Remove incorrect comment.
Andrew Bartlett
(This used to be commit 7c8a0d86d4)
2007-10-10 13:16:22 -05:00
Andrew Bartlett
b075827877 r6524: Fix the error we print when the RPC-ECHO test fails.
Andrew Bartlett
(This used to be commit 4fc2a056cd)
2007-10-10 13:16:22 -05:00
Andrew Bartlett
7de3892df1 r6523: Another string that isn't filled in. I wonder why this is, but for
now don't fail the test.

Andrew Bartlett
(This used to be commit 437aabf15e)
2007-10-10 13:16:22 -05:00
Andrew Bartlett
d3481b160c 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
(This used to be commit 99c9afe45a)
2007-10-10 13:16:22 -05:00
Tim Potter
cba367d001 r6521: Include system/network.h to fix compiler warning.
(This used to be commit 45383f6cec)
2007-10-10 13:16:22 -05:00
Tim Potter
1403bb7e62 r6520: Fix unused variable warning.
(This used to be commit 36de31a631)
2007-10-10 13:16:21 -05:00
Stefan Metzmacher
14b63614fa r6519: move string handling functions to a seperate file
metze
(This used to be commit a29d52817c)
2007-10-10 13:16:21 -05:00
Stefan Metzmacher
b5c8b7e7dd r6518: fix formatting
metze
(This used to be commit 44f943f881)
2007-10-10 13:16:21 -05:00
Stefan Metzmacher
c82d08fa5c r6517: this line should be removed in the last patch, (I readded it just for testing...)
metze
(This used to be commit 41316e7f1b)
2007-10-10 13:16:21 -05:00
Stefan Metzmacher
6c74a0792c r6516: use only one list of scalar types and make "string" just a simple scalar type (mostly)
metze
(This used to be commit ba1686e31a)
2007-10-10 13:16:21 -05:00
Volker Lendecke
a53548d074 r6513: Commit talloc_free_children.
Volker
(This used to be commit 9fa26d2c97)
2007-10-10 13:16:21 -05:00
Tim Potter
c23d22e4f1 r6512: Refactor samr torture test to use the nicer OO interface instead of the
previous dictionary based SWIG interface (which was broken anyway).
(This used to be commit 16b7e503bd)
2007-10-10 13:16:21 -05:00