summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:ctdbd_conn: use unitX_t types consistently throughout the moduleMichael Adam2012-08-011-9/+9
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Add two flags to allow for handling of Extended Signatures (Session Key ↵Richard Sharpe2012-08-011-0/+2
| | | | | | | Protection) on a TCON_AND_X request and response. Autobuild-User(master): Richard Sharpe <sharpe@samba.org> Autobuild-Date(master): Wed Aug 1 06:36:37 CEST 2012 on sn-devel-104
* lib/param: Rename "socket address" to "nbt client socket address" to clarify ↵Andrew Bartlett2012-07-271-1/+1
| | | | | | | | | | | | | role This parameter is only used in our NBT client code and in nmbd as a fallback when we fail to select a better interface from "interfaces" to use directly. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Jul 27 12:16:25 CEST 2012 on sn-devel-104
* s3:libsmb: remove unused cli_state->smb2.pidStefan Metzmacher2012-07-251-1/+0
| | | | metze
* s3:libsmb: remove unused tcon specific elements from cli_state->smb2Stefan Metzmacher2012-07-251-6/+0
| | | | metze
* s3:libsmb: remove cli_state->smb2.tidStefan Metzmacher2012-07-251-1/+0
| | | | metze
* s3:libsmb: setup a smbXcli_tcon for SMB2Stefan Metzmacher2012-07-241-0/+1
| | | | metze
* s3:libsmb: use a smbXcli_tcon instead of uint16_t cli_state->smb1.tidStefan Metzmacher2012-07-241-1/+1
| | | | metze
* lib/param: Merge handling of security/domain master/domain logons/server roleAndrew Bartlett2012-07-241-0/+4
| | | | | | | This ensures that the same input parameters always gives the same output values in both loadparm systems. Andrew Bartlett
* lib/param: Move all enum declarations to lib/paramAndrew Bartlett2012-07-244-72/+3
| | | | | | | | This is in preperation for the parameter table being made common. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* param: Make the 'unicode' parameter commonAndrew Bartlett2012-07-241-0/+1
| | | | | | This parameter is most useful for interop testing, rather than production use. Andrew Bartlett
* s3:libsmb: use cli_state_{g,s}et_uid instead of smb1.uid directlyLuk Claes2012-07-231-1/+1
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-winbind: Fix bug #9052 resolving our own "Domain Local" groups.Andreas Schneider2012-07-231-2/+1
| | | | | | | | | | | | | | | | | We don't resolve our own "Domain Local" groups since bug #7843 has been fixed. So we need to add the add resource groups to the sid list too. Before bug #7843 the "Domain Local" groups were added with a lookupuseraliases call, but this isn't done anymore for our domain so we need to resolve resource groups here. When to use Resource Groups: http://technet.microsoft.com/en-us/library/cc753670%28v=WS.10%29.aspx Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon Jul 23 22:12:30 CEST 2012 on sn-devel-104
* Remove source3/lib/pidfile.cJeremy Allison2012-07-201-6/+0
| | | | | Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jul 20 03:57:20 CEST 2012 on sn-devel-104
* Make the s3 pidfile use the common code inside lib/util/pidfile.cJeremy Allison2012-07-191-1/+1
|
* Move source4/smbd/pidfile into lib/util in preparation for making it in common.Jeremy Allison2012-07-191-3/+3
|
* lib/param: bring lp_smb_ports() into common by making it a list everywhereAndrew Bartlett2012-07-191-1/+1
|
* s3-param: Make lp_name_resolve_order() return a listAndrew Bartlett2012-07-191-3/+2
| | | | | | | | | This allows this parameter, one of the few with differing declarations between the loadparm systems, to be brought into common. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* s3-smb1: Postpone close_file until all aio is handledVolker Lendecke2012-07-181-0/+9
| | | | | | Thanks to Jeremy for this simple idea Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-vfs: async fsyncVolker Lendecke2012-07-182-0/+18
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-aio: Remove unused VFS functions and moreVolker Lendecke2012-07-184-93/+0
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Make smbd/aio.c not depend on aio.h anymoreVolker Lendecke2012-07-182-4/+6
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Properly handle shutdown with the _send/_recv based aioVolker Lendecke2012-07-181-0/+2
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-vfs: async preadVolker Lendecke2012-07-182-0/+22
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-vfs: async pwriteVolker Lendecke2012-07-182-0/+22
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *.Rusty Russell2012-07-181-81/+81
| | | | | | | | | | They use talloc_tos() internally: hoist that up to the callers, some of whom don't want to us talloc_tos(). A simple patch, but hits a lot of files. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* s3-secrets: Use C99 typesAndrew Bartlett2012-07-151-5/+5
|
* Move set_thread_credentials_permanently() to set_thread_credentials()Jeremy Allison2012-07-111-4/+4
| | | | | | | | | | as we need to keep the saved set uid/gid otherwise there is an interaction with open[at]() and NO_ATIME returning EPERM. As this is meant for threaded code inside the process we don't need to do an irreverisble change anyway. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Jul 11 03:54:00 CEST 2012 on sn-devel-104
* Make check_same_stat() and check_same_dev_ino() common functions.Jeremy Allison2012-07-091-0/+4
|
* Move copy_unix_token() from locking/locking.c to lib/util.c.Jeremy Allison2012-07-031-0/+1
| | | | Make public.
* Add function set_thread_credentials_permanently(). Panic if fail.Jeremy Allison2012-07-031-0/+4
| | | | Not yet used.
* s3-smbd: Remove deprecated 'share modes' option.Andreas Schneider2012-07-031-1/+0
|
* s3-printing: Remove deprecated lp_printer_admin().Andreas Schneider2012-07-031-1/+0
|
* s3:vfs: use smbXsrv_open instead of smbXsrv_open0 in files_structMichael Adam2012-07-031-1/+1
|
* s3:vfs: use smbXsrv_tcon instead of smbXsrv_tcon0 in connection_struct.Michael Adam2012-07-031-1/+1
|
* s3:smb: include "smbXsrv.h" before "vfs.h"Michael Adam2012-07-031-0/+6
| | | | | | This is still needed as long as smbXsrv_open/_tcon are referenced in files_struct and connection_struct respectively. Eventually, these structures should not have a backlink to the smb world any more.
* auth: Remove .get_challenge (only used for security=server)Andrew Bartlett2012-07-031-11/+0
| | | | | | | | | | | | | With NTLMSSP, for NTLM2 we need to be able to set the effective challenge, so if we ever did use a module that needed this functionlity, we would downgrade to just NTLM. Now that security=server has been removed, we have no such module. This will make it easier to make the auth subsystem async, as we will not need to consider making .get_challenge async. Andrew Bartlett
* Add uint64_t mid field to the files_struct.Jeremy Allison2012-06-301-0/+1
| | | | Ensure it is initialized so we know what mid created this file.
* s3:smbd: make use of smbXsrv_open for smb1/2/3Stefan Metzmacher2012-06-291-0/+1
| | | | | | | | | | | | This makes sure we generate unique persistent file ids, which are stored in smbXsrv_open_global.tdb. Pair-Programmed-With: Michael Adam <obnox@samba.org> metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 29 21:01:11 CEST 2012 on sn-devel-104
* Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls.Jeremy Allison2012-06-281-0/+3
| | | | | | Will allow thread-specific credentials to be added by modifying the central definitions. Deliberately left the setXX[ug]id() call in popt as this is not used in Samba.
* s3:smb2_server: remove unused and confusing ↵Stefan Metzmacher2012-06-291-1/+0
| | | | | | DEFAULT_SMB2_MAX_CREDIT_BITMAP_FACTOR metze
* s3-param: Rename loadparm_s3_context -> loadparm_s3_helpersAndrew Bartlett2012-06-271-1/+1
| | | | | | | | | | | | | | | | | This helps clarify the role of this structure and wrapper function. The purpose here is to provide helper functions to the lib/param loadparm_context that point back at the s3 lp_ functions. This allows a struct loadparm_context to be passed to any point in the code, and always refer to the correct loadparm system. If this has not been set, the variables loaded in the lib/param code will be returned. As requested by Michael Adam. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Jun 27 17:11:16 CEST 2012 on sn-devel-104
* s3-printing: pass lpq command to job_submitDavid Disseldorp2012-06-261-1/+3
| | | | | | | | | | | Currently the generic print backend does not fill the printing backend job identifier (sysjob) on submission of a new job. The sysjob identifier is required to correctly map jobs in the printer queue to corresponding spoolss print jobs. Passing the lpq command to job_submit allows the generic print backend to check the printer queue for the new job following submission. This behaviour will come in a later commit.
* s3-printing: remove unused print_job_fname()David Disseldorp2012-06-261-1/+0
|
* s3-printing: return talloced print jobsDavid Disseldorp2012-06-261-1/+3
| | | | | | | | | print_job_find() currently returns print jobs to callers via a statically allocated variable, this is particularly messy as the device mode is talloced under the static variable. This change adds or passes a talloc context to all callers, giving them ownership of the returned print job.
* s3-printing: clean up print_job_pause/resume interfaceDavid Disseldorp2012-06-261-4/+4
| | | | | Currently both return a bool and sometimes set a werr pointer argument, always return werror instead.
* s3-printing: remove print_parse_jobid()David Disseldorp2012-06-261-1/+0
| | | | With all callers fixed, it is now safe to remove.
* s3-printing: rename queue->job sysjobDavid Disseldorp2012-06-261-1/+1
| | | | | | | | | | | | | | | Print jobs maintain two job identifiers, the jobid allocated by the spoolss layer (pj->jobid), and the job identifier defined by the printing backend (pj->sysjob). Printer job queues currently only contain a single job identifier variable (queue->job), the variable is sometimes representative of the spoolss layer job identifier, and more often representative of the printing backend id. This change renames the queue job identifier from queue->job to queue->sysjob, in preparation for a change to only store the printing backend identifier.
* s3-printing: store print jobid as part of struct printjobDavid Disseldorp2012-06-261-1/+2
| | | | | | | Printing code in some places relies upon the spool-file format to retrieve the print jobid. By storing the jobid as part of struct printjob, and hence in the printing TDB, we can move away from this ugly behaviour.
* s3:smbd: make use of smbXsrv_tcon for smb1Stefan Metzmacher2012-06-252-2/+1
| | | | | | Pair-Programmed-With: Michael Adam <obnox@samba.org> metze