summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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-01s3-auth struct security_unix_token replaces UNIX_USER_TOKENAndrew Bartlett11-36/+29
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-01lib/util: new merged debug systemAndrew Bartlett9-1410/+5
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-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 Bartlett1-63/+0
2011-02-28Fix compiler warning on casting -1 to uint32.Jeremy Allison1-3/+3
2011-02-28Fix some typesJelmer Vernooij8-12/+12
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-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-28s3: Eliminate sys_select from do_smb_resolve() -- untestedVolker Lendecke1-14/+3
2011-02-28s3: Eliminate sys_select from do_smb_browse() -- untestedVolker Lendecke1-14/+4
2011-02-28s3: Eliminate sys_select_intr from smbfilterVolker Lendecke1-17/+43
2011-02-28s3: Remove unused receive_packetStefan Metzmacher2-34/+0
2011-02-28s3: Eliminate sys_select_intr from read_fd_with_timeoutVolker Lendecke1-12/+7
2011-02-28s3: Eliminiate sys_select_intr from client.cVolker Lendecke1-10/+6
2011-02-28s3: Add poll_intr_one_fdVolker Lendecke2-0/+18
2011-02-28s3: Eliminate sys_select from g_lock_lockVolker Lendecke1-11/+31
2011-02-28s3: Eliminate sys_select from fd_is_readableVolker Lendecke1-10/+4
2011-02-28s3: Eliminate select from packet_fd_read_syncVolker Lendecke3-19/+16
2011-02-28s3: Add poll_one_fd()Volker Lendecke2-0/+28
2011-02-28s3: Remove select-based s3 event backendVolker Lendecke2-119/+0
2011-02-28s3: Use poll in nmbdVolker Lendecke1-102/+113
2011-02-28s3: Use poll in winbindVolker Lendecke1-22/+29
2011-02-28s3: Use poll in smbdVolker Lendecke2-20/+23
2011-02-28s3: Use poll for the event loopVolker Lendecke2-13/+272
2011-02-28libreplace: poll based on selectVolker Lendecke1-1/+1
2011-02-28s3: Add timeval_to_msecVolker Lendecke2-0/+6
2011-02-28s3:msg_idmap: The solaris cc compiler does not like unnamed unions as struct ↵Michael Adam1-13/+13
members - fix the build Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 28 16:39:15 CET 2011 on sn-devel-104
2011-02-28s3: fix the waf build after adding smbd/msg_idmap.cMichael Adam1-1/+1
2011-02-28s3: Survive an idle child that was killedChristian Ambach1-0/+6
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Feb 28 14:53:20 CET 2011 on sn-devel-104
2011-02-28s3: smbcontrol to notify smbd about idmap changesGregor Beck6-1/+265
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 28 14:07:23 CET 2011 on sn-devel-104
2011-02-28s3: add functions to remove entries from idmap cacheGregor Beck2-0/+120
2011-02-28s3: add functions to remove entries from idmap memcacheGregor Beck2-0/+55
2011-02-28s3: add functions to flush the idmap memcacheGregor Beck2-0/+16
2011-02-27s3: Fix a typoVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 27 20:14:20 CET 2011 on sn-devel-104
2011-02-27s3: Fix a commentVolker Lendecke1-1/+1
2011-02-27s3: Fix some nonempty blank linesVolker Lendecke8-52/+50
2011-02-27s3: Use strndup in parse_nss_paramVolker Lendecke1-13/+2
2011-02-27s3: properly find our standard nss_info backendsVolker Lendecke1-0/+13
Right now, the nss_info backends are tied to the idmap backends (which is wrong IMHO). In the domain child we don't load the idmap backend anymore, so we don't have the nss info modules. This needs fixing properly.
2011-02-27s3: Fix a debug messageVolker Lendecke1-2/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 27 16:59:19 CET 2011 on sn-devel-104