summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
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
2011-02-09ldb:ldbmodify tool - use unsigned counters for consistency with other LDB toolsMatthias Dieter Wallnöfer1-5/+5
2011-02-09ldb:ldbdel tool - use LDB result constants for consistencyMatthias Dieter Wallnöfer1-7/+7
2011-02-09ldb:ldbadd tool - use LDB return codes where possibleMatthias Dieter Wallnöfer1-4/+6
2011-02-09ldb:ldbadd tool - use "%u" for printing out unsigned integersMatthias Dieter Wallnöfer1-1/+1
2011-02-09ldb:ldbadd tool - use LDB result constants for consistencyMatthias Dieter Wallnöfer1-4/+4
2011-02-09provision: Add missing dependency on pyldb-util.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Feb 9 13:55:10 CET 2011 on sn-devel-104
2011-02-09dlinklist: Change license to LGPLv3+ (checked with tridge).Jelmer Vernooij1-11/+15
2011-02-09s4/tests: Implement a blackbox test for 'samba-tool drs' commandKamen Mazdrashki2-0/+101
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Feb 9 11:45:30 CET 2011 on sn-devel-104
2011-02-09s4/tests: Move command line processing into separate method to be reusedKamen Mazdrashki1-6/+6
2011-02-09s4/tests: Implement BlackboxTestCase.check_output() methodKamen Mazdrashki1-0/+11
I am going to need this to check if output is OK (kind of)
2011-02-09s4/samba-tool/drs: Make use of Command.message() method instead of using 'print'Kamen Mazdrashki1-36/+37
2011-02-09s4/samba-tool/drs: Move get_dsServiceName function at module level to be re-usedKamen Mazdrashki1-12/+8
2011-02-09s4/samba-tool: 'drs options' command implementationKamen Mazdrashki1-0/+71
Current implementation handle only one flag change per call
2011-02-09s4-waf Remove source4 build system.Andrew Bartlett7-516/+0
The top level build is the official build system now. Andrew Bartlett
2011-02-09s4-auth Fix setting of bad_password_count in ↵Andrew Bartlett1-1/+1
auth_convert_user_info_dc_sambaseinfo() Discovered during the convertion to auth_user_info. Andrew Bartlett
2011-02-09s4-selftest Fix valgrind and gdb options for top level buildAndrew Bartlett1-2/+2
Andrew Bartlett
2011-02-09s4-auth Rework auth subsystem to remove struct auth_serversupplied_infoAndrew Bartlett35-787/+840
This changes auth_serversupplied_info into the IDL-defined struct auth_user_info_dc. This then in turn contains a struct auth_user_info, which is the only part of the structure that is mainted into the struct session_info. The idea here is to avoid keeping the incomplete results of the authentication (such as session keys, lists of SID memberships etc) in a namespace where it may be confused for the finalised results. Andrew Barltett
2011-02-09s4-auth Add auth.idl to encode auth subsystem structures in IDLAndrew Bartlett1-0/+1
This is not only a useful way to encode stuff, it also allows python to handle the structures, and natrually allows them to be NDR encoded. Andrew Bartlett
2011-02-08s4-smbtorture: add torture test to check proper add and delete driver ↵Günther Deschner1-0/+77
operations. Thanks to Bjoern Baumbach <bb@sernet.de> for pushing us to test and verify this. Guenther
2011-02-08s4-smbtorture: also run the driver timestamp spoolss test against samba.Günther Deschner1-4/+0
Guenther
2011-02-08s4-waf: split out wscript_build for ndrdump binary.Günther Deschner1-8/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 8 14:50:54 CET 2011 on sn-devel-104
2011-02-08lib/compression: add shared wscript_build.Günther Deschner1-6/+0
Guenther
2011-02-08pam: share pam errors in a common location.Günther Deschner6-168/+3
Guenther
2011-02-08libndr: share some uuid helpers.Günther Deschner1-7/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 8 09:52:56 CET 2011 on sn-devel-104
2011-02-08ndr: merge duplicate ndr_map_error2ntstatus() functions.Günther Deschner1-26/+0
Guenther
2011-02-07mit-samba: Allow nesting on the event contextSimo Sorce1-0/+3
This context is used in ldb, and ldb modules apparently abort if nesting is not allowed. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Mon Feb 7 20:58:02 CET 2011 on sn-devel-104
2011-02-07s4-build: fixed uses of os.path.relpath()Andrew Tridgell1-2/+2
these should be os_path_relpath() to support older python versions. This should fix the build on FreeBSD 7.2 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Feb 7 05:49:58 CET 2011 on sn-devel-104
2011-02-07build: removed the old autogen.sh and autogen-waf.sh scriptsAndrew Tridgell4-24/+0
for the builds that use waf only, these are no longer needed and just cause confusion Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07s4-build: remove a bunch of unused build scriptsAndrew Tridgell10-345/+0
these were leftover from the autoconf build Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Feb 7 04:09:40 CET 2011 on sn-devel-104
2011-02-07s4-charset: use dyn_CODEPAGEDIR for location of upcase.dat/lowcase.datAndrew Tridgell2-0/+2
this matches samba3 behaviour Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07s4-provision: added setup_path() import in two more placesAndrew Tridgell2-1/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>