summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3-passdb: Add extra debug on ID mapping failuresAndrew Bartlett2012-05-021-0/+7
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed May 2 15:34:13 CEST 2012 on sn-devel-104
* s3-idmap: remove (now) unused function idmap_cache_set_sid2both()Andrew Bartlett2012-05-022-25/+0
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-idmap: convert most idmap_cache callers to unixid APIAndrew Bartlett2012-05-024-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>
* s3-idmap: Rework idmap_cache to store ID_TYPE_BOTH valuesAndrew Bartlett2012-05-022-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>
* s3-winbindd: Do not use WBC_ types internally in winbinddAndrew Bartlett2012-05-021-3/+5
| | | | | | Use the types from idmap.idl instead Signed-off-by: Michael Adam <obnox@samba.org>
* s3:passdb: remove a forward declaration of wbcSidToUnixId that has become ↵Michael Adam2012-05-021-1/+0
| | | | unnecessary
* s3:passdb: rename sids_to_unix_ids() --> sids_to_unixids() for consistencyMichael Adam2012-05-023-4/+4
|
* s3-passdb: Use struct unixid in sids_to_unix_idsAndrew Bartlett2012-05-023-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>
* s3-passdb: Rename legacy_sid_to_id -> legacy_sid_to_unixid for clarityAndrew Bartlett2012-05-021-3/+3
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-passdb: Change pdb_sid_to_id() to return struct unixidAndrew Bartlett2012-05-029-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>
* selftest: make the knownfail patterns for the driver_info_winreg more specificMichael Adam2012-05-021-2/+2
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed May 2 11:23:26 CEST 2012 on sn-devel-104
* s4-provision: Fix up --use-s3fs to create the directory for xattr.tdbAndrew Bartlett2012-05-021-4/+8
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed May 2 04:45:05 CEST 2012 on sn-devel-104
* s4-wintest: --use-s3fs in wintestAndrew Bartlett2012-05-021-1/+2
|
* s4-provision: Fix --use-s3fs to parse correctlyAndrew Bartlett2012-05-021-1/+1
|
* testsuite/libsmbclient: Remove unused and expensive-to-link testsuiteAndrew Bartlett2012-05-02149-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
* selftest: 'store dos attributes = yes' is now set in fileserver.confAndrew Bartlett2012-05-021-4/+0
| | | | | | As such, there is no need to set it or the permissions-based mappings here as well. Andrew Bartlett
* s4-provision: set 'dcerpc endpoint servers' but not 'vfs objects'Andrew Bartlett2012-05-021-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
* file_server: set 'store dos attributes = yes'Andrew Bartlett2012-05-021-0/+5
| | | | | | This means we do not need the old permissions-based mappings. Andrew Bartlett
* selftest: run more raw.samba3 against secshare simple file serverAndrew Bartlett2012-05-021-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
* selftest: Run smbtorture tests being run against s3dc against plugin_s4_dc ↵Andrew Bartlett2012-05-021-3/+7
| | | | as well
* selftest: Do not start samba4 srvsvc in plugin_s4_dc modeAndrew Bartlett2012-05-021-1/+1
|
* selftest: add hooks required for printing to Samba4.pmAndrew Bartlett2012-05-021-0/+16
|
* selftest: mark samba3.raw.samba3checkfsp as flapping on plugin_s4_dcAndrew Bartlett2012-05-022-2/+4
| | | | | | This fails on my Fedora 16 workstation, but passes on sn-devel. Andrew Bartlett
* selftest: mark samba3.raw.acls.inheritance(plugin_s4_dc) as flappingAndrew Bartlett2012-05-022-4/+4
| | | | | | | This seems to succeed on sn-devel, but fails in a local make test on my workstation. Andrew Bartlett
* selftest: add knownfail entries for plugin_s4_dc testsAndrew Bartlett2012-05-021-0/+112
|
* selftest: change knownfail to cope with running plugin_s4_dc as wellAndrew Bartlett2012-05-021-1/+1
|
* file_server: use embedded srvsvcAndrew Bartlett2012-05-021-0/+1
|
* file_server: Use the embedded winreg serverAndrew Bartlett2012-05-021-0/+1
|
* file_server: use embedded ntsvcs serverAndrew Bartlett2012-05-021-0/+1
|
* file_server: use embedded eventlog serverAndrew Bartlett2012-05-021-0/+1
|
* file_server: forward dssetup, but use embedded svcctl for s3fsAndrew Bartlett2012-05-021-1/+1
|
* selftest: Use same pattern for path to share as Samba3.pmAndrew Bartlett2012-05-021-13/+15
| | | | | | This helps as we declare tests that were previously targetted at Samba3 only. Andrew Bartlett
* selftest: Add hideunread share to plugin_s4_dcAndrew Bartlett2012-05-021-0/+3
|
* selftest: run plugin_s4_dc with 'acl_xattr xattr_tdb streams_depot' VFS modulesAndrew Bartlett2012-05-021-0/+1
|
* selftest: prepare to run smbtorture tests against plugin_s4_dcAndrew Bartlett2012-05-021-10/+47
|
* selftest: attempt to test samba3hide in a different environmentAndrew Bartlett2012-05-022-0/+5
| | | | | | | This should ensure that the samba3hide test is still run and passes, in a non-ACLed environment. Andrew Bartlett
* selftest: Enable ACL testing against the s3dc environmentAndrew Bartlett2012-05-023-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
* s3-smbd: Use security_session_user_level() rather than nt_token_check_sid()Andrew Bartlett2012-05-021-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
* s3:torture fix flakey testcaseChristian Ambach2012-05-021-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
* s3:selftest run LOCAL-IDMAP-TDB-COMMON in make testChristian Ambach2012-05-011-0/+1
| | | | | Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Tue May 1 11:07:08 CEST 2012 on sn-devel-104
* s3:torture: add idmap_tdb_common test codeChristian Ambach2012-05-015-3/+1038
|
* s3:winbindd/idmap_tdb: use idmap_tdb_common codeChristian Ambach2012-05-011-558/+18
|
* s3:winbindd/idmap_tdb2: fix logic error in set_mapping_actionChristian Ambach2012-05-011-1/+1
| | | | fix an endless loop
* s3:winbindd/idmap_tdb2: use idmap_tdb_common codeChristian Ambach2012-05-011-357/+91
|
* s3:winbindd/autorid use idmap_tdb_common code in autoridChristian Ambach2012-05-011-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)
* s3:winbindd add idmap_tdb_common file to store common code of TDB idmap backendsChristian Ambach2012-05-014-2/+796
|
* s3:util add sid_check_is_wellknown_builtin()Christian Ambach2012-05-012-0/+28
|
* move VERSION to alpha21Andrew Bartlett2012-05-011-2/+2
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue May 1 08:16:38 CEST 2012 on sn-devel-104
* prepare WHATSNEW for alpha20 and mark as releaseAndrew Bartlett2012-05-012-43/+37
|
* s4-upgradedns: Update serverdn with only the attributes that have changedAmitay Isaacs2012-05-011-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