summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-samba-tool: use correct object notation ie. obj.method rather than ↵Matthieu Patou2011-06-191-37/+31
| | | | method(obj, ...)
* s4-sambatool: use correct way to call class methodsMatthieu Patou2011-06-191-53/+54
|
* s4-upgradeprovision: improve message outputMatthieu Patou2011-06-191-1/+1
|
* s4-upgradeprovision: skip versionNumber, it's used by GPOMatthieu Patou2011-06-191-0/+1
|
* s4-provision: Remove hard coded SD for CN=Sites containerMatthieu Patou2011-06-192-16/+0
| | | | | | | | With the fix introduced by Nadya in changeset 622ef6aed82a2f2f7748c2a88535486af77487de we are now able to generate correct SD (at least the same as W2k3R2 with a Forest Level of 2003), so there is no need for this fix anymore as it makes SDs for Forest Level 2003 and lower incorrect.
* s4-upgradeprovision: deltaattr can be empty or none tooMatthieu Patou2011-06-191-8/+8
|
* s4-upgradeprovision: handle the fact that oEMInformation might not be presentMatthieu Patou2011-06-191-2/+5
|
* s4-upgradeprovision: Rework completly how SDs are recalculatedMatthieu Patou2011-06-191-66/+99
|
* s4-python: make checks of sacl in get_diff_sddls optionnalMatthieu Patou2011-06-191-2/+6
|
* s4-upgradeprovision: remove useless commentMatthieu Patou2011-06-191-1/+0
|
* s4-upgradeprovision: ignore objectSidMatthieu Patou2011-06-191-2/+3
|
* s4-upgradeprovision: add a list of attribute that are not DSDB attribute ↵Matthieu Patou2011-06-191-0/+4
| | | | that we don't want to copy
* s4: fix wrong index usage PRIMARY_USER_SID_INDEX when it should have been ↵Matthieu Patou2011-06-191-1/+1
| | | | | | | | | | PRIMARY_GROUP_SID_INDEX The system account was instanciated with wrong user an group SIDs, group sid resulted being just the domain SID. Bug seems to date from fbe6d155bf177c610ee549cc534650b0f0700e8a. Andrew (B.) please check.
* s4-upgradeprovision: if there is nothing to really modify then skip itMatthieu Patou2011-06-191-0/+3
|
* s4-upgradeprovision: dn must be skipped as delta.remove("dn") do not remove ↵Matthieu Patou2011-06-191-0/+3
| | | | this attribute
* s4-upgradeprovision: change hashAttrNotCopied to be an arrayMatthieu Patou2011-06-191-26/+22
|
* s4-upgradeprovision: fix inverted logic and wrong flags on sd_flags controlMatthieu Patou2011-06-191-3/+4
|
* s4-upgradeprovision: remove useless codeMatthieu Patou2011-06-191-3/+0
|
* s4-upgradeprovision: don't print dn in the list of modified attributesMatthieu Patou2011-06-191-1/+2
|
* s4-upgradeprovision: clean up, reformating and update docsMatthieu Patou2011-06-191-9/+8
|
* s4-upgradeprovision: introduce invocation id in lastprovisionUSNsMatthieu Patou2011-06-192-29/+73
|
* s4-upgradeprovision: add function to know if attribute is replicated or notMatthieu Patou2011-06-191-0/+20
|
* s4-upgradeprovision: split update_present in two functions depending on the ↵Matthieu Patou2011-06-191-130/+171
| | | | | | | | | | method used In order to make the function a bit more clearer and with less depth, the selection of attribute that are not updated is split in two functions depending on the fact that we are using mainly replPropertyMetadata to make our choice or if we are using the list of attributes that should, could or shouldn't be updated/created/deleted.
* s4-upgradeprovision: handle_special_attributes don't really need ranges of ↵Matthieu Patou2011-06-191-5/+6
| | | | USNs, just the information if we are using replPropertyMetadata for attribute selection
* s4-python: fix wrong discovery of the site name in find_key_provision_parametersMatthieu Patou2011-06-191-1/+1
|
* s4-upgradeprovisision: fix bug 8063, old SD can miss some componenent ↵Matthieu Patou2011-06-191-16/+20
| | | | | | | | | (group, owner, ...) Don't make the assumption that SD are correct, they can be wrong and misformed. Fix this bug: https://bugzilla.samba.org/show_bug.cgi?id=8063
* s4-upgradeprovision: Fix an error, so that cursddl and refsddl are not the sameMatthieu Patou2011-06-191-1/+1
| | | | Thanks to Dirk Paulli for pointing it with his bug report.
* py-ldb: allow dictionnary like usage (ie. e.get("myattribute", defVal)Matthieu Patou2011-06-191-3/+8
|
* s4-errors: Import error maps from the source3/ unix -> ntstatus mappingAndrew Bartlett2011-06-171-0/+11
| | | | | | | | | | | We need to syncronise these mappings, as the duplication of this symobol in the build means that either may be called based only on library link orders. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jun 17 10:22:07 CEST 2011 on sn-devel-104
* errors: reorder error codes for easier s3/s4 comparisonAndrew Bartlett2011-06-171-3/+3
|
* s4-util: removed the s4 nterr.cAndrew Tridgell2011-06-172-55/+1
| | | | | | this is now in common code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libclu/util: Move get_friendly_nt_error_msg() in common.Andrew Bartlett2011-06-171-20/+0
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: exit with non-zero status on dbcheck failureAndrew Tridgell2011-06-171-1/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-auth: quiet down the krb5 warnings when kerberos is not set to 'MUST'Andrew Tridgell2011-06-172-2/+6
| | | | | | | this prevents spurious error messages on client commands when when we will fallback to NTLM authentication Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* samba-tool: show success message on group operationsAndrew Tridgell2011-06-171-0/+4
|
* s4-pysamdb: fixed the normalisation of grouptype in group addAndrew Tridgell2011-06-171-1/+7
| | | | | | | ldap integers are signed Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jun 17 05:43:18 CEST 2011 on sn-devel-104
* samba-tool: report total error count and suggest --fix if neededAndrew Tridgell2011-06-171-3/+10
|
* samba-tool: added attribute normalisation checksAndrew Tridgell2011-06-171-3/+53
| | | | | this checks that all attributes have the right normalisation, and offers to fix the ones that don't
* s4-dsdb: if we don't have a remote schema, then use the local oneAndrew Tridgell2011-06-171-2/+8
| | | | | this allows the use of drsuapi_to_ldb() on all attributes for the local database
* s4-pydsdb: added dsdb_normalise_attributes() callAndrew Tridgell2011-06-172-0/+109
| | | | | | this call converts a set of attributes to DRSUAPI format and back to ldb format. This has the effect of normalising the attributes using the schema syntax rules
* s4:winbind/wb_samba3_protocol.c - rework it using concrete enum valuesMatthias Dieter Wallnöfer2011-06-161-3/+27
| | | | | | | | This changes commit 49352cafb4259503e6afb44d38db9bfd525d5e0d to comply with kblin's plans. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Jun 16 10:14:52 CEST 2011 on sn-devel-104
* s4:ntvfs subsystems - rework it using concrete enum valuesMatthias Dieter Wallnöfer2011-06-164-5/+43
| | | | | This changes commit 260bc987b00b3fff6c9b99211627b14e9bd0789a to comply with metze's plans.
* s4:libcli/smb_composite: convert smb2_composite_setpathinfo_send/rev to ↵Stefan Metzmacher2011-06-152-59/+129
| | | | | | tevent_req metze
* samba-tool: disable validation on removing an empty attribute in dbcheckAndrew Tridgell2011-06-141-1/+1
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jun 14 10:49:34 CEST 2011 on sn-devel-104
* pyldb: make ldb operations more consistentAndrew Tridgell2011-06-141-12/+21
| | | | | | | This changes the controls option on ldb operations to be a keyword argument, which is more consistent with general python conventions. This also fixes the pydoc output to include the controls option.
* pyldb: added validate option to ldb.modify()Andrew Tridgell2011-06-141-9/+15
| | | | | | This allows validation of ldb messages in a ldb modify operation to be bypassed, by setting validate=False. This is useful in the dbcheck tool to allow for removing invalid empty attributes from the database
* s4:libcli/raw/raw*.c - add unhandled enum valuesMatthias Dieter Wallnöfer2011-06-112-2/+3
| | | | | | | Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Jun 11 18:46:13 CEST 2011 on sn-devel-104
* s4:torture/ndr/string.c - fix type-punned warning and remove unused variablesMatthias Dieter Wallnöfer2011-06-111-3/+2
| | | | Reviewed-by: Jelmer
* s4:ntvfs/smb2/vfs_smb2.c - remove unused variableMatthias Dieter Wallnöfer2011-06-111-1/+0
| | | | Reviewed-by: Jelmer
* s4:auth/ntlm/auth_unix.c - remove unused variablesMatthias Dieter Wallnöfer2011-06-111-2/+0
| | | | | | Relicts from commit 323c7445713d17989452b99bbb541248bb2388eb Reviewed-by: Jelmer