summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
AgeCommit message (Collapse)AuthorFilesLines
2012-04-06build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett1-5/+5
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
2012-04-05build: #ifdef LARGE_SMB_OFF_T as off_t is now always 64 bitsAndrew Bartlett1-4/+0
2012-03-22s3: Add FILE_NOTIFY_CHANGE_ALL #defineVolker Lendecke1-0/+8
2012-03-21s3: Move the notify_ctx to the smbd_server_connectionVolker Lendecke1-1/+0
We only need one notify_ctx per smbd. The notify_array can become quite large. It's based on absolute paths, so there's no point in having a copy of the complete array in memory multiple times. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Mar 21 14:26:07 CET 2012 on sn-devel-104
2012-03-21s3: Remove "conn" from sys_notify_contextVolker Lendecke1-1/+0
2012-03-10s3: Add smb_request_doneVolker Lendecke1-0/+5
This is used to enable async chained command sequences. A synchronous reply_xxx command does not need to take are anymore about and_x chaining. The async commands (pipe r/w at this moment) must do so however. When finished, they must inform the main chain engine that they are finished with a smb_request_done call. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Mar 10 17:14:05 CET 2012 on sn-devel-104
2012-03-10s3: Remove unused smb_request->doneVolker Lendecke1-2/+0
2012-03-10s3: Remove unused smb_request->chain_outbufVolker Lendecke1-5/+0
2012-03-01Trivial Comment fix: Supply a missing word in a commentRichard Sharpe1-1/+1
Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Thu Mar 1 06:55:44 CET 2012 on sn-devel-104
2012-02-29Add the implementation of check_reduced_name_with_privilege(). Now to plumb intoJeremy Allison1-0/+16
SMB1 requests.
2012-02-23s3: smb_request->vwv can be constVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Feb 23 12:37:23 CET 2012 on sn-devel-104
2012-02-16Rename obscure defined constants.Christopher R. Hertel (crh)1-2/+2
Replaced the undescriptive SMB_PORT1 and SMB_PORT2 defined constants with the slightly more descriptive names NBT_SMB_PORT and TCP_SMB_PORT. Also replaced several hard-coded references to the well-known port numbers (139 and 445, respectively) as appropriate. Small changes to clarify some comments regarding the two transport types. Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Feb 16 08:29:41 CET 2012 on sn-devel-104
2012-02-14s3: files_struct->mode is only written, remove itVolker Lendecke1-1/+0
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Feb 14 19:14:29 CET 2012 on sn-devel-104
2012-01-12s3: Put an indirection layer into share_mode_lockVolker Lendecke1-0/+4
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-01-05s3-auth use gensec directly rather than via auth_generic_stateAndrew Bartlett1-1/+1
This is possible because the s3 gensec modules are started as normal gensec modules, so we do not need a wrapper any more. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-01s3: Happy New Year 2012Stefan Metzmacher1-1/+1
metze
2011-12-22s3-auth rename auth_ntlmssp_state -> auth_generic_stateAndrew Bartlett1-1/+1
This structure handles more than NTLMSSP now, at least when we are an AD DC and so changing the name may avoid some confusion in the future. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-12-14s3-includes: remove PRIMARY_* SID_INDEX defines defined elsewhere already.Günther Deschner1-13/+0
They really do not belong to smb.h. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 14 21:15:39 CET 2011 on sn-devel-104
2011-12-14s3: Remove UNUSED_SHARE_MODE_ENTRYVolker Lendecke1-2/+2
2011-12-14s3:smbd/server: maintain the list of child processes under smbd_parent_contextStefan Metzmacher1-6/+0
metze
2011-12-12s3:smbd: make struct pending_message_list privateStefan Metzmacher1-14/+0
metze
2011-12-12s3:smbd: remember the smbd_server_connection on pending_message_listStefan Metzmacher1-0/+1
metze
2011-12-02s3: Use autogenerated open_files.idlVolker Lendecke1-69/+0
2011-11-23s3: Move server_info_struct to nmbdVolker Lendecke1-9/+0
That's the only place where it's used.
2011-11-23s3: Replace delete_token_list by an arrayVolker Lendecke1-3/+3
This will make it easier to convert locking.tdb to IDL, and I don't think there will be enough entries to justify a linked list over an array. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 23 09:02:12 CET 2011 on sn-devel-104
2011-10-26libcli/smb: merge NEGOTIATE_SECURITY_* flags to smb_constants.hStefan Metzmacher1-6/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 26 11:27:12 CEST 2011 on sn-devel-104
2011-10-24libcli/smb: merge LOCKING_ANDX_* and OPLOCK_* defines to smb_constants.hStefan Metzmacher1-11/+4
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 17:46:47 CEST 2011 on sn-devel-104
2011-10-24libcli/smb: move more defines to smb_constants.hStefan Metzmacher1-106/+0
metze
2011-10-24libcli/smb: move CAP_* defines to smb_constants.hStefan Metzmacher1-46/+0
metze
2011-10-22Fix bug #8541 - readlink() on Linux clients fails if the symlink target is ↵Jeremy Allison1-0/+1
outside of the share. The key is to only allow the lookup to succeed if it's a UNIX level lookup or readlink, but disallow all other operations. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 22 01:37:41 CEST 2011 on sn-devel-104
2011-10-21libcli/smb: move some common defines to smb_constants.hStefan Metzmacher1-27/+0
metze
2011-10-11libcli/smb Move CSC_POLICY_* definition to smb_constants.hAndrew Bartlett1-6/+0
This removes the duplicate definition between smb.h and lib/param/loadparm.c which in turn allows this file to be compiled with the s3 includes.h Andrew Bartlett
2011-09-15s3:include: add some masks for SMB1 CAP_* flagsStefan Metzmacher1-0/+25
The flags are devided into 3 sections: - client only flags - flags used in both directions - server only flags metze
2011-08-30s3:include: add CAP_LWIO and CAP_DYNAMIC_REAUTH definesStefan Metzmacher1-0/+2
metze
2011-08-10s3:include: smb.h base old smb header offsets on new definesStefan Metzmacher1-32/+32
metze
2011-08-10s3:include: smb.h merge some stuff from source4Stefan Metzmacher1-0/+35
metze
2011-07-20s3-auth Use the common auth_session_infoAndrew Bartlett1-3/+3
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 Use struct auth3_session_info outside the auth subsystemAndrew Bartlett1-3/+3
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-12s3:include: remove SMBkeepaliveStefan Metzmacher1-1/+0
metze
2011-07-08s3:libsmb: remove unused enum smb_read_errors infrastructureStefan Metzmacher1-13/+0
metze
2011-07-08lib/util Move bitmap.c to lib/utilAndrew 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
2011-07-05s3: Calculate&store the maximum share access maskVolker Lendecke1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-04s3: RIP 'struct client_address'.Andreas Schneider1-5/+0
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-06-29param: Merge param headers into lib/param/loadparm.hAndrew Bartlett1-50/+0
This defines a common table format, so we can in future define a common table. Andrew Bartlett
2011-06-29s3-param Remove unused FLAG_DOS_STRINGAndrew Bartlett1-1/+0
2011-06-29param: Merge struct parm_struct definitionsAndrew Bartlett1-1/+3
This will allow the parameter tables to be shared between source3 and source4. Andrew Bartlett
2011-06-29s3-param Use .offset rather than .ptr when defining parametersAndrew Bartlett1-1/+1
This change has a number of purposes: * It removes the fancy logic around pointers into sDefault for all per-share parameters. Instead, this is always expressed as an offset, rather than implicitly via PTR_DIFF macros. * It makes struct parm_struct almost identical to that as used in source4/param. This will very shortly allow the loadparm tables and most of the 'special' helper functions to be placed in common. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 29 05:50:46 CEST 2011 on sn-devel-104
2011-06-29s3-param use lp_parm_ptr() rather than parm.ptr directlyAndrew Bartlett1-0/+2
This will help with a change from .ptr to .offset Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 29 03:26:21 CEST 2011 on sn-devel-104