Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-05-02 | s3-idmap: remove (now) unused function idmap_cache_set_sid2both() | Andrew Bartlett | 2 | -25/+0 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-05-02 | s3-idmap: convert most idmap_cache callers to unixid API | Andrew Bartlett | 4 | -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-02 | s3-idmap: Rework idmap_cache to store ID_TYPE_BOTH values | Andrew Bartlett | 2 | -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-02 | s3-winbindd: Do not use WBC_ types internally in winbindd | Andrew Bartlett | 1 | -3/+5 | |
Use the types from idmap.idl instead Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-05-02 | s3:passdb: remove a forward declaration of wbcSidToUnixId that has become ↵ | Michael Adam | 1 | -1/+0 | |
unnecessary | |||||
2012-05-02 | s3:passdb: rename sids_to_unix_ids() --> sids_to_unixids() for consistency | Michael Adam | 3 | -4/+4 | |
2012-05-02 | s3-passdb: Use struct unixid in sids_to_unix_ids | Andrew Bartlett | 3 | -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-02 | s3-passdb: Rename legacy_sid_to_id -> legacy_sid_to_unixid for clarity | Andrew Bartlett | 1 | -3/+3 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-05-02 | s3-passdb: Change pdb_sid_to_id() to return struct unixid | Andrew Bartlett | 9 | -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-02 | selftest: make the knownfail patterns for the driver_info_winreg more specific | Michael Adam | 1 | -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-02 | s4-provision: Fix up --use-s3fs to create the directory for xattr.tdb | Andrew Bartlett | 1 | -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-02 | s4-wintest: --use-s3fs in wintest | Andrew Bartlett | 1 | -1/+2 | |
2012-05-02 | s4-provision: Fix --use-s3fs to parse correctly | Andrew Bartlett | 1 | -1/+1 | |
2012-05-02 | testsuite/libsmbclient: Remove unused and expensive-to-link testsuite | Andrew Bartlett | 149 | -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-02 | selftest: 'store dos attributes = yes' is now set in fileserver.conf | Andrew Bartlett | 1 | -4/+0 | |
As such, there is no need to set it or the permissions-based mappings here as well. Andrew Bartlett | |||||
2012-05-02 | s4-provision: set 'dcerpc endpoint servers' but not 'vfs objects' | Andrew Bartlett | 1 | -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-02 | file_server: set 'store dos attributes = yes' | Andrew Bartlett | 1 | -0/+5 | |
This means we do not need the old permissions-based mappings. Andrew Bartlett | |||||
2012-05-02 | selftest: run more raw.samba3 against secshare simple file server | Andrew Bartlett | 1 | -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-02 | selftest: Run smbtorture tests being run against s3dc against plugin_s4_dc ↵ | Andrew Bartlett | 1 | -3/+7 | |
as well | |||||
2012-05-02 | selftest: Do not start samba4 srvsvc in plugin_s4_dc mode | Andrew Bartlett | 1 | -1/+1 | |
2012-05-02 | selftest: add hooks required for printing to Samba4.pm | Andrew Bartlett | 1 | -0/+16 | |
2012-05-02 | selftest: mark samba3.raw.samba3checkfsp as flapping on plugin_s4_dc | Andrew Bartlett | 2 | -2/+4 | |
This fails on my Fedora 16 workstation, but passes on sn-devel. Andrew Bartlett | |||||
2012-05-02 | selftest: mark samba3.raw.acls.inheritance(plugin_s4_dc) as flapping | Andrew Bartlett | 2 | -4/+4 | |
This seems to succeed on sn-devel, but fails in a local make test on my workstation. Andrew Bartlett | |||||
2012-05-02 | selftest: add knownfail entries for plugin_s4_dc tests | Andrew Bartlett | 1 | -0/+112 | |
2012-05-02 | selftest: change knownfail to cope with running plugin_s4_dc as well | Andrew Bartlett | 1 | -1/+1 | |
2012-05-02 | file_server: use embedded srvsvc | Andrew Bartlett | 1 | -0/+1 | |
2012-05-02 | file_server: Use the embedded winreg server | Andrew Bartlett | 1 | -0/+1 | |
2012-05-02 | file_server: use embedded ntsvcs server | Andrew Bartlett | 1 | -0/+1 | |
2012-05-02 | file_server: use embedded eventlog server | Andrew Bartlett | 1 | -0/+1 | |
2012-05-02 | file_server: forward dssetup, but use embedded svcctl for s3fs | Andrew Bartlett | 1 | -1/+1 | |
2012-05-02 | selftest: Use same pattern for path to share as Samba3.pm | Andrew Bartlett | 1 | -13/+15 | |
This helps as we declare tests that were previously targetted at Samba3 only. Andrew Bartlett | |||||
2012-05-02 | selftest: Add hideunread share to plugin_s4_dc | Andrew Bartlett | 1 | -0/+3 | |
2012-05-02 | selftest: run plugin_s4_dc with 'acl_xattr xattr_tdb streams_depot' VFS modules | Andrew Bartlett | 1 | -0/+1 | |
2012-05-02 | selftest: prepare to run smbtorture tests against plugin_s4_dc | Andrew Bartlett | 1 | -10/+47 | |
2012-05-02 | selftest: attempt to test samba3hide in a different environment | Andrew Bartlett | 2 | -0/+5 | |
This should ensure that the samba3hide test is still run and passes, in a non-ACLed environment. Andrew Bartlett | |||||
2012-05-02 | selftest: Enable ACL testing against the s3dc environment | Andrew Bartlett | 3 | -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-02 | s3-smbd: Use security_session_user_level() rather than nt_token_check_sid() | Andrew Bartlett | 1 | -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-02 | s3:torture fix flakey testcase | Christian Ambach | 1 | -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-01 | s3:selftest run LOCAL-IDMAP-TDB-COMMON in make test | Christian Ambach | 1 | -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-01 | s3:torture: add idmap_tdb_common test code | Christian Ambach | 5 | -3/+1038 | |
2012-05-01 | s3:winbindd/idmap_tdb: use idmap_tdb_common code | Christian Ambach | 1 | -558/+18 | |
2012-05-01 | s3:winbindd/idmap_tdb2: fix logic error in set_mapping_action | Christian Ambach | 1 | -1/+1 | |
fix an endless loop | |||||
2012-05-01 | s3:winbindd/idmap_tdb2: use idmap_tdb_common code | Christian Ambach | 1 | -357/+91 | |
2012-05-01 | s3:winbindd/autorid use idmap_tdb_common code in autorid | Christian Ambach | 1 | -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-01 | s3:winbindd add idmap_tdb_common file to store common code of TDB idmap backends | Christian Ambach | 4 | -2/+796 | |
2012-05-01 | s3:util add sid_check_is_wellknown_builtin() | Christian Ambach | 2 | -0/+28 | |
2012-05-01 | move VERSION to alpha21 | Andrew Bartlett | 1 | -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-01 | prepare WHATSNEW for alpha20 and mark as release | Andrew Bartlett | 2 | -43/+37 | |
2012-05-01 | s4-upgradedns: Update serverdn with only the attributes that have changed | Amitay Isaacs | 1 | -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-01 | Fix bug #8873 - self granting privileges in security=ads. | Jeremy Allison | 1 | -4/+12 | |
Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 1 01:04:46 CEST 2012 on sn-devel-104 |