summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-05-02s3-idmap: convert most idmap_cache callers to unixid APIAndrew Bartlett4-55/+52
This will eventually allow the struct unixid to be passed all the way up and down the stack. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org>
2012-05-02s3-idmap: Rework idmap_cache to store ID_TYPE_BOTH valuesAndrew Bartlett2-176/+240
This required that the lower level cache store a UID/GID and a type, and that we operate on struct unixid rather than just uid/gid. The ID_TYPE_BOTH is then handled as being a positive mapping for both a UID and GID value. Wrapper functions are provided so that callers are not changed in this patch. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org>
2012-05-02s3-winbindd: Do not use WBC_ types internally in winbinddAndrew Bartlett1-3/+5
Use the types from idmap.idl instead Signed-off-by: Michael Adam <obnox@samba.org>
2012-05-02s3:passdb: remove a forward declaration of wbcSidToUnixId that has become ↵Michael Adam1-1/+0
unnecessary
2012-05-02s3:passdb: rename sids_to_unix_ids() --> sids_to_unixids() for consistencyMichael Adam3-4/+4
2012-05-02s3-passdb: Use struct unixid in sids_to_unix_idsAndrew Bartlett3-24/+39
This avoids the union in the struct wbcUnixId and moves us to using only struct unixid internally. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org>
2012-05-02s3-passdb: Rename legacy_sid_to_id -> legacy_sid_to_unixid for clarityAndrew Bartlett1-3/+3
Signed-off-by: Michael Adam <obnox@samba.org>
2012-05-02s3-passdb: Change pdb_sid_to_id() to return struct unixidAndrew Bartlett9-161/+147
This will make it easier to consistantly pass a struct unixid all the way up and down the idmap stack, and allow ID_TYPE_BOTH to be handled correctly. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org>
2012-05-02selftest: make the knownfail patterns for the driver_info_winreg more specificMichael Adam1-2/+2
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed May 2 11:23:26 CEST 2012 on sn-devel-104
2012-05-02s4-provision: Fix up --use-s3fs to create the directory for xattr.tdbAndrew Bartlett1-4/+8
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed May 2 04:45:05 CEST 2012 on sn-devel-104
2012-05-02s4-wintest: --use-s3fs in wintestAndrew Bartlett1-1/+2
2012-05-02s4-provision: Fix --use-s3fs to parse correctlyAndrew Bartlett1-1/+1
2012-05-02testsuite/libsmbclient: Remove unused and expensive-to-link testsuiteAndrew Bartlett149-11526/+0
This testsuite never got off the ground, and unlike the other libsmbclient tests, it is not integrated into make test, has no driver script we could integrate. As it has been in this state for 10 years, and adding it to the compile did not find any link-time issues (particularly in comparison to the link-time cost for so many individual binaries), I am now removing them. The libsmbclient examples are seperate to this, and remain in examples/libsmbclient. Andrew Bartlett
2012-05-02selftest: 'store dos attributes = yes' is now set in fileserver.confAndrew Bartlett1-4/+0
As such, there is no need to set it or the permissions-based mappings here as well. Andrew Bartlett
2012-05-02s4-provision: set 'dcerpc endpoint servers' but not 'vfs objects'Andrew Bartlett1-1/+1
The VFS objects are now set in the fileserver.conf, but this is only read by smbd, so the provision-time smb.conf needs to turn off the extra Samba4 DCE/RPC services. Andrew Bartlett
2012-05-02file_server: set 'store dos attributes = yes'Andrew Bartlett1-0/+5
This means we do not need the old permissions-based mappings. Andrew Bartlett
2012-05-02selftest: run more raw.samba3 against secshare simple file serverAndrew Bartlett1-1/+1
This allows these tests to run in an environment where they can pass, as they fail when ACL support is turned on in smbd. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed May 2 02:51:27 CEST 2012 on sn-devel-104
2012-05-02selftest: Run smbtorture tests being run against s3dc against plugin_s4_dc ↵Andrew Bartlett1-3/+7
as well
2012-05-02selftest: Do not start samba4 srvsvc in plugin_s4_dc modeAndrew Bartlett1-1/+1
2012-05-02selftest: add hooks required for printing to Samba4.pmAndrew Bartlett1-0/+16
2012-05-02selftest: mark samba3.raw.samba3checkfsp as flapping on plugin_s4_dcAndrew Bartlett2-2/+4
This fails on my Fedora 16 workstation, but passes on sn-devel. Andrew Bartlett
2012-05-02selftest: mark samba3.raw.acls.inheritance(plugin_s4_dc) as flappingAndrew Bartlett2-4/+4
This seems to succeed on sn-devel, but fails in a local make test on my workstation. Andrew Bartlett
2012-05-02selftest: add knownfail entries for plugin_s4_dc testsAndrew Bartlett1-0/+112
2012-05-02selftest: change knownfail to cope with running plugin_s4_dc as wellAndrew Bartlett1-1/+1
2012-05-02file_server: use embedded srvsvcAndrew Bartlett1-0/+1
2012-05-02file_server: Use the embedded winreg serverAndrew Bartlett1-0/+1
2012-05-02file_server: use embedded ntsvcs serverAndrew Bartlett1-0/+1
2012-05-02file_server: use embedded eventlog serverAndrew Bartlett1-0/+1
2012-05-02file_server: forward dssetup, but use embedded svcctl for s3fsAndrew Bartlett1-1/+1
2012-05-02selftest: Use same pattern for path to share as Samba3.pmAndrew Bartlett1-13/+15
This helps as we declare tests that were previously targetted at Samba3 only. Andrew Bartlett
2012-05-02selftest: Add hideunread share to plugin_s4_dcAndrew Bartlett1-0/+3
2012-05-02selftest: run plugin_s4_dc with 'acl_xattr xattr_tdb streams_depot' VFS modulesAndrew Bartlett1-0/+1
2012-05-02selftest: prepare to run smbtorture tests against plugin_s4_dcAndrew Bartlett1-10/+47
2012-05-02selftest: attempt to test samba3hide in a different environmentAndrew Bartlett2-0/+5
This should ensure that the samba3hide test is still run and passes, in a non-ACLed environment. Andrew Bartlett
2012-05-02selftest: Enable ACL testing against the s3dc environmentAndrew Bartlett3-10/+5
Previously, ACL tests were skipped and the correct modules for ACL testing were not loaded. The addition of a knownfail entry for raw.samba3* tests is due to an inconsitancy between the behaviour with and without ACL modules loaded - posix chown calls appear to be ignored in this mode. Andrew Bartlett
2012-05-02s3-smbd: Use security_session_user_level() rather than nt_token_check_sid()Andrew Bartlett1-13/+1
This allows the unix.whoami test to pass when configured as part of the AD DC. The struct auth_session_info is slightly different in the AD DC configuration when using auth_samba4. In particular, there is a distinction between Guest and Anonymous logins. Andrew Bartlett
2012-05-02s3:torture fix flakey testcaseChristian Ambach1-6/+20
don't put database into /tmp, use lp_private_dir() to put it into the selftest prefix Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Wed May 2 00:57:05 CEST 2012 on sn-devel-104
2012-05-01s3:selftest run LOCAL-IDMAP-TDB-COMMON in make testChristian Ambach1-0/+1
Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Tue May 1 11:07:08 CEST 2012 on sn-devel-104
2012-05-01s3:torture: add idmap_tdb_common test codeChristian Ambach5-3/+1038
2012-05-01s3:winbindd/idmap_tdb: use idmap_tdb_common codeChristian Ambach1-558/+18
2012-05-01s3:winbindd/idmap_tdb2: fix logic error in set_mapping_actionChristian Ambach1-1/+1
fix an endless loop
2012-05-01s3:winbindd/idmap_tdb2: use idmap_tdb_common codeChristian Ambach1-357/+91
2012-05-01s3:winbindd/autorid use idmap_tdb_common code in autoridChristian Ambach1-86/+227
- use common logic for the allocation pool - add a idmap_tdb style 1on1 mapping for non-domain SIDs like Everyone (S-1-1-0)
2012-05-01s3:winbindd add idmap_tdb_common file to store common code of TDB idmap backendsChristian Ambach4-2/+796
2012-05-01s3:util add sid_check_is_wellknown_builtin()Christian Ambach2-0/+28
2012-05-01move VERSION to alpha21Andrew Bartlett1-2/+2
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue May 1 08:16:38 CEST 2012 on sn-devel-104
2012-05-01prepare WHATSNEW for alpha20 and mark as releaseAndrew Bartlett2-43/+37
2012-05-01s4-upgradedns: Update serverdn with only the attributes that have changedAmitay Isaacs1-11/+21
This fixes the issue of ldb 'Operations Error' when trying to modify hasPartialReplicaNCs attribute. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue May 1 05:28:04 CEST 2012 on sn-devel-104
2012-05-01Fix bug #8873 - self granting privileges in security=ads.Jeremy Allison1-4/+12
Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 1 01:04:46 CEST 2012 on sn-devel-104
2012-04-30Fix the loop unrolling inside resolve_ads(). If we don't getJeremy Allison1-34/+73
an IP list don't use interpret_string_addr(), as this only returns one address, use interpret_string_addr_internal() instead. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 30 23:21:16 CEST 2012 on sn-devel-104