1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00
Commit Graph

64093 Commits

Author SHA1 Message Date
Jelmer Vernooij
700fcfbc63 pidl/python: Make sure to always increment reference counter when using
Py_None.
2010-06-25 00:16:18 +02:00
Jelmer Vernooij
4a75cb9cd5 pidl/python: Increment reference counter on Py_None to prevent us from
accidentally deallocating it.
2010-06-24 23:17:51 +02:00
Aravind Srinivasan
7e49a58ab9 s4 torture: Warn on NOT_IMPLEMENTED in addition to NOT_SUPPORTED for RAW-QFILEINFO
Signed-off-by: Tim Prouty <tprouty@samba.org>
2010-06-24 08:22:25 -07:00
Michael Adam
2a0340baa3 s3:registry: remove unused function normalize_dbkey() 2010-06-24 15:36:21 +02:00
Michael Adam
5cac4e648c s3:registry: use normalize_reg_path() in regdb_set_secdesc()
instead of normalize_dbkey
2010-06-24 15:36:20 +02:00
Michael Adam
4c948251d9 s3:registry: use normalize_reg_path() in regdb_get_secdesc()
instead of normalize_dbkey.
2010-06-24 15:36:20 +02:00
Matthias Dieter Wallnöfer
8ad01613f6 Revert "s4:provision.ldif - fix the number of available RIDs"
This reverts commit 41cdcd54b7.

As per request of metze revert this (cause written on the mailing list).
2010-06-24 15:13:40 +02:00
Matthias Dieter Wallnöfer
0f45536279 s4:auth/gensec/gensec_gssapi.c - reorder constructor
To have the same order as in the structure definition.
2010-06-24 15:13:40 +02:00
Andrew Tridgell
0be1820718 s4-ldb: use CHECK_XSLTPROC_MANPAGES() 2010-06-24 18:46:57 +10:00
Andrew Tridgell
f6e46ee0fb build: check if the manpages stylesheet is available locally
this avoids trying to fetch the stylesheet from the internet. If we
can't process the stylesheet with --nonet at configure time then don't
build manpages.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-24 18:46:57 +10:00
Andrew Tridgell
4cb423f527 s4-python: python is not always in /usr/bin
Using "#!/usr/bin/env python" is more portable. It still isn't ideal
though, as we should really use the python path found at configure
time. We do that in many places already, but some don't.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-24 18:46:57 +10:00
Matthias Dieter Wallnöfer
41cdcd54b7 s4:provision.ldif - fix the number of available RIDs
There should be 4611686014132422209 and not 4611686014132422109.
2010-06-24 10:04:53 +02:00
Matthias Dieter Wallnöfer
fec489bd87 s4:provision.ldif - this Win2003 revision level seems always to be "9" on Windows Server 2008 machines 2010-06-24 10:04:53 +02:00
Matthias Dieter Wallnöfer
64e19ef9fb s4:provision_users.ldif - change a group description to be correct 2010-06-24 10:04:52 +02:00
Matthias Dieter Wallnöfer
560620a53d s4:upgradeprovision - fix include order for "ldb"
Patch originally posted on the list by Matthieu Patou.
2010-06-24 10:04:52 +02:00
Endi S. Dewata
e228b67e56 s4/ldb: ldb_msg_el_map_remote() should rename the remote attribute names into local names as defined in simple_ldap_map.c. 2010-06-24 10:04:51 +02:00
Matthias Dieter Wallnöfer
e88f37daa0 s4:setup/provision.reg - raise version to Windows Server 2008 R2 2010-06-24 10:04:50 +02:00
Matthias Dieter Wallnöfer
b172b7f467 s4:libnet_join.c - always use LDB constants 2010-06-24 10:04:48 +02:00
Jeremy Allison
f34db12d7f Add parse_setjob_command() to make setting job state easier for users.
Jeremy.
2010-06-23 13:25:15 -07:00
Günther Deschner
ba40f38281 s4-smbtorture: test more valid key names in RPC-WINREG.
Guenther
2010-06-23 15:35:41 +02:00
Günther Deschner
2dc50ec44c s4-smbtorture: more work on test values WINREG test.
Guenther
2010-06-23 15:35:41 +02:00
Lukasz Zalewski
740c97b513 Fix to undo nasty hack for for grouptype conversion
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-23 14:49:02 +02:00
Jelmer Vernooij
c5d07d2a1a Per Andrews request, revert
"heimdal/waf: Initial work on making it possible to use the system"
as the hdb_check_s4u2self function handling is incorrect.

This reverts commit b099631f42.
2010-06-23 14:49:02 +02:00
Günther Deschner
714c926cf0 s4-smbtorture: add test for different winreg SetValue value names.
Guenther
2010-06-23 12:16:12 +02:00
Andrew Bartlett
ff5ace20a2 s4:selftest Fix up netbios names for rpc_echo test 2010-06-23 20:10:12 +10:00
Andrew Bartlett
aba99e4464 s4:selftest For the moment the server role '2008_R2' is case sensitive 2010-06-23 20:10:11 +10:00
Andrew Bartlett
58a7b9af3f s4:selftest Change netbios aliases to shorter names.
This makes the netbios names more sensible, and the aliases shorter.

(the name localfl2008rc2dc7 was too long...)

Andrew Bartlett
2010-06-23 20:10:10 +10:00
Andrew Bartlett
1acd49c524 s4:selftest Add 2003 and 2008R2 test environments and tests
These tests were chosen particularly because they are known to test things
that vary across the functional levels.

Andrew Bartlett
2010-06-23 20:10:08 +10:00
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
Andreas Schneider
06ed6667be doc: Remove the documentation of the sequence command of wbinfo.
The command is deprecated, see --online-status.
2010-06-23 11:01:58 +02:00
Andreas Schneider
790d01cb2e wbinfo: Document the deprecated sequence option correctly.
I didn't find a way in popt to hide it.
2010-06-23 11:01:58 +02: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
Jeremy Allison
37264e5917 Fix bug 7528 - Solaris with NIS autohome.
Ensure entries containing "\n" are stripped.

Jeremy.
2010-06-22 12:19:05 -07: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
Stefan Metzmacher
df96f18e8f testprogs/win32: add prepare_dcpromo tool
This tool can set the DOMAIN-SID and nextRid counter in
the local SAM on windows servers (tested with w2k8r2)

dcpromo will use this values for the ad domain it creates.

This might be useful for upgrades from a Samba3 domain.

metze
2010-06-22 10:47:39 +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