summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
AgeCommit message (Collapse)AuthorFilesLines
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
2011-06-23s3-param Remove 'announce version' parameterAndrew Bartlett1-2/+2
The only users I can find of this on the internet involve confused users, and our own documentation recommends never setting this. Don't confuse our users any longer. Andrew Bartlett
2011-05-18s3-param: remove unused share_iterator functionsAndrew Bartlett1-4/+0
2011-05-08libds: moved enum security_types to a common headerAndrew Tridgell1-3/+0
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-06s3-lib Remove unused dos error codes from errmap_unixAndrew Bartlett1-7/+0
This also makes unix_nt_errmap private to errmap_unix.c and errormap.c so the tables themselves cannot be duplicate symbols until merged. Andrew Bartlett
2011-05-05Fix many const compiler warnings.Jeremy Allison1-1/+1
2011-05-03s3-includes: move enum flush_reason_enum to smb.hGünther Deschner1-0/+16
Guenther
2011-05-03s3-include: use new roles.hAndrew Tridgell1-8/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-04-29s3-smb Use FILE_ATTRIBUTE_ARCHIVE intead of aARCHAndrew Bartlett1-3/+0
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett1-1/+0
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_VOLUME intead of aVOLIDAndrew Bartlett1-1/+0
This means we use just one constant for this file attribute. Andrew Bartlett