summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2011-02-14librpc: make NDR_KRB5PAC a shared library (libndr-krb5pac.so).Günther Deschner2-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
2011-02-14s4:ldapcmp: cope with range retrivals of multivalued attributesStefan Metzmacher1-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
2011-02-14s4-readline: remove leftover from readline merge.Günther Deschner1-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
2011-02-14s4-ldb_modules/acl: Use ntds_guid for SPN check only we have a DC objectKamen Mazdrashki1-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
2011-02-14s4-ldb_modules/acl: Get correct NTDSDSA objectGUID to check SPN forKamen Mazdrashki1-2/+17
2011-02-14s4-ldb_modules/util: Implement dsdb_module_find_ntdsguid_for_computer()Kamen Mazdrashki1-0/+30
as a counterpart for samdb_find_ntdsguid_for_computer() to be used in LDB modules
2011-02-14s4/ldb_modules/acl.c: Fix calculation for samAccountName string lenKamen Mazdrashki1-1/+1
2011-02-14s4-dsdb: cope with broken exchange schema with single valued backlinksAndrew Tridgell1-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
2011-02-14s4-ldb: fixed a uninitialised el->flags in ldb_tdbAndrew Tridgell1-2/+1
this caused an intermittent failure in some tests Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-14s4-dsdb: cleanups to the backupkey RPC serverAndrew Tridgell1-15/+15
- fixed some warnings - change the debug levels to something more reasonable Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-14s4-dsdb: fixed problem with constrained modification of description attributeAndrew Tridgell1-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>
2011-02-14s4-ldb: added LDB_FLAG_INTERNAL_FORCE_SINGLE_VALUE_CHECKAndrew Tridgell2-0/+11
this allows a ldb module to force an element as single valued
2011-02-14s4-ldb: use a helper function for single valued checkingAndrew Tridgell1-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>
2011-02-14ldb-web: update mailing list infoAndrew Tridgell1-5/+5
2011-02-14s4:selftest: add tests with seal and sign for backupkeyMatthieu Patou1-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
2011-02-14s4: Renable samba4.rpc.backupkeyStefan Metzmacher1-1/+0
This reverts commit 07fd397be7e30849f2c8452154edbee7dceccfe1. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-02-14s4: load the backupkey endpointMatthieu Patou1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-02-14s4: Add server side implementation of backup key remote protocolMatthieu Patou2-0/+1315
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-02-13s4/upgradeprovision: Fix help for --debugguess.Michael Wood1-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
2011-02-13s4/upgradeprovision: Typo and better word.Michael Wood1-2/+2
Signed-off-by: Matthieu Patou <mat@matws.net>
2011-02-13s4: samba_backup: Fix typos.Michael Wood1-3/+3
Signed-off-by: Matthieu Patou <mat@matws.net>
2011-02-13Fix typosVolker Lendecke1-1/+1
2011-02-13pyldb: fix a bug in the unit test which prevented ldb.python to run all the ↵Matthieu Patou1-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
2011-02-13librpc: add bindings for dnsp in pythonMatthieu Patou1-0/+6
2011-02-13ldb: use the sizeof of the control variable as offset instead of hardcoded ↵Matthieu Patou1-22/+21
values, helps to avoid bugs
2011-02-13ldb: remove "magic" string in ldb_controls, replace them with constants ↵Matthieu Patou2-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
2011-02-10s4-tools: Added --sddl option, which allows the user to add an ACE to an ↵Nadezhda Ivanova1-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
2011-02-10librpc: move preg.idl to main directory.Günther Deschner1-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
2011-02-10s4-tests: Some tests that prove behavior for INHERITED user-provided ACEs is ↵Nadezhda Ivanova1-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
2011-02-10s4-build: need EXPAND_VARIABLES() for terminal in make testAndrew Tridgell1-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
2011-02-10ldb: use #include <ldb.h> for ldbAndrew Tridgell78-121/+121
thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-10s4-krb5: authkrb5 should depend on ldbAndrew Tridgell1-1/+1
this fixes the include path to add ldb Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-10libcli/named_pipe_auth Change from 'info3' to auth_session_info_transportAndrew Bartlett4-174/+177
This changes the structure being used to convey the current user state from the netlogon-derived 'netr_SamInfo3' structure to a purpose-built structure that matches the internals of the Samba auth subsystem and contains the final group list, as well as the final privilege set and session key. These previously had to be re-created on the server side of the pipe each time. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-10auth Move auth_sam_reply into the top level.Andrew Bartlett2-397/+0
These functions provide conversions between some netlogon.idl and auth.idl structures Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-10ldb: added ldb 1.0.0 ABI signaturesAndrew Tridgell1-0/+248
2011-02-10ldb: change version number to 1.0.0Andrew Tridgell1-1/+1
Simo pointed out that the module loading change should have been combined with a major version number. That seems like a good excuse for a 1.0 release Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-10ldb: fixed two warnings in the ldb_ldap backendAndrew Tridgell1-2/+2
2011-02-10ldb: added a include/ldb_version.hAndrew Tridgell2-2/+10
this fixes a problem with the installed ldb_modules.h header, which depended on LDB_VERSION being defined. Thanks to Simo for noticing this! Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-09s4:WAF build - remove "source4/configure.developer"Matthias Dieter Wallnöfer1-6/+0
This isn't needed anymore - discussed with abartlet. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Feb 9 19:44:05 CET 2011 on sn-devel-104
2011-02-09ldb:tools - return LDB_ERR_OPERATIONS_ERROR on generic errorsMatthias Dieter Wallnöfer8-19/+20
Use "return" when located in "main" for consistency ("exit" would do the same). The patchset has been discussed with Jelmer Vernooij and afterwards LDB maintainer Simo Sorce.
2011-02-09ldb:tools - always check if ldb connection has been estabilishedMatthias Dieter Wallnöfer7-1/+19
Otherwise return "LDB_ERR_OPERATIONS_ERROR".
2011-02-09ldb:ldbsearch tool - use LDB result constants where possibleMatthias Dieter Wallnöfer1-7/+7
2011-02-09ldb:ldbsearch tool - simplify error code returnMatthias Dieter Wallnöfer1-3/+1
2011-02-09ldb:ldbsearch tool - use "%u" for printing unsigned integersMatthias Dieter Wallnöfer1-1/+1
2011-02-09ldb:ldbedit tool - don't forget about the "do_edit" result codeMatthias Dieter Wallnöfer1-11/+4
Use it for computing the program exit code. The "result" has not to be free'd explicitly since it's a child by "ldb" which itself is child by "mem_ctx".
2011-02-09ldb:ldbedit tool - fix bug #7914Matthias Dieter Wallnöfer1-4/+7
"modify_record" returns "-1" when failing, otherwise the number of modifies performed as an "unsigned int" converted to "int". When we get "-1" we immediately need to stop (the error message has already been generated by the function itself).
2011-02-09ldb:ldbedit tool - use unsigned counters for consistency with other LDB toolsMatthias Dieter Wallnöfer1-2/+2
2011-02-09ldb:ldbedit tool - use "%u" for printing out unsigned integersMatthias Dieter Wallnöfer1-2/+2
2011-02-09ldb:ldbedit tool - use LDB result constants where neededMatthias Dieter Wallnöfer1-5/+5
2011-02-09ldb:ldbrename tool - use LDB result constant where neededMatthias Dieter Wallnöfer1-1/+1