summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4-auth: rename 'auth' subsystem to 'auth4'Andrew Tridgell2011-02-1810-34/+34
| | | | | | | | this prevents conflicts with the s3 auth modules. The auth modules in samba3 may appear in production smb.conf files, so it is preferable to rename the s4 modules for minimal disruption. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3build: added NMBDSOCKETDIR to dynconfigAndrew Tridgell2011-02-183-1/+5
| | | | | | this is needed for the s3 top level build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: operational module does not need auth any moreAndrew Tridgell2011-02-182-3/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-smbtorture: add more complex spoolss_EnumPrinterDataEx test.Günther Deschner2011-02-171-0/+721
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 17 16:46:28 CET 2011 on sn-devel-104
* s4:scripting/python/modules.c - remove a really unnecessary variableMatthias Dieter Wallnöfer2011-02-171-1/+0
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Feb 17 16:01:44 CET 2011 on sn-devel-104
* heimdal Pass F_CANON down to the hdb layer for servers in AS-REP as wellAndrew Bartlett2011-02-171-2/+1
| | | | | | | | | | | | | This fixes Win2003 domain logons against Samba4, which need a canonicalised reply, and helpfully do set that flag. Specifically, they need that realm in krbtgt/realm@realm that these both match exactly in the reply. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Feb 17 06:40:53 CET 2011 on sn-devel-104
* s4-build: added LOCALEDIR config optionAndrew Tridgell2011-02-172-1/+3
| | | | s3 needs dyn_LOCALEDIR
* s4-waf: move wbinfo buildrule to winbind.Günther Deschner2011-02-171-0/+4
| | | | | | Will be moved back later, once we have a more common samba-util.so Guenther
* s4-smbtorture: Fix for RPC-LSA-FOREST-TRUST.Sumit Bose2011-02-161-2/+5
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s4-smbtorture: Two fixes for forest trust test against samba.Sumit Bose2011-02-161-2/+6
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s4: Fix a typoVolker Lendecke2011-02-151-1/+1
|
* s4:torture/rpc/samr.c - fix up the "test_GroupList" suite regarding ↵Matthias Dieter Wallnöfer2011-02-151-2/+16
| | | | | | | | | QueryDisplayInfo This is needed to comply with the previous patch. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Feb 15 17:40:22 CET 2011 on sn-devel-104
* s4:samr RPC server - QueryDisplayInfo returns always all domains users, ↵Matthias Dieter Wallnöfer2011-02-151-34/+40
| | | | | | | | | | | | | | | | aliases and groups That means when calling "QueryDisplayInfo" on the BUILTIN handle we still get all related domain objects - for example all domain (global + universal) groups. This is contrary to the "EnumDomain..." calls which do really only return the objects in the specified domain policy handle. This has been observed against Windows Server 2008 and confirmed by dochelp. In the same occasion I've converted from a "gendb*"-oriented search call to "dsdb_search". Patch-reviewed-by: Andrew Tridgell <tridge@samba.org>
* s4-ldb_modules/operational: Make use of dsdb_module_reference_dn() functionKamen Mazdrashki2011-02-151-17/+4
| | | | | | | it does exactly what we need here Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Feb 15 16:55:32 CET 2011 on sn-devel-104
* s4:sam.py - add another "description" test caseMatthias Dieter Wallnöfer2011-02-151-0/+13
| | | | | | | Exactly for the syntax which is needed by Volker in s3's "pdb_ads". Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Feb 15 16:10:15 CET 2011 on sn-devel-104
* s4:acl LDB module - interpret "userAccountControl" as "uint32_t"Matthias Dieter Wallnöfer2011-02-151-3/+3
| | | | | | | This is the same way as it is done in the samldb LDB module. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Feb 15 12:08:26 CET 2011 on sn-devel-104
* s4: Don't grant level II oplock to a file with byte-range locks.Pavel Shilovsky2011-02-154-2/+52
| | | | | | | | | Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Feb 15 11:09:17 CET 2011 on sn-devel-104
* s4:drsuapi/getncchanges: make sure we don't process filteres objects more ↵Stefan Metzmacher2011-02-151-3/+3
| | | | | | | | | than once metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Feb 15 09:46:55 CET 2011 on sn-devel-104
* Fix private libdir and codepages pathsSimo Sorce2011-02-151-1/+1
| | | | | | | | | | The private libraries need to be arch specific as well. With --enable-fhs the codepages should go in /usr/share/samba and not in /usr/lib{64}/samba as they are data files not libraries. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Feb 15 04:22:37 CET 2011 on sn-devel-104
* Increase minor version since a public header has changedSimo Sorce2011-02-142-1/+249
| | | | | | | | | | Samba4 now depends on a new macro defined in the public ldb_modules.h header: LDB_FLAG_INTERNAL_FORCE_SINGLE_VALUE_CHECK. Bump up the minor release of ldb accordingly. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Mon Feb 14 19:39:31 CET 2011 on sn-devel-104
* librpc: make NDR_KRB5PAC a shared library (libndr-krb5pac.so).Günther Deschner2011-02-142-3/+3
| | | | | | | | | Simo, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Feb 14 18:54:38 CET 2011 on sn-devel-104
* s4:ldapcmp: cope with range retrivals of multivalued attributesStefan Metzmacher2011-02-141-1/+72
| | | | | | | | | | | | | | | A Windows Server returns a 'member;range=0-1499' attribute with the first 1500 values of the 'member' attribute. The client can do a BASE search on the given object and ask for the 'member;range=1500-*' attribute. It needs to loop until the high part of the returned range is '*'. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Feb 14 16:26:46 CET 2011 on sn-devel-104
* s4-readline: remove leftover from readline merge.Günther Deschner2011-02-141-126/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Feb 14 14:26:12 CET 2011 on sn-devel-104
* s4-ldb_modules/acl: Use ntds_guid for SPN check only we have a DC objectKamen Mazdrashki2011-02-141-6/+5
| | | | | | | | ntds_guid is NULL otherwise as it doesn't make sense for not a DC object Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Feb 14 13:15:31 CET 2011 on sn-devel-104
* s4-ldb_modules/acl: Get correct NTDSDSA objectGUID to check SPN forKamen Mazdrashki2011-02-141-2/+17
|
* s4-ldb_modules/util: Implement dsdb_module_find_ntdsguid_for_computer()Kamen Mazdrashki2011-02-141-0/+30
| | | | | as a counterpart for samdb_find_ntdsguid_for_computer() to be used in LDB modules
* s4/ldb_modules/acl.c: Fix calculation for samAccountName string lenKamen Mazdrashki2011-02-141-1/+1
|
* s4-dsdb: cope with broken exchange schema with single valued backlinksAndrew Tridgell2011-02-141-0/+7
| | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Feb 14 08:45:51 CET 2011 on sn-devel-104
* s4-ldb: fixed a uninitialised el->flags in ldb_tdbAndrew Tridgell2011-02-141-2/+1
| | | | | | this caused an intermittent failure in some tests Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: cleanups to the backupkey RPC serverAndrew Tridgell2011-02-141-15/+15
| | | | | | | - fixed some warnings - change the debug levels to something more reasonable Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: fixed problem with constrained modification of description attributeAndrew Tridgell2011-02-141-44/+13
| | | | | | | This approach just asks the tdb backend to handle the single valued constraint for us Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: added LDB_FLAG_INTERNAL_FORCE_SINGLE_VALUE_CHECKAndrew Tridgell2011-02-142-0/+11
| | | | this allows a ldb module to force an element as single valued
* s4-ldb: use a helper function for single valued checkingAndrew Tridgell2011-02-141-25/+35
| | | | | | | this gives us a single piece of logic for single value checking in the tdb backend Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* ldb-web: update mailing list infoAndrew Tridgell2011-02-141-5/+5
|
* s4:selftest: add tests with seal and sign for backupkeyMatthieu Patou2011-02-141-0/+4
| | | | | | | | | | | | | We need to specify sign and seal as the protocol operate really only on sealed protected connections, in other case we are just checking that the server returns something like unwilling to perform due to weak security. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Feb 14 01:48:39 CET 2011 on sn-devel-104
* s4: Renable samba4.rpc.backupkeyStefan Metzmacher2011-02-141-1/+0
| | | | | | This reverts commit 07fd397be7e30849f2c8452154edbee7dceccfe1. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4: load the backupkey endpointMatthieu Patou2011-02-141-1/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4: Add server side implementation of backup key remote protocolMatthieu Patou2011-02-142-0/+1315
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4/upgradeprovision: Fix help for --debugguess.Michael Wood2011-02-131-1/+1
| | | | | | | Signed-off-by: Matthieu Patou <mat@matws.net> Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Feb 13 16:38:13 CET 2011 on sn-devel-104
* s4/upgradeprovision: Typo and better word.Michael Wood2011-02-131-2/+2
| | | | Signed-off-by: Matthieu Patou <mat@matws.net>
* s4: samba_backup: Fix typos.Michael Wood2011-02-131-3/+3
| | | | Signed-off-by: Matthieu Patou <mat@matws.net>
* Fix typosVolker Lendecke2011-02-131-1/+1
|
* pyldb: fix a bug in the unit test which prevented ldb.python to run all the ↵Matthieu Patou2011-02-131-0/+3
| | | | | | | tests in the testsuite Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Feb 13 00:14:24 CET 2011 on sn-devel-104
* librpc: add bindings for dnsp in pythonMatthieu Patou2011-02-131-0/+6
|
* ldb: use the sizeof of the control variable as offset instead of hardcoded ↵Matthieu Patou2011-02-131-22/+21
| | | | values, helps to avoid bugs
* ldb: remove "magic" string in ldb_controls, replace them with constants ↵Matthieu Patou2011-02-132-22/+53
| | | | | | | | defined in ldb.h Allow to have less magic value in the control code and will allow not to duplicate names when doing a function that marshal a control to it's string representation
* s4-tools: Added --sddl option, which allows the user to add an ACE to an ↵Nadezhda Ivanova2011-02-101-4/+8
| | | | | | | | | object's security descriptor in SDDL format Useful for testing purposes. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Feb 10 15:28:04 CET 2011 on sn-devel-104
* librpc: move preg.idl to main directory.Günther Deschner2011-02-101-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 10 13:56:49 CET 2011 on sn-devel-104
* s4-tests: Some tests that prove behavior for INHERITED user-provided ACEs is ↵Nadezhda Ivanova2011-02-101-0/+34
| | | | | | | different if the P flag is set. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Feb 10 12:31:34 CET 2011 on sn-devel-104
* s4-build: need EXPAND_VARIABLES() for terminal in make testAndrew Tridgell2011-02-101-1/+1
| | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 10 07:35:26 CET 2011 on sn-devel-104