summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-ntlmssp Remove auth_ntlmssp_or_flagsAndrew Bartlett2011-08-031-1/+0
| | | | | | | | | We now just use auth_ntlmssp_want_feature to get extra flags on the NTLMSSP context Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-ntlmssp Add mem_ctx argument to auth_ntlmssp_updateAndrew Bartlett2011-08-031-0/+1
| | | | | | | | This clarifies the lifetime of the returned token. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-ntlmssp Add hooks to optionally call into GENSEC in auth_ntlmsspAndrew Bartlett2011-08-031-0/+3
| | | | | | | | | | This allows the current behaviour of the NTLMSSP code to be unchanged while adding a way to hook in an alternate implementation via an auth module. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-ntlmssp Add mem_ctx argument to auth_ntlmssp_get_session_key()Andrew Bartlett2011-08-031-1/+2
|
* s3-auth Allow auth modules to provide an initialised GENSEC contextAndrew Bartlett2011-08-031-0/+9
| | | | | | | | | This will allow auth plugins such as auth_samba4 to provide an initialised GENSEC context to auth subsystem callers. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-ntlmssp Use auth_ntlmssp_*() functions in more placesAndrew Bartlett2011-08-032-3/+2
| | | | | | | | This allows auth_ntlmssp_get_ntlmssp_state() to be removed. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3: Remove unused ERROR_FORCE_NT macroVolker Lendecke2011-08-021-1/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Aug 2 20:32:08 CEST 2011 on sn-devel-104
* s3: Remove unused ERROR_DOS macroVolker Lendecke2011-08-021-1/+0
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-08-021-3/+3
|
* s3:smbd - Move printing queue stuffSimo Sorce2011-08-021-2/+0
| | | | | | | | This way we can properly deal with pcap updates in the background queue process if it is enabled (on by default) and not perform these actions in the main smbd process. Signed-off-by: Günther Deschner <gd@samba.org>
* s3:include: change cli->protocol to enum protocol_typesStefan Metzmacher2011-08-021-1/+1
| | | | metze
* s3:include: make use of cli_state_capabilities() in SERVER_HAS_UNIX_CIFS()Stefan Metzmacher2011-08-021-1/+1
| | | | metze
* s3-rpc_server: Added common function to create tcpip socket.Andreas Schneider2011-08-011-0/+1
|
* s3-secrets: add lsa_secret passdb api.Günther Deschner2011-07-311-0/+14
| | | | Guenther
* s3-passdb: add dummy calls to control global (replicated) secrets.Günther Deschner2011-07-311-2/+18
| | | | Guenther
* First part of bugfix for bug #8335 - file copy aborts with ↵Jeremy Allison2011-07-291-1/+1
| | | | | | | smb2_validate_message_id: bad message_id Set default max credits to 8192 now this has been documented in the SMB2 spec.
* s3: Make map_open_params_to_ntcreate() available in lib/Volker Lendecke2011-07-291-0/+7
|
* s3: Make is_executable() available in lib/Volker Lendecke2011-07-291-0/+1
|
* s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/Michael Adam2011-07-292-139/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104
* s3:dbwrap: move db_is_local() from dbwrap.c to dbwrap_open.cMichael Adam2011-07-291-2/+0
|
* s3:dbwrap: move db_open() to a file dbwrap_open.c of its own.Michael Adam2011-07-291-5/+0
| | | | | | Also start new folder lib/dbwrap/ where dbwrap_open.c is stored and make the fallbacke implementation functoins non-static and create a dbwrap_private.h header file that contains their prototypes.
* s3-printing: Add forward declaration for dcerpc_binding_handle.Andreas Schneider2011-07-281-0/+2
| | | | | | | This fixes a build warning. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Jul 28 20:07:37 CEST 2011 on sn-devel-104
* s3-spoolss: Use existing handle in printer_driver_files_in_use().Andreas Schneider2011-07-281-2/+1
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Jul 28 16:20:11 CEST 2011 on sn-devel-104
* s3-spoolss: Use existing handle in printer_driver_in_use().Andreas Schneider2011-07-281-2/+1
|
* s3:loadparm: make lp_set_in_client() static - only used in wrappers in ↵Michael Adam2011-07-281-1/+0
| | | | loadparm now.
* s3:loadparm: add wrapper lp_load_client_no_reinit()Michael Adam2011-07-281-0/+1
|
* s3:loadparm: add wrapper lp_load_globals_no_reinit()Michael Adam2011-07-281-0/+1
|
* s3:loadparm: make lp_is_in_client() static - only used inside loadparmMichael Adam2011-07-281-1/+0
|
* s3:loadparm: add lp_load_client() that also sets the client state internallyMichael Adam2011-07-281-0/+1
|
* s3:loadparm: add a convenience wrapper lp_load_global()Michael Adam2011-07-281-0/+1
| | | | This is the use case for most callers, especially the client tools.
* s3: Fix async smb handlingVolker Lendecke2011-07-271-0/+1
| | | | | | | | | | | | In cli_echo with more than one response we ended up with more than one read_smb request. One from the call to cli_smb_req_set_pending called from cli_smb_received. The other one from cli_smb_received itself. I don't really see another way to deal with this than to hold the read_smb request in the cli_state. Metze, please check! Volker
* s3:libsmb: move cli_state->desthost to cli_state->conn.remote_nameStefan Metzmacher2011-07-221-2/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 22 18:17:41 CEST 2011 on sn-devel-104
* s3:libsmb: move cli_state->{src_ss,dest_ss} to ↵Stefan Metzmacher2011-07-221-2/+2
| | | | | | cli_state->conn.{local_ss,remote_ss} metze
* s3:libsmb: move cli_state->fd to cli_state->conn.fdStefan Metzmacher2011-07-221-1/+1
| | | | metze
* s3:libsmb: move cli_state->outgoing to cli_state->conn.outgoingStefan Metzmacher2011-07-221-2/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 22 09:53:59 CEST 2011 on sn-devel-104
* s3:libsmb: move cli_state->pending to cli_state->conn.pendingStefan Metzmacher2011-07-221-1/+4
| | | | metze
* s3:include: remove unused cli_state->called and cli_state->callingStefan Metzmacher2011-07-211-2/+0
| | | | metze
* s3:libsmb: move cli->vuid to cli->smb1.uid and hide it behind ↵Stefan Metzmacher2011-07-211-1/+1
| | | | | | cli_state_[g|s]et_uid() metze
* s3-rpc_server: Move pipe/handles functionsSimo Sorce2011-07-211-192/+2
| | | | | | | | | | | | Put InternalPipes related functions in rpc_handles.c and out of rpc_ncacn_np.c rpc_handles.c is the only file that really uses them after all and ncacn_np.c is the wrong place for that stuff. While ther remove unnecessary wrapper functions now that the InternalPipes static variable is directly accessible. Also move all pipes_struct related header stuff in its own rpc_pipes.h header. Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:afs make path argument to afs_syscall constChristian Ambach2011-07-211-1/+1
|
* s3:libsmb: move cli->cnum to cli->smb1.tid and hide it behind ↵Stefan Metzmacher2011-07-201-1/+1
| | | | | | cli_state_[g|s]et_tid() metze
* s3:libsmb: move cli->pid to cli->smb1.pid and hide it behind cli_[g|s]etpid()Stefan Metzmacher2011-07-201-1/+1
| | | | metze
* s3:libsmb: add cli->smb1.vc_num and hide it behind cli_state_get_vc_num()Stefan Metzmacher2011-07-201-0/+1
| | | | | | This makes it clearer, why we send the pid value in the session setup. metze
* s3:libsmb: move cli->mid to cli->smb1.midStefan Metzmacher2011-07-201-1/+4
| | | | metze
* s3-auth Use the common auth_session_infoAndrew Bartlett2011-07-204-21/+21
| | | | | | | | | | | This patch finally has the same structure being used to describe the authorization data of a user across the whole codebase. This will allow of our session handling to be accomplished with common code. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-auth import auth3_session_info into IDLAndrew Bartlett2011-07-201-24/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-auth remove extra from auth3_session_infoAndrew Bartlett2011-07-201-7/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-auth Remove unused nss_token variableAndrew Bartlett2011-07-201-5/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-auth: Remove unused lm_session_key from auth3_session_infoAndrew Bartlett2011-07-201-1/+0
| | | | | | | | | | | | The long term authorization state needs only the final, negotiated session key, and not the original LM key that may possibly have been an input. The special case of the guest account simply needs both values filled back in with the zeros to avoid changing behaviour in the cached server_info. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-auth Use system boolean in auth_user_info_unixAndrew Bartlett2011-07-201-2/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>