summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4:netlogon RPC server - "LogonGetDomainInfo" - check for NULL attributesMatthias Dieter Wallnöfer2011-03-011-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
* s4:drsuapi RPC server - check for the "SPN" attribute != NULLMatthias Dieter Wallnöfer2011-03-011-0/+6
| | | | | | The SPN attribute could derive from an untrusted source (client). Reviewed-by: Jelmer
* s4:dsdb - always handle the attribute "options" as 32bit unsigned integerMatthias Dieter Wallnöfer2011-03-014-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
* libcli/security Add unix_token and unix_info to auth_session_info tooAndrew Bartlett2011-03-011-0/+2
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 07:13:43 CET 2011 on sn-devel-104
* s3-auth struct security_unix_token replaces UNIX_USER_TOKENAndrew Bartlett2011-03-0111-36/+29
|
* librpc/idl Add helper structures for use by samba3 in auth_session_infoAndrew Bartlett2011-03-012-0/+23
| | | | | | | The unix info and in particular unix token needs to be preserved into the struct auth_session_info. Andrew Bartlett
* pidl Add support for uid_t and gid_t typesAndrew Bartlett2011-03-015-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
* s3-rpc_server Handle session key as a constant bufferAndrew Bartlett2011-03-011-28/+4
| | | | | | This way, we don't have to check for memory allocation failures. Andrew Bartlett
* s4:dsdb/common/util.c - remove "samdb_find_or_add_value"Matthias Dieter Wallnöfer2011-03-011-8/+0
| | | | | | This isn't used anymore. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:dsdb/common/util.c - fully remove "samdb_msg_add_string"Matthias Dieter Wallnöfer2011-03-011-18/+3
| | | | | | | This isn't needed anymore and will be substituted by "ldb_msg_add_string". Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:libnet/libnet_samsync_ldb.c - add a "samdb_msg_add_string" wrapperMatthias Dieter Wallnöfer2011-03-011-0/+8
| | | | | | Add this in order to allow the "ADD_OR_DEL" macros to work. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:remove many invocations of "samdb_msg_add_string"Matthias Dieter Wallnöfer2011-03-018-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>
* autobuild: enabled samba3-waf buildAndrew Tridgell2011-03-011-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
* lib/util: new merged debug systemAndrew Bartlett2011-03-0116-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
* lib/util move debug.[ch] out of the wayAndrew Bartlett2011-03-014-2/+2
| | | | | | | This will allow a modified version of the s3 debug system to be the new common debug system. Andrew Bartlett
* s4-libnet_vampire: Ignore some attributes when building working schema cacheKamen Mazdrashki2011-03-011-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
* s4-repl/working_schema: Ignore some attributes when bulding working schema cacheKamen Mazdrashki2011-03-011-0/+9
| | | | | We don't need all object attributes resolved and converted for a working schema to be functional.
* s4-replicated_objects: Implement a mechanism to relax some attributes conversionKamen Mazdrashki2011-03-011-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
* s3-debug Always use C99 true/false rather than True and FalseAndrew Bartlett2011-03-011-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
* s3-build __FUNCTION__ is always available, always use itAndrew Bartlett2011-03-013-5/+5
| | | | This avoids duplication between FUNCTION_NAME and __FUNCTION__
* lib/util/time: Merge time functions from source3/lib/time.cAndrew Bartlett2011-03-013-63/+76
|
* spoolss.idl: align spoolss_DriverFileInfo relative pointer to 4 byteStefan Metzmacher2011-03-011-1/+1
| | | | | | | metze Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 1 02:12:37 CET 2011 on sn-devel-104
* spoolss.idl: align spoolss_PrinterEnumValues 'data' based on the typeStefan Metzmacher2011-02-283-1/+34
| | | | metze
* TODO test/review librpc/ndr: remove align2 hack for relative pointersStefan Metzmacher2011-02-281-5/+1
| | | | metze
* TODO test/review librpc: align nstring and nstring_array to 2 byteStefan Metzmacher2011-02-281-2/+2
| | | | metze
* librpc/ndr: ndr align relative pointers based on the given flagsStefan Metzmacher2011-02-281-0/+26
| | | | | | | We used to do this only for the reverse relative pointers and now we always do it. metze
* TODO test/review librpc/ndr: let ndr_push/pull_DATA_BLOB() look at ↵Stefan Metzmacher2011-02-281-4/+5
| | | | | | LIBNDR_FLAG_REMAINING before LIBNDR_ALIGN_FLAGS metze
* Revert "Fix alignment issues in SPOOLSS "BUFFER" marshalling."Stefan Metzmacher2011-02-281-7/+0
| | | | | | | | This reverts commit 187f695469071d0550613e037b36170facb85460. This is the wrong fix. metze
* Fix compiler warning on casting -1 to uint32.Jeremy Allison2011-02-281-3/+3
|
* Fix some typesJelmer Vernooij2011-02-2824-39/+39
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
* Fix one more warning introduced by changing the size of ↵Jeremy Allison2011-02-281-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
* Fix warning introduced by changing the size of UNIX_USER_TOKEN->ngroups from ↵Jeremy Allison2011-02-281-1/+1
| | | | size_t to uint32_t.
* Fix "cast from pointer to integer of different size" warnings on a 64-bit ↵Jeremy Allison2011-02-281-7/+7
| | | | machine.
* ntvfs: Add some missing dependencies on tevent/events.Jelmer Vernooij2011-02-282-4/+5
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 21:57:16 CET 2011 on sn-devel-104
* tevent: Add lib/tevent as include directory.Jelmer Vernooij2011-02-281-0/+1
|
* samba_abi: Generate vscript entries even for ABI versions that didn't introduceJelmer Vernooij2011-02-281-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.
* tdb: Use <tdb.h> to include tdb so system headers are found when building ↵Jelmer Vernooij2011-02-287-7/+7
| | | | against system tdb.
* Use <tdb.h> to include tdb, so the system include file gets used when ↵Jelmer Vernooij2011-02-2813-13/+13
| | | | | | building against system tdb.
* tdr: Inline proto header to allow tdr.h to be used as it's a public header. Jelmer Vernooij2011-02-282-5/+39
|
* Use <tevent.h> so the system tevent gets included, if enabled.Jelmer Vernooij2011-02-284-5/+5
|
* Finish the range checking on all FD_SET calls for select().Jeremy Allison2011-02-282-0/+14
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Feb 28 21:10:08 CET 2011 on sn-devel-104
* s3-torture: fix the build of rpc_open_tcp.Günther Deschner2011-02-281-1/+1
| | | | Guenther
* s3-smbd: Pass tevent context to messaging functions.Andreas Schneider2011-02-281-4/+11
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Feb 28 19:00:08 CET 2011 on sn-devel-104
* s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2011-02-2840-94/+186
|
* s3:test: fix smbclient test on older systems (usage of mktemp)Michael Adam2011-02-281-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
* s3:test: fix registry roundtrip test on older systems (usage of mktemp)Michael Adam2011-02-281-1/+1
| | | | --tmpdir is not a valid option to mktemp on older systems
* nsswitch: Eliminate select from wb_commonVolker Lendecke2011-02-281-28/+27
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Feb 28 17:26:18 CET 2011 on sn-devel-104
* Remove sys_select[_intr]Volker Lendecke2011-02-282-158/+0
|
* tevent: Add a poll backendVolker Lendecke2011-02-285-0/+310
|
* libcli: Eliminate select from smb_readline_replacementVolker Lendecke2011-02-281-7/+5
|