summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* s3: Fix Coverity ID 2582: FORWARD_NULLVolker Lendecke2011-06-191-0/+5
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jun 19 20:46:43 CEST 2011 on sn-devel-104
* s3: Fix Coverity ID 2583: RESOURCE_LEAKVolker Lendecke2011-06-191-1/+5
|
* s3: Remove unused name_queriesVolker Lendecke2011-06-191-34/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jun 19 15:14:38 CEST 2011 on sn-devel-104
* s3: Fix some type-punned warningsVolker Lendecke2011-06-191-7/+8
|
* s3: Add name_resolve_bcast_send/recvVolker Lendecke2011-06-192-20/+104
|
* s3: Fix a memleak in name_resolve_bcastVolker Lendecke2011-06-191-4/+7
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jun 19 12:40:55 CEST 2011 on sn-devel-104
* s3: Test nttrans_createVolker Lendecke2011-06-195-0/+112
| | | | This is a test for the share security descriptor exception for nttrans_create
* s3: Add incomplete cli_nttrans_createVolker Lendecke2011-06-192-0/+208
| | | | secdesc only at this moment
* s3: Correctly align evenVolker Lendecke2011-06-191-1/+3
|
* s3: Allow NULL sd_size in make_sec_descVolker Lendecke2011-06-181-2/+10
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jun 18 22:26:15 CEST 2011 on sn-devel-104
* s3:modules fix Bug 8244 - Cannot copy files larger than 2 GB to Samba shareChristian Ambach2011-06-171-3/+3
| | | | | | | | | | | | | the time_audit module uses int instead of uint64 as return value in get_alloc_size so that sizes of files larger than 2 GB are cut of leading to wrong replies to NtCreateAndX and Windows clients giving up While checking the types of all functions, I found two more wrong return value types that needed correction Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri Jun 17 23:11:10 CEST 2011 on sn-devel-104
* 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-172-14/+14
|
* 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>
* s3-util: remove the s3 nterr.cAndrew Tridgell2011-06-174-66/+2
| | | | | | this is now in common code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* util: moved nt_errstr() into common codeAndrew Tridgell2011-06-172-8/+23
| | | | | | | | | this brings nt_errstr() into common code, using the new talloc_stackframe_exists() to ensure that we only allocate an error string using talloc_tos() if a talloc stackframe does currently exists. This makes it safe to use in external libraries Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libclu/util: Move get_friendly_nt_error_msg() in common.Andrew Bartlett2011-06-174-40/+52
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* build: only use the git version on install, not in the build treeAndrew Tridgell2011-06-174-9/+13
| | | | | | | | | | | | | | having the git version in our version.h in the build tree is annoying for developers, as every time you commit or rebase you need to spend several minutes re-linking. This changes it to use the git version only on install, which is much more useful as when you actually install the binaries you may be using them in a way that reporting the version is useful Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jun 17 08:37:06 CEST 2011 on sn-devel-104
* samba-tool: exit with non-zero status on dbcheck failureAndrew Tridgell2011-06-171-1/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* talloc: added talloc_stackframe_exists()Andrew Tridgell2011-06-172-0/+25
| | | | | | | | | This can be used to tell if a talloc stackframe is currently available. Callers can use this to decide if they will use talloc_tos() or instead use an alternative strategy. This gives us a way to safely have calls to talloc_tos() in common code that may end up in external libraries, as long as all talloc_tos() calls in these pieces of common code check first that a stackframe is available.
* 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
* s3:wb_lookupsids: add some paranoia checks to wb_lookupsids_recv()Stefan Metzmacher2011-06-161-0/+18
| | | | | | | | | This hopefully catches future bugs. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jun 16 19:50:16 CEST 2011 on sn-devel-104
* s3:wb_lookupsids: don't ignore 'result' and check if we got useable valuesStefan Metzmacher2011-06-161-4/+48
| | | | | | | The wrong fix for bug #8215 discovered this bug, as it caused sam_rids_to_names() to always return NT_STATUS_NONE_MAPPED. metze
* Revert "s3-winbind: Fix paranoia checks in winbindd_samr.c."Stefan Metzmacher2011-06-161-2/+2
| | | | | | | | This reverts commit 207a84d725b905c2b119d2ef0f4f4d4eb391140d. This is the wrong fix for the problem, see bug #8215. metze
* s3:rpc_server/svcctl: fix valgrind bug in _svcctl_QueryServiceObjectSecurity()Stefan Metzmacher2011-06-161-1/+1
| | | | | | | | | | | r->out.buffer needs to stay in its size, as it will be marshalled completely. As it's preallocated and initialized with zeros, we just need to copy the payload into it, even if it's smaller than the offered buffer size. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jun 16 14:15:47 CEST 2011 on sn-devel-104
* s3:rpc_server/svcctl: fix valgrind bugs in _svcctl_QueryServiceConfig2W()Stefan Metzmacher2011-06-161-9/+5
| | | | | | | | | | | r->out.buffer needs to stay in its size, as it will be marshalled completely. As it's preallocated and initialized with zeros, we just need to copy the payload into it. If we always marshall the return buffer, we already have the needed buffer size and don't need to call ndr_size_* functions. metze
* s3:rpc_server/svcctl: don't allocate return values on a temporary stackframeStefan Metzmacher2011-06-161-5/+3
| | | | | | | | | | | And always initialize the whole return structure. This caused samba3.posix_s3.rpc.svcctl to be flakey. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jun 16 11:34:34 CEST 2011 on sn-devel-104
* 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.