1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

54145 Commits

Author SHA1 Message Date
Günther Deschner
3938d1e5fa s3-docs: Fix Bug #4280. Shutdown scripts are called as root for privileged users.
GUenther
2009-06-12 00:48:23 +02:00
Jelmer Vernooij
b8f36d3eb8 selftest/buildfarm: Don't assume that a reason being specified is an indication of failure. 2009-06-12 00:22:39 +02:00
Jelmer Vernooij
8fc3602582 subunit-filter: Print names of skipped testsuites. 2009-06-12 00:22:39 +02:00
Andrew Bartlett
4c1a7d7556 Add supportedCapabilities to our rootDSE
This makes AD client tools happier, as they know they are talking to
an AD server.

per Bug 6229 by Matthieu Patou <mat@matws.net>

Andrew Bartlett
2009-06-12 07:51:43 +10:00
Andrew Bartlett
9b261c008a s4:heimdal: import lorikeet-heimdal-200906080040 (commit 904d0124b46eed7a8ad6e5b73e892ff34b6865ba)
Also including the supporting changes required to pass make test

A number of heimdal functions and constants have changed since we last
imported a tree (for the better, but inconvenient for us).

Andrew Bartlett
2009-06-12 07:45:48 +10:00
Jeremy Allison
5cef57ff7d Fix bug #6297 - owner of sticky directory cannot delete files created by others.
The reason we couldn't delete was we were erroring out early
if requestor was not the owner of the file we wanted to delete,
instead of checking if the requestor owned the directory as well.
If either of these is true, we must go on and check the ACL.
Karolin, this is a must for 3.4.0 and also 3.3.next. I'll update
the bug report with patches for 3.4.0 and 3.3.next and ask vl
to review.
Jeremy.
2009-06-11 12:51:45 -07:00
Tim Prouty
ef55c2bd91 s3 passdb ads: add missing character 2009-06-11 11:01:51 -07:00
Tim Prouty
62f36b163d s3: Prepare the rename path for passing smb_filename to SMB_VFS_CREATE_FILE 2009-06-11 11:01:51 -07:00
Tim Prouty
3950675bbd s3: Prepare the do_unlink path for passing smb_filname to SMB_VFS_CREATE_FILE 2009-06-11 11:01:51 -07:00
Tim Prouty
6eadb8a285 s3: refactor utility function to handle splitting the directory from the mask 2009-06-11 11:01:50 -07:00
Jelmer Vernooij
cc216340a6 selftest: Fix exit code for format-subunit.pl. 2009-06-11 20:00:00 +02:00
Jelmer Vernooij
3344df8d2f selftest: Fix uninitialized variables in selftest output. 2009-06-11 20:00:00 +02:00
Jelmer Vernooij
43143aa481 Fix Samba 3 selftest to use new selftest formatting functions. 2009-06-11 20:00:00 +02:00
Jelmer Vernooij
2ffffcb220 subunit: Sort diff output. 2009-06-11 20:00:00 +02:00
Jelmer Vernooij
9faaffa87b selftest: Make it easier to do subunit diffs from other apps. 2009-06-11 19:59:59 +02:00
Jelmer Vernooij
84f2d3001d selftest/subunit: Add diff command that can diff two subunit streams. 2009-06-11 19:59:59 +02:00
Jelmer Vernooij
d8a77a798b selftest: Properly recognize xfail testsuites. 2009-06-11 19:59:59 +02:00
Jelmer Vernooij
2e311fdac5 selftest/subunit: Remove open_tests argument from parse_results. 2009-06-11 19:59:59 +02:00
Jelmer Vernooij
ed61cc5419 selftest: Fix subunit formatting, fix years when filtering subunit
streams.
2009-06-11 19:59:59 +02:00
Jelmer Vernooij
68578d6374 selftest: Fix handling of testsuite, reintroduce progress indication. 2009-06-11 19:59:59 +02:00
Jelmer Vernooij
e979560c13 selftest: Remove unnecessary uses. 2009-06-11 19:59:59 +02:00
Jelmer Vernooij
8a76e4ab29 selftest/subunit: Remove prefix command. 2009-06-11 19:59:58 +02:00
Jelmer Vernooij
4308e69084 selftest: Fix subunit stream to include the right prefixes rather than
extending the subunit protocol.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
c278ee50ee More work supporting prefixes. 2009-06-11 19:59:58 +02:00
Jelmer Vernooij
16a69f358a selftest: Use external processes for filtering known failures and pretty
formatting.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
9bdf76c9c2 selftest: Avoid decreasing total testsuites if the original total is not
known.
2009-06-11 19:59:58 +02:00
Jelmer Vernooij
24f01e70aa selftest: Use filter-xfail for known failures 2009-06-11 19:59:58 +02:00
Jelmer Vernooij
4e276fb60a selftest: Add script to filter out known failures from a subunit stream. 2009-06-11 19:59:58 +02:00
Jelmer Vernooij
0e2f97092c Subunit: Support "fail" as alias for "failure" in Subunit streams. 2009-06-11 19:59:58 +02:00
Jelmer Vernooij
9e108009d0 subunit: Move more Subunit printing logic to Subunit.pm. 2009-06-11 19:59:57 +02:00
Jelmer Vernooij
0a1dbf353d subunit: Support the time: command. 2009-06-11 19:59:57 +02:00
Jelmer Vernooij
7ea3cc5f29 selftest: Use subunit internally, and a separate test output formatter. 2009-06-11 19:59:57 +02:00
Volker Lendecke
117c19efa4 Implement pdb_enum_alias_memberships 2009-06-11 18:04:35 +02:00
Jelmer Vernooij
3174de69d5 Fix build with external talloc. 2009-06-11 16:31:07 +02:00
Andrew Bartlett
223b30f593 Fix build of recurusion fix in reopen_logs() 2009-06-11 19:08:33 +10:00
Nadezhda Ivanova
e9caf7d063 A script to compare the differences in nTSecurityDescriptor between 2 hosts
This script walks the schema, configuration and domain partitions of the locally
installed Ldb and a remote hosts and compares the descriptors disregarding the
difference in domain SID. The goal is to make sure a freshly provisioned Samba
has the correct descriptors so ACLs work correctly. It outputs the descriptors
in short SDDL, where the correct SIDs are to be replaced during provisioning.
Optionally it can be output as an LDIF file with the current local domain and
domain SIDs.
2009-06-11 18:54:32 +10:00
Andrew Bartlett
e5353ce95b Don't recurse in reopen_logs().
Use the state to avoid recursion in reopen_logs(), as DEBUG() can call
this function.

Andrew Bartlett
2009-06-11 18:54:32 +10:00
Volker Lendecke
6372bd695d Implement pdb_ads_set_aliasinfo 2009-06-10 23:57:49 +02:00
Volker Lendecke
baa47dd278 pdb_default_aliasinfo is just fine for pdb_ads right now 2009-06-10 23:57:49 +02:00
Volker Lendecke
96df53fdc7 Implement pdb_ads_lookup_rids 2009-06-10 23:08:09 +02:00
Volker Lendecke
6e9e0334ff Fix a segfault in pdb_ads_delete_user()
If a user comes from the passdb cache, priv is NULL
2009-06-10 23:08:09 +02:00
Tim Prouty
a9ec21cf21 s3: Prepare the first set of SMB_VFS_CREATE_FILE callers to take an smb_filename struct
Some of the callers required minimal changes, while others
(copy_internals) required significant changes.  The task is simplified
a little bit because we are able to do operations and checks on the
base_name when a stream isn't used.

This patch should cause no functional changes.

Volker, Jeremy: Please check
2009-06-10 13:13:27 -07:00
Tim Prouty
bddd7ad3dc s3: Add utility function for copying an smb_filename struct 2009-06-10 13:13:27 -07:00
Tim Prouty
5b2034f9c1 s3: Remove the now unused CFF_DOS_PATH flag
All paths are now unix paths, making this flag useless.

This flags argument is now unused and can be safely removed.
2009-06-10 13:13:27 -07:00
Tim Prouty
2481d8dcd0 s3: Remove unix_convert handling from createfile implementations 2009-06-10 13:13:27 -07:00
Tim Prouty
6088e554f5 s3: Make all callers of SMB_VFS_CREATEFILE call unix_convert first
This step is a requirement to change SMB_VFS_CREATEFILE to take an
smb_filename struct.
2009-06-10 13:13:26 -07:00
Tim Prouty
ab779f5c34 s3: Remove extraneous calls to unix_convert
Not only are these unnecessary in spirit because unlink_internals
calls unix_convert, but in practice the return value is simply being
ignored right now.
2009-06-10 13:13:26 -07:00
Tim Prouty
fc2a3b66db s3: Remove unused stat structs being passed to SMB_VFS_CREATE_FILE 2009-06-10 13:13:26 -07:00
Günther Deschner
b152afeade s3-libwbclient: fix unresolved symbols in libwbclient.
Kai, please check.

Guenther
2009-06-10 21:25:58 +02:00
Günther Deschner
27bb7ac5d1 lib-util: move set_blocking() call into own file.
Guenther
2009-06-10 21:25:57 +02:00