summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4/test: Run DrsDeleteObjectTestCase as part of S4 testingKamen Mazdrashki2010-06-281-0/+3
| | | | | | | | | I put this test in the end of the list of tests as it runs with 'vampire_dc' environment running. Currently there are tests that are failing when we have 2 DCs constantly replicating in the test environment (this, of course, should be fixed in the near future)
* s4/drs: re-implement 'renaming' object replicationKamen Mazdrashki2010-06-281-18/+53
| | | | | | | | | | | | | | We should rename objects only after we make sure, that changes on the partner DC are newer than what we have. This fixes a bug, when we have following situation with 2 DCs: - we have an object O on the two DCs - we rename (delete) object O on DC1 - DC1 replicates from DC2 In the above scenario, object O will be renamed back to its original name (i.e. it will be restored). Now, we check that DC2 state is older than what we have, so nothing happens with object's DN.
* s4/drs-test: Add few comments in DrsDeleteObjectTestCase testKamen Mazdrashki2010-06-281-3/+10
| | | | Also remove unused code
* s4:rpc_server/srvsvc/dcesrv_srvsvc.c - remove unreachable codeMatthias Dieter Wallnöfer2010-06-261-36/+0
|
* s4:rpc_server/wkssvc/dcesrv_wkssvc.c - remove unreachable codeMatthias Dieter Wallnöfer2010-06-261-4/+0
|
* s4:rpc_server/lsa/dcesrv_lsa.c - remove unreachable codeMatthias Dieter Wallnöfer2010-06-261-2/+0
|
* s4:lsa/lsa_lookup.c - use a better type for the "rtype" of the wellknown SIDsMatthias Dieter Wallnöfer2010-06-261-3/+4
| | | | To suppress warnings on Solaris 10
* s4:rpc_server/drsuapi/drsutil.c - remove unreachable codeMatthias Dieter Wallnöfer2010-06-261-1/+0
|
* s4:rpc_server/dcesrv_auth.c - remove unreachable codeMatthias Dieter Wallnöfer2010-06-261-2/+0
|
* s4:winbind/wb_samba3_protocol.c - add cast to suppress warnings on Solaris 10 ccMatthias Dieter Wallnöfer2010-06-261-1/+1
|
* s4:kdc/kdc.c - add cast to suppress warnings on Solaris 10 ccMatthias Dieter Wallnöfer2010-06-261-2/+2
|
* s4:kdc/kpasswdd.c - remove unreachable codeMatthias Dieter Wallnöfer2010-06-261-2/+0
|
* s4:provision.py - fix comment regarding DNS entriesMatthias Dieter Wallnöfer2010-06-261-1/+1
| | | | | I think this should mean partially Samba4 specified (all beside the "dns" account is standard)
* s4:provision: add entries for root dns serversStefan Metzmacher2010-06-261-0/+72
| | | | metze
* s4:provision: move Samba4 specific DNS stuff to its own fileStefan Metzmacher2010-06-264-21/+39
| | | | metze
* s4:provision: add --next-rid optionStefan Metzmacher2010-06-262-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
* s4:dsdb/ridalloc: add comment about windows behavior regarding rIDUsedPoolStefan Metzmacher2010-06-261-1/+6
| | | | metze
* s4:provision: don't use hardcoded values for 'nextRid' and 'rIDAvailablePool'Stefan Metzmacher2010-06-265-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
* s4:provision: pass relax control also to modify_ldifStefan Metzmacher2010-06-261-2/+2
| | | | metze
* s4/net-drs: Fix error messages typo and formattingKamen Mazdrashki2010-06-261-7/+7
|
* s4/drs-test: Fix whitespaces and permissions for delete_object.py testKamen Mazdrashki2010-06-261-5/+5
| | | | Sorry I've missed to do this before
* Move UCS2 macros to common codeJelmer Vernooij2010-06-252-21/+23
|
* Don't use frame as the talloc ctx in open_schannel_session_store(), as this ↵Jeremy Allison2010-06-251-1/+1
| | | | | | | | breaks running from inetd (we free frame below). Use NULL instead. Jeremy.
* Change talloc_autofree_context() to frame in Andrew's schannel.tdb ↵Jeremy Allison2010-06-251-1/+1
| | | | | | | | | TDB_CLEAR_IF_FIRST changes. Using talloc_autofree_context() has undesirable effects when forked subprocesses exit. Jeremy.
* schannel Change to TDB_CLEAR_IF_FIRST to reduce fsync()Andrew Bartlett2010-06-251-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>
* s3:schannel Open the schannel_state.tdb at startupAndrew Bartlett2010-06-251-0/+8
| | | | | | This will allow future TDB_CLEAR_IF_FIRST behaviour Signed-off-by: Jeremy Allison <jra@samba.org>
* s4:schannel Open the schannel_store.tdb at startupAndrew Bartlett2010-06-251-0/+8
| | | | | | This will allow TDB_CLEAR_IF_FIRST behaviour in future Signed-off-by: Jeremy Allison <jra@samba.org>
* libcli/auth make open_schannel_session_store() publicAndrew Bartlett2010-06-252-7/+7
| | | | | | This will allow TDB_CLEAR_IF_FIRST to be used Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:registry: use regdb_store_regdb_version() in regdb_init().Michael Adam2010-06-251-13/+2
|
* s3:registry: use regdb_store_regdb_version() in regdb_upgrade_v1_to_v2()Michael Adam2010-06-251-13/+8
|
* s3:registry: add a function regdb_store_regdb_version()Michael Adam2010-06-251-0/+21
|
* s3:registry: rename regdb_upgrade_to_version_2() -> regdb_upgrade_v1_to_v2()Michael Adam2010-06-251-2/+2
|
* s3:net [rpc] registry: be as user-friendly as possible wrt to the ↵Michael Adam2010-06-251-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.
* s3:registry: improve logic of upgrade code in regdb_init()Michael Adam2010-06-251-30/+45
| | | | Don't overwrite unknown versions (0 or > 2) of the registry.
* s3:registry: fix some debug messages in regdb_ini()Michael Adam2010-06-251-4/+4
|
* s3-registry: Convert registry key delimiter from slash to backslash.Andreas Schneider2010-06-255-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>
* s3-registry: Added a db upgrade function to normalize the key delimiter.Andreas Schneider2010-06-252-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>
* s3: In make_server_info_info3, check the result of copy_netr_SamInfo3Volker Lendecke2010-06-251-0/+4
|
* s3: In copy_netr_SamInfo3 copy all of the sids arrayVolker Lendecke2010-06-251-0/+3
|
* s3: Fix a winbind crashVolker Lendecke2010-06-251-0/+10
| | | | | nss_get_info_cached might deep inside sequence_number() invalidate the ads_struct without telling its callers.
* s3: Fix a winbind crashVolker Lendecke2010-06-251-1/+6
| | | | nss_get_info_cached might have invalidated "ads" deep inside.
* s4 python: Add unit tests related to PyLong/PyInt handlingMatthieu Patou2010-06-251-2/+11
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* ldb: Fix a wrong changetype in unit testMatthieu Patou2010-06-251-1/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* pidl: Finish to fix the python generated code for 64bit integersMatthieu Patou2010-06-251-3/+30
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* smbtorture: Fix loading of --load-list.Jelmer Vernooij2010-06-252-10/+13
|
* selftest: Clarify generation of idlist option.Jelmer Vernooij2010-06-251-0/+2
|
* s4:lib/registry/ldb.c - cosmetic - fix commentMatthias Dieter Wallnöfer2010-06-251-1/+1
|
* s4:lib/registry/ldb.c - cosmetic - wrap linesMatthias Dieter Wallnöfer2010-06-251-3/+2
|
* s4 upgradeprovision: Try to support older Pythons.Michael Wood2010-06-251-1/+1
| | | | | | Use "...".split(sep, 1) instead of "...".partition(sep). Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4/drs: DsReplicaSync should search partition to SyncKamen Mazdrashki2010-06-252-6/+38
| | | | | by any valid DSName attribute given, be it - partition DN, partition GUID or partition SID