summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-03-01s4:drsuapi RPC server - this resembles more "samdb_is_gc"Matthias Dieter Wallnöfer1-1/+1
Reviewed by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Mar 1 17:57:47 CET 2011 on sn-devel-104
2011-03-01librpc/ndr: handle NOALIGN flag for relative pointers and alignment DATA_BLOBsStefan Metzmacher2-5/+14
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Mar 1 17:11:03 CET 2011 on sn-devel-104
2011-03-01s4:netlogon RPC server - "LogonGetDomainInfo" - check for NULL attributesMatthias Dieter Wallnöfer1-17/+29
This is needed to complete the transition from "samdb_msg_add_string" to "ldb_msg_add_string". And this patch yields better NTSTATUS error results than before (INVALID_PARAMETER rather than OUT_OF_MEMORY). Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Mar 1 14:42:15 CET 2011 on sn-devel-104
2011-03-01s4:drsuapi RPC server - check for the "SPN" attribute != NULLMatthias Dieter Wallnöfer1-0/+6
The SPN attribute could derive from an untrusted source (client). Reviewed-by: Jelmer
2011-03-01s4:dsdb - always handle the attribute "options" as 32bit unsigned integerMatthias Dieter Wallnöfer4-22/+24
It is defined as LDAP syntax 2.5.5.9 so no need at all to treat it as 64-bit integer. Reviewed by: Kamenim and Metze Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Mar 1 12:46:15 CET 2011 on sn-devel-104
2011-03-01libcli/security Add unix_token and unix_info to auth_session_info tooAndrew Bartlett1-0/+2
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 07:13:43 CET 2011 on sn-devel-104
2011-03-01s3-auth struct security_unix_token replaces UNIX_USER_TOKENAndrew Bartlett11-36/+29
2011-03-01librpc/idl Add helper structures for use by samba3 in auth_session_infoAndrew Bartlett2-0/+23
The unix info and in particular unix token needs to be preserved into the struct auth_session_info. Andrew Bartlett
2011-03-01pidl Add support for uid_t and gid_t typesAndrew Bartlett5-2/+68
These are mapped to uint64_t, which should be big enough. This is proposed to be used for internal Samba representations, where it would be more painful to convert all the callers to an uint64_t calling convention. Andrew Bartlett
2011-03-01s3-rpc_server Handle session key as a constant bufferAndrew Bartlett1-28/+4
This way, we don't have to check for memory allocation failures. Andrew Bartlett
2011-03-01s4:dsdb/common/util.c - remove "samdb_find_or_add_value"Matthias Dieter Wallnöfer1-8/+0
This isn't used anymore. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-03-01s4:dsdb/common/util.c - fully remove "samdb_msg_add_string"Matthias Dieter Wallnöfer1-18/+3
This isn't needed anymore and will be substituted by "ldb_msg_add_string". Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-03-01s4:libnet/libnet_samsync_ldb.c - add a "samdb_msg_add_string" wrapperMatthias Dieter Wallnöfer1-0/+8
Add this in order to allow the "ADD_OR_DEL" macros to work. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-03-01s4:remove many invocations of "samdb_msg_add_string"Matthias Dieter Wallnöfer8-39/+29
This call can be substituted by "ldb_msg_add_string". We only need to be careful on local objects or talloc'ed ones which live shorter than the message. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-03-01autobuild: enabled samba3-waf buildAndrew Tridgell1-1/+8
this is just a build check for now. See the mailing list discussion. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Mar 1 06:22:07 CET 2011 on sn-devel-104
2011-03-01lib/util: new merged debug systemAndrew Bartlett16-826/+462
This is the s3 debug system, with a number of changes to tidy it up for common use. The debug class system is simplified by the removal of the ISSET table, the system no longer attempts to cope with assignment of DEBUGLEVEL, and the full class table is always available (rather than just DEBUGLEVEL_CLASS[DBCG_ALL]) from startup. It is also no longer confusingly described as a hack, but as the initial table. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 04:32:12 CET 2011 on sn-devel-104
2011-03-01lib/util move debug.[ch] out of the wayAndrew Bartlett4-2/+2
This will allow a modified version of the s3 debug system to be the new common debug system. Andrew Bartlett
2011-03-01s4-libnet_vampire: Ignore some attributes when building working schema cacheKamen Mazdrashki1-0/+9
Working schema cache will be used to convert replicated Schema objects again later, i.e. used as reference, so we don't need to resolve all attribute OIDs for working Schema cache to be usable. Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Mar 1 03:45:16 CET 2011 on sn-devel-104
2011-03-01s4-repl/working_schema: Ignore some attributes when bulding working schema cacheKamen Mazdrashki1-0/+9
We don't need all object attributes resolved and converted for a working schema to be functional.
2011-03-01s4-replicated_objects: Implement a mechanism to relax some attributes conversionKamen Mazdrashki1-4/+31
during replicated object convert stage. The problem is that we may have loops in schema graph and we can't resolve those loops in just one pass. Ignoring some attributes conversion will allow us to have a functional schema cache that we can use later to resolve all attribute OIDs on another pass
2011-03-01s3-debug Always use C99 true/false rather than True and FalseAndrew Bartlett1-29/+29
This will help with the merge into the common code. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 02:58:55 CET 2011 on sn-devel-104
2011-03-01s3-build __FUNCTION__ is always available, always use itAndrew Bartlett3-5/+5
This avoids duplication between FUNCTION_NAME and __FUNCTION__
2011-03-01lib/util/time: Merge time functions from source3/lib/time.cAndrew Bartlett3-63/+76
2011-03-01spoolss.idl: align spoolss_DriverFileInfo relative pointer to 4 byteStefan Metzmacher1-1/+1
metze Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 1 02:12:37 CET 2011 on sn-devel-104
2011-02-28spoolss.idl: align spoolss_PrinterEnumValues 'data' based on the typeStefan Metzmacher3-1/+34
metze
2011-02-28TODO test/review librpc/ndr: remove align2 hack for relative pointersStefan Metzmacher1-5/+1
metze
2011-02-28TODO test/review librpc: align nstring and nstring_array to 2 byteStefan Metzmacher1-2/+2
metze
2011-02-28librpc/ndr: ndr align relative pointers based on the given flagsStefan Metzmacher1-0/+26
We used to do this only for the reverse relative pointers and now we always do it. metze
2011-02-28TODO test/review librpc/ndr: let ndr_push/pull_DATA_BLOB() look at ↵Stefan Metzmacher1-4/+5
LIBNDR_FLAG_REMAINING before LIBNDR_ALIGN_FLAGS metze
2011-02-28Revert "Fix alignment issues in SPOOLSS "BUFFER" marshalling."Stefan Metzmacher1-7/+0
This reverts commit 187f695469071d0550613e037b36170facb85460. This is the wrong fix. metze
2011-02-28Fix compiler warning on casting -1 to uint32.Jeremy Allison1-3/+3
2011-02-28Fix some typesJelmer Vernooij24-39/+39
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
2011-02-28Fix one more warning introduced by changing the size of ↵Jeremy Allison1-1/+1
UNIX_USER_TOKEN->ngroups from size_t to uint32_t. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Feb 28 22:43:50 CET 2011 on sn-devel-104
2011-02-28Fix warning introduced by changing the size of UNIX_USER_TOKEN->ngroups from ↵Jeremy Allison1-1/+1
size_t to uint32_t.
2011-02-28Fix "cast from pointer to integer of different size" warnings on a 64-bit ↵Jeremy Allison1-7/+7
machine.
2011-02-28ntvfs: Add some missing dependencies on tevent/events.Jelmer Vernooij2-4/+5
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 21:57:16 CET 2011 on sn-devel-104
2011-02-28tevent: Add lib/tevent as include directory.Jelmer Vernooij1-0/+1
2011-02-28samba_abi: Generate vscript entries even for ABI versions that didn't introduceJelmer Vernooij1-10/+21
any new symbols. The version entries also appear in the symbol table and removing them (we always add an entry for the current version) breaks the ABI.
2011-02-28tdb: Use <tdb.h> to include tdb so system headers are found when building ↵Jelmer Vernooij7-7/+7
against system tdb.
2011-02-28Use <tdb.h> to include tdb, so the system include file gets used when ↵Jelmer Vernooij13-13/+13
building against system tdb.
2011-02-28tdr: Inline proto header to allow tdr.h to be used as it's a public header. Jelmer Vernooij2-5/+39
2011-02-28Use <tevent.h> so the system tevent gets included, if enabled.Jelmer Vernooij4-5/+5
2011-02-28Finish the range checking on all FD_SET calls for select().Jeremy Allison2-0/+14
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Feb 28 21:10:08 CET 2011 on sn-devel-104
2011-02-28s3-torture: fix the build of rpc_open_tcp.Günther Deschner1-1/+1
Guenther
2011-02-28s3-smbd: Pass tevent context to messaging functions.Andreas Schneider1-4/+11
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Feb 28 19:00:08 CET 2011 on sn-devel-104
2011-02-28s3-rpc_client: Move client pipe functions to own header.Andreas Schneider40-94/+186
2011-02-28s3:test: fix smbclient test on older systems (usage of mktemp)Michael Adam1-1/+1
--tmpdir is not a valid option to mktemp on older systems Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 28 18:12:46 CET 2011 on sn-devel-104
2011-02-28s3:test: fix registry roundtrip test on older systems (usage of mktemp)Michael Adam1-1/+1
--tmpdir is not a valid option to mktemp on older systems
2011-02-28nsswitch: Eliminate select from wb_commonVolker Lendecke1-28/+27
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Feb 28 17:26:18 CET 2011 on sn-devel-104
2011-02-28Remove sys_select[_intr]Volker Lendecke2-158/+0