summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2011-09-08s4-provision: Extract dns account creation as separate ldifAmitay Isaacs2-92/+12
MicrosoftDNS container and LDAP entries for root servers will be added by sambadns.py directly. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-09-08samba-tool: Avoid use of "except .. as" construction introduced in python2.6.Jelmer Vernooij1-2/+3
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Sep 8 00:34:22 CEST 2011 on sn-devel-104
2011-09-07s4-s3-upgrade: convert password age policies to the negative NTTIME formatAndrew Bartlett1-8/+21
This previously caused all accounts to be locked out. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Sep 7 13:44:44 CEST 2011 on sn-devel-104
2011-09-07samba-tool: Add --filter option to ldapcmp to ignore specified attributesAmitay Isaacs1-9/+20
2011-09-07s4-kcc: Fix the list of NCs for DRS replica informationAmitay Isaacs1-3/+21
AD DNS partitions (DomainDnsZones and ForestDnsZones) are listed under msDs-hasMasterNCs attribute for post-2003 windows servers.
2011-09-07s4:torture/basic: relax base.trans2 midmight time checkingStefan Metzmacher1-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
2011-09-07s4-s3-upgrade Handle expected errors, error out on unexpected onesAndrew Bartlett1-3/+5
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Sep 7 02:22:56 CEST 2011 on sn-devel-104
2011-09-07s4-s3-upgrade Fix group member additionAndrew Bartlett1-2/+2
2011-09-06s4:librpc: rpc_common.h was move to dcerpc-bindingStefan Metzmacher1-1/+1
metze
2011-09-06s4:auth/gensec: gensec.h was moved to gensec_runtimeStefan Metzmacher1-1/+1
metze
2011-09-05s4:libcli/raw: make use of PROTOCOL_SMB2_02Stefan Metzmacher1-1/+1
metze
2011-09-05s4:ntvfs: s/!= PROTOCOL_SMB2/< PROTOCOL_SMB2_02/Stefan Metzmacher4-8/+8
metze
2011-09-05s4:ntvfs: s/== PROTOCOL_SMB2/>= PROTOCOL_SMB2_02/Stefan Metzmacher8-9/+9
metze
2011-09-05s4:smb_server: make use of PROTOCOL_SMB2_02Stefan Metzmacher3-3/+3
metze
2011-09-05s4:param: make use of PROTOCOL_SMB2_02Stefan Metzmacher1-1/+2
metze
2011-09-05s4-cracknames: fixed cracknames to use more specific searchAndrew Tridgell1-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
2011-09-05s4-cldap: fixed cldap search based on dom_sidAndrew Tridgell1-15/+4
we were not filling in the sid pointer correctly for the ldb_search Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-05heimdal: Try to handle the PAC checking when we are in a cross-realm environmentAndrew Bartlett1-1/+10
2011-09-05s4-samdb: added a few function comments for pydocAndrew Tridgell1-0/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-05s4-provision: these substitutuons are not used any moreAndrew Tridgell1-4/+1
we now create partitions dynamically Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-09-05s4-torture: enable password comparison in drsblobs testAndrew Tridgell1-2/+2
I'm not sure why this was commented out, as it does pass Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-05s4-torture: fixed a ndr string errorAndrew Tridgell1-1/+1
the dos charset global changes with the new loadparm context Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-05s4-s3-upgrade Fix error handling in add_users_to_groupAndrew Bartlett1-2/+5
2011-09-05s4-schema consolidate schema handlingAndrew Bartlett3-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
2011-09-05s4-provision handle a number of invalid but real-world upgrade casesAndrew Bartlett1-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
2011-09-05s4-provision Fix type error on existing idmap entries in s3 upgradeAndrew Bartlett1-1/+1
This is already a DN object. Andrew Bartlett
2011-09-05s4-dsdb Print clearer error messages when invalid account flags are ↵Andrew Bartlett1-0/+9
specified on add
2011-09-05s4-provision Use ProvisioningError and the eadbAndrew Bartlett2-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
2011-09-05s4-provision Add realm to DC configuration in upgrade_from_s3 testAndrew Bartlett1-0/+1
2011-09-04s4-provision Allow a missing idmap DB in upgrade.pyAndrew Bartlett1-2/+9
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Sep 4 06:34:16 CEST 2011 on sn-devel-104
2011-09-04s4-provision cope with SID_NAME_WKN_GRP mappings in upgrade.pyAndrew Bartlett1-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
2011-09-01s4-services: disable the web server by defaultAndrew Tridgell1-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>
2011-09-01pyldb: added OID_COMPARATOR constantsAndrew Tridgell1-1/+1
This also changes the other constants to remove the LDB_ prefix, which is redundent Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-31s4-smbtorture: For now, skip trusted domain auth validation tests against ↵Günther Deschner1-9/+15
the sambas. Guenther
2011-08-31s4-smbtorture: Add trust password to CreateTrust testSumit Bose1-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>
2011-08-31s4-smbtorture: Add tests for lsaQueryTrustedDomainInfoByName() and ↵Sumit Bose1-0/+102
lsaSetTrustedDomainInfoByName() Signed-off-by: Günther Deschner <gd@samba.org>
2011-08-30smbtorture4: Fix a typoVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Aug 30 09:51:10 CEST 2011 on sn-devel-104
2011-08-30Fixed regression test case for Bug 8412 - Microsoft Office 2007 (Microsoft ↵Jeremy Allison1-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
2011-08-29s4: Mark the winsreplication test as knownfailVolker Lendecke1-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
2011-08-27RAW_SFILEINFO_RENAME_INFORMATION_SMB2 sends 4 bytes of uninitialized data ↵Jeremy Allison1-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
2011-08-26s4-drsuapi Allow DsAddEntry of normal objectsAndrew Bartlett1-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
2011-08-26s4-messaging ensure we do not segfault on a NULL msg context in cleanupAndrew Bartlett1-0/+4
2011-08-26build: Add dcerpc-binding to dcerpc.pcAndrew Bartlett1-1/+1
This will help projects like OpenChange that depend on this code, now that it has been split between two libraries. Andrew Bartlett
2011-08-26s4-dsdb Return ACL errors as ldb_errstring()Andrew Bartlett3-17/+33
This string is reported to the caller, which makes debugging much easier. Andrew Bartlett
2011-08-26s4-provision Use samba.dns_name_to_dnAndrew Bartlett2-2/+6
2011-08-26py-samba3-test: Copy sample database in tempdir before running testAmitay Isaacs1-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
2011-08-26samba3dump: Update the code using modified samba3 module with passdb apiAmitay Isaacs1-40/+53
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-26s3_upgrade: Set lock directory to correct directoryAmitay Isaacs2-1/+3
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-26py-samba3-test: Set lock directory to the datadirAmitay Isaacs1-0/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-26s3_upgrade: Update commandline options and use updated samba3 python moduleAmitay Isaacs3-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>