1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

900 Commits

Author SHA1 Message Date
Stefan Metzmacher
5da2762b62 r19876: test that we can do a session setup and tree connect using the workstation
and dc credentials

I noticed w2k3 has gets NT_STATUS_LOGON_FAILURE after a it has joined a samba4 domain

metze
2007-10-10 14:28:29 -05:00
Jelmer Vernooij
92b8bde561 r19850: Fix IDL warnings. 2007-10-10 14:28:25 -05:00
Jelmer Vernooij
48e6df5944 r19846: Fix bunch of IDL warnings. 2007-10-10 14:28:24 -05:00
Jelmer Vernooij
0221d5b6c4 r19844: Fix warnings and errors in epmapper IDL. 2007-10-10 14:28:24 -05:00
Jelmer Vernooij
38067c1adf r19843: Fix warning. 2007-10-10 14:28:23 -05:00
Jelmer Vernooij
bd48f78b1d r19836: Fix warnings in some IDL files. 2007-10-10 14:28:23 -05:00
Simo Sorce
a580c871d3 r19831: Big ldb_dn optimization and interfaces enhancement patch
This patch changes a lot of the code in ldb_dn.c, and also
removes and add a number of manipulation functions around.

The aim is to avoid validating a dn if not necessary as the
validation code is necessarily slow. This is mainly to speed up
internal operations where input is not user generated and so we
can assume the DNs need no validation. The code is designed to
keep the data as a string if possible.

The code is not yet 100% perfect, but pass all the tests so far.
A memleak is certainly present, I'll work on that next.

Simo.
2007-10-10 14:28:22 -05:00
Andrew Bartlett
705fbae325 r19760: Create a DC account for the drsuapi tests to work on, rather than
choosing an existing DC.

Allow to skip some tests under Samba4.

Andrew Bartlett
2007-10-10 14:28:20 -05:00
Stefan Metzmacher
b02d0e1be3 r19699: - use better names for the site strings
- use the client_site when creating the server object

metze
2007-10-10 14:28:12 -05:00
Stefan Metzmacher
a996d26336 r19641: ldap_delete() is only allowed as user, we need to give credentials to the ildap backend
metze
2007-10-10 14:25:24 -05:00
Andrew Bartlett
2b569c42e0 r19598: Ahead of a merge to current lorikeet-heimdal:
Break up auth/auth.h not to include the world.

Add credentials_krb5.h with the kerberos dependent prototypes.

Andrew Bartlett
2007-10-10 14:25:00 -05:00
Andrew Tridgell
ea1e4685d9 r19549: fixed some indentation 2007-10-10 14:24:48 -05:00
Jelmer Vernooij
7a01235067 r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
works again now, by specifying --enable-dso to configure.
2007-10-10 14:24:41 -05:00
Stefan Metzmacher
bf2a7dd218 r19492: - fix RPC-AUTHCONTEXT and RPC-SAMBA3-GETUSERNAME (sorry volker:-)
smb_composite_sesssetup() doesn't set session->vuid any more...
(I changed that yesterday, because it was inconsistently only done
 for spnego session setups, as it was needed internaly for the 2nd
 session setup call, but know session->vuid is only touched (reset to 0)
 for the wrong password case)

metze
2007-10-10 14:24:38 -05:00
Andrew Bartlett
12765db714 r19462: This isn't an encrypted attribute.
Andrew Bartlett
2007-10-10 14:21:36 -05:00
Jelmer Vernooij
b28860978f r19392: Use torture_setting_* rather than lp_parm_* where possible. 2007-10-10 14:21:24 -05:00
Rafal Szczesniak
732c22071e r19380: forgot to add home drive testing as well as home directory...
rafal
2007-10-10 14:21:21 -05:00
Rafal Szczesniak
4dfd1d5027 r19379: add testing home directory field to the samr tests.
rafal
2007-10-10 14:21:21 -05:00
Andrew Tridgell
9389ca13a3 r19366: don't fail async echo tests due to rounding errors 2007-10-10 14:21:18 -05:00
Jelmer Vernooij
0eb6097305 r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grained
output in the testsuite rather than just True or False for a
set of tests.

The aim is to use this for:
 * known failure lists (run all tests and detect tests that
						started working or started failing). This
   would allow us to get rid of the RPC-SAMBA3-* tests
 * nicer torture output
 * simplification of the testsuite system
 * compatibility with other unit testing systems
 * easier usage of smbtorture (being able to run one test
						and automatically set up the environment for that)

This is still a work-in-progress; expect more updates over the next couple of
days.
2007-10-10 14:21:12 -05:00
Volker Lendecke
f381232c3a r19293: Add RPC-SAMBA3-WINREG, the start of a test of what Samba3 is able to perform
right now.

Volker
2007-10-10 14:21:03 -05:00
Andrew Bartlett
0546f487f4 r19266: Add a target_hostname element to the binding struct. This allows us
to perform a lookup once, resolve the name to an IP, while still
communicating the full name to the lower layers, for kerberos etc.

This fixes 'net samdump', which was failing due to the schannel target
name being *smbserver.

Andrew Bartlett
2007-10-10 14:21:00 -05:00
Volker Lendecke
b7e54501f7 r19247: Ok, figured out that wkssvc wksgetinfo also gives the server name. I thought I
had tested that w2k3 copies the input server name to output.

Volker
2007-10-10 14:20:57 -05:00
Volker Lendecke
6991864a03 r19205: Some consolidation 2007-10-10 14:20:54 -05:00
Volker Lendecke
603ecde9bc r19204: Samba3 does level6 now 2007-10-10 14:20:53 -05:00
Volker Lendecke
f67a0159d1 r19202: Make RPC-SAMBA3-SPOOLSS work against w2k3 again 2007-10-10 14:20:53 -05:00
Volker Lendecke
bd50a59294 r19153: Simple consistency check for enumprinters level 2 as well 2007-10-10 14:20:44 -05:00
Volker Lendecke
593b17c8e5 r19152: A simple consistency check for enumprinters 2007-10-10 14:20:44 -05:00
Volker Lendecke
7304abe595 r19027: Modify RPC-SAMBA3-SPOOLSS so that it can be activated in the build farm 2007-10-10 14:20:30 -05:00
Andrew Tridgell
6cce709d08 r18971: avoid strndup is a few places. Fixes a minor memory leak, and should
fix RPC-LSA on AIX.
2007-10-10 14:20:25 -05:00
Andrew Tridgell
fddb85bfa8 r18860: fixed some code that bitrotted while we didn't have the safety check
with NTSTATUS, WERROR etc.
2007-10-10 14:20:16 -05:00
Günther Deschner
dc1b8a3aae r18844: Workaround win2k behaviour (which returns WERR_NO_MORE_ITEMS instead of
WERR_OK) in the dfs torture test.

Guenther
2007-10-10 14:20:15 -05:00
Günther Deschner
5af5c18774 r18822: Automatically remove a forced dfs standard root creation.
Guenther
2007-10-10 14:19:14 -05:00
Günther Deschner
0ee0873869 r18821: Correctly name dfs_AddStdRootForced() test.
Guenther
2007-10-10 14:19:13 -05:00
Stefan Metzmacher
3c08e29f4f r18800: fix a write behind the buffer bug...
Thanks Herb for finding this:-)

This was my bug, I typed it in on gd's laptop and he just run 'svn ci'

metze
2007-10-10 14:19:12 -05:00
Günther Deschner
f193c5347c r18782: Do not send random data to the password change (although that reveals
interesting new password set tests), make sure to send valid characters.

Guenther
2007-10-10 14:19:11 -05:00
Günther Deschner
3e0e9506b6 r18776: Fill in and test dfs_ManagerInitialize().
Guenther
2007-10-10 14:19:10 -05:00
Günther Deschner
dc9045b30c r18766: Getting rid of one test_GetManagerVersion() call and fix the build.
Guenther
2007-10-10 14:19:09 -05:00
Günther Deschner
54f41ac444 r18764: Test all standalone DFS root functions in the torture test.
Guenther
2007-10-10 14:19:08 -05:00
Günther Deschner
eca9c20084 r18763: Removing old dfs_Add test, will be replaced with another one soon.
Guenther
2007-10-10 14:19:08 -05:00
Günther Deschner
ea313d5565 r18759: Do not use "simple" as test password as pointed out by Andrew Bartlett.
Thanks metze.

Guenther
2007-10-10 14:19:08 -05:00
Simo Sorce
f84a130c4b r18757: Disable this for now 2007-10-10 14:19:08 -05:00
Günther Deschner
8f9ab07e78 r18751: Check for samr reject codes and their particular order.
Guenther
2007-10-10 14:19:07 -05:00
Günther Deschner
de5fe8350d r18741: test dfs_Enum and dfs_EnumEx in the torture test.
Guenther
2007-10-10 14:19:06 -05:00
Simo Sorce
be2f4a2c44 r18740: Some more work around srvsvc 2007-10-10 14:19:06 -05:00
Stefan Metzmacher
35da9e4f4f r18668: fix ref pointer related bugs, we should watch the compiler warnings!
only cc on us4 bailed out...

metze
2007-10-10 14:19:00 -05:00
Jelmer Vernooij
d1364ef0cd r18639: Get rid of the keepref support 2007-10-10 14:18:59 -05:00
Günther Deschner
d6cc668a6c r18637: Fix the build. Sorry,
Guenther
2007-10-10 14:18:59 -05:00
Günther Deschner
3e42ccc609 r18625: dfs_GetManagerVersion() returns a version number, not just an exist
flag.

Guenther
2007-10-10 14:18:57 -05:00
Andrew Tridgell
555aed43ba r18566: fixed the winreg pipe and winreg tests
Jerry, there is a big difference on the wire between these two:

  [out] uint32 x;
and
  [out] uint32 *x;

if you change from

  [out] uint32 x;

then you need to change to:

  [out,ref] uint32 *x;

otherwise it changes the format on the wire, which means we are no
longer compatible with MS servers.

but be aware that even if you change to a ref ptr, you also need to
change all the client code to set all the return variables in the out
part of the structure. That's why I don't like the MIDL restriction of
forcing the use of ref pointers for output variables - it makes life
much harder when writing client code, and makes the code much more
error prone (just look at all the extra code needed to make this work
again).

I know we could auto-allocate these variables in the generated client
side NDR code, but if we did that then we would have no way of doing a
_real_ ref out pointer, which we really wanted to set to some already
allocated variable.

So please hold off on changing our idl to use the MIDL convention for
output variables until Jelmer and I have had a good "chat" about this :-)
2007-10-10 14:18:47 -05:00