1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

2025 Commits

Author SHA1 Message Date
Andrew Bartlett
67d8365e83 r20149: Remove the smb.conf distinction between PDC and BDC. Now the correct
way to setup a Samba4 DC is to set 'server role = domain controller'.

We use the fSMORoleOwner attribute in the base DN to determine the PDC.

This patch is quite large, as I have corrected a number of places that
assumed taht we are always the PDC, or that used the smb.conf
lp_server_role() to determine that.

Also included is a warning fix in the SAMR code, where the IDL has
seperated a couple of types for group display enumeration.

We also now use the ldb database to determine if we should run the
global catalog service.

In the near future, I will complete the DRSUAPI
DsGetDomainControllerInfo server-side on the same basis.

Andrew Bartlett
2007-10-10 14:29:15 -05:00
Stefan Metzmacher
d2d9842914 r20145: fix whitespaces
metze
2007-10-10 14:29:15 -05:00
Stefan Metzmacher
0359d9a00b r20144: add NET-API-BECOME-DC test that tests libnet_BecomeDC()/libnet_UnbecomeDC()
metze
2007-10-10 14:29:14 -05:00
Stefan Metzmacher
9ddabfc60e r20115: from Julien Kerihuel <j.kerihuel@openchange.org>, thanks!:
Here is a patch that adds a torture:dc_binding parametric option to
   torture_create_testuser in testjoin.c. This patch is used in OpenChange
   torture tests when the AD is different from the Exchange Server. This generic
   option could also be used for later 'member server' tests in Samba4.

metze
2007-10-10 14:29:09 -05:00
Andrew Bartlett
5b32f102af r20113: Update the DRSUAPI CrackNames test to explore a few more cases, and in
particular to verify more expected results.

Also return more details from the join process.  Now we also return
the machine account's GUID.

Andrew Bartlett
2007-10-10 14:29:08 -05:00
Stefan Metzmacher
314308c0bf r20093: some documentation updates
metze
2007-10-10 14:29:04 -05:00
Andrew Tridgell
d57b9fb298 r20092: added a locking benchmark that should be good for benchmarking
communitcation in a CIFS clustered server. It tries to keep the
connections full by setting up the next lock as each lock is done.

The locking pattern is similar to the local filesystem ping pong test
in junkcode, forcing a communication between nodes on each request
2007-10-10 14:29:04 -05:00
Stefan Metzmacher
527bd9a0a3 r20079: the 2nd guid is the source_dsa invocation_id not the objectGUID,
this wasn't noticed because on the 1st dc in the forest both have the
same value

metze
2007-10-10 14:29:01 -05:00
Andrew Tridgell
a4c2a575fa r20078: support the large samba3 reads in RAW-READ test 2007-10-10 14:29:01 -05:00
Stefan Metzmacher
45da80888f r20065: make it possible to get the dns domain name and netbios domain name
of the join account

metze
2007-10-10 14:28:57 -05:00
Andrew Tridgell
a10fa12ff5 r20059: james was asking about CAP_LARGE_READX and reads close to the 64k
boundary. This test shows that both for Samba4 and w2k3, reads larger
than or equal to 64k don't work (return zero bytes).

Not that I claim this is very useful behaviour :-)
2007-10-10 14:28:56 -05:00
Stefan Metzmacher
73f7e2d5b3 r20039: things which need to be done for unbecoming a dc
metze
2007-10-10 14:28:52 -05:00
Stefan Metzmacher
da6415363b r20038: document first rootdse search
metze
2007-10-10 14:28:51 -05:00
Stefan Metzmacher
c5efd061c5 r20002: finish requests on the first LDAP connection
metze
2007-10-10 14:28:46 -05:00
Stefan Metzmacher
a3202714a3 r20000: 20000
metze
2007-10-10 14:28:46 -05:00
Stefan Metzmacher
f2db31f41d r19999: add section for adding the server object
metze
2007-10-10 14:28:45 -05:00
Stefan Metzmacher
cd534dc936 r19998: add section for finding details about the new_dc server object
metze
2007-10-10 14:28:45 -05:00
Stefan Metzmacher
757ed019c2 r19997: section about finding the new_dc computer account
metze
2007-10-10 14:28:45 -05:00
Stefan Metzmacher
500113ca57 r19996: add section about finding site details
metze
2007-10-10 14:28:44 -05:00
Stefan Metzmacher
ce671ff6c1 r19995: add section about finding details of the RID Manager fSMORoleOwner
metze
2007-10-10 14:28:44 -05:00
Stefan Metzmacher
adbff0d696 r19994: complete section about finding details about the
Infrastructure fSMORoleOwner

metze
2007-10-10 14:28:44 -05:00
Stefan Metzmacher
2e355f8488 r19988: the first LDAP calls for becoming a ads dc
metze
2007-10-10 14:28:43 -05:00
Stefan Metzmacher
a9c7d6e7f3 r19987: some more notes about how to w2k3 becomes a dc
the strange thing is the DsGetNCChanges() calls are on their on DRSUAPI
connection, but use a bind_handle (policy handle from another connection)

metze
2007-10-10 14:28:43 -05:00
Stefan Metzmacher
88818b3c08 r19969: split become ads dc TODO lists into W2K and W2K3 sections
metze
2007-10-10 14:28:42 -05:00
Stefan Metzmacher
09b492c450 r19968: add some more notes about what's needed for becoming a ads dc
metze
2007-10-10 14:28:42 -05:00
Stefan Metzmacher
3e6264d872 r19967: this unknowns are max_object_count and max_ndr_size
metze
2007-10-10 14:28:41 -05:00
Rafal Szczesniak
a97fb96203 r19926: display user listing created by the test.
rafal
2007-10-10 14:28:37 -05:00
Rafal Szczesniak
efa04d6d0b r19925: Close the lsa handle in the end, and test calling libnet_UserList
with non-zero resume index to continue longer enumeration.

rafal
2007-10-10 14:28:37 -05:00
Rafal Szczesniak
11b93da847 r19924: win2k3srv did not like that combination.
rafal
2007-10-10 14:28:37 -05:00
Rafal Szczesniak
e1a20bba9d r19923: Update test to match the function changes.
rafal
2007-10-10 14:28:36 -05:00
Jelmer Vernooij
daaa021645 r19878: Announce testsuites when using subunit. 2007-10-10 14:28:30 -05:00
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
Stefan Metzmacher
8202f98123 r19875: set torture:host and torture:share also when we are given a binding string
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
712577d9e2 r19737: - add some more CLDAP rootdse tests
- don't ignore CLDAP rootdse errors anymore

metze
2007-10-10 14:28:17 -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
fa439f5655 r19698: fix whitespaces...
metze
2007-10-10 14:28:12 -05:00
Jelmer Vernooij
f111feb1d2 r19680: Allow specifying basedir for test data.
Create temporary directories in base directory.
2007-10-10 14:25:30 -05:00
Jelmer Vernooij
8768bec81f r19676: Fix some more dependencies. 2007-10-10 14:25:29 -05:00
Andrew Bartlett
ffce008775 r19649: Fix indentation.
Andrew Bartlett
2007-10-10 14:25:25 -05:00
Stefan Metzmacher
643a38bc30 r19645: don't pass NULL as mem_ctx...
metze
2007-10-10 14:25:25 -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
4826f17351 r19604: This is a massive commit, and I appologise in advance for it's size.
This merges Samba4 with lorikeet-heimdal, which itself has been
tracking Heimdal CVS for the past couple of weeks.

This is such a big change because Heimdal reorganised it's internal
structures, with the mechglue merge, and because many of our 'wishes' have been granted:  we now have DCE_STYLE GSSAPI, send_to_kdc hooks and many other features merged into the mainline code.  We have adapted to upstream's choice of API in these cases.

In gensec_gssapi and gensec_krb5, we either expect a valid PAC, or NO
PAC.  This matches windows behavour.  We also have an option to
require the PAC to be present (which allows us to automate the testing
of this code).

This also includes a restructure of how the kerberos dependencies are
handled, due to the fallout of the merge.

Andrew Bartlett
2007-10-10 14:25:03 -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