summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2012-03-26s4:ldap.py - re-introduce the ↵Matthias Dieter Wallnöfer1-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
2012-03-26LDB/s4 - deny the "(dn=...)" syntax on search filters when in AD modeMatthias Dieter Wallnöfer1-0/+1
Achieve this by introducing a "disallowDNFilter" flag. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-03-26LDB/s4 - do not use the "(dn=...)" syntax on filters anymoreMatthias Dieter Wallnöfer9-31/+32
Make it AD-compatible using "(distinguishedName=...)". Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-03-26s4:ldap.py - test the already mentioned structural object class sorting ↵Matthias Dieter Wallnöfer1-0/+15
behaviour Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-03-26s4:dsdb - enhance "get_last_structural_class()" for optimisationsMatthias Dieter Wallnöfer3-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>
2012-03-26s4:objectclass LDB module - fix up the sorting in respect to structural or ↵Matthias Dieter Wallnöfer1-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>
2012-03-26s4:objectclass LDB module - clean up "objectclass_sort()"Matthias Dieter Wallnöfer1-24/+13
Make it easier to comprehend Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-03-25LIBCLI_SMB2: Depend on cli_smb_common rather than libsmb.Jelmer Vernooij1-1/+1
The latter pulls in a fair number of other libraries, including popt and the Samba registry library.
2012-03-21s4-samba-tool: add password verification in change user passBjörn Baumbach1-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
2012-03-21s4-samba-tool: add password verification in add userBjörn Baumbach1-0/+4
Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-21s4-provision: don't ask only 3 times for passwd in interactive modeBjörn Baumbach1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-21s4-provision: add password verification in interactive modeBjörn Baumbach1-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>
2012-03-21s4-upgradedns: Add DNS partitions in msDS-hasMasterNCs in NTDS settingsAmitay Isaacs1-0/+40
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Mar 21 03:16:22 CET 2012 on sn-devel-104
2012-03-21s4-rpc: dnsserver: Fix IPv6 reverse zone handlingAmitay Isaacs1-0/+7
Thanks to Marcel Ritter <marcel.ritter@rrze.fau.de> for the patch.
2012-03-21s4-upgradedns: Allow fixing of dns provision after domain joinAmitay Isaacs1-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.
2012-03-20Move NS_GUID_string and NS_GUID_from_string to dsdb-common.Jelmer Vernooij4-1/+64
2012-03-20libndr: Rename policy_handle_empty to ndr_policy_handle_empty.Jelmer Vernooij5-17/+18
This makes the NDR namespace a bit clearer, in preparation of ABI checking.
2012-03-20libndr: Rename ndr64_transfer_syntax and null_ndr_syntax_id so they have a ↵Jelmer Vernooij5-14/+13
ndr_ prefix. This makes the NDR namespace a bit clearer, in preparation of ABI checking.
2012-03-19s4:selftest: add test for "samba-tool group list"Michael Adam1-0/+22
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Mar 19 02:30:39 CET 2012 on sn-devel-104
2012-03-18s4:samba-tool: add simple command "group list"Michael Adam1-0/+33
2012-03-18s4:selftest: add a new testsuite for the "samba-tool group" commandMichael Adam2-0/+129
2012-03-17upgrade provision didn't run findprovisionrange anymoreMatthieu Patou1-8/+13
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Mar 17 09:51:46 CET 2012 on sn-devel-104
2012-03-17Rewrite findprovisionrange to use factorized functionsMatthieu Patou1-98/+4
2012-03-17Factorize code from findprovisionusnranges in order to solve bug #8504Matthieu Patou1-2/+124
2012-03-16s4:samba-tool: remove remains of patch conflict resolutionMichael Adam1-1/+0
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Mar 16 19:13:32 CET 2012 on sn-devel-104
2012-03-16Stop installing popt_common.h as its symbols are in a private library.Jelmer Vernooij1-1/+0
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Mar 16 17:39:31 CET 2012 on sn-devel-104
2012-03-16Remove more unnecessary shebang lines in python files.Jelmer Vernooij1-2/+0
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Mar 16 02:48:52 CET 2012 on sn-devel-104
2012-03-15samba.tests.source: Verify that only executable python files (and only ↵Jelmer Vernooij1-1/+20
executable files) have a shebang line.
2012-03-15s4:selftest: remove python shebang accidentially re-added to the "samba-tool ↵Michael Adam1-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
2012-03-15s4:selftest: fix message typo in test for "samba-tool user list"Michael Adam1-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
2012-03-15s4:librpc/rpc: avoid an unused talloc_reference() from dcerpc_request_send()Stefan Metzmacher1-4/+1
metze
2012-03-15s4:librpc/rpc: pass a mem_ctx to dcerpc_request_send()Stefan Metzmacher1-4/+7
metze
2012-03-15s4:librpc/rpc: use tevent_req_defer_callback() in dcerpc_alter_context_*Stefan Metzmacher1-0/+29
metze
2012-03-15s4:librpc/rpc: use tevent_req_defer_callback() in dcerpc_bind_*Stefan Metzmacher1-0/+29
metze
2012-03-15s4:librpc/rpc: convert dcerpc_alter_context_send/recv to tevent_reqStefan Metzmacher2-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
2012-03-15s4:librpc/rpc: convert dcerpc_bind_send/recv to tevent_reqStefan Metzmacher2-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
2012-03-15s4:librpc/rpc: also notify requests which are not shipped about a dead ↵Stefan Metzmacher1-0/+11
connection metze
2012-03-15s4:librpc/rpc: ship requests via an immediate eventStefan Metzmacher2-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
2012-03-15s4:librpc/rpc: if the connecion is dead we're doneStefan Metzmacher1-0/+1
There's no point in doing anymore processing, it can just lead to crashes. metze
2012-03-15s4:librpc/rpc: if the connection is dead we don't want to be called recursivly.Stefan Metzmacher1-0/+2
metze
2012-03-15libsmbclient-raw: Install smb_composite.h.Jelmer Vernooij2-2/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Mar 15 02:57:59 CET 2012 on sn-devel-104
2012-03-14s4:selftest: fix a message-typo in the "samba-tool user" testsuite.Michael Adam1-1/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Mar 14 21:19:11 CET 2012 on sn-devel-104
2012-03-14s4:selftest: add a new test for "samba-tool user list"Michael Adam1-1/+27
2012-03-14s4-dsdb: Fix the case for attribute name msDS-hasMasterNCsAmitay Isaacs2-3/+3
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Mar 14 11:59:02 CET 2012 on sn-devel-104
2012-03-13s4-python: Add missing python source file encoding.Andreas Schneider1-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
2012-03-13s4-python: Remove env from non-executable webserver script.Andreas Schneider1-2/+1
2012-03-13s4-python: Remove env from non-executable samba_tool scripts.Andreas Schneider2-4/+0
2012-03-13s4-python: Remove env from non-executable dcerpc scripts.Andreas Schneider11-21/+4
2012-03-13s4-python: Remove execute flag from non-executable rpc_talloc script.Andreas Schneider1-0/+0
2012-03-13s4-python: Remove env from non-executable blackbox test scripts.Andreas Schneider2-3/+0