summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2011-07-22s3:libsmb: move cli_state->{src_ss,dest_ss} to ↵Stefan Metzmacher1-2/+2
cli_state->conn.{local_ss,remote_ss} metze
2011-07-22s3:libsmb: move cli_state->fd to cli_state->conn.fdStefan Metzmacher1-1/+1
metze
2011-07-22s3:libsmb: move cli_state->outgoing to cli_state->conn.outgoingStefan Metzmacher1-2/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 22 09:53:59 CEST 2011 on sn-devel-104
2011-07-22s3:libsmb: move cli_state->pending to cli_state->conn.pendingStefan Metzmacher1-1/+4
metze
2011-07-21s3:include: remove unused cli_state->called and cli_state->callingStefan Metzmacher1-2/+0
metze
2011-07-21s3:libsmb: move cli->vuid to cli->smb1.uid and hide it behind ↵Stefan Metzmacher1-1/+1
cli_state_[g|s]et_uid() metze
2011-07-21s3-rpc_server: Move pipe/handles functionsSimo Sorce1-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>
2011-07-21s3:afs make path argument to afs_syscall constChristian Ambach1-1/+1
2011-07-20s3:libsmb: move cli->cnum to cli->smb1.tid and hide it behind ↵Stefan Metzmacher1-1/+1
cli_state_[g|s]et_tid() metze
2011-07-20s3:libsmb: move cli->pid to cli->smb1.pid and hide it behind cli_[g|s]etpid()Stefan Metzmacher1-1/+1
metze
2011-07-20s3:libsmb: add cli->smb1.vc_num and hide it behind cli_state_get_vc_num()Stefan Metzmacher1-0/+1
This makes it clearer, why we send the pid value in the session setup. metze
2011-07-20s3:libsmb: move cli->mid to cli->smb1.midStefan Metzmacher1-1/+4
metze
2011-07-20s3-auth Use the common auth_session_infoAndrew Bartlett4-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>
2011-07-20s3-auth import auth3_session_info into IDLAndrew Bartlett1-24/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-20s3-auth remove extra from auth3_session_infoAndrew Bartlett1-7/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-20s3-auth Remove unused nss_token variableAndrew Bartlett1-5/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-20s3-auth: Remove unused lm_session_key from auth3_session_infoAndrew Bartlett1-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>
2011-07-20s3-auth Use system boolean in auth_user_info_unixAndrew Bartlett1-2/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-20s3-auth Use guest boolean in auth_user_info_unixAndrew Bartlett1-1/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-20s3-auth Use struct auth_user_info_unix for unix_name and sanitized_usernameAndrew Bartlett1-10/+1
This is closer to the layout of struct auth_session_info in auth.idl Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-20s3-auth Use *unix_token rather than utok in struct auth3_session_infoAndrew Bartlett1-1/+1
This brings this structure one step closer to the struct auth_session_info. A few SMB_ASSERT calls are added in some key places to ensure that this pointer is initialised, to make tracing any bugs here easier in future. NOTE: Many of the users of this structure should be reviewed, as unix and NT access checks are mixed in a way that should just be done using the NT ACL. This patch has not changed this behaviour however. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-20s3-auth Use struct auth3_session_info outside the auth subsystemAndrew Bartlett4-21/+21
This seperation between the structure used inside the auth modules and in the wider codebase allows for a gradual migration from struct auth_serversupplied_info -> struct auth_session_info (from auth.idl) The idea here is that we keep a clear seperation between the structure before and after the local groups, local user lookup and the session key modifications have been processed, as the lack of this seperation has caused issues in the past. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-20s3-auth Add struct auth3_session_info to aid transition to auth_session infoAndrew Bartlett1-0/+49
This will allow a gradual conversion of the required elements from the current struct auth_serversupplied_info. This commit adds the structure definition and some helper functions to copy between the two structures. At this stage these structures and functions are IDENTICAL to the existing code, and so show the past history of that code. The plan is to slowly modify them over the course of the patch series, so that the changes being made a clear. By using a seperate structure to auth_serversupplied_info we can remove elements that are not needed after the authentication, and we can choose a layout that best reflects the needs of runtime users, rather than the internals of the authentication subsystem. By eventually using the auth_session_info from auth.idl, we will gain a single session authorization structure across the whole codebase, allowing more code to be shared, and a much more transparent process for forwarding authorization credentials over the named pipe proxy. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-14s3-lib Remove unused get_cmdline_auth_info_copyAndrew Bartlett1-2/+0
2011-07-14s4-param finish services hooks for s4->s3 loadparm contextAndrew Bartlett1-0/+2
2011-07-13s3:libsmb: remove unused cli_smb_inbuf()Stefan Metzmacher1-1/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 13 01:19:51 CEST 2011 on sn-devel-104
2011-07-12s3:libsmb: remove unused cli_oplock_handler()Stefan Metzmacher1-3/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 12 10:53:52 CEST 2011 on sn-devel-104
2011-07-12s3:include: remove SMBkeepaliveStefan Metzmacher1-1/+0
metze
2011-07-12s3:libsmb: remove unused cli->privilegesStefan Metzmacher1-1/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 12 09:30:49 CEST 2011 on sn-devel-104
2011-07-11s3:libsmb: remove unused cli_set_port()Stefan Metzmacher1-1/+0
metze
2011-07-11s3:libsmb: also remember the local socket address after connectStefan Metzmacher1-0/+1
metze
2011-07-08s3:libsmb: remove unused cli->inbuf and cli->bufsizeStefan Metzmacher1-2/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 8 15:21:46 CEST 2011 on sn-devel-104
2011-07-08s3:libsmb: remove unused smb_dos_errstr()Stefan Metzmacher1-1/+0
metze
2011-07-08s3:libsmb: don't use the cli->inbuf to store the last errorStefan Metzmacher2-12/+1
We keep the raw error in cli->raw_status now, until we fixed all caller to get the NTSTATUS from the function calls. metze
2011-07-08s3:libsmb: remove unused enum smb_read_errors infrastructureStefan Metzmacher3-19/+0
metze
2011-07-08lib/param: Merge struct loadparm_service into commonAndrew Bartlett1-1/+1
This is handled by a common header and a .c file that is included into both loadparm.c files. In the process, _lp functions were renamed to lp__ to allow the common function definition declarations to be used by source3 and source4 (which have different macro definitions). The only parameter to change type is 'strict_locking' which was a bool, and is now an int, to accommodate the 'Auto' value from source3. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jul 8 12:35:56 CEST 2011 on sn-devel-104
2011-07-08lib/util Move bitmap.c to lib/utilAndrew Bartlett2-14/+0
2011-07-08param: Add hooks to s3 parm_struct and the parameters void * pointerAndrew Bartlett1-1/+4
This is to that the pyparam hooks can use the hooks to connect with the s3 loadparm system. This now also includes per-service parameters. Andrew Bartlett
2011-07-08s3-param Remove lp_set_passdb_backend()Andrew Bartlett1-1/+0
2011-07-08s3:libsmb: add smb2cli_tcon*() and smb2cli_tdis*()Stefan Metzmacher1-0/+5
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08s3:libsmb: add smb2cli_negprot*()Stefan Metzmacher1-0/+11
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08s3:libsmb: add basic smb2 client infrastructureStefan Metzmacher1-0/+7
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-07s3:libsmb: finally remove unused cli_state->outbufStefan Metzmacher1-1/+0
metze
2011-07-07s3:libsmb: use clistr_pull_talloc() for short_name in interpret_long_filename()Stefan Metzmacher1-1/+1
metze
2011-07-07s3-printing: move spoolss_create_default_devmode/secdesc to init_spoolss.hGünther Deschner1-7/+0
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-printing: move driver_info_ctr_to_info8 to init_spoolss.hGünther Deschner1-3/+0
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-printing: move os2 related functions to printing/nt_printing_os2.c.Günther Deschner1-2/+0
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-06s3-build We no longer require to redefine _SAMBA_BUILD_Andrew Bartlett1-5/+0
2011-07-06libcli/smb move FILE_TYPE constants in commonAndrew Bartlett1-8/+0
This allows us to remove another _SAMBA_BUILD_ conditional Andrew Bartlett
2011-07-06libcli/smb move enum protocol_types to a common headerAndrew Bartlett1-12/+0