summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* py-samba3: Create samba3 python package to hold other modulesAmitay Isaacs2011-08-131-18/+18
| | | | This will include passdb and param.
* s4-dsdb: Provide additional method to connect to specified database pathAmitay Isaacs2011-08-131-5/+16
| | | | | | samdb_connect() now calls samdb_connect_url() with default "sam.ldb". Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* param: Add smb.conf loading support to s3/s4 loadparm bridgeAndrew Bartlett2011-08-132-0/+5
|
* s4-dsdb ensure we honour the hash_values control, even for really odd hashesAndrew Bartlett2011-08-131-2/+4
|
* s4-dsdb Give a less worrying error message on failure to get a transactionAndrew Bartlett2011-08-131-1/+1
|
* s4-scripting Rename passdb upgrade routine to avoid conflict with ↵Andrew Bartlett2011-08-132-6/+6
| | | | upgradeprovision
* s4-dsdb Add ability to force a particular SID in the upgrade caseAndrew Bartlett2011-08-132-2/+18
|
* s4-dsdb Add flag to set DSDB_BYPASS_PASSWORD_HASH controlAndrew Bartlett2011-08-132-0/+9
|
* samba-tool: Remove gpo setacl commandAmitay Isaacs2011-08-131-5/+0
|
* s3:samba-tool: add --domain-critical-only to "samba-tool domain join"Stefan Metzmacher2011-08-121-3/+9
| | | | | | metze Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:py/samba/join: add domain_critical_only=False to join_DC/join_RODCStefan Metzmacher2011-08-121-3/+10
| | | | | | metze Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:py/samba/drs_utils: pass down req/req_level to self.net.replicate_chunk()Stefan Metzmacher2011-08-121-1/+2
| | | | | | metze Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:libnet_vampire: don't keep the replication state if ↵Stefan Metzmacher2011-08-121-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>
* s4:libnet: passdown the DsGetNCChangesReq* to the libnet_BecomeDC_StoreChunk ↵Stefan Metzmacher2011-08-123-4/+72
| | | | | | | | handler metze Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dbcheck: offer to fix dsServiceName to be in GUID formAndrew Tridgell2011-08-121-0/+43
| | | | | | this fixes the dsServiceName so it can handle server renames Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: don't cache the NTDS settings DNAndrew Tridgell2011-08-121-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>
* s4-join: make dsServiceName a GUID in @ROOTDSE on joinAndrew Tridgell2011-08-121-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>
* s4-provision: create dsServiceName in @ROOTDSE in GUID formAndrew Tridgell2011-08-122-1/+4
| | | | | | this allows for handling of server renames as the GUID doesn't change Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: expand dsServiceName from GUID form at runtimeAndrew Tridgell2011-08-121-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>
* s4-dsdb: remove the naming_fsmo and pdc_fsmo modulesAndrew Tridgell2011-08-123-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>
* s4-dsdb: calculate validFSMOs at runtime instead of pre-computingAndrew Tridgell2011-08-123-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>
* pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij2011-08-1016-156/+160
|
* s4:subtree_rename LDB module - fix the move/rename constraintsMatthias Dieter Wallnöfer2011-08-101-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
* s4-drs: In dcesrv_drsuapi_DsRemoveDSServer use the subtree control to delete ↵Matthieu Patou2011-08-101-1/+2
| | | | | | | the NTDS entry This entry has most of the time subelements (connections between DCs) that will forbid a simple (non recursive) delete
* s4-dsdb: avoid printing a pointless debug lineMatthieu Patou2011-08-101-1/+1
|
* s4-drsuapi: crackname search also for deleted objectsMatthieu Patou2011-08-101-1/+4
|
* s4: create a small script to test drsuapi/cracknameMatthieu Patou2011-08-101-0/+75
|
* s4-dsdb clarify that failure to load the schema items from DRS is expectedAndrew Bartlett2011-08-091-3/+3
| | | | | | | | | | This happens if we have a custom schema - we need to build up the schema until it loads, by converting more objects. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Aug 9 13:10:25 CEST 2011 on sn-devel-104
* move schema_fill_constructed() call to dsdb_setup_sorted_accessors()Andrew Bartlett2011-08-091-5/+7
|
* s4-dsdb Remove unused schema functionAndrew Bartlett2011-08-091-18/+0
|
* s4-dsdb: added SAMDB_INDEXING_VERSION to @INDEXLISTAndrew Tridgell2011-08-091-0/+11
| | | | | | | | this can be used to force re-indexing of samdb when we change something that affects index comparison, in this case the canonicalisation of booleans Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: fixed booling conversion to check value lengthAndrew Tridgell2011-08-091-11/+14
| | | | | | this ensures we don't look past the end of the data Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dbcheck: enable dbcheck now that backlinks are fixedAndrew Tridgell2011-08-091-1/+0
|
* s4-dsdb: add auto-normalisation of attributesAndrew Tridgell2011-08-093-3/+57
| | | | | | | | | | | | | | | this auto-normalises some attributes when they are added/modified. The list that we auto-normalise is currently: Boolean INT32 INTEGER UTC_TIME This fixes a problem with groupType being stored in an unnormalised form Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: ensure rIDSetReferences is stored as an extended DNAndrew Tridgell2011-08-092-2/+18
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: ensure we setup the dn_format field in schema attributesAndrew Tridgell2011-08-092-31/+40
| | | | | | this ensures we setup dn_format when we do runtime schema changes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-acl-test: use symbolic names for groupTypeAndrew Tridgell2011-08-091-11/+16
| | | | clearer than magic numbers
* s4-pysamba: fixed double conversion of int32Andrew Tridgell2011-08-091-1/+1
| | | | if the number is already negative, we shouldn't convert it
* s4-dsdb: make extended_dn_in a bit more efficientAndrew Tridgell2011-08-091-9/+17
| | | | checking filter elements in the right order makes it a little faster
* s4-samdb: support relative paths in SamDB() connectAndrew Tridgell2011-08-091-1/+2
| | | | | don't add the private path unless the database doesn't exist with the supplied path
* s4-dsdb: use dn_format shortcut to find DN formatAndrew Tridgell2011-08-092-4/+4
| | | | this saves some string comparisons
* pysamdb: move normalise_int32() to common moduleAndrew Tridgell2011-08-092-7/+7
| | | | this will be needed in quite a few places
* s4:pyglue: PyArg_ParseTuple("I") requires an 'unsigned int' argumentStefan Metzmacher2011-08-081-1/+5
| | | | | | | | | If we pass variable references we don't get implicit casting! metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Aug 8 18:01:19 CEST 2011 on sn-devel-104
* s4:py_net: PyArg_ParseTuple("i") requires an 'int' argumentStefan Metzmacher2011-08-081-1/+4
| | | | | | If we pass variable references we don't get implicit casting! metze
* s4:pyregistry: PyArg_ParseTuple("z#") requires an 'int' argument instead of ↵Stefan Metzmacher2011-08-081-1/+4
| | | | | | | | 'size_t' If we pass variables by reference we don't get implicit type casting. metze
* s4:pycredentials: PyArg_ParseTuple("i") requires an 'int' argument.Stefan Metzmacher2011-08-081-6/+30
| | | | | | If we pass variable references we don't get implicit casting! metze
* build: Make credentials a public library for OpenChange to useAndrew Bartlett2011-08-081-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Aug 8 14:53:53 CEST 2011 on sn-devel-104
* build: rename rpcommon to dcerpc-binding an make a public libraryAndrew Bartlett2011-08-081-1/+1
| | | | | | OpenChange needs this library. Andrew Bartlett
* build: provide tevent-util as a public libraryAndrew Bartlett2011-08-087-9/+9
| | | | | | | This is needed so that OpenChange can get at _tevent_req_nterr(), which is referenced by generated PIDL output. Andrew Bartlett
* sd_utils: Fix some formatting, add module docstring.Jelmer Vernooij2011-08-071-3/+5
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Aug 7 21:07:04 CEST 2011 on sn-devel-104