Andrew Bartlett
86ed5eb892
s4:net Remove warnings for 2000 native mode and Samba4.
...
We now support 2000 native mode, and so we just need to warn about mixed mode.
Andrew Bartlett
2010-06-23 20:10:07 +10:00
Andrew Bartlett
d0f52ddac2
s4:provision Raise default max functional level to 2008R2
...
We don't support many of the extra features, but that applies across many
other parts of AD. Allow the admin to join a 2008R2 domain if he or she wants.
This also makes it possible to test 2008R2 domain code in 'make test'
Andrew Bartlett
2010-06-23 20:10:06 +10:00
Andrew Bartlett
b26125b7d3
s4:provision Remove am_rodc from Schema
...
The SamDB created in the schema code isn't real enough to care if it's an
rodc or not.
2010-06-23 20:10:05 +10:00
Andrew Bartlett
ebc2da10cd
s4:libnet When joining a domain, update msDS-SupportedEncryptionTypes
...
We need this for our DC to have clients use AES keys to us
2010-06-23 20:10:04 +10:00
Andrew Bartlett
c4482bf53e
libds:common Remove DS_DC_* domain functionality flags
...
These are just a subset of the DS_DOMAIN_ functionality flags, are compared and often confused with each other. Just make them one set.
Andrew Bartlett
2010-06-23 20:10:03 +10:00
Andrew Bartlett
80701e5f29
s4:kdc Use msDS-SupportedEncTypes in our KDC
...
We need to honour this, otherwise we will send AES-encrypted tickets
to unprepared Kerberos targets.
Andrew Bartlett
2010-06-23 20:10:01 +10:00
Günther Deschner
7f8b3a26ec
s4-smbtorture: Fix test_SetPrinterDataEx_keys and test_SetPrinterDataEx_values.
...
We want to continue, not to skip here.
Guenther
2010-06-23 10:48:18 +02:00
Matthias Dieter Wallnöfer
26a95463a6
s4:operational LDB module - fix a misleading comment
2010-06-23 09:53:23 +02:00
Matthias Dieter Wallnöfer
eff7d2db31
s4:samr RPC server - make use of LDB constants in macros
2010-06-22 22:21:12 +02:00
Matthias Dieter Wallnöfer
0e637be43b
s4:password_hash LDB module - fix another problem regarding the lanman hash
...
When a user only provides only the lanman hash (and nothing else) and the
lanman authentication is deactivated then we end in an account with no
password attribute at all! Lock this down.
2010-06-22 22:21:04 +02:00
Günther Deschner
1e897f6561
s4-smbtorture: add "printerdata_values" test to RPC-SPOOLSS-PRINTER.
...
Guenther
2010-06-22 15:57:18 +02:00
Günther Deschner
13ede2bf7a
s4-smbtorture: also test keynames with '/' in it in SetPrinterDataEx keyname tests.
...
Guenther
2010-06-22 15:57:12 +02:00
Günther Deschner
e439b6cb8c
s4-smbtorture: activate all keys in SetPrinterData keys test.
...
(just skip some of them still against s3).
Guenther
2010-06-22 15:57:06 +02:00
Günther Deschner
c31ffaf587
s4-smbtorture: split out a "printerdata_keys" test for RPC-SPOOLSS-PRINTER.
...
This separates key and value tests for SetPrinterDataEx and GetPrinterDataEx
(and also speeds up the whole testsuite).
Guenther
2010-06-22 15:57:00 +02:00
Kamen Mazdrashki
efe65cd7b7
s4/dsdb-test: fix usage comment
2010-06-22 04:50:19 +03:00
Kamen Mazdrashki
acebfcb938
s4/test: fix DC password in selftest-vars.sh
2010-06-22 04:50:19 +03:00
Aravind Srinivasan
c668b21cd6
s4 torture: RAW-SFILEINFO display warning instead of error on unsupported info level
...
Also add a test to make sure setting the directory attribute is
disallowed.
Signed-off-by: Tim Prouty <tprouty@samba.org>
2010-06-21 17:08:41 -07:00
James Peach
f5709975c1
smbtorture: Fix missing includes.
2010-06-21 14:12:58 -07:00
Matthieu Patou
32f82fbec0
s4 upgradeprovision: fix the logging stuff so that it actually log
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-21 23:11:50 +02:00
James Peach
6227eac607
smbtorture: Fixx off-by-one command line parsing.
...
If we are not in shell mode we require both the target and test name
arguments. Make sure we process these from the correct index.
2010-06-21 11:09:45 -07:00
James Peach
0fc18ead76
smbtorture: Add "target" command to interactive shell.
...
Add a "target" command to set the target server to test. Refactor
the command line argument processing a little so that you can run
--shell without any additional arguments.
2010-06-21 08:58:10 -07:00
James Peach
7a25e2efe9
smbtorture: Enhance shell "help" command.
...
Sort the command list alphabetically. Let the help command print
usage info for other commands.
2010-06-21 08:58:10 -07:00
James Peach
bf35aa8603
smbtorture: Add "auth" command to the shell.
...
Add a new "auth" command to set the cmdline credentials from withing
the smbtorture shell.
2010-06-21 08:58:10 -07:00
James Peach
3f398ec36d
smbtorture: Refactor interactive shell into independent commands.
...
Refactor the smbtorture interactive shell into a set of independent
command callbacks to make it easier to add more independent commands.
2010-06-21 08:58:10 -07:00
James Peach
9f69790355
smbtorture: Move interactive shell into a separate file.
2010-06-21 08:58:10 -07:00
James Peach
a5e14bded4
smbtorture: Print global options for interactive "list" command.
2010-06-21 08:58:10 -07:00
James Peach
12e15b0ac8
smbtorture: Add history support to shell mode.
2010-06-21 08:58:10 -07:00
James Peach
6f96293406
smbtorture: Add list command to smbtorture shell.
2010-06-21 08:58:10 -07:00
Matthias Dieter Wallnöfer
c38f94ed9b
s4:dsdb_load_partition_usn - free the right memory context (tmp_ctx)
2010-06-21 11:10:02 +02:00
Kamen Mazdrashki
3aa8853f58
s4/dsdb: msg_idx->dn should be allocated in msg_idx mem context
2010-06-21 02:57:56 +03:00
Kamen Mazdrashki
cc7e2c10f2
s4/dsdb: Move schema accessors cleanup in separate function
...
This way dsdb_setup_sorted_accessors() will
free memory allocated for accessor arrays correctly
in case of failure,
2010-06-21 02:57:56 +03:00
Kamen Mazdrashki
267645ca55
s4/dsdb-schema: Index attributes on msDS-IntId value
...
O(n) search for dsdb_attribute by msDS-IntId value was
replaced by binary-search in ordered index.
I've choosen the approach of separate index on msDS-IntId values
as I think it is more clear what we are searching for.
And it should little bit faster as we can clearly determine
in which index to perform the search based on ATTID value -
ATTIDs based on prefixMap and ATTIDs based on msDS-IntId
are in separate ranges.
Other way to implement this index was to merge msDS-IntId values
in attributeID_id index.
This led me to a shorted but not so obvious implementation.
2010-06-21 02:57:55 +03:00
Matthias Dieter Wallnöfer
ecbe9a74c6
s4:kdc/db-glue.c - remove unreachable code
...
Would be nice if someone could check if this fits.
2010-06-20 22:33:03 +02:00
Matthias Dieter Wallnöfer
05f31c3f6d
s4:registry/regf.c - add some casts to suppress build warnings on Solaris
2010-06-20 22:33:02 +02:00
Matthias Dieter Wallnöfer
2adfe47303
s4:registry/rpc.c - fix Solaris warnings by casts
2010-06-20 22:33:02 +02:00
Matthias Dieter Wallnöfer
2f49c8f58e
s4:samr RPC server - fix Solaris build warning
2010-06-20 22:33:01 +02:00
Matthias Dieter Wallnöfer
871cdec414
s4:registry RPC server - quite some build warnings on Solaris
2010-06-20 22:33:01 +02:00
Matthias Dieter Wallnöfer
82fd483758
s4:lsa_lookup.c - fix type argument
2010-06-20 22:33:00 +02:00
Matthias Dieter Wallnöfer
0bf26edf6c
s4:rpc_server/service_rpc.c - fix warnings on Solaris
2010-06-20 22:32:59 +02:00
Matthias Dieter Wallnöfer
c972e6ec23
s4:rpc_server/service_rpc.c - deactivate the 0-length struct
...
This should fix the build on Solaris
2010-06-20 22:32:59 +02:00
Matthias Dieter Wallnöfer
58715dd365
s4:libpolicy - fix printf output specifiers to suppress warning
2010-06-20 20:34:48 +02:00
Matthias Dieter Wallnöfer
26bcbf6e35
s4:libpolicy - Solaris compatibility fix
2010-06-20 20:25:00 +02:00
Matthias Dieter Wallnöfer
91c49c2fb2
s4:ldap.py - test subtree deletes through a new testcase
2010-06-20 18:52:31 +02:00
Matthias Dieter Wallnöfer
449370db54
s4:ldap_backend.c - now also the LDAP server supports controls on delete operations
2010-06-20 18:52:31 +02:00
Matthias Dieter Wallnöfer
9803c89ee2
s4:ldap_backend.c - move function "ldb_mod_req_with_controls" to a better place in the code
...
Under the "add" and over the "delete" function.
2010-06-20 18:52:30 +02:00
Matthias Dieter Wallnöfer
fbd0902958
s4:subtree_delete LDB module - now do support tree delete operations
2010-06-20 18:52:30 +02:00
Matthias Dieter Wallnöfer
87d0f63632
s4:dsdb - add a new dsdb delete function which understands the tree delete control
2010-06-20 18:52:29 +02:00
Matthias Dieter Wallnöfer
ad5e19f29e
ldb:controls - add the "TREE_DELETE" control for allowing subtree deletes
2010-06-20 18:52:29 +02:00
Matthias Dieter Wallnöfer
065579b4c6
ldb:ldb.h - add classifications to the control declarations
...
This makes it easier to understand which standard specifies which control.
2010-06-20 18:52:28 +02:00
Matthias Dieter Wallnöfer
e062e7300b
s4:python LDB __init__.py - remove completely unused "erase_partitions" call
...
Seems to be a relict from the past.
2010-06-20 18:52:28 +02:00