1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

12881 Commits

Author SHA1 Message Date
Jelmer Vernooij
a73a8d4b9d r24706: Move nmblookup tests to separate blackbox testsuite.
(This used to be commit aeb2e714f2)
2007-10-10 15:02:52 -05:00
Jelmer Vernooij
bcfef9f04b r24705: Avoid undefined value warnings.
(This used to be commit 10f266e4d6)
2007-10-10 15:02:51 -05:00
Jelmer Vernooij
349cc1e14b r24704: Fix bug in the registry patch code.. all the more proves this code needs tests.
(This used to be commit aa98d21957)
2007-10-10 15:02:51 -05:00
Jelmer Vernooij
2edf63b6d6 r24703: Use standard registry diff files when provisioning rather than
LDIF files for the registry files.
(This used to be commit 67ad556b73)
2007-10-10 15:02:50 -05:00
Andrew Tridgell
e56566f3df r24700: added auto-reconnect to BENCH-NBENCH. Used for testing cluster
failover

this is based on a patch from Dmitry Shatrov, with some mods from me
(This used to be commit 737be7e2d6)
2007-10-10 15:02:50 -05:00
Andrew Bartlett
e98b3c1e97 r24698: Patch from Andrew Kroeger <andrew@sprocks.gotdns.com> to fix Bug
#4521: smbclient crashes during tab completion when tab hit twice.

The readline magic is beyond me, but this seems to do the trick.

Andrew Bartlett
(This used to be commit e05f3450ec)
2007-10-10 15:02:49 -05:00
Andrew Bartlett
b8da2d1ee5 r24697: Excelent patch and detective work by Matthias Wallnöfer
<mwallnoefer@yahoo.de> noticing that:

> The error was caused by info1 that is'nt talloced but rather static.

In fact, no caller supplies info1 as a valid talloc context - other
callers supply an element into the array.

Andrew Bartlett
(This used to be commit c8e6a87867)
2007-10-10 15:02:49 -05:00
Andrew Bartlett
4b31fd4409 r24696: Fix bug 4918 reported by Matthias Wallnöfer <mwallnoefer@yahoo.de>
with a patch from Andrew Kroeger <andrew@sprocks.gotdns.com>.

The changes to samldb_fill_foreignSecurityPrincipal_object() look much
larger then they are: We just skip all the objectSid generation if the
SID is supplied.

By providing a few more objects, standard dialogs on the clients are
better behaved, for these 'well known' users.

Andrew Bartlett
(This used to be commit 35ee4aee71)
2007-10-10 15:02:48 -05:00
Andrew Bartlett
8794ffbc61 r24695: Now the Samba4 passes this test, remove the skip...
Andrew Bartlett
(This used to be commit 771affed88)
2007-10-10 15:02:48 -05:00
Andrew Bartlett
ebce7a586b r24694: Remove objectCategory entries from the setup templates. These can be
autogenerated by the objectclass module when the the entries are
added.

Andrew Bartlett
(This used to be commit 79e13349f0)
2007-10-10 15:02:48 -05:00
Jelmer Vernooij
bae97f1631 r24692: Color expected fialures orange rather than green.
(This used to be commit cadfc0a7a1)
2007-10-10 15:02:46 -05:00
Jelmer Vernooij
8d6b9f2b88 r24691: All smbclient blackbox tests pass.
(This used to be commit c3a1386274)
2007-10-10 15:02:46 -05:00
Andrew Bartlett
538e9842f6 r24690: Further fix to bug 4919: Ensure we don't supply a NULL URL argument to
ldb_connect_backend().

Andrew Bartlett
(This used to be commit d0595e7a3d)
2007-10-10 15:02:45 -05:00
Jelmer Vernooij
7e4148eb4f r24689: There is no such test as LDAP-UPTODATENESS.
(This used to be commit ebdb0ce83b)
2007-10-10 15:02:44 -05:00
Jelmer Vernooij
dfc0fd9eec r24688: Make output subunit-parseable.
(This used to be commit 2585c6feb2)
2007-10-10 15:02:44 -05:00
Jelmer Vernooij
c021c7d648 r24687: Registry tests are succeeding now so remove from known failure list, add summary page with failures and skipped tests to html output.
(This used to be commit 227659c2c0)
2007-10-10 15:02:43 -05:00
Jelmer Vernooij
356294da18 r24686: Make sure control messages are on a new line.
(This used to be commit 90119f96e9)
2007-10-10 15:02:42 -05:00
Jelmer Vernooij
11744d9f1d r24685: Don't warn about iconv tests not being usable until they're actually being run.
(This used to be commit df34e60698)
2007-10-10 15:02:42 -05:00
Jelmer Vernooij
6ca1390269 r24684: Be a bit less verbose
(This used to be commit 7a7af62dc4)
2007-10-10 15:02:42 -05:00
Jelmer Vernooij
3c9f28334c r24683: Add two more tests.
(This used to be commit c87576743b)
2007-10-10 15:02:41 -05:00
Rafal Szczesniak
fa4049d8c9 r24682: forgot to actually make the new test buil...
rafal
(This used to be commit dbcf4f15a6)
2007-10-10 15:02:41 -05:00
Rafal Szczesniak
aa1d27be88 r24681: add basic test of libnet_GroupInfo function.
rafal
(This used to be commit 5ba36fe703)
2007-10-10 15:02:40 -05:00
Rafal Szczesniak
9a02cc10e1 r24680: fix a couple of stupid typos from previous commit.
rafal
(This used to be commit b21b322e4c)
2007-10-10 15:02:40 -05:00
Rafal Szczesniak
e104b1fedf r24679: Add (raw and untested) implementation of libnet_GroupInfo function.
rafal
(This used to be commit 80479eee25)
2007-10-10 15:02:39 -05:00
Jelmer Vernooij
9087001143 r24678: More improvements to html output; list unexpected successes and failures seperately from expected ones.
(This used to be commit 14fda5260d)
2007-10-10 15:02:39 -05:00
Jelmer Vernooij
91c46fefa1 r24677: Also add built flex file for people that don't have lex.
(This used to be commit a223be56df)
2007-10-10 15:02:39 -05:00
Jelmer Vernooij
2d7e170a90 r24676: Fix pointers being used rather than the data they point at - caught by the IRIX compiler.
(This used to be commit 678b125532)
2007-10-10 15:02:38 -05:00
Jelmer Vernooij
79eb853874 r24675: Specify mode to mkdir, as required by some versions of perl.
(This used to be commit 2a21e69cd3)
2007-10-10 15:02:38 -05:00
Jelmer Vernooij
f96b1778a4 r24674: Make sure results are always on a new line, fix typo in test name.
(This used to be commit 40c1635b39)
2007-10-10 15:02:37 -05:00
Jelmer Vernooij
92be36316d r24673: Put lex/yacc output under version control for hosts that don't have those tools.
(This used to be commit 9296604150)
2007-10-10 15:02:37 -05:00
Jelmer Vernooij
a8cbe81334 r24672: Add dummy variable to prevent errors on some compilers.
(This used to be commit d3b1acce11)
2007-10-10 15:02:36 -05:00
Jelmer Vernooij
04e8c10f9e r24671: More improvements to the HTML test suite results: hide
control messages, improve summary, stylesheet.
(This used to be commit fcc2320417)
2007-10-10 15:02:36 -05:00
Jelmer Vernooij
d981c69a18 r24670: Use torture functions for settings.
(This used to be commit a690667630)
2007-10-10 15:02:36 -05:00
Jelmer Vernooij
3f6cf9672b r24669: Add CSS to the test run HTML output. See http://samba.org/~jelmer/ for an
example of the current output.
(This used to be commit 1e57394e86)
2007-10-10 15:02:35 -05:00
Jelmer Vernooij
ec180e2475 r24668: Fix header installation.
(This used to be commit e9e6669350)
2007-10-10 15:02:35 -05:00
Jelmer Vernooij
b409d4120f r24667: Finally merge the registry improvements that Wilco Baan Hofman and I have
been working on for at least half a year now. Contains the following
improvements:

 * proper layering (finally!) for the registry library. Distinction is
   now made between 'real' backends (local, remote, wine, etc) and
   the low-level hive backends (regf, creg, ldb, ...) that are only used
   by the local registry backend
 * tests for all important hive and registry operations
 * re-enable RPC-WINREG tests (still needs more work though, as
							   some return values aren't checked yet)
 * write support for REGF files
 * dir backend now supports setting/reading values, creating keys
 * support for storing security descriptors
 * remove CREG backend as it was incomplete, didn't match the data model
   and wasn't used at all anyway
 * support for parsing ADM files as used by the policy editor (see lib/policy)
 * support for parsing PREG files (format used by .POL files)
 * new streaming interface for registry diffs (improves speed and memory usage
	for regdiff/regpatch significantly)

   ... and fixes a large number of bugs in the registry code
(This used to be commit 7a1eec6358)
2007-10-10 15:02:34 -05:00
Jelmer Vernooij
8e789517b7 r24665: Close file handles properly.
(This used to be commit 7f914b08a7)
2007-10-10 15:02:34 -05:00
Jelmer Vernooij
cc253ae4a0 r24657: Use torture functions.
(This used to be commit e95c50fc50)
2007-10-10 15:02:33 -05:00
Andrew Bartlett
67729cf71f r24655: Fix bug 4919 reported by Matthias Wallnöfer <mwallnoefer@yahoo.de>:
> When you change to the SAMBA private directory on a shell (default
> /usr/local/samba/private) and start there for example ldbedit with the sam.ldb,
> the application crashes if you don't put the "./" before the filename.

I've adapted Matthias's patch.

Andrew Bartlett
(This used to be commit ba82197e30)
2007-10-10 15:02:33 -05:00
Simo Sorce
7663475111 r24651: Allow dynamic updates for the domain controller over its own name
(This used to be commit ce9b643411)
2007-10-10 15:02:32 -05:00
Simo Sorce
61582b5d8a r24650: Some more instructions to have make GSS-TSIG work
(This used to be commit 98350b35ab)
2007-10-10 15:02:32 -05:00
Andrew Bartlett
b7a1bb0174 r24648: Found out the meaning of a few more flags.
(This used to be commit 6bdebc3cfd)
2007-10-10 15:02:31 -05:00
Andrew Tridgell
133f7beb98 r24647: this passes now
(This used to be commit baa6cfaa78)
2007-10-10 15:02:31 -05:00
Andrew Tridgell
3b3bfed2c3 r24646: fixed the handling of case insensitive paths with wildcards
(This used to be commit 066bcd8420)
2007-10-10 15:02:31 -05:00
Andrew Tridgell
09672f7e4a r24645: add in the ctdb dbwrap backend
(This used to be commit e2d173fde1)
2007-10-10 15:02:30 -05:00
Andrew Tridgell
2119b7dff0 r24644: add a ctdb_fetch() function to the ctdb client code
(This used to be commit 1aa4628f16)
2007-10-10 15:02:30 -05:00
Andrew Tridgell
a87df7009e r24643: add a ctdb_fetch() function to the ctdb client code
(This used to be commit 5705ee0449)
2007-10-10 15:02:29 -05:00
Andrew Tridgell
fe5124e38d r24642: prevent recursion with fetch_locked
add a note about server_id exists checking
(This used to be commit dd951b983c)
2007-10-10 15:02:29 -05:00
Andrew Tridgell
10d8f0086b r24641: fixed several memory leaks in the brlock code
(This used to be commit aa0a348964)
2007-10-10 15:02:28 -05:00
Andrew Bartlett
2da0be9d5e r24640: Add a suggested BIND configuration snippit, to help with DNS configuration.
When we sort out GSS-TSIG on the server, we can expand this to have
the 'right stuff'.

Andrew Bartlett
(This used to be commit 8f02ade1b2)
2007-10-10 15:02:28 -05:00
Andrew Bartlett
dfa4e5f784 r24631: Fix up format warnings, found on my Fedora 7 x86_64 workstation.
Andrew Bartlett
(This used to be commit 3d74d178bf)
2007-10-10 15:02:27 -05:00
Michael Adam
32ce9de932 r24629: Make read_sock return the total number of bytes read instead
of the number of bytes read in the last of possibly several
read calls.

This was noted by Metze.

Michael
(This used to be commit 37363307c6)
2007-10-10 15:02:26 -05:00
Stefan Metzmacher
69de8f9ac8 r24626: as TALLOC_ABORT() is defined to abort() by default
wrap it into a function so that the function name
in the backtrace shows what happens.

metze
(This used to be commit 0216ff6daa)
2007-10-10 15:02:26 -05:00
Stefan Metzmacher
1035a6696d r24623: add back '-D' option to smbd
metze
(This used to be commit 5ecc1311a1)
2007-10-10 15:02:26 -05:00
Stefan Metzmacher
35b16479a5 r24620: move printing out the version string and exit()
into the popt _POST processing.

Now 'smbd -V --bla' complains about an unknown option

metze
(This used to be commit 69bf7f1874)
2007-10-10 15:02:25 -05:00
Andrew Bartlett
b39330c487 r24614: Merge with current lorikeet-heimdal. This brings us one step closer
to an alpha release.

Andrew Bartlett
(This used to be commit 30e02747d5)
2007-10-10 15:02:25 -05:00
Andrew Bartlett
db24e606f1 r24613: Missed this in my recent commit -r 24611. We don't discriminate on
where the password change came from, to determine if policy should be
applied.  We discriminate on if the account is a trust account.

Andrew Bartlett
(This used to be commit 48fd288957)
2007-10-10 15:02:24 -05:00
Andrew Bartlett
7aa29fd854 r24612: Revert this part of -r 24611. This isn't related to my SAMR password
work, but to an odd bind failure I noticed in a trace.  I need to
commit this with changes to the torture suite.

Andrew Bartlett
(This used to be commit 3ab90ad312)
2007-10-10 15:02:24 -05:00
Andrew Bartlett
d7f84b51f9 r24611: Following up on the re-opening of bug 4817 is it pretty clear that
machine accounts are not subject to password policy in Win2k3 R2 (at
least in terms of password quality).

In testing this, I found that Win2k3 R2 has changed the way the old
ChangePassword RPC call is handled - the 'cross-checks' between new LM
and NT passwords are not required.

Andrew Bartlett
(This used to be commit 417ea885b4)
2007-10-10 15:02:23 -05:00
Stefan Metzmacher
bd93ed4680 r24606: move librpc/rpc/table.c -> librpc/ndr/ndr_table.c
and rename the containing functions to have a ndr_
prefix

metze
(This used to be commit cb234d43ae)
2007-10-10 15:02:23 -05:00
Stefan Metzmacher
edb4fefeb7 r24596: - talloc request structure for the samba3 server bindings
and make that the primary context for the request
  which the implementations can also use.
- go via functions pointers in the ndr_interface_table
  instead of calling functions directly.

metze
(This used to be commit fa577a1294)
2007-10-10 15:02:22 -05:00
Stefan Metzmacher
02467edf5c r24592: pass down the ndr_interface_table in the samba3 client bindings
instead of the pull and push functions

metze
(This used to be commit 9b59534a14)
2007-10-10 15:02:22 -05:00
Andrew Tridgell
f7f2323e47 r24588: use the right type
(This used to be commit 710f6dc17f)
2007-10-10 15:02:22 -05:00
Andrew Tridgell
51aced3dc8 r24587: the elements of the array are not talloc pointers
(This used to be commit 2ebf00dc42)
2007-10-10 15:02:21 -05:00
Andrew Tridgell
2d6e6ebddc r24586: same bug in RAW-BENCH-OPEN
(This used to be commit 3bd35bb8ab)
2007-10-10 15:02:20 -05:00
Andrew Tridgell
489d23e808 r24585: put in the right state variable when doing a SMBecho - this caused the
wrong connection to reconnect on a SMBecho failure
(This used to be commit c61415b05d)
2007-10-10 15:02:20 -05:00
Kai Blin
084036d78a r24577: Implement basic getpwent.
This one still cheats and only returns one winbindd_pw structure per call.
Also, doesn't get a new libnet_UserList yet.
(This used to be commit e1b93be1e1)
2007-10-10 15:02:19 -05:00
Kai Blin
67a9225b9b r24576: Implement endpwent
(This used to be commit ef93a7991d)
2007-10-10 15:02:19 -05:00
Kai Blin
01db94b953 r24575: Implement setpwent
(This used to be commit 9bbbedac99)
2007-10-10 15:02:18 -05:00
Kai Blin
46435bbcd0 r24574: Fix a warning in wb_samba3_cmd.c
(This used to be commit ebdd03ee9e)
2007-10-10 15:02:18 -05:00
Volker Lendecke
d9b9acd232 r24570: Attempt to fix make test
Samba4 seems not to survive the newly added tests
(This used to be commit b8a8a81ffe)
2007-10-10 15:02:18 -05:00
Volker Lendecke
7e43f973c4 r24569: Add two tests
A subtest for rename to check if case-changing renames work

A test that exposes the case insensitivity unix_convert bug
(This used to be commit 786706322a)
2007-10-10 15:02:17 -05:00
Andrew Bartlett
7c9312a885 r24568: Fix the build, caused by a conflict betwen mimir's work and metze's bulk rename.
Andrew Bartlett
(This used to be commit 6e730d43e4)
2007-10-10 15:02:17 -05:00
Andrew Bartlett
90e83d73f9 r24567: Try much harder not to leak memory when comparing objectCategory entires.
Andrew Bartlett
(This used to be commit 8cfa1f898e)
2007-10-10 15:02:16 -05:00
Andrew Bartlett
e10577585d r24566: Remove trailing newlines in ldb_debug(), these are not required.
Andrew Bartlett
(This used to be commit 2ed782f7ca)
2007-10-10 15:02:16 -05:00
Stefan Metzmacher
97a118ded3 r24563: remove unused DCERPC specific stuff from the generated NDR code
metze
(This used to be commit 2dbf89e223)
2007-10-10 15:02:16 -05:00
Stefan Metzmacher
0d7d5a6d49 r24560: rename some DCERPC_ prefixes into NDR_
metze
(This used to be commit f874eca5da)
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
f14bd1a90a r24557: rename 'dcerpc_table_' -> 'ndr_table_'
metze
(This used to be commit 84651aee81)
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
6f448ba6f9 r24556: forgot to commit the winbind/ subdir...sorry
metze
(This used to be commit 184a7cfc36)
2007-10-10 15:02:14 -05:00
Rafal Szczesniak
6a29604c36 r24555: Add a test for libnet's group info call.
rafal
(This used to be commit 40ad66dd75)
2007-10-10 15:02:13 -05:00
Rafal Szczesniak
91657bfd51 r24554: Add internal implementation (before api function) of group
info call.

rafal
(This used to be commit 75f81f862e)
2007-10-10 15:02:13 -05:00
Stefan Metzmacher
b8cdadced4 r24551: rename dcerpc_interface_table -> ndr_interface_table
rename dcerpc_interface_list  -> ndr_interface_list

and move them to libndr.h

metze
(This used to be commit 4adbebef5d)
2007-10-10 15:02:12 -05:00
Stefan Metzmacher
6b62f15ce7 r24540: rename struct dcerpc_endpoint_list/struct dcerpc_authservice_list
into ndr_interface_string_array and move it to libndr.h

metze
(This used to be commit 473bca74dc)
2007-10-10 15:02:12 -05:00
Stefan Metzmacher
698e7c5f2a r24535: rename struct dcerpc_interface_call -> struct ndr_interface_call
and move it to librpc/ndr/libndr.h

metze
(This used to be commit abd5551aab)
2007-10-10 15:02:11 -05:00
Stefan Metzmacher
ce84ab9a83 r24532: rename struct dcerpc_syntax_id into struct ndr_syntax_id
and move it into misc.idl

The goal is to get rid a all dcerpc specific stuff in the
generated ndr layer.

metze
(This used to be commit 2ed014cfb8)
2007-10-10 15:02:11 -05:00
Volker Lendecke
fb19fe7a51 r24529: Against samba3, treat EAS_NOT_SUPPORTED as acceptable for t2open
Many hosts in the build farm don't have EA support
(This used to be commit 3cca299c72)
2007-10-10 15:02:11 -05:00
Stefan Metzmacher
75564a9d0e r24524: make use of ElementStars()
metze
(This used to be commit 701aa31d14)
2007-10-10 15:02:10 -05:00
Stefan Metzmacher
b379e50351 r24523: we don't support multi-dimentional [out] arrays
for the samba3 server stubs yet, so bail out.

metze
(This used to be commit ff11f2ce0c)
2007-10-10 15:02:10 -05:00
Stefan Metzmacher
456f3b378d r24522: make the "skip pointer to an array" logic a bit easier
metze
(This used to be commit a698fb1857)
2007-10-10 15:02:09 -05:00
Stefan Metzmacher
25dbce70b7 r24521: we don't yet have optional args to DeclLong()
metze
(This used to be commit 66d4d6f196)
2007-10-10 15:02:09 -05:00
Stefan Metzmacher
95d4e550bd r24520: make use of the new ElementStars() and ArrayBrackets()
functions

metze
(This used to be commit fad5af2f20)
2007-10-10 15:02:08 -05:00
Stefan Metzmacher
3e3e5f85dd r24518: get rid of using ->{ORIGINAL} and move stuff
into subfunctions

metze
(This used to be commit ff7fa11e70)
2007-10-10 15:02:08 -05:00
Stefan Metzmacher
a9531c0e23 r24517: move skipping pointer before an array logic into the
pointer loop as we do in other places

metze
(This used to be commit ee92d47b53)
2007-10-10 15:02:08 -05:00
Stefan Metzmacher
70b525a546 r24516: don't use ->{ORIGINAL}
metze
(This used to be commit 98d8753d37)
2007-10-10 15:02:07 -05:00
Stefan Metzmacher
60501f20a7 r24515: use fatal() wrapper instead of die() directly
metze
(This used to be commit d90a0d3ba1)
2007-10-10 15:02:07 -05:00
Stefan Metzmacher
53cdb93fb7 r24514: IS_* elemements sound be perl integers consistantly...
metze
(This used to be commit b7d6ac5215)
2007-10-10 15:02:06 -05:00
Stefan Metzmacher
a1707f2689 r24511: pass the correct thing to fatal()
metze
(This used to be commit 82cc41c558)
2007-10-10 15:02:06 -05:00
Stefan Metzmacher
1aa024dfbb r24509: pass down the full ndr elements instead of the old pidl elements
from ->{ORIGINAL}

metze
(This used to be commit e8ebee2698)
2007-10-10 15:02:06 -05:00
Stefan Metzmacher
de512e88a9 r24508: add HeaderTypeNew() which will go if everything is converted
metze
(This used to be commit 0eba05b6a6)
2007-10-10 15:02:05 -05:00
Stefan Metzmacher
3d753b59a9 r24507: pass $d down to HeaderTypedef
metze
(This used to be commit 0edec25af8)
2007-10-10 15:02:05 -05:00