1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

9487 Commits

Author SHA1 Message Date
Stefan Metzmacher
1fd1e2ba58 r16407: add parsing code the SMB2 GetInfo in the server
metze
(This used to be commit c4755c83c61c0cc822c69cd274056ec20ba66fdb)
2007-10-10 14:09:13 -05:00
Stefan Metzmacher
d3b3436ce1 r16406: use the generic smb_handle in smb2_getinfo/smb2_setinfo
metze
(This used to be commit dcc02df8297162a7fd913560194d9e821798dbe0)
2007-10-10 14:09:13 -05:00
Stefan Metzmacher
15db7a53e8 r16405: fix compiler warning of missing smb2_handle
metze
(This used to be commit 73194e9ec3d1c18e7042bdaa008c7fd503e6e534)
2007-10-10 14:09:13 -05:00
Stefan Metzmacher
818c52a6b4 r16403: remove dependency to smbsrv_request next part...
metze
(This used to be commit 708a5d3bf08f62ba99740c3007a8882e22a01bc9)
2007-10-10 14:09:13 -05:00
Stefan Metzmacher
45c99a270e r16402: start to remove the dependecy to smbsrv_request from the parsing functions
metze
(This used to be commit e4a5e2db7f3333e7cb15bdd6eeb5b08a6f1d912f)
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
7c01df4e77 r16401: keep the old pointer when realloc fails, this is needed for the
search callback

metze
(This used to be commit c868b8b7d7ee0424ed955f699543593aaa633e92)
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
898f6f768f r16400: add more error checks
metze
(This used to be commit 779c51ad52bd54c10e208b108cb34500e542097f)
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
59670b2f97 r16399: - split out pushing smb_fsinfo into a DATA_BLOB
- add error checks

metze
(This used to be commit 2aaca1631f4e9f312a8de506b21290b9452c2a43)
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
f03e039e88 r16357: - start get rid of void parsing functions
- there will more changes come but I want to do them in
  relative small chunks

metze
(This used to be commit d021a8b3ee986194fbfddfc096edb715b01dafe5)
2007-10-10 14:09:12 -05:00
Rafal Szczesniak
66cc0cbefc r16342: Placeholder for a function implementing NET-API-MODIFYUSER test.
rafal
(This used to be commit 82ac02dd18e96312ca15b8f79f6f1e3c330d01de)
2007-10-10 14:09:11 -05:00
Stefan Metzmacher
c93508edff r16341: newer autoconf versions export 'datarootdir',
fix a warning with old autoconf versions

metze
(This used to be commit 906c27caefa9802a72b6ea71e46e0725e445d189)
2007-10-10 14:09:11 -05:00
Jelmer Vernooij
845df42a19 r16333: Move more code out of the core smbtorture. It now no longer
contains protocol-specific code.
(This used to be commit 819d3b457648ffb7526a770e842badc17b6061fb)
2007-10-10 14:09:11 -05:00
Jelmer Vernooij
835d8ed2f6 r16332: Fix two small bugs found by the buildfarm.
(This used to be commit 3decb34bb607b83f72deaa4baca935f4f253e2f2)
2007-10-10 14:09:11 -05:00
Jelmer Vernooij
a3545383fb r16331: Split out registering of multi fn tests, fix typo in name of pac suite.
(This used to be commit 9e8574ac6cd38d1ff388f0c9ff37d86b316a431e)
2007-10-10 14:09:11 -05:00
Jelmer Vernooij
e4684e6632 r16330: Show number of succeeded, failed and skipped tests and success rate at the
end of a smbtorture run.
(This used to be commit 745f3d544bb1158c7c0001d36181916cd932bc08)
2007-10-10 14:09:10 -05:00
Jelmer Vernooij
0f62c11199 r16329: Convert to new UI API.
(This used to be commit c7d1d86853eb659ee4a5cbfb4ff65b31f6fe0375)
2007-10-10 14:09:10 -05:00
Jelmer Vernooij
920c1ca95c r16328: Wrap all existing tests in simple single-function testsuites.
(This used to be commit 7e811adf59841936b7e634fca4e95630f890c5af)
2007-10-10 14:09:10 -05:00
Jelmer Vernooij
5b7ee5e7d6 r16321: Add suite_start/suite_finish hooks, support --format=quiet
(This used to be commit 6da39533d77f686b26787bebfe9e3db4bb8c740d)
2007-10-10 14:09:10 -05:00
Jelmer Vernooij
324583b28f r16316: Convert to new torture UI API.
(This used to be commit ff87504c41e76a14b95a2063a4eb62d96fb02127)
2007-10-10 14:09:10 -05:00
Jelmer Vernooij
69270cfff6 r16315: Convert to new API.
(This used to be commit 0e52a831ed88b5d61033aee56a17e49b84df6773)
2007-10-10 14:09:09 -05:00
Jelmer Vernooij
582d46ec42 r16304: Improve testing UI API. This now allows registering the full
test suite tree, looks a bit more like other unit testing API's,
fixes some memory responsibility issues, introduces testcases,
and removes the need for tests to call torture_ok().
(This used to be commit 0445b1a56a02552f895f400960b9ced39244a144)
2007-10-10 14:09:09 -05:00
Andrew Bartlett
cc9d70bbba r16265: Fix 'newuser' command.
Andrew Bartlett
(This used to be commit 82f5f6c03d005741613c5b00705613c4078c844e)
2007-10-10 14:09:09 -05:00
Andrew Bartlett
f77c410084 r16264: Add, but do not yet enable, the partitions module.
This required changes to the rootDSE module, to allow registration of
partitions.  In doing so I renamed the 'register' operation to
'register_control' and 'register_partition', which changed a few more
modules.

Due to the behaviour of certain LDAP servers, we create the baseDN
entry in two parts: Firstly, we allow the admin to export a simple
LDIF file to add to their server.  Then we perform a modify to add the
remaining attributes.

To delete all users in partitions, we must now search and delete all
objects in the partition, rather than a simple search from the root.
Against LDAP, this might not delete all objects, so we allow this to
fail.

In testing, we found that the 'Domain Controllers' container was
misnamed, and should be 'CN=', rather than 'OU='.

To avoid the Templates being found in default searches, they have been
moved to CN=Templates from CN=Templates,${BASEDN}.

Andrew Bartlett
(This used to be commit b49a4fbb57f10726bd288fdc9fc95c0cbbe9094a)
2007-10-10 14:09:09 -05:00
Andrew Bartlett
6959f2a061 r16263: A number of these searches need to be under the partitions DN, and the
other needs the default basedn.

Andrew Bartlett
(This used to be commit 42c2495683083110ec41aeab5adeee09762db3dd)
2007-10-10 14:09:08 -05:00
Andrew Bartlett
ad530af48d r16262: Another basedn fix.
Andrew Bartlett
(This used to be commit abf104a0d7c548af0a4744798c53064303a1dc3f)
2007-10-10 14:09:08 -05:00
Andrew Bartlett
4a687bc44f r16240: Add better error reporting in the password_hash module
Remove duplicate attribute in search request

Search for the domain by NDR-encoded SID, not string (consistant with
the rest of the C code, and helps partially-constructed LDAP
backends).

Use the default basedn for the domain search.

Andrew Bartlett
(This used to be commit 2f104612cd6f170dd28fd4ce09156168d47a681a)
2007-10-10 14:09:08 -05:00
Andrew Bartlett
3b87db5062 r16239: Search for the domain in the correct partition, so this will work with
LDAP backends.

Andrew Bartlett
(This used to be commit 270a77bfff65c9e1d5d7c535338f9b9b86d53fa3)
2007-10-10 14:09:08 -05:00
Andrew Bartlett
1fde679dae r16238: Use a baseDN for the auth_sam searches, to allow continued function
with partitions.

Also fix some debug messages.

Andrew Bartlett
(This used to be commit a2441ae99a6c3b4bf40f5369477a9bc0f3019c34)
2007-10-10 14:09:08 -05:00
Andrew Bartlett
da9a31b228 r16237: Use an appropriate basedn for these searches, so they occour into the
correct partition.

Andrew Bartlett
(This used to be commit f661dafe4edcd017a8d3bda1a40ff8b0d7a1348e)
2007-10-10 14:09:07 -05:00
Andrew Bartlett
7c3af0d06a r16236: Add a proper baseDN to a large number of queries. Searching the NULL
baseDN won't work once the partitions module is loaded.

Andrew Bartlett
(This used to be commit c4ab9e8a754ca4a23a47f38a2344df305b4a351d)
2007-10-10 14:09:07 -05:00
Andrew Bartlett
b3076a39b9 r16235: Don't update minor_status when cleaning up on error. This restores
sensible log messages to gensec_gssapi.

Andrew Bartlett
(This used to be commit df2e4f061f3bc82930dfcdbb75b775939ae8832e)
2007-10-10 14:09:07 -05:00
Andrew Bartlett
d4c5627073 r16234: Set the request timeout from the LDAP search. Without this, the
initial request time is uninitialised, and this causes havoc later.
This also allows us to honour the client's wishes.

We should be doing this for all the operations...

Andrew Bartlett
(This used to be commit c8f5b1c9281072179cd3f3cf282cf376dca24ba0)
2007-10-10 14:09:07 -05:00
Andrew Bartlett
b7bcaec775 r16232: Avoid searching on domainDns, as it is not an AD attribute in the
official schema.

Add baseDNs, so we search the correct partition.

Andrew Bartlett
(This used to be commit f47b7720a3a69f60e60b3671b621f49b0c444eec)
2007-10-10 14:09:07 -05:00
Andrew Bartlett
422f1b5495 r16227: Don't segfault if the ldb_search() fails.
Andrew Bartlett
(This used to be commit af11f464a717cc7db0393070da780091a6053ee0)
2007-10-10 14:09:06 -05:00
Andrew Bartlett
345c9f043f r16226: Fixes for various segfault bugs found against a buggy Samba4. With
the current API we need to check both that the RPC didn't fault, and
that the query succeeded.

Also print the right things in debug messages.

Andrew Bartlett
(This used to be commit d18e515391f8f5038e9aaaba596099052011b53a)
2007-10-10 14:09:06 -05:00
Andrew Bartlett
9482de3979 r16218: If a connection is forced as 'anonymous', don't treat it as
'authentication requested'...

Andrew Bartlett
(This used to be commit d5fc88c93697dbcab13b2356ef4e5d1d2a7d59eb)
2007-10-10 14:09:06 -05:00
Rafal Szczesniak
9fb340758b r16211: Refactor domain_opened function a bit and add a few comments.
rafal
(This used to be commit d8113fa5e19570fcf67a7d3cd8a0d8ab12ef147e)
2007-10-10 14:09:06 -05:00
Jelmer Vernooij
a64980dd40 r16186: Use full include path to make sure it's being picked up by the
dependency generator.
(This used to be commit fbbc3b11683d594d31e6487873946b68c2c46923)
2007-10-10 14:09:06 -05:00
Jelmer Vernooij
fdc5a3aeb5 r16185: Remove autogenerated file from SVN.
(This used to be commit a975f11d452deb2c5e06b8ba02f528b08d2842e1)
2007-10-10 14:09:05 -05:00
Jelmer Vernooij
123e50735a r16184: Convert to UI API. The async test was previously broken (fails
with NT_STATUS_NO_MEMORY) and still does.
(This used to be commit 5c2e136ef97fb98ae5314d1b2c73bb7b2fe4d8ee)
2007-10-10 14:09:05 -05:00
Volker Lendecke
4d333d26b3 r16182: Better test the 15 out of 20 tests we right now survive than not test at
all...

Volker
(This used to be commit 1d4a129bb56ef7b944dbd386313ea8345a675e6f)
2007-10-10 14:09:05 -05:00
Jelmer Vernooij
02aee3000d r16174: Couple of fixes to the UI code - make 'torture_ok()' optional, be more verbose by default.
(This used to be commit 8ef13a50b9e80811342058cdf15cf84a8ed7532e)
2007-10-10 14:09:05 -05:00
Jelmer Vernooij
90be000cd5 r16173: Use memory context provided by smbtorture.
(This used to be commit 88046d59517a595cfb8e9385ad87e8460eececac)
2007-10-10 14:09:05 -05:00
Andrew Bartlett
a42365befc r16172: Translate the ldb error codes into appropriate messages for the
transaction cases.

Andrew Bartlett
(This used to be commit 28883f719304ee438c54a4d33e6bf1239f8c4094)
2007-10-10 14:09:04 -05:00
Jelmer Vernooij
b617c831a4 r16171: Convert to UI API
(This used to be commit 075dfb4c52132ea34dec643b12dcd01f05f3240f)
2007-10-10 14:09:04 -05:00
Jelmer Vernooij
1cb88c8c98 r16170: Convert to UI API
(This used to be commit 7dad6f9c0aade8585f874d0362290d06696a5087)
2007-10-10 14:09:04 -05:00
Jelmer Vernooij
d3c0cfb8a2 r16169: Convert to UI API
(This used to be commit 6306a3cc17aff23f54e3f4e7a36d6ab9f6739739)
2007-10-10 14:09:04 -05:00
Andrew Bartlett
481991e1b9 r16168: Make the example match the actual function.
This was very confusing until I really looked at it.

Andrew Bartlett
(This used to be commit 0053d06d9f85f2304191ab8f68eee7f48b2f2aa8)
2007-10-10 14:09:04 -05:00
Andrew Bartlett
59bd3b66cd r16167: Add tests for the changes to use hex digits, including some tests
commented out until we fix some more things on our server.

Andrew Bartlett
(This used to be commit ac9d3cb5b004ef1f8e06537634f8f5c33b6c0965)
2007-10-10 14:09:03 -05:00
Andrew Bartlett
5f44da36e7 r16166: Remove hexidecimal constants from the Samba4 provision files.
This change is required for compatibility with the OSX client, in
particular, but returning 0x80000002 rather than -2147483646 violates
what LDAP clients expect in general.

Andrew Bartlett
(This used to be commit 81f3cd1c4592d2108d521acd701ed4a70a23c465)
2007-10-10 14:09:03 -05:00