Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-06-26 | s4:provision: move Samba4 specific DNS stuff to its own file | Stefan Metzmacher | 4 | -21/+39 | |
metze | |||||
2010-06-26 | s4:provision: add --next-rid option | Stefan Metzmacher | 2 | -3/+16 | |
Make it possible to provision a domain with a given next rid counter. This will be useful for upgrades, where we want to import users with already given SIDs. metze | |||||
2010-06-26 | s4:dsdb/ridalloc: add comment about windows behavior regarding rIDUsedPool | Stefan Metzmacher | 1 | -1/+6 | |
metze | |||||
2010-06-26 | s4:provision: don't use hardcoded values for 'nextRid' and 'rIDAvailablePool' | Stefan Metzmacher | 5 | -6/+24 | |
On Windows dcpromo imports nextRid from the local SAM, which means it's not hardcoded to 1000. The initlal rIDAvailablePool starts at nextRid + 100. I also found that the RID Set of the local dc should be created via provision and not at runtime, when the first rid is needed. (Tested with dcpromo on w2k8r2, while disabling the DNS check box). After provision we should have this (assuming nextRid=1000): rIDAllocationPool: 1100-1599 rIDPrevAllocationPool: 1100-1599 rIDUsedPool: 0 rIDNextRID: 1100 rIDAvailablePool: 1600-1073741823 Because provision sets rIDNextRid=1100, the first created account (typically DNS related accounts) will get 1101 as rid! metze | |||||
2010-06-26 | s4:provision: pass relax control also to modify_ldif | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2010-06-26 | s4/net-drs: Fix error messages typo and formatting | Kamen Mazdrashki | 1 | -7/+7 | |
2010-06-26 | s4/drs-test: Fix whitespaces and permissions for delete_object.py test | Kamen Mazdrashki | 1 | -5/+5 | |
Sorry I've missed to do this before | |||||
2010-06-25 | Move UCS2 macros to common code | Jelmer Vernooij | 2 | -21/+23 | |
2010-06-25 | Don't use frame as the talloc ctx in open_schannel_session_store(), as this ↵ | Jeremy Allison | 1 | -1/+1 | |
breaks running from inetd (we free frame below). Use NULL instead. Jeremy. | |||||
2010-06-25 | Change talloc_autofree_context() to frame in Andrew's schannel.tdb ↵ | Jeremy Allison | 1 | -1/+1 | |
TDB_CLEAR_IF_FIRST changes. Using talloc_autofree_context() has undesirable effects when forked subprocesses exit. Jeremy. | |||||
2010-06-25 | schannel Change to TDB_CLEAR_IF_FIRST to reduce fsync() | Andrew Bartlett | 1 | -32/+1 | |
By making this DB TDB_NOSYNC, and by making that safe with TDB_CLEAR_IF_FIRST, we greatly reduce the fsync() load on the server. This particularly helps the source4/ 'make test', which otherwise tries to disable fsync() in ldb. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2010-06-25 | s3:schannel Open the schannel_state.tdb at startup | Andrew Bartlett | 1 | -0/+8 | |
This will allow future TDB_CLEAR_IF_FIRST behaviour Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2010-06-25 | s4:schannel Open the schannel_store.tdb at startup | Andrew Bartlett | 1 | -0/+8 | |
This will allow TDB_CLEAR_IF_FIRST behaviour in future Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2010-06-25 | libcli/auth make open_schannel_session_store() public | Andrew Bartlett | 2 | -7/+7 | |
This will allow TDB_CLEAR_IF_FIRST to be used Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2010-06-25 | s3:registry: use regdb_store_regdb_version() in regdb_init(). | Michael Adam | 1 | -13/+2 | |
2010-06-25 | s3:registry: use regdb_store_regdb_version() in regdb_upgrade_v1_to_v2() | Michael Adam | 1 | -13/+8 | |
2010-06-25 | s3:registry: add a function regdb_store_regdb_version() | Michael Adam | 1 | -0/+21 | |
2010-06-25 | s3:registry: rename regdb_upgrade_to_version_2() -> regdb_upgrade_v1_to_v2() | Michael Adam | 1 | -2/+2 | |
2010-06-25 | s3:net [rpc] registry: be as user-friendly as possible wrt to the ↵ | Michael Adam | 1 | -2/+9 | |
normalization change The registry has been changed to use '\' as a key delimiter instead of '/'. Originally, one could mix both characters in the specification of registry key for net [rpc] registry. Now this can not work any more, since '/' is generally treated as a valid character of a key name. Now, to be as user-friendly as possible, the net [rpc] registry code has been changed to still support '/' as a key name delimiter if no '\' character is found in the given registry path string. In that case, all '/' characters are converted to '\' characters before proceeding. If on the other hand, a '\' character is found in the path string, then no conversion is assumed, and it is hence assumed that the path is already in the correct form and '/' characters are supposed to be part of the key names. | |||||
2010-06-25 | s3:registry: improve logic of upgrade code in regdb_init() | Michael Adam | 1 | -30/+45 | |
Don't overwrite unknown versions (0 or > 2) of the registry. | |||||
2010-06-25 | s3:registry: fix some debug messages in regdb_ini() | Michael Adam | 1 | -4/+4 | |
2010-06-25 | s3-registry: Convert registry key delimiter from slash to backslash. | Andreas Schneider | 5 | -51/+30 | |
This is needed to support keynames containing a '/' like TCP/IP. Which is used in serveral standard paths. Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2010-06-25 | s3-registry: Added a db upgrade function to normalize the key delimiter. | Andreas Schneider | 2 | -6/+107 | |
This converts the key delimiter from a slash to a blackslash. We need to support keynames with a backslash. Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2010-06-25 | s3: In make_server_info_info3, check the result of copy_netr_SamInfo3 | Volker Lendecke | 1 | -0/+4 | |
2010-06-25 | s3: In copy_netr_SamInfo3 copy all of the sids array | Volker Lendecke | 1 | -0/+3 | |
2010-06-25 | s3: Fix a winbind crash | Volker Lendecke | 1 | -0/+10 | |
nss_get_info_cached might deep inside sequence_number() invalidate the ads_struct without telling its callers. | |||||
2010-06-25 | s3: Fix a winbind crash | Volker Lendecke | 1 | -1/+6 | |
nss_get_info_cached might have invalidated "ads" deep inside. | |||||
2010-06-25 | s4 python: Add unit tests related to PyLong/PyInt handling | Matthieu Patou | 1 | -2/+11 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-25 | ldb: Fix a wrong changetype in unit test | Matthieu Patou | 1 | -1/+1 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-25 | pidl: Finish to fix the python generated code for 64bit integers | Matthieu Patou | 1 | -3/+30 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-25 | smbtorture: Fix loading of --load-list. | Jelmer Vernooij | 2 | -10/+13 | |
2010-06-25 | selftest: Clarify generation of idlist option. | Jelmer Vernooij | 1 | -0/+2 | |
2010-06-25 | s4:lib/registry/ldb.c - cosmetic - fix comment | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-06-25 | s4:lib/registry/ldb.c - cosmetic - wrap lines | Matthias Dieter Wallnöfer | 1 | -3/+2 | |
2010-06-25 | s4 upgradeprovision: Try to support older Pythons. | Michael Wood | 1 | -1/+1 | |
Use "...".split(sep, 1) instead of "...".partition(sep). Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> | |||||
2010-06-25 | s4/drs: DsReplicaSync should search partition to Sync | Kamen Mazdrashki | 2 | -6/+38 | |
by any valid DSName attribute given, be it - partition DN, partition GUID or partition SID | |||||
2010-06-25 | s4/utils: fix few 'net drs replicate' error messages | Kamen Mazdrashki | 1 | -6/+8 | |
mainly for the output to be more informative | |||||
2010-06-25 | s4/drs-test: Tests Deleted objects replication | Kamen Mazdrashki | 1 | -0/+222 | |
Tests how deleted objects are replicated between two DCs. Currently the test exploits following vulnerabilities: - DsReplicaSync is not correctly implemented - a 'deleted object' is restored (kind of) in case DC1 replicates from DC2 before the 'deleted object' is replicated | |||||
2010-06-25 | selftest: Store the output of the last test run in st/subunit. | Jelmer Vernooij | 1 | -3/+10 | |
If a testrepository repository is present, add the test output when it has completed. | |||||
2010-06-25 | pidl/python: Make sure to always increment reference counter when using | Jelmer Vernooij | 1 | -1/+3 | |
Py_None. | |||||
2010-06-24 | pidl/python: Increment reference counter on Py_None to prevent us from | Jelmer Vernooij | 1 | -0/+2 | |
accidentally deallocating it. | |||||
2010-06-24 | s4 torture: Warn on NOT_IMPLEMENTED in addition to NOT_SUPPORTED for ↵ | Aravind Srinivasan | 1 | -3/+9 | |
RAW-QFILEINFO Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2010-06-24 | s3:registry: remove unused function normalize_dbkey() | Michael Adam | 2 | -11/+0 | |
2010-06-24 | s3:registry: use normalize_reg_path() in regdb_set_secdesc() | Michael Adam | 1 | -1/+6 | |
instead of normalize_dbkey | |||||
2010-06-24 | s3:registry: use normalize_reg_path() in regdb_get_secdesc() | Michael Adam | 1 | -1/+6 | |
instead of normalize_dbkey. | |||||
2010-06-24 | Revert "s4:provision.ldif - fix the number of available RIDs" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
This reverts commit 41cdcd54b7b7e3fb70fdb220e74a1daf30e1891a. As per request of metze revert this (cause written on the mailing list). | |||||
2010-06-24 | s4:auth/gensec/gensec_gssapi.c - reorder constructor | Matthias Dieter Wallnöfer | 1 | -30/+38 | |
To have the same order as in the structure definition. | |||||
2010-06-24 | s4-ldb: use CHECK_XSLTPROC_MANPAGES() | Andrew Tridgell | 2 | -3/+2 | |
2010-06-24 | build: check if the manpages stylesheet is available locally | Andrew Tridgell | 2 | -8/+34 | |
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 | s4-python: python is not always in /usr/bin | Andrew Tridgell | 67 | -67/+67 | |
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> |