summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* wafsamba: Cope with slight differences in gdb output regarding incomplete ↵Jelmer Vernooij2012-03-261-1/+1
| | | | | | sequences. Bug: https://bugzilla.samba.org/show_bug.cgi?id=8820
* s4-dsdb: use constant-time search for descriptor -> get_last_structural_class()Andrew Bartlett2012-03-262-2/+4
| | | | | | | | | | The objectClass list is sorted at this point, as we are called below the objectclass module here, or are working from a search result. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Mar 26 05:38:13 CEST 2012 on sn-devel-104
* Fix the PyDoc comments in samba.smb.SMB and add a security_info argument to ↵Richard Sharpe2012-03-261-8/+23
| | | | | | | both get_acl and set_acl to allow the caller to specify what info is wanted. Defaults to 0 which means all info. Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Mar 26 04:05:25 CEST 2012 on sn-devel-104
* s4:ldap.py - re-introduce the ↵Matthias Dieter Wallnöfer2012-03-261-11/+4
| | | | | | | | | | | | | "(dn=CN=ldaptestUSER3,CN=Users,DC=wallnoefer2,DC=local)" test This syntax is not supported by Windows AD and should also be denied by s4/LDB. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Mar 26 02:30:53 CEST 2012 on sn-devel-104
* LDB/s4 - deny the "(dn=...)" syntax on search filters when in AD modeMatthias Dieter Wallnöfer2012-03-261-0/+1
| | | | | | | Achieve this by introducing a "disallowDNFilter" flag. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* LDB/s4 - do not use the "(dn=...)" syntax on filters anymoreMatthias Dieter Wallnöfer2012-03-269-31/+32
| | | | | | | Make it AD-compatible using "(distinguishedName=...)". Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:ldap.py - test the already mentioned structural object class sorting ↵Matthias Dieter Wallnöfer2012-03-261-0/+15
| | | | | | | behaviour Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:dsdb - enhance "get_last_structural_class()" for optimisationsMatthias Dieter Wallnöfer2012-03-263-10/+29
| | | | | | | | If the objectclass entry has been sorted before we are able to determine the (last) structural or 88 object class in constant time. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:objectclass LDB module - fix up the sorting in respect to structural or ↵Matthias Dieter Wallnöfer2012-03-261-4/+18
| | | | | | | | | 88 objectclasses Please have a look at MS-ADTS 3.1.1.1.4. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:objectclass LDB module - clean up "objectclass_sort()"Matthias Dieter Wallnöfer2012-03-261-24/+13
| | | | | | | Make it easier to comprehend Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* LIBCLI_SMB2: Depend on cli_smb_common rather than libsmb.Jelmer Vernooij2012-03-251-1/+1
| | | | | The latter pulls in a fair number of other libraries, including popt and the Samba registry library.
* s4-samba-tool: add password verification in change user passBjörn Baumbach2012-03-211-1/+5
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Mar 21 17:43:35 CET 2012 on sn-devel-104
* s4-samba-tool: add password verification in add userBjörn Baumbach2012-03-211-0/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s4-provision: don't ask only 3 times for passwd in interactive modeBjörn Baumbach2012-03-211-1/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s4-provision: add password verification in interactive modeBjörn Baumbach2012-03-211-3/+9
| | | | | | | Since we do not print the password out (anymore), it is necessary to verify the entered password. Signed-off-by: Michael Adam <obnox@samba.org>
* s4-upgradedns: Add DNS partitions in msDS-hasMasterNCs in NTDS settingsAmitay Isaacs2012-03-211-0/+40
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Mar 21 03:16:22 CET 2012 on sn-devel-104
* s4-rpc: dnsserver: Fix IPv6 reverse zone handlingAmitay Isaacs2012-03-211-0/+7
| | | | Thanks to Marcel Ritter <marcel.ritter@rrze.fau.de> for the patch.
* s4-upgradedns: Allow fixing of dns provision after domain joinAmitay Isaacs2012-03-211-39/+56
| | | | | | | This change allows samba_upgradedns script to be run even on existing dns provision (DLZ_BIND9 or SAMBA_INTERNAL) without any side effects. This allows to "fix" dns provision after samba-tool domain join for running BIND with DLZ plugin.
* Move NS_GUID_string and NS_GUID_from_string to dsdb-common.Jelmer Vernooij2012-03-204-1/+64
|
* libndr: Rename policy_handle_empty to ndr_policy_handle_empty.Jelmer Vernooij2012-03-205-17/+18
| | | This makes the NDR namespace a bit clearer, in preparation of ABI checking.
* libndr: Rename ndr64_transfer_syntax and null_ndr_syntax_id so they have a ↵Jelmer Vernooij2012-03-205-14/+13
| | | | | ndr_ prefix. This makes the NDR namespace a bit clearer, in preparation of ABI checking.
* s4:selftest: add test for "samba-tool group list"Michael Adam2012-03-191-0/+22
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Mar 19 02:30:39 CET 2012 on sn-devel-104
* s4:samba-tool: add simple command "group list"Michael Adam2012-03-181-0/+33
|
* s4:selftest: add a new testsuite for the "samba-tool group" commandMichael Adam2012-03-182-0/+129
|
* upgrade provision didn't run findprovisionrange anymoreMatthieu Patou2012-03-171-8/+13
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Mar 17 09:51:46 CET 2012 on sn-devel-104
* Rewrite findprovisionrange to use factorized functionsMatthieu Patou2012-03-171-98/+4
|
* Factorize code from findprovisionusnranges in order to solve bug #8504Matthieu Patou2012-03-171-2/+124
|
* s4:samba-tool: remove remains of patch conflict resolutionMichael Adam2012-03-161-1/+0
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Mar 16 19:13:32 CET 2012 on sn-devel-104
* Stop installing popt_common.h as its symbols are in a private library.Jelmer Vernooij2012-03-161-1/+0
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Mar 16 17:39:31 CET 2012 on sn-devel-104
* Remove more unnecessary shebang lines in python files.Jelmer Vernooij2012-03-161-2/+0
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Mar 16 02:48:52 CET 2012 on sn-devel-104
* samba.tests.source: Verify that only executable python files (and only ↵Jelmer Vernooij2012-03-151-1/+20
| | | | executable files) have a shebang line.
* s4:selftest: remove python shebang accidentially re-added to the "samba-tool ↵Michael Adam2012-03-151-2/+0
| | | | | | | user" test Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Mar 15 16:17:54 CET 2012 on sn-devel-104
* s4:selftest: fix message typo in test for "samba-tool user list"Michael Adam2012-03-151-1/+3
| | | | | | | Spotted by kukks - thanks. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Mar 15 14:24:29 CET 2012 on sn-devel-104
* s4:librpc/rpc: avoid an unused talloc_reference() from dcerpc_request_send()Stefan Metzmacher2012-03-151-4/+1
| | | | metze
* s4:librpc/rpc: pass a mem_ctx to dcerpc_request_send()Stefan Metzmacher2012-03-151-4/+7
| | | | metze
* s4:librpc/rpc: use tevent_req_defer_callback() in dcerpc_alter_context_*Stefan Metzmacher2012-03-151-0/+29
| | | | metze
* s4:librpc/rpc: use tevent_req_defer_callback() in dcerpc_bind_*Stefan Metzmacher2012-03-151-0/+29
| | | | metze
* s4:librpc/rpc: convert dcerpc_alter_context_send/recv to tevent_reqStefan Metzmacher2012-03-152-114/+161
| | | | | | | | | Many thanks to Andrew Bartlett <abartlet@samba.org> for the debugging, which lead to the following line: talloc_steal(state, raw_packet->data); metze
* s4:librpc/rpc: convert dcerpc_bind_send/recv to tevent_reqStefan Metzmacher2012-03-152-111/+169
| | | | | | | | | Many thanks to Andrew Bartlett <abartlet@samba.org> for the debugging, which lead to the following line: talloc_steal(state, raw_packet->data); metze
* s4:librpc/rpc: also notify requests which are not shipped about a dead ↵Stefan Metzmacher2012-03-151-0/+11
| | | | | | connection metze
* s4:librpc/rpc: ship requests via an immediate eventStefan Metzmacher2012-03-152-7/+56
| | | | | | | | Deep inside dcerpc_ship_next_request() some code path could trigger dcerpc_connection_dead(), which means it's not safe to do any processing after calling dcerpc_ship_next_request(). metze
* s4:librpc/rpc: if the connecion is dead we're doneStefan Metzmacher2012-03-151-0/+1
| | | | | | | There's no point in doing anymore processing, it can just lead to crashes. metze
* s4:librpc/rpc: if the connection is dead we don't want to be called recursivly.Stefan Metzmacher2012-03-151-0/+2
| | | | metze
* libsmbclient-raw: Install smb_composite.h.Jelmer Vernooij2012-03-152-2/+4
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Mar 15 02:57:59 CET 2012 on sn-devel-104
* s4:selftest: fix a message-typo in the "samba-tool user" testsuite.Michael Adam2012-03-141-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Mar 14 21:19:11 CET 2012 on sn-devel-104
* s4:selftest: add a new test for "samba-tool user list"Michael Adam2012-03-141-1/+27
|
* s4-dsdb: Fix the case for attribute name msDS-hasMasterNCsAmitay Isaacs2012-03-142-3/+3
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Mar 14 11:59:02 CET 2012 on sn-devel-104
* s4-python: Add missing python source file encoding.Andreas Schneider2012-03-131-0/+2
| | | | | | | See http://www.python.org/dev/peps/pep-0263/ Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Tue Mar 13 19:31:09 CET 2012 on sn-devel-104
* s4-python: Remove env from non-executable webserver script.Andreas Schneider2012-03-131-2/+1
|
* s4-python: Remove env from non-executable samba_tool scripts.Andreas Schneider2012-03-132-4/+0
|