summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2011-08-18smb_composite: Integrate prototypes in header file.Jelmer Vernooij3-4/+69
2011-08-18s4-test: use dbcheck on more of our selftest databasesAndrew Tridgell1-2/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Aug 18 02:58:55 CEST 2011 on sn-devel-104
2011-08-18s4-test: only check one database in quickcheckAndrew Tridgell1-1/+1
2011-08-18s4-dsdb: fixed deletion of backlinks for fl2000 DCsAndrew Tridgell1-18/+13
when in FL 2000 we were not correctly deleting backlinks as we uses dsdb_find_dn_by_guid() which doesn't find deleted objects. Modules should use dsdb_module_dn_by_guid() which prevents going to the top level, and finds deleted objects Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-18s4-dsdb: added comments and fixed backlink check in repl_meta_dataAndrew Tridgell1-2/+17
added comments explaining the backlink deletion code, plus fix a use of a bitwise operation in a boolean expression, and avoid calling dsdb_functional_level() inside a loop Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-18s4-dirsync: use dsdb_module_dn_by_guid() not dsdb_find_dn_by_guid() in modulesAndrew Tridgell1-1/+1
this prevents us going to the top level of the module stack Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-18samba-tool: changed samba-tool user delete to use samdb instead of Net()Andrew Tridgell1-9/+17
this makes it possible to use with -H, so you can delete users on remote DCs or against local databases
2011-08-18s4-samdb: added deleteuser() to samdbAndrew Tridgell1-0/+23
This is similar to deletegroup()
2011-08-18s4-test: prevent the utable test from crashingAndrew Tridgell1-3/+5
2011-08-14Use public pytalloc header file.Jelmer Vernooij5-5/+5
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Aug 14 17:18:46 CEST 2011 on sn-devel-104
2011-08-14s4:misc: remove last usage of legacy event_ fn namesSimo Sorce6-12/+12
Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Sun Aug 14 00:38:13 CEST 2011 on sn-devel-104
2011-08-13s4:lib: use tevent_ fns names instead of legcay event_ onesSimo Sorce6-28/+28
2011-08-13s4:smbd: use tevent_ fn names instead of leagcy event_ onesSimo Sorce4-8/+8
2011-08-13s4:ntvfs: use tevent_ fn names instead of legacy event_ onesSimo Sorce4-5/+5
2011-08-13s4:librpc: use tevent_ fn names instead of legacy event_ onesSimo Sorce3-9/+9
2011-08-13s4:libcli: use tevent_ fn names instead of legacy event_ onesSimo Sorce8-28/+28
2011-08-13s4:dsdb: use tevent_ fn names instaed of legacy event_ onesSimo Sorce3-3/+3
2011-08-13s4:messaging: use tevent_ function names instead of legacy event_ onesSimo Sorce3-7/+7
2011-08-13torture: use tevent_ functions names instead of the legacy event_ onesSimo Sorce21-70/+70
2011-08-13s4-provision Add support for fixing the DC rid to a particular valueAndrew Bartlett2-16/+29
This will allow an upgraded DC to keep its SID, while being upgraded to AD. We also watch for the highest RID in the existing DB to set next_rid for other additional users. Andrew Bartlett
2011-08-13s4-param Set szConfigFile even for s3 loadparm contextsAndrew Bartlett1-4/+4
2011-08-13upgrade: Add missing bits for the s3 to s4 upgrade scriptAmitay Isaacs2-49/+79
Use passdb backend to import/export users Remove unused options for upgrade_from_s3 command (--blank) and credentials options Config file is specified with -s/--configfile option and no need to specify as an argument. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-13tests: Update test for s3 to s4 upgrade with two casesAmitay Isaacs2-1/+63
S3-member to S4-member and S3-dc to S4-dc Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-13py-samba3: Create samba3 python package to hold other modulesAmitay Isaacs1-18/+18
This will include passdb and param.
2011-08-13s4-dsdb: Provide additional method to connect to specified database pathAmitay Isaacs1-5/+16
samdb_connect() now calls samdb_connect_url() with default "sam.ldb". Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-13param: Add smb.conf loading support to s3/s4 loadparm bridgeAndrew Bartlett2-0/+5
2011-08-13s4-dsdb ensure we honour the hash_values control, even for really odd hashesAndrew Bartlett1-2/+4
2011-08-13s4-dsdb Give a less worrying error message on failure to get a transactionAndrew Bartlett1-1/+1
2011-08-13s4-scripting Rename passdb upgrade routine to avoid conflict with ↵Andrew Bartlett2-6/+6
upgradeprovision
2011-08-13s4-dsdb Add ability to force a particular SID in the upgrade caseAndrew Bartlett2-2/+18
2011-08-13s4-dsdb Add flag to set DSDB_BYPASS_PASSWORD_HASH controlAndrew Bartlett2-0/+9
2011-08-13samba-tool: Remove gpo setacl commandAmitay Isaacs1-5/+0
2011-08-12s3:samba-tool: add --domain-critical-only to "samba-tool domain join"Stefan Metzmacher1-3/+9
metze Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-12s4:py/samba/join: add domain_critical_only=False to join_DC/join_RODCStefan Metzmacher1-3/+10
metze Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-12s4:py/samba/drs_utils: pass down req/req_level to self.net.replicate_chunk()Stefan Metzmacher1-1/+2
metze Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-12s4:libnet_vampire: don't keep the replication state if ↵Stefan Metzmacher1-0/+30
DRSUAPI_DRS_CRITICAL_ONLY was used In that case we have incomplete information and need to start from 0 in the next run. metze Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-12s4:libnet: passdown the DsGetNCChangesReq* to the libnet_BecomeDC_StoreChunk ↵Stefan Metzmacher3-4/+72
handler metze Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-12s4-dbcheck: offer to fix dsServiceName to be in GUID formAndrew Tridgell1-0/+43
this fixes the dsServiceName so it can handle server renames Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-12s4-dsdb: don't cache the NTDS settings DNAndrew Tridgell1-9/+8
this DN can change due to a server rename, so we cannot cache it. It is set by provision, but not anywhere else. This seems to not have a large performance impact Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-12s4-join: make dsServiceName a GUID in @ROOTDSE on joinAndrew Tridgell1-3/+5
when joining another domain as a DC we should setup our dsServiceName in @ROOTDSE to be a GUID so we can cope with later server renames Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-12s4-provision: create dsServiceName in @ROOTDSE in GUID formAndrew Tridgell2-1/+4
this allows for handling of server renames as the GUID doesn't change Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-12s4-dsdb: expand dsServiceName from GUID form at runtimeAndrew Tridgell1-6/+54
this allows dsServiceName to be stored as an extended DN or GUID form in @ROOTDSE, and its string form will be found at runtime. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-12s4-dsdb: remove the naming_fsmo and pdc_fsmo modulesAndrew Tridgell3-42/+0
these are not needed now that the rootdse modules calculates the validFSMOs attribute at runtime Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-12s4-dsdb: calculate validFSMOs at runtime instead of pre-computingAndrew Tridgell3-251/+45
this changes the rootdse to compute the validFSMOs attribute at runtime by checking the fSMORoleOwner attribute on the appropriate DN. This avoids the need for the pdc_fsmo and naming_fsmo modules. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-10pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij16-156/+160
2011-08-10s4:subtree_rename LDB module - fix the move/rename constraintsMatthias Dieter Wallnöfer1-10/+7
s4:subtree_rename LDB module - fix the move/rename constraints By the inspiration of an email request by ekacnet I have rechecked the move/rename constraints and re-read the chapter 3.1.1.5.4.1 located in the MS-ADTS technical documentation. It really turns out that the constraint checking is only performed on the root object of a request. In addition add my copyright notice (I've written these constraint checks). Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Aug 10 01:05:19 CEST 2011 on sn-devel-104
2011-08-10s4-drs: In dcesrv_drsuapi_DsRemoveDSServer use the subtree control to delete ↵Matthieu Patou1-1/+2
the NTDS entry This entry has most of the time subelements (connections between DCs) that will forbid a simple (non recursive) delete
2011-08-10s4-dsdb: avoid printing a pointless debug lineMatthieu Patou1-1/+1
2011-08-10s4-drsuapi: crackname search also for deleted objectsMatthieu Patou1-1/+4
2011-08-10s4: create a small script to test drsuapi/cracknameMatthieu Patou1-0/+75