summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
AgeCommit message (Collapse)AuthorFilesLines
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
2011-04-29s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett1-1/+0
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett1-1/+0
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_READONLY intead of aRONLYAndrew Bartlett1-1/+0
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29libcli/smb Move FILE_ATTRIBUTE defines to the top levelAndrew Bartlett1-20/+0
2011-04-14s3-includes: include lib/util/debug.h headers in includes.h not smb.hGünther Deschner1-4/+0
Guenther
2011-04-14s3-includes: remove unused schema_types enum.Günther Deschner1-3/+0
Guenther
2011-04-14s3-includes: move struct pipe_open_rec to srvsvc rpc server.Günther Deschner1-10/+0
Guenther
2011-04-13s3-build: finally remove references to ndr and dcerpc headers that were ↵Günther Deschner1-1/+0
included globally. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 13 23:07:05 CEST 2011 on sn-devel-104
2011-03-30s3-passdb: move LOOKUP_NAME_ flags to passdb where they belong to.Günther Deschner1-21/+0
Guenther
2011-03-30s3-passdb: move some passdb defines to passdb.hGünther Deschner1-29/+0
Guenther
2011-03-30s3-passdb: move lsa_dom_info and lsa_name_info out of smb.h into passdb.Günther Deschner1-15/+0
Guenther
2011-03-30s3-messages: only include messages.h where needed.Günther Deschner1-0/+2
Guenther
2011-03-25libcli: created smb_constants.hAndrew Tridgell1-15/+2
this starts the (long!) process of moving some of the SMB constants into common files. This just moves the FLAGS2_ defines, which are needed for common string routines (for FLAGS2_UNICODE_STRINGS)
2011-03-01s3-auth struct security_unix_token replaces UNIX_USER_TOKENAndrew Bartlett1-9/+2
2011-03-01lib/util: new merged debug systemAndrew Bartlett1-1/+2
This is the s3 debug system, with a number of changes to tidy it up for common use. The debug class system is simplified by the removal of the ISSET table, the system no longer attempts to cope with assignment of DEBUGLEVEL, and the full class table is always available (rather than just DEBUGLEVEL_CLASS[DBCG_ALL]) from startup. It is also no longer confusingly described as a hack, but as the initial table. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 04:32:12 CET 2011 on sn-devel-104
2011-02-25Detect Mac OS X as a separate client type.Justin Maggard1-1/+1
2011-02-22s3-printing: move more printing structs to printing.hGünther Deschner1-40/+0
Guenther
2011-02-22s3:auth: change num_groups to from size_t to uint32_tStefan Metzmacher1-1/+1
This will help with the change from UNIX_USER_TOKEN to security_unix_token metze
2011-02-22s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett1-3/+3
These variables, of type struct auth_serversupplied_info were poorly named when added into 2001, and in good consistant practice, this has extended all over the codebase in the years since. The structure is also not ideal for it's current purpose. Originally intended to convey the results of the authentication modules, it really describes all the essential attributes of a session. This rename will reduce the volume of a future patch to replaced these with a struct auth_session_info, with auth_serversupplied_info confined to the lower levels of the auth subsystem, and then eliminated. (The new structure will be the output of create_local_token(), and the change in struct definition will ensure that this is always run, populating local groups and privileges). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-17s3-cluster remove more CLUSTER_SUPPORT #ifdef stuffAndrew Bartlett1-4/+0