Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-06-20 | pyldb: add unit test for get(myattribute, defVal) | Matthieu Patou | 1 | -0/+5 | |
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Jun 20 09:23:15 CEST 2011 on sn-devel-104 | |||||
2011-06-20 | libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbol | Andrew Bartlett | 26 | -116/+116 | |
The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104 | |||||
2011-06-20 | libcli/util Bring samba4 unix -> nt_status code in common. | Andrew Bartlett | 5 | -169/+3 | |
Due to library link orders, this is already the function that is being used. However we still need to sort out the duplicate symbol issues, probably by renaming things. Andrew Bartlett | |||||
2011-06-20 | s3-libcli Remove unused error mapping tables | Andrew Bartlett | 1 | -549/+0 | |
The functions which uesed these tables have since moved in common. Andrew Bartlett | |||||
2011-06-20 | build: Put lockdir and cachedir in FHS-like locations by default | Andrew Bartlett | 1 | -2/+2 | |
This does not move statedir, leaving it in PREFIX/var/locks because state files such as idmap are dangerous to move, as they might re-create, causing chaos. This isn't ideal, but I don't have a better solution right now. Andrew Bartlett | |||||
2011-06-20 | s4-build Change default paths and --with flags for a 4.0 release | Andrew Bartlett | 1 | -58/+20 | |
The following changes are made since Samba 3.6: * --with-ncalrpcdir and --with-nmbdsocketdir are replaced with --with-socket-dir (with ntp_signd, winbindd, nmbd subdirs) * This moves the winbind socket out of /tmp. Distributions have moved this out of /tmp for quite some time now, and /var/run in the FHS blessed location these days. --with-socketdir should point to /var/run in a distribution package. * Configuration files are expected in PREFIX/etc instead of PREFIX/lib (they need to be moved manually) * SWAT data files have moved to PREFIX/share/swat (alongside PREFIX/share/setup containing samba4 provision templates). * The --with-fhs option is no longer available (it was never very useful, and major distributions (Debian, OpenSuSE, Fedora) either specified every option (overriding the effect) or didn't specify it at all. * PID files are now in PREFIX/var/run, moved from PREFIX/var/locks * The ncalrpc and nmbd sockets are now in PREFIX/var/run by default The following changes are made for users of Samba3 binaries built with the top level build in master * 'state' files are now expected to be in their Samba 3.6 location PREFIX/var/locks (and will need to be moved manually) Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-06-20 | s4-upgradeprovision: propose the use of findprovisionranges if no ranges are ↵ | Matthieu Patou | 1 | -0/+14 | |
present Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Jun 20 00:30:59 CEST 2011 on sn-devel-104 | |||||
2011-06-19 | s4: create script to find provision ranges for old provision without this ↵ | Matthieu Patou | 1 | -0/+174 | |
information | |||||
2011-06-19 | s4-sambatool: extract the confirm function in a separte module for reuse | Matthieu Patou | 2 | -10/+36 | |
2011-06-19 | s4-samba-tool: remove unused imports | Matthieu Patou | 1 | -2/+1 | |
2011-06-19 | s4-samba-tool: use correct object notation ie. obj.method rather than ↵ | Matthieu Patou | 1 | -37/+31 | |
method(obj, ...) | |||||
2011-06-19 | s4-sambatool: use correct way to call class methods | Matthieu Patou | 1 | -53/+54 | |
2011-06-19 | s4-upgradeprovision: improve message output | Matthieu Patou | 1 | -1/+1 | |
2011-06-19 | s4-upgradeprovision: skip versionNumber, it's used by GPO | Matthieu Patou | 1 | -0/+1 | |
2011-06-19 | s4-provision: Remove hard coded SD for CN=Sites container | Matthieu Patou | 2 | -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. | |||||
2011-06-19 | s4-upgradeprovision: deltaattr can be empty or none too | Matthieu Patou | 1 | -8/+8 | |
2011-06-19 | s4-upgradeprovision: handle the fact that oEMInformation might not be present | Matthieu Patou | 1 | -2/+5 | |
2011-06-19 | s4-upgradeprovision: Rework completly how SDs are recalculated | Matthieu Patou | 1 | -66/+99 | |
2011-06-19 | s4-python: make checks of sacl in get_diff_sddls optionnal | Matthieu Patou | 1 | -2/+6 | |
2011-06-19 | s4-upgradeprovision: remove useless comment | Matthieu Patou | 1 | -1/+0 | |
2011-06-19 | s4-upgradeprovision: ignore objectSid | Matthieu Patou | 1 | -2/+3 | |
2011-06-19 | s4-upgradeprovision: add a list of attribute that are not DSDB attribute ↵ | Matthieu Patou | 1 | -0/+4 | |
that we don't want to copy | |||||
2011-06-19 | s4: fix wrong index usage PRIMARY_USER_SID_INDEX when it should have been ↵ | Matthieu Patou | 1 | -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. | |||||
2011-06-19 | s4-upgradeprovision: if there is nothing to really modify then skip it | Matthieu Patou | 1 | -0/+3 | |
2011-06-19 | s4-upgradeprovision: dn must be skipped as delta.remove("dn") do not remove ↵ | Matthieu Patou | 1 | -0/+3 | |
this attribute | |||||
2011-06-19 | s4-upgradeprovision: change hashAttrNotCopied to be an array | Matthieu Patou | 1 | -26/+22 | |
2011-06-19 | s4-upgradeprovision: fix inverted logic and wrong flags on sd_flags control | Matthieu Patou | 1 | -3/+4 | |
2011-06-19 | s4-upgradeprovision: remove useless code | Matthieu Patou | 1 | -3/+0 | |
2011-06-19 | s4-upgradeprovision: don't print dn in the list of modified attributes | Matthieu Patou | 1 | -1/+2 | |
2011-06-19 | s4-upgradeprovision: clean up, reformating and update docs | Matthieu Patou | 1 | -9/+8 | |
2011-06-19 | s4-upgradeprovision: introduce invocation id in lastprovisionUSNs | Matthieu Patou | 2 | -29/+73 | |
2011-06-19 | s4-upgradeprovision: add function to know if attribute is replicated or not | Matthieu Patou | 1 | -0/+20 | |
2011-06-19 | s4-upgradeprovision: split update_present in two functions depending on the ↵ | Matthieu Patou | 1 | -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. | |||||
2011-06-19 | s4-upgradeprovision: handle_special_attributes don't really need ranges of ↵ | Matthieu Patou | 1 | -5/+6 | |
USNs, just the information if we are using replPropertyMetadata for attribute selection | |||||
2011-06-19 | s4-python: fix wrong discovery of the site name in find_key_provision_parameters | Matthieu Patou | 1 | -1/+1 | |
2011-06-19 | s4-upgradeprovisision: fix bug 8063, old SD can miss some componenent ↵ | Matthieu Patou | 1 | -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 | |||||
2011-06-19 | s4-upgradeprovision: Fix an error, so that cursddl and refsddl are not the same | Matthieu Patou | 1 | -1/+1 | |
Thanks to Dirk Paulli for pointing it with his bug report. | |||||
2011-06-19 | py-ldb: allow dictionnary like usage (ie. e.get("myattribute", defVal) | Matthieu Patou | 1 | -3/+8 | |
2011-06-17 | s4-errors: Import error maps from the source3/ unix -> ntstatus mapping | Andrew Bartlett | 1 | -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 | |||||
2011-06-17 | errors: reorder error codes for easier s3/s4 comparison | Andrew Bartlett | 1 | -3/+3 | |
2011-06-17 | s4-util: removed the s4 nterr.c | Andrew Tridgell | 2 | -55/+1 | |
this is now in common code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-06-17 | libclu/util: Move get_friendly_nt_error_msg() in common. | Andrew Bartlett | 1 | -20/+0 | |
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-06-17 | samba-tool: exit with non-zero status on dbcheck failure | Andrew Tridgell | 1 | -1/+3 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-06-17 | s4-auth: quiet down the krb5 warnings when kerberos is not set to 'MUST' | Andrew Tridgell | 2 | -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> | |||||
2011-06-17 | samba-tool: show success message on group operations | Andrew Tridgell | 1 | -0/+4 | |
2011-06-17 | s4-pysamdb: fixed the normalisation of grouptype in group add | Andrew Tridgell | 1 | -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 | |||||
2011-06-17 | samba-tool: report total error count and suggest --fix if needed | Andrew Tridgell | 1 | -3/+10 | |
2011-06-17 | samba-tool: added attribute normalisation checks | Andrew Tridgell | 1 | -3/+53 | |
this checks that all attributes have the right normalisation, and offers to fix the ones that don't | |||||
2011-06-17 | s4-dsdb: if we don't have a remote schema, then use the local one | Andrew Tridgell | 1 | -2/+8 | |
this allows the use of drsuapi_to_ldb() on all attributes for the local database | |||||
2011-06-17 | s4-pydsdb: added dsdb_normalise_attributes() call | Andrew Tridgell | 2 | -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 |