summaryrefslogtreecommitdiffstats
path: root/source3/include/smb.h
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-param use lp_parm_ptr() rather than parm.ptr directlyAndrew Bartlett2011-06-291-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
* s3-param Remove 'announce version' parameterAndrew Bartlett2011-06-231-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
* s3-param: remove unused share_iterator functionsAndrew Bartlett2011-05-181-4/+0
|
* libds: moved enum security_types to a common headerAndrew Tridgell2011-05-081-3/+0
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3-lib Remove unused dos error codes from errmap_unixAndrew Bartlett2011-05-061-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
* Fix many const compiler warnings.Jeremy Allison2011-05-051-1/+1
|
* s3-includes: move enum flush_reason_enum to smb.hGünther Deschner2011-05-031-0/+16
| | | | Guenther
* s3-include: use new roles.hAndrew Tridgell2011-05-031-8/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3-smb Use FILE_ATTRIBUTE_ARCHIVE intead of aARCHAndrew Bartlett2011-04-291-3/+0
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett2011-04-291-1/+0
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_VOLUME intead of aVOLIDAndrew Bartlett2011-04-291-1/+0
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett2011-04-291-1/+0
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett2011-04-291-1/+0
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_READONLY intead of aRONLYAndrew Bartlett2011-04-291-1/+0
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* libcli/smb Move FILE_ATTRIBUTE defines to the top levelAndrew Bartlett2011-04-291-20/+0
|
* s3-includes: include lib/util/debug.h headers in includes.h not smb.hGünther Deschner2011-04-141-4/+0
| | | | Guenther
* s3-includes: remove unused schema_types enum.Günther Deschner2011-04-141-3/+0
| | | | Guenther
* s3-includes: move struct pipe_open_rec to srvsvc rpc server.Günther Deschner2011-04-141-10/+0
| | | | Guenther
* s3-build: finally remove references to ndr and dcerpc headers that were ↵Günther Deschner2011-04-131-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
* s3-passdb: move LOOKUP_NAME_ flags to passdb where they belong to.Günther Deschner2011-03-301-21/+0
| | | | Guenther
* s3-passdb: move some passdb defines to passdb.hGünther Deschner2011-03-301-29/+0
| | | | Guenther
* s3-passdb: move lsa_dom_info and lsa_name_info out of smb.h into passdb.Günther Deschner2011-03-301-15/+0
| | | | Guenther
* s3-messages: only include messages.h where needed.Günther Deschner2011-03-301-0/+2
| | | | Guenther
* libcli: created smb_constants.hAndrew Tridgell2011-03-251-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)
* s3-auth struct security_unix_token replaces UNIX_USER_TOKENAndrew Bartlett2011-03-011-9/+2
|
* lib/util: new merged debug systemAndrew Bartlett2011-03-011-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
* Detect Mac OS X as a separate client type.Justin Maggard2011-02-251-1/+1
|
* s3-printing: move more printing structs to printing.hGünther Deschner2011-02-221-40/+0
| | | | Guenther
* s3:auth: change num_groups to from size_t to uint32_tStefan Metzmacher2011-02-221-1/+1
| | | | | | This will help with the change from UNIX_USER_TOKEN to security_unix_token metze
* s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett2011-02-221-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>
* s3-cluster remove more CLUSTER_SUPPORT #ifdef stuffAndrew Bartlett2011-02-171-4/+0
|
* s3-librpc: no need to globally include endpointmapper headers.Günther Deschner2011-02-141-1/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Feb 14 12:31:56 CET 2011 on sn-devel-104
* s3: move some stuff out of smb.h to better locations.Günther Deschner2011-02-091-6/+0
| | | | Guenther
* s3: remove unused struct uuid_flat.Günther Deschner2011-02-091-7/+0
| | | | Guenther
* Fix bug #7863 - Unlink may unlink wrong file when hardlinks are involved.Jeremy Allison2011-01-251-10/+18
| | | | | | Do this by keeping a linked list of delete on close tokens, one for each filename that identifies a path to the dev/inode. Use the jenkins hash of the pathname to identify the correct token.
* Add name_hash into the share mode entry struct (as yet only use for renames ↵Jeremy Allison2011-01-251-4/+7
| | | | to identify a specific path).
* Add name_hash to files_struct. Set within fsp_set_smb_fname().Jeremy Allison2011-01-251-0/+1
|
* s3: Happy New Year 2011Stefan Metzmacher2011-01-021-1/+1
| | | | metze
* s3: Remove an ancient typedefVolker Lendecke2010-12-281-2/+2
|
* Keep track of the sparse status of an open file handle. Allows bypass ofJeremy Allison2010-12-211-0/+1
| | | | | | | | strict allocation on sparse files. Files opened as POSIX opens are always sparse. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Dec 21 04:12:22 CET 2010 on sn-devel-104
* From metze's work on sparse attributes. FILE_ATTRIBUTE_SPARSE is valid on ↵Jeremy Allison2010-12-201-2/+1
| | | | | | | get but not on set. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Dec 20 20:11:22 CET 2010 on sn-devel-104
* Update our attribute flags.Jeremy Allison2010-12-171-1/+6
|
* libcli/auth Merge source4/libcli/security and util_sid.c into the common codeAndrew Bartlett2010-10-141-26/+0
| | | | | | | | | This should ensure we only have one copy of these core functions in the tree. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* libcli/security Define traditional constants in terms of IDL macrosAndrew Bartlett2010-10-141-65/+0
| | | | | | | | | | | The source3/ code uses these constants in a lot of places, and it will take time and care to rename them, if that is desired. Linking the macros here will at least allow common code to use the IDL based macros, and preserve a documentary link between the constants (other than just their value) Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3:auth Remove NT_USER_TOKENAndrew Bartlett2010-09-111-3/+1
| | | | | | | | | The all UPPER case typedef is no longer the preferred Samba style and this makes it easier to see that this is the IDL-derivied structure Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-auth Change struct nt_user_token -> struct security_tokenAndrew Bartlett2010-09-111-5/+2
| | | | | | | | This common structure is defined in security.idl Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-auth Change type of num_sids to uint32_tAndrew Bartlett2010-09-111-1/+1
| | | | | | | | | | | | | | size_t is overkill here, and in struct security_token in the num_sids is uint32_t. This includes a change to the prototype of add_sid_to_array() and add_sid_to_array_unique(), which has had a number of consequnetial changes as I try to sort out all the callers using a pointer to the number of sids. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-privs Further changes to remove SE_PRIVAndrew Bartlett2010-09-111-1/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-param: added lp_set_cmdline() and --option= parameterAndrew Tridgell2010-09-021-0/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3-auth Rename NT_USER_TOKEN privileges -> privilege_maskAndrew Bartlett2010-08-311-1/+1
| | | | | | This is closer to the struct security_token from security.idl Andrew Bartlett