summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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 releasesamba-4.0.0alpha20Andrew 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
* Fix bug #8873 - self granting privileges in security=ads.Jeremy Allison2012-05-011-4/+12
| | | | | Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 1 01:04:46 CEST 2012 on sn-devel-104
* Fix the loop unrolling inside resolve_ads(). If we don't getJeremy Allison2012-04-301-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
* Protect all of the name resolution methods from returning null addrs. Ensure ↵Jeremy Allison2012-04-301-9/+19
| | | | all returns go through remove_duplicate_addrs2().
* Fix convert_ss2service() to filter out zero addresses.Jeremy Allison2012-04-301-12/+33
|
* Fix remove_duplicate_addrs2 to do exactly what it says. Previously it could ↵Jeremy Allison2012-04-301-10/+9
| | | | leave zero addresses in the list.
* s4:samldb LDB module - homogenize LDB search attributes arraysMatthias Dieter Wallnöfer2012-04-301-13/+13
| | | | | | | | | | | First they do not need to be "static" any longer since we have abandoned asynchronous result handling (where global variables have been important). In addition add some "const" in order to protect us from unwanted writes. Reviewed-by: Andrew Bartlett Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Apr 30 16:46:20 CEST 2012 on sn-devel-104
* s4-libnet: Add mem_ctx to libnet_rpc_groupdel calls (bug #8889)Andrew Bartlett2012-04-301-2/+3
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 30 14:41:36 CEST 2012 on sn-devel-104
* s4-libnet: Add mem_ctx to libnet_rpc_groupadd calls (bug #8889)Andrew Bartlett2012-04-302-4/+5
|
* s4-libnet: Add mem_ctx to libnet_rpc_usermod calls (bug #8889)Andrew Bartlett2012-04-302-3/+4
|
* s4-libnet: Add mem_ctx to libnet_rpc_userdel calls (bug #8889)Andrew Bartlett2012-04-302-4/+5
|
* s4-libnet: Add mem_ctx to libnet_rpc_useradd calls (bug #8889)Andrew Bartlett2012-04-303-5/+6
|
* s4-libnet: Add mem_ctx to libnet_rpc_groupinfo calls (bug #8889)Andrew Bartlett2012-04-302-5/+6
|
* s4-libnet: Add mem_ctx to libnet_DomainClose calls (bug #8889)Andrew Bartlett2012-04-301-5/+8
|
* s4-libnet: Add mem_ctx to libnet_DomainOpen calls (bug #8889)Andrew Bartlett2012-04-305-20/+25
|
* s4-libnet: Add mem_ctx to libnet_Lookup calls (bug #8889)Andrew Bartlett2012-04-301-4/+6
|
* net: Let get*sid return error from passdb initChristof Schmitt2012-04-301-6/+4
| | | | | | | | | When initialize_password_db returns an error this means that the SID stored in the backend cannot be read. Return this error directly instead of creating a random SID through get_global_sam_sid. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Apr 30 13:07:20 CEST 2012 on sn-devel-104
* passdb: Do not panic in initialize_password_dbChristof Schmitt2012-04-301-17/+17
| | | | | | | | | | | | A call to initialize_password_db leads to smb_panic in case the backend returns an error. All callers to initialize_password_db check the return value, so this code path should return the status instead of calling smb_panic. Move the call to smb_panic from pdb_get_methods_reload pdb_get_methods to get it out of the initialize code path. This allows printing the proper error message for 'net getlocalsid' which is much nicer than printing the panic stack trace.
* s3-auth_samba4: use new_server_id_task() to allocate server id valuesAndrew Bartlett2012-04-301-6/+27
| | | | | | | | | This is rather than just picking a random number out of the air. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 30 11:29:34 CEST 2012 on sn-devel-104
* s3-lib Add a way to allocate the task_id value in server_idAndrew Bartlett2012-04-303-2/+44
| | | | | | | | This safely allocates the task_id so that when we have multiple event contexts, they can each have their own messaging context, particularly for the imessaging subsystem under source4. Andrew Bartlett
* s4-messaging: Fill in the whole server_id in all use casesAndrew Bartlett2012-04-304-4/+12
| | | | | | | | | | | | This started per https://bugzilla.samba.org/show_bug.cgi?id=8872#c4 and avoids any possible collision with a different process. We also need to ensure that across a Samba installation on a single node that id.vnn is the same. Samba4 previously used 0, while Samba3 used NONCLUSTER_VNN. When a message is sent between these 'different' nodes, the error NT_STATUS_INVALID_DEVICE_REQUEST is raised. Andrew Bartlett
* s4-torture: convert samba3misc tests to use torture_failure and torture_assertAndrew Bartlett2012-04-301-148/+105
| | | | | | | | | | | This helps us when these tests fail, as subunit-formatted failures can be declared as knownfail entries, and show up correctly in the make test output. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 30 08:34:52 CEST 2012 on sn-devel-104
* s4-torture: move samba3 tests to use torture helper functionsAndrew Bartlett2012-04-301-33/+4
|
* s4-torture: Move various samba3 tests to the torture_suite_add_1smb_test wrapperAndrew Bartlett2012-04-303-63/+14
|
* s4:samldb LDB module - implement "fSMORoleOwner" attribute protectionMatthias Dieter Wallnöfer2012-04-302-0/+153
| | | | | | | | | This is a very essential attribute since it references to various domain master roles (PDC emulator, schema...) depending on which entry it has been set. Incautious modifications can cause severe problems. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 30 02:04:24 CEST 2012 on sn-devel-104
* s4:dsdb/common/util.c - samdb_is_pdc() - fail if the "fSMORoleOwner" ↵Matthias Dieter Wallnöfer2012-04-291-1/+5
| | | | attribute has not been set
* Add some debug for FOOBAR return case as they are hard to diagnoseMatthieu Patou2012-04-292-2/+8
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Apr 29 09:08:15 CEST 2012 on sn-devel-104
* dsdb: more RELAX to DBCHECK control shift so that only dbcheck can do ↵Matthieu Patou2012-04-291-2/+2
| | | | uncontrolled changes