summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-smbtorture: add netsessionenum rap torture test.Günther Deschner2011-03-022-0/+26
| | | | Guenther
* s4-smbtorture: add smbcli_rap_netsessionenum().Günther Deschner2011-03-021-0/+80
| | | | Guenther
* rap: add rap_NetSessionEnum to IDL.Günther Deschner2011-03-021-0/+30
| | | | Guenther
* s3-server_id: only include server_id where needed.Günther Deschner2011-03-0212-1/+11
| | | | Guenther
* s3: Attempt to fix the build on IRIXVolker Lendecke2011-03-021-55/+10
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 2 11:33:05 CET 2011 on sn-devel-104
* s3: GPFS can't deal with mangled namesVolker Lendecke2011-03-021-0/+7
| | | | In getrealfilename, avoid calling the GPFS function
* build: fixed the ELF name for private librariesAndrew Tridgell2011-03-021-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
* s4-dsdb: Ensure we permit multi-valued backlinks on single-valued attributesAndrew Bartlett2011-03-021-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
* s3-printing: vfs_connect prior to driver/dfs IODavid Disseldorp2011-03-023-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
* s3-printing: clean up get_correct_cversion error pathsDavid Disseldorp2011-03-021-18/+16
| | | | Remove an unneeded variable and simplify error paths.
* s3-printing: fix move_driver_to_download_area() error pathsDavid Disseldorp2011-03-023-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.
* s3: remove superfluous debug messages from msg_idmapGregor Beck2011-03-021-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
* Revert "examples/LDAP: remove overoutdated samba-schema.IBMSecureWay"Björn Jacke2011-03-011-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
* examples/LDAP: remove overoutdated samba-schema.IBMSecureWayBjörn Jacke2011-03-011-43/+0
|
* examples/LDAP: delete unmaintained samba-schema-netscapeds4.xBjörn Jacke2011-03-011-112/+0
|
* libds/common/flag_mapping.c - fix another build dependencySean Finney2011-03-011-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
* s4:drsuapi RPC server - this resembles more "samdb_is_gc"Matthias Dieter Wallnöfer2011-03-011-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
* librpc/ndr: handle NOALIGN flag for relative pointers and alignment DATA_BLOBsStefan Metzmacher2011-03-012-5/+14
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Mar 1 17:11:03 CET 2011 on sn-devel-104
* 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.