summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* samba-tool: Add --filter option to ldapcmp to ignore specified attributesAmitay Isaacs2011-09-071-9/+20
|
* s4-kcc: Fix the list of NCs for DRS replica informationAmitay Isaacs2011-09-071-3/+21
| | | | | AD DNS partitions (DomainDnsZones and ForestDnsZones) are listed under msDs-hasMasterNCs attribute for post-2003 windows servers.
* s4:torture/basic: relax base.trans2 midmight time checkingStefan Metzmacher2011-09-071-2/+4
| | | | | | | | It's possible that the test runs on a full hour, e.g. Tue Sep 6 03:00:00 2011. So better check that the a_time is different from the current time. metze
* s4-s3-upgrade Handle expected errors, error out on unexpected onesAndrew Bartlett2011-09-071-3/+5
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Sep 7 02:22:56 CEST 2011 on sn-devel-104
* s4-s3-upgrade Fix group member additionAndrew Bartlett2011-09-071-2/+2
|
* s4:librpc: rpc_common.h was move to dcerpc-bindingStefan Metzmacher2011-09-061-1/+1
| | | | metze
* s4:auth/gensec: gensec.h was moved to gensec_runtimeStefan Metzmacher2011-09-061-1/+1
| | | | metze
* s4:libcli/raw: make use of PROTOCOL_SMB2_02Stefan Metzmacher2011-09-051-1/+1
| | | | metze
* s4:ntvfs: s/!= PROTOCOL_SMB2/< PROTOCOL_SMB2_02/Stefan Metzmacher2011-09-054-8/+8
| | | | metze
* s4:ntvfs: s/== PROTOCOL_SMB2/>= PROTOCOL_SMB2_02/Stefan Metzmacher2011-09-058-9/+9
| | | | metze
* s4:smb_server: make use of PROTOCOL_SMB2_02Stefan Metzmacher2011-09-053-3/+3
| | | | metze
* s4:param: make use of PROTOCOL_SMB2_02Stefan Metzmacher2011-09-051-1/+2
| | | | metze
* s4-cracknames: fixed cracknames to use more specific searchAndrew Tridgell2011-09-051-13/+12
| | | | | | | | | | this uses the bitwise comparison ldap operators to ensure we only get NC roots Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Sep 5 12:48:39 CEST 2011 on sn-devel-104
* s4-cldap: fixed cldap search based on dom_sidAndrew Tridgell2011-09-051-15/+4
| | | | | | we were not filling in the sid pointer correctly for the ldb_search Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* heimdal: Try to handle the PAC checking when we are in a cross-realm environmentAndrew Bartlett2011-09-051-1/+10
|
* s4-samdb: added a few function comments for pydocAndrew Tridgell2011-09-051-0/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision: these substitutuons are not used any moreAndrew Tridgell2011-09-051-4/+1
| | | | | | we now create partitions dynamically Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* s4-torture: enable password comparison in drsblobs testAndrew Tridgell2011-09-051-2/+2
| | | | | | I'm not sure why this was commented out, as it does pass Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-torture: fixed a ndr string errorAndrew Tridgell2011-09-051-1/+1
| | | | | | the dos charset global changes with the new loadparm context Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-s3-upgrade Fix error handling in add_users_to_groupAndrew Bartlett2011-09-051-2/+5
|
* s4-schema consolidate schema handlingAndrew Bartlett2011-09-053-80/+48
| | | | | | | It also creates a single routine dsdb_load_ldb_results_into_schema() to handle cases where the schema is in the form of an ldb_result. Andrew Bartlett
* s4-provision handle a number of invalid but real-world upgrade casesAndrew Bartlett2011-09-051-9/+36
| | | | | | | | | | Real world databass have the wrong account flags (U and W at the same time) and have the wrong group type in group mapping databases. Cope with these. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Sep 5 04:58:09 CEST 2011 on sn-devel-104
* s4-provision Fix type error on existing idmap entries in s3 upgradeAndrew Bartlett2011-09-051-1/+1
| | | | | | This is already a DN object. Andrew Bartlett
* s4-dsdb Print clearer error messages when invalid account flags are ↵Andrew Bartlett2011-09-051-0/+9
| | | | specified on add
* s4-provision Use ProvisioningError and the eadbAndrew Bartlett2011-09-052-6/+27
| | | | | | | | | | The eadb flag tells us to avoid using system extended attributes, typcially if we are not running as root (ie, in a test environment). The ProvisioningError class allows us to return failures to the upgrade_from_s3 script which can then be detected correctly by the selftest framework. Andrew Bartlett
* s4-provision Add realm to DC configuration in upgrade_from_s3 testAndrew Bartlett2011-09-051-0/+1
|
* s4-provision Allow a missing idmap DB in upgrade.pyAndrew Bartlett2011-09-041-2/+9
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Sep 4 06:34:16 CEST 2011 on sn-devel-104
* s4-provision cope with SID_NAME_WKN_GRP mappings in upgrade.pyAndrew Bartlett2011-09-041-1/+5
| | | | | | | | Some incorrect LDAP backends have entries with this group type, but due to the pdb_ldap code, we cannot read the group members, and we already skip them in add_group_from_mapping_entry(). Andrew Bartlett
* s4-services: disable the web server by defaultAndrew Tridgell2011-09-011-1/+1
| | | | | | | | the web server is not being actively maintained, and is causing problems with memory errors (as shown by valgrind). It is better to disable this until it can get some TLC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* pyldb: added OID_COMPARATOR constantsAndrew Tridgell2011-09-011-1/+1
| | | | | | | This also changes the other constants to remove the LDB_ prefix, which is redundent Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-smbtorture: For now, skip trusted domain auth validation tests against ↵Günther Deschner2011-08-311-9/+15
| | | | | | the sambas. Guenther
* s4-smbtorture: Add trust password to CreateTrust testSumit Bose2011-08-311-32/+245
| | | | | | | | Instead of using empty authinfo and authinfo_internal structures a trust password is added to these structures. After creating the trust the trust account is used to validate that the trust password is set correctly. Signed-off-by: Günther Deschner <gd@samba.org>
* s4-smbtorture: Add tests for lsaQueryTrustedDomainInfoByName() and ↵Sumit Bose2011-08-311-0/+102
| | | | | | lsaSetTrustedDomainInfoByName() Signed-off-by: Günther Deschner <gd@samba.org>
* smbtorture4: Fix a typoVolker Lendecke2011-08-301-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Aug 30 09:51:10 CEST 2011 on sn-devel-104
* Fixed regression test case for Bug 8412 - Microsoft Office 2007 (Microsoft ↵Jeremy Allison2011-08-301-2/+40
| | | | | | | Word) fails to save as on a Samba share with SMB2 Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Aug 30 03:26:49 CEST 2011 on sn-devel-104
* s4: Mark the winsreplication test as knownfailVolker Lendecke2011-08-291-1/+1
| | | | | | | | This continues to break my autobuild even if I just check something into source3. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Aug 29 21:04:06 CEST 2011 on sn-devel-104
* RAW_SFILEINFO_RENAME_INFORMATION_SMB2 sends 4 bytes of uninitialized data ↵Jeremy Allison2011-08-271-0/+1
| | | | | | | out on the network. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Aug 27 07:48:30 CEST 2011 on sn-devel-104
* s4-drsuapi Allow DsAddEntry of normal objectsAndrew Bartlett2011-08-261-1/+6
| | | | | | | | | We previously only allowed objects of class ntDSDSA Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Aug 26 15:34:21 CEST 2011 on sn-devel-104
* s4-messaging ensure we do not segfault on a NULL msg context in cleanupAndrew Bartlett2011-08-261-0/+4
|
* build: Add dcerpc-binding to dcerpc.pcAndrew Bartlett2011-08-261-1/+1
| | | | | | | This will help projects like OpenChange that depend on this code, now that it has been split between two libraries. Andrew Bartlett
* s4-dsdb Return ACL errors as ldb_errstring()Andrew Bartlett2011-08-263-17/+33
| | | | | | This string is reported to the caller, which makes debugging much easier. Andrew Bartlett
* s4-provision Use samba.dns_name_to_dnAndrew Bartlett2011-08-262-2/+6
|
* py-samba3-test: Copy sample database in tempdir before running testAmitay Isaacs2011-08-261-7/+11
| | | | | | | | | | | Samba3 python module using passdb api modifies the database files, to upgrade them to latest version. So copy the sample database before running tests on it. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Aug 26 07:04:15 CEST 2011 on sn-devel-104
* samba3dump: Update the code using modified samba3 module with passdb apiAmitay Isaacs2011-08-261-40/+53
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3_upgrade: Set lock directory to correct directoryAmitay Isaacs2011-08-262-1/+3
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* py-samba3-test: Set lock directory to the datadirAmitay Isaacs2011-08-261-0/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3_upgrade: Update commandline options and use updated samba3 python moduleAmitay Isaacs2011-08-263-166/+140
| | | | | | | | | | | | | | | | | | | | | | | upgrade_from_s3 script now requires samba3 configuration file and target directory for samba4 database. In addition, it either uses --libdir option or --testparm option to correctly guess the paths for samba3 databases (private dir and state directory). Usage: upgrade_from_s3 [options] <configuration_file> <targetdir> Input arguments are: <configuration_file> - path to existing smb.conf <targetdir> - directory in which samba4 database will be created In addition, specify either samba3 database directory (with --libdir) or samba3 testparm utility (with --testparm). Before using passdb interface, initialize s3 loadparm context using correct path settings for private dir and state directory. Export account policy from s3 to s4. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* py-samba3: Use passdb/param wrapper for samba3 moduleAmitay Isaacs2011-08-262-567/+117
| | | | | | | | | | | Instead of parsing samba3 database files (password, group mapping, account policy, secrets), use passdb python wrapper. Similarly for parsing configuration, use samba3 param python wrapper. Other databases (idmap, registry, wins) are still parsed in python. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-param: Use s3 dump method if s3 context is definedAmitay Isaacs2011-08-261-0/+4
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-param: Add a dump() method to output parametersAmitay Isaacs2011-08-261-0/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>