summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-03-02s3-server_id: only include server_id where needed.Günther Deschner12-1/+11
Guenther
2011-03-02s3: Attempt to fix the build on IRIXVolker Lendecke1-55/+10
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 2 11:33:05 CET 2011 on sn-devel-104
2011-03-02s3: GPFS can't deal with mangled namesVolker Lendecke1-0/+7
In getrealfilename, avoid calling the GPFS function
2011-03-02build: fixed the ELF name for private librariesAndrew Tridgell1-2/+6
thanks to Simo and rpmbuild for spotting this! Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Mar 2 02:49:34 CET 2011 on sn-devel-104
2011-03-02s4-dsdb: Ensure we permit multi-valued backlinks on single-valued attributesAndrew Bartlett1-0/+7
This was already done in repl_meta_data, but it needs to be done here as well to cope with Windows 2000 level links. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Mar 2 02:03:58 CET 2011 on sn-devel-104
2011-03-02s3-printing: vfs_connect prior to driver/dfs IODavid Disseldorp3-10/+29
samba3.posix_s3.rpc.spoolss.driver fails with the xattr_tdb vfs module loaded as a part of make test. The (now checked) create_directory() call in move_driver_to_download_area() fails, uncovering another bug in the printer driver upload code path. move_driver_to_download_area() creates a new conn_struct for manipulating files in [print$]. The VFS layer is plumbed through with the call to create_conn_struct(), however SMB_VFS_CONNECT() is never called. Many vfs modules expect state stored at connect time with SMB_VFS_HANDLE_SET_DATA() to be available on any IO operation and fail if this is not the case. This fix adds a call to SMB_VFS_CONNECT() in create_conn_struct() prior to IO. https://bugzilla.samba.org/show_bug.cgi?id=7976 Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 2 01:16:30 CET 2011 on sn-devel-104
2011-03-02s3-printing: clean up get_correct_cversion error pathsDavid Disseldorp1-18/+16
Remove an unneeded variable and simplify error paths.
2011-03-02s3-printing: fix move_driver_to_download_area() error pathsDavid Disseldorp3-72/+54
WERR_ACCESS_DENIED errors are mapped to WERR_UNKNOWN_PRINTER_DRIVER, resulting in incorrect error messages on Windows clients. move_driver_to_download_area() returns the same error status values to the caller via the *perr argument as well as the return value. The create_directory() call is not checked for error.
2011-03-02s3: remove superfluous debug messages from msg_idmapGregor Beck1-4/+0
Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Mar 2 00:30:41 CET 2011 on sn-devel-104
2011-03-01Revert "examples/LDAP: remove overoutdated samba-schema.IBMSecureWay"Björn Jacke1-0/+43
This reverts commit 90b0f86d81d4c68bf326c3e7c2247d9dabd75058. this isn't that outdated at all. Got confused by the splitted oc/at files Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue Mar 1 23:43:51 CET 2011 on sn-devel-104
2011-03-01examples/LDAP: remove overoutdated samba-schema.IBMSecureWayBjörn Jacke1-43/+0
2011-03-01examples/LDAP: delete unmaintained samba-schema-netscapeds4.xBjörn Jacke1-112/+0
2011-03-01libds/common/flag_mapping.c - fix another build dependencySean Finney1-0/+1
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Mar 1 18:53:40 CET 2011 on sn-devel-104
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