1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

4374 Commits

Author SHA1 Message Date
Stefan Metzmacher
001f13eb4f r6609: remove double entry for [BINARY::getntacl]
metze
(This used to be commit 55c9746da8)
2007-10-10 13:16:30 -05:00
Stefan Metzmacher
7b8f931d2d r6607: fix the build
metze
(This used to be commit 7fb10f2753)
2007-10-10 13:16:30 -05:00
Stefan Metzmacher
6bf82c05c1 r6606: add a DCESRV_FAULT_VOID() marco to use in void functions
metze
(This used to be commit a379836de6)
2007-10-10 13:16:30 -05:00
Andrew Tridgell
2b5a7a4e1e r6604: solved a memory hierarchy ordering problem that led to crashes on
ncacn_ip_tcp and ncalrpc for the standard process model.

Thanks to Jelmer for noticing this bug!
(This used to be commit 81863cdd8b)
2007-10-10 13:16:29 -05:00
Andrew Bartlett
35a05d1dc0 r6603: More work on the samdump puzzle. This implements a function pointer
callback interface, so we can start dumping into more than just stdout
soon.

Also use the enums instead of uint32 where possible and valid.

Andrew Bartlett
(This used to be commit f0c67a4a24)
2007-10-10 13:16:29 -05:00
Jelmer Vernooij
eb3b5f28d4 r6600: Rework of the GTK credentials system; the credentials information is
now in a seperate (optional) dialog rather then in the binding dialog; also
supports specifying anonymous connections (which we didn't before).
(This used to be commit 8671e1a1fa)
2007-10-10 13:16:29 -05:00
Alexander Bokovoy
46727924a0 r6599: Fix formating using 'linux' C style
Fix memory handling for blkid caches which need to be cleared when session is
done.
(This used to be commit c623cc6054)
2007-10-10 13:16:29 -05:00
Andrew Bartlett
f37f8a49a7 r6598: Make it easy to point the test_echo.sh at remote servers, without
trying to find it on ncaclrpc at well.

Andrew Bartlett
(This used to be commit db0aa1c4b7)
2007-10-10 13:16:29 -05:00
Alexander Bokovoy
1199f5f561 r6597: Make use of libblkid (part of e2fsprogs) for reporting volume GUID, if possible.
Implement smbclient's 'fsinfo' comand family which allows you to query file
system information in all known levels.
(This used to be commit 660d6e3915)
2007-10-10 13:16:29 -05:00
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
Andrew Tridgell
14b7313543 r6541: added double pointer test to win32 echo client
(This used to be commit cb4e07744d)
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