summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2010-11-18s4-pyldb: Move code to create a ldb_message from a Python Dictionary object ↵Kamen Mazdrashki1-46/+73
into a separate function
2010-11-18s4-samdb.py: Use ldb.get_default_basedn() to avoid RootDSE searchKamen Mazdrashki1-6/+1
2010-11-18s4-pyldb_util: Move ldb Type searching into separate functionKamen Mazdrashki1-18/+28
2010-11-18s4-pyldb: Few miss-alignments alignedKamen Mazdrashki1-9/+8
2010-11-18s4-pyldb: Move PyLdbMessage_FromMessage() in PyMessage group of functionsKamen Mazdrashki1-1/+1
2010-11-18s4-pyldb: Fix wrong type of 'self' parameterKamen Mazdrashki1-1/+1
2010-11-18s4-tests: Modified descriptor tests to use pyldb api to retrieve ↵Nadezhda Ivanova1-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
2010-11-18s4-tests: Modified acl tests to use pyldb api to retrieve configuration dn.Nadezhda Ivanova1-3/+1
2010-11-18s4-tests: Changed descriptor tests to use existing method in samdb for ↵Nadezhda Ivanova1-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
2010-11-18s4-tests: Changed acl tests to use existing method in samdb for adding users ↵Nadezhda Ivanova1-19/+8
to a group.
2010-11-18Revert "s4:api.py - DN tests - test a bit more special DNs and merge the ↵Matthias Dieter Wallnöfer1-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
2010-11-18s4:dsdb python tests - use "ldb.domain_dn"Matthias Dieter Wallnöfer7-62/+15
By inspiration of Nadya's patches
2010-11-18s4/operational: Fix swapped parameters for ldb_msg_copy_attrAnatoliy Atanasov1-2/+2
Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-Date: Thu Nov 18 17:02:07 UTC 2010 on sn-devel-104
2010-11-18s4/ldap: ldap_syntaxes.py cleanupAnatoliy Atanasov1-17/+3
Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-Date: Thu Nov 18 16:16:27 UTC 2010 on sn-devel-104
2010-11-18ldb: error out when modules are not foundSimo Sorce1-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
2010-11-18s4-tests: Descriptor tests should use the existing samdb domain_dn method ↵Nadezhda Ivanova1-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
2010-11-18s4-tests: Acl tests should use the existing samdb domain_dn method instead ↵Nadezhda Ivanova1-7/+1
of defining a new one
2010-11-18ldb:skel.c - don't introduce trailing whitespaces by a module templateMatthias Dieter Wallnöfer1-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
2010-11-18s4:password_hash LDB module - remove unused headersMatthias Dieter Wallnöfer1-3/+0
2010-11-18s4:repl_meta_data LDB module - allow also special DNs to be renamed correctlyMatthias Dieter Wallnöfer2-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
2010-11-18s4:api.py - DN tests - test a bit more special DNs and merge the comparison ↵Matthias Dieter Wallnöfer1-11/+47
tests
2010-11-18ldb:ldb_dn_explode - point out that on error cases "data" is implicitly free'dMatthias Dieter Wallnöfer1-1/+1
2010-11-18s4-test: added greater control over tests to runAndrew Tridgell3-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
2010-11-18s4-test: rename scripting/devel/howto to scripting/devel/wintestAndrew Tridgell3-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
2010-11-18s4-wintest: added wintest.py libraryAndrew Tridgell2-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
2010-11-17s4-repl: removed the syncall_workaround codeAndrew Tridgell2-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
2010-11-17s4-repl: save the result of the last replication in repsFrom/repsToAndrew Tridgell3-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
2010-11-17s4-repl: ensure we don't starve pending replication opsAndrew Tridgell4-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
2010-11-17s4-kcc: fixed result_last_attempt in showreplAndrew Tridgell1-0/+1
2010-11-17s4-provision: don't test for xattrs if posix:eadb is setAndrew Tridgell2-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
2010-11-17s4-provision: setup posix:eadb using lp.set()Andrew Tridgell4-8/+2
this allows it to override a setting made during the automatic testing of xattr support
2010-11-17developer: only do the C++ reserved name checking on LinuxAndrew Tridgell1-1/+1
this prevents us breaking the solaris build, but will still mean we prevent C++ vars in our code
2010-11-17s4-provision: don't try to autodetect xattr is posix:eadb is setAndrew Tridgell1-1/+1
when posix:eadb is set then we know we should be using an eadb
2010-11-17s4-heimdal: ask for non-atomic heimdalAndrew Tridgell1-0/+3
this allows us to build with compilers other than gcc
2010-11-17heimdal: added HEIM_BASE_NON_ATOMIC optionAndrew Tridgell1-1/+8
This allows heimdal to build without gcc, by not using atomic operations. We don't need heimdal to be atomic in Samba.
2010-11-17s4-test: updates to test-howto.pyAndrew Tridgell2-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
2010-11-17s4-heimdal: implement KERB_AP_ERR_TYPE_SKEW_RECOVERYAndrew Tridgell1-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>
2010-11-17s4-gensec: zero the gssapi_stateAndrew Tridgell1-1/+1
this fixes a use of the target_principal before initialisation Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-17s4-provision: use the command line lp in provisionAndrew Tridgell1-1/+1
this ensures that provision options are stored in the generated smb.conf
2010-11-17s4-provision: add log messages about IP lookupAndrew Tridgell1-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.
2010-11-17s4-dns: catch more expections in samba_dnsupdateAndrew Tridgell1-1/+5
2010-11-17ldb:ldb_dn.c - ldb_dn_explode - free also the extended components on error casesMatthias Dieter Wallnöfer1-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
2010-11-17s4-test: added testing of w2k3 DC join to test-howto.pyAndrew Tridgell2-19/+105
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 17 01:16:19 UTC 2010 on sn-devel-104
2010-11-17s4-join: fixed join to w2k3Andrew Tridgell1-1/+1
w2k3 does need msDS-Behavior-Version
2010-11-17s4-join: show a reasonable error on DsAddEntry() failingAndrew Tridgell1-1/+6
DsAddEntry() gives errors in a reply container
2010-11-17s4-join: enable NDR printing at debug levels >= 5Andrew Tridgell1-2/+9
this is handy for debugging joins
2010-11-17s4-loadparm: set debuglevel and logfile in tablesAndrew Tridgell1-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.
2010-11-17s4-loadparm: fixed a memory leak in handle_realm()Andrew Tridgell1-0/+3
we need to free the lowercase and uppercase varients
2010-11-16s4-kdc Rework supported encryption type logic to match MicrosoftAndrew Bartlett1-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
2010-11-16s4:acl LDB module - use also here "dsdb_find_nc_root" to implement the ↵Matthias Dieter Wallnöfer1-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