summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-pyldb: Fix wrong type of 'self' parameterKamen Mazdrashki2010-11-181-1/+1
|
* s4-tests: Modified descriptor tests to use pyldb api to retrieve ↵Nadezhda Ivanova2010-11-181-12/+2
| | | | | | | configuration and schema dn. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Nov 18 22:25:07 CET 2010 on sn-devel-104
* s4-tests: Modified acl tests to use pyldb api to retrieve configuration dn.Nadezhda Ivanova2010-11-181-3/+1
|
* s4-tests: Changed descriptor tests to use existing method in samdb for ↵Nadezhda Ivanova2010-11-181-32/+24
| | | | | | | adding users to a group. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Nov 18 18:30:55 UTC 2010 on sn-devel-104
* s4-tests: Changed acl tests to use existing method in samdb for adding users ↵Nadezhda Ivanova2010-11-181-19/+8
| | | | to a group.
* Revert "s4:api.py - DN tests - test a bit more special DNs and merge the ↵Matthias Dieter Wallnöfer2010-11-181-44/+1
| | | | | | | | | | comparison tests" This reverts commit 732ef9353dff56384e8bb01aa20d2a371cd995c2. Jelmer doesn't like to have these tests there. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 18 17:46:38 UTC 2010 on sn-devel-104
* s4:dsdb python tests - use "ldb.domain_dn"Matthias Dieter Wallnöfer2010-11-187-62/+15
| | | | By inspiration of Nadya's patches
* s4/operational: Fix swapped parameters for ldb_msg_copy_attrAnatoliy Atanasov2010-11-181-2/+2
| | | | | Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-Date: Thu Nov 18 17:02:07 UTC 2010 on sn-devel-104
* s4/ldap: ldap_syntaxes.py cleanupAnatoliy Atanasov2010-11-181-17/+3
| | | | | Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-Date: Thu Nov 18 16:16:27 UTC 2010 on sn-devel-104
* ldb: error out when modules are not foundSimo Sorce2010-11-181-1/+1
| | | | | | | | We shouldn't proceed without all required modules, it could cause damage to the ldb if operations are performed w/o the needed modules. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Nov 18 14:02:34 UTC 2010 on sn-devel-104
* s4-tests: Descriptor tests should use the existing samdb domain_dn method ↵Nadezhda Ivanova2010-11-181-7/+1
| | | | | | | instead of defining a new one Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Nov 18 12:52:48 UTC 2010 on sn-devel-104
* s4-tests: Acl tests should use the existing samdb domain_dn method instead ↵Nadezhda Ivanova2010-11-181-7/+1
| | | | of defining a new one
* ldb:skel.c - don't introduce trailing whitespaces by a module templateMatthias Dieter Wallnöfer2010-11-181-2/+2
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 18 12:08:30 UTC 2010 on sn-devel-104
* s4:password_hash LDB module - remove unused headersMatthias Dieter Wallnöfer2010-11-181-3/+0
|
* s4:repl_meta_data LDB module - allow also special DNs to be renamed correctlyMatthias Dieter Wallnöfer2010-11-182-1/+8
| | | | | | | Do always escape RDN values - this fixes bug #7794 Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 18 10:43:40 UTC 2010 on sn-devel-104
* s4:api.py - DN tests - test a bit more special DNs and merge the comparison ↵Matthias Dieter Wallnöfer2010-11-181-11/+47
| | | | tests
* ldb:ldb_dn_explode - point out that on error cases "data" is implicitly free'dMatthias Dieter Wallnöfer2010-11-181-1/+1
|
* s4-test: added greater control over tests to runAndrew Tridgell2010-11-183-220/+320
| | | | | | | now supports --list to list tests, and --skip to skip the named tests Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 18 04:29:24 UTC 2010 on sn-devel-104
* s4-test: rename scripting/devel/howto to scripting/devel/wintestAndrew Tridgell2010-11-183-0/+0
| | | | | | | this won't just be for the howto anymore Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 18 00:45:18 UTC 2010 on sn-devel-104
* s4-wintest: added wintest.py libraryAndrew Tridgell2010-11-182-420/+462
| | | | | | | converted test-howto.py to use the wintest library. The idea is for us to create other tests that test lots of different interactions with windows
* s4-repl: removed the syncall_workaround codeAndrew Tridgell2010-11-172-6/+0
| | | | | | | this isn't needed any more Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 17 13:41:51 UTC 2010 on sn-devel-104
* s4-repl: save the result of the last replication in repsFrom/repsToAndrew Tridgell2010-11-173-58/+75
| | | | | | | when a replication fails, we should add the failure to repsFrom when a notify fails, we need to save it to repsTo this ensures showrepl always shows the latest status
* s4-repl: ensure we don't starve pending replication opsAndrew Tridgell2010-11-174-6/+24
| | | | | | when there was a continuous sequence of notify ops, we could leave the replication ops starving. This ensures we run whichever was queued first
* s4-kcc: fixed result_last_attempt in showreplAndrew Tridgell2010-11-171-0/+1
|
* s4-provision: don't test for xattrs if posix:eadb is setAndrew Tridgell2010-11-172-1/+2
| | | | | when it is set in smb.conf or on the command line, obey the setting and don't try to test for system xattr support
* s4-provision: setup posix:eadb using lp.set()Andrew Tridgell2010-11-174-8/+2
| | | | | this allows it to override a setting made during the automatic testing of xattr support
* developer: only do the C++ reserved name checking on LinuxAndrew Tridgell2010-11-171-1/+1
| | | | | this prevents us breaking the solaris build, but will still mean we prevent C++ vars in our code
* s4-provision: don't try to autodetect xattr is posix:eadb is setAndrew Tridgell2010-11-171-1/+1
| | | | when posix:eadb is set then we know we should be using an eadb
* s4-heimdal: ask for non-atomic heimdalAndrew Tridgell2010-11-171-0/+3
| | | | this allows us to build with compilers other than gcc
* heimdal: added HEIM_BASE_NON_ATOMIC optionAndrew Tridgell2010-11-171-1/+8
| | | | | This allows heimdal to build without gcc, by not using atomic operations. We don't need heimdal to be atomic in Samba.
* s4-test: updates to test-howto.pyAndrew Tridgell2010-11-172-59/+122
| | | | | | | | | | | | - handle clock skew using "net time" on windows after we open the telnet connection - allow checking for result lists in order - replicate all partitions after vampiring so we don't need to wait for periodic replication - use a krb5 ccache in the prefix for kinit based tests The complete test suite now passes on my system, taking just over 13 minutes to complete
* s4-heimdal: implement KERB_AP_ERR_TYPE_SKEW_RECOVERYAndrew Tridgell2010-11-171-1/+5
| | | | | | | | | this e_data field in a kerberos error packet tells windows to do clock skew recovery. See [MS-KILE] 2.2.1 KERB-ERROR-DATA Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-gensec: zero the gssapi_stateAndrew Tridgell2010-11-171-1/+1
| | | | | | this fixes a use of the target_principal before initialisation Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision: use the command line lp in provisionAndrew Tridgell2010-11-171-1/+1
| | | | | this ensures that provision options are stored in the generated smb.conf
* s4-provision: add log messages about IP lookupAndrew Tridgell2010-11-171-0/+2
| | | | | the IPv6 lookup can be very slow if a DNS server in the search list is unavailable. It's good to let the user know what its doing.
* s4-dns: catch more expections in samba_dnsupdateAndrew Tridgell2010-11-171-1/+5
|
* ldb:ldb_dn.c - ldb_dn_explode - free also the extended components on error casesMatthias Dieter Wallnöfer2010-11-171-1/+4
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 17 08:45:53 UTC 2010 on sn-devel-104
* s4-test: added testing of w2k3 DC join to test-howto.pyAndrew Tridgell2010-11-172-19/+105
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 17 01:16:19 UTC 2010 on sn-devel-104
* s4-join: fixed join to w2k3Andrew Tridgell2010-11-171-1/+1
| | | | w2k3 does need msDS-Behavior-Version
* s4-join: show a reasonable error on DsAddEntry() failingAndrew Tridgell2010-11-171-1/+6
| | | | DsAddEntry() gives errors in a reply container
* s4-join: enable NDR printing at debug levels >= 5Andrew Tridgell2010-11-171-2/+9
| | | | this is handy for debugging joins
* s4-loadparm: set debuglevel and logfile in tablesAndrew Tridgell2010-11-171-0/+5
| | | | | | this allows the debug level and logfile to be queried from python using lp.get(). Otheriwse they are set only in the globals, and not in the tables.
* s4-loadparm: fixed a memory leak in handle_realm()Andrew Tridgell2010-11-171-0/+3
| | | | we need to free the lowercase and uppercase varients
* s4-kdc Rework supported encryption type logic to match MicrosoftAndrew Bartlett2010-11-161-37/+16
| | | | | | | | | | | | | | | | | Thanks to Hongwei Sun for the clear description of the algorithim involved. Importantly, it isn't possible to remove encryption types from the list, only to add them over the defaults (DES and arcfour-hmac-md5, and additional AES for DCs and RODCs). This changes the behaviour for entries with msDS-supportedEncryptionTypes: 0, which Angelos Oikonomopoulos reported finding set by ADUC when attempting to store cleartext passwords. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 16 21:24:43 UTC 2010 on sn-devel-104
* s4:acl LDB module - use also here "dsdb_find_nc_root" to implement the ↵Matthias Dieter Wallnöfer2010-11-161-28/+57
| | | | | | | NC-specific checks Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Nov 16 15:12:13 UTC 2010 on sn-devel-104
* s4:descriptor LDB module - also "get_default_ag" should make use of ↵Matthias Dieter Wallnöfer2010-11-161-12/+12
| | | | "dsdb_find_nc_root"
* s4:descriptor LDB module - handle the NCs in a more generic way by using ↵Matthias Dieter Wallnöfer2010-11-161-10/+22
| | | | "dsdb_find_nc_root"
* s4:"dsdb_find_nc_root" - let it work also when the "namingContexts" ↵Matthias Dieter Wallnöfer2010-11-161-8/+34
| | | | | | attribute isn't available yet This is needed on provisioning when the modules aren't set up yet.
* s4:descriptor LDB module - make more clear that special control entries ↵Matthias Dieter Wallnöfer2010-11-161-0/+7
| | | | never should be handled by modules
* s4:objectclass LDB module - the "olddn" is the special DN for rename requestsMatthias Dieter Wallnöfer2010-11-161-1/+1
|