summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
AgeCommit message (Collapse)AuthorFilesLines
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
2011-02-14s3-librpc: no need to globally include endpointmapper headers.Günther Deschner1-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
2011-02-09s3: move some stuff out of smb.h to better locations.Günther Deschner1-6/+0
Guenther
2011-02-09s3: remove unused struct uuid_flat.Günther Deschner1-7/+0
Guenther
2011-01-25Fix bug #7863 - Unlink may unlink wrong file when hardlinks are involved.Jeremy Allison1-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.
2011-01-25Add name_hash into the share mode entry struct (as yet only use for renames ↵Jeremy Allison1-4/+7
to identify a specific path).
2011-01-25Add name_hash to files_struct. Set within fsp_set_smb_fname().Jeremy Allison1-0/+1
2011-01-02s3: Happy New Year 2011Stefan Metzmacher1-1/+1
metze
2010-12-28s3: Remove an ancient typedefVolker Lendecke1-2/+2
2010-12-21Keep track of the sparse status of an open file handle. Allows bypass ofJeremy Allison1-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
2010-12-20From metze's work on sparse attributes. FILE_ATTRIBUTE_SPARSE is valid on ↵Jeremy Allison1-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
2010-12-17Update our attribute flags.Jeremy Allison1-1/+6
2010-10-14libcli/auth Merge source4/libcli/security and util_sid.c into the common codeAndrew Bartlett1-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>
2010-10-14libcli/security Define traditional constants in terms of IDL macrosAndrew Bartlett1-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>
2010-09-11s3:auth Remove NT_USER_TOKENAndrew Bartlett1-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>
2010-09-11s3-auth Change struct nt_user_token -> struct security_tokenAndrew Bartlett1-5/+2
This common structure is defined in security.idl Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-auth Change type of num_sids to uint32_tAndrew Bartlett1-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>
2010-09-11s3-privs Further changes to remove SE_PRIVAndrew Bartlett1-1/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-02s3-param: added lp_set_cmdline() and --option= parameterAndrew Tridgell1-0/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-31s3-auth Rename NT_USER_TOKEN privileges -> privilege_maskAndrew Bartlett1-1/+1
This is closer to the struct security_token from security.idl Andrew Bartlett
2010-08-31s3-auth Rename NT_USER_TOKEN user_sids -> sidsAndrew Bartlett1-1/+1
This is closer to the struct security_token from security.idl
2010-08-26s3-idmap: only include idmap headers where needed.Günther Deschner1-1/+0
Guenther
2010-08-26s3-build: no point in including doserr.h, noone uses them.Günther Deschner1-2/+0
Guenther
2010-08-26s3-build: only include "fake_file.h" where needed.Günther Deschner1-2/+0
Guenther
2010-08-18s3: Remove unneeded "client_address" from connection_structVolker Lendecke1-2/+0
2010-08-18s3: Add smbd_server_connection->client_idVolker Lendecke1-0/+5
2010-08-16s3: Remove an unused struct definitionVolker Lendecke1-5/+0
2010-08-06s3-netlogon: remove global include of netlogon.h.Günther Deschner1-1/+0
This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther
2010-08-06s3: remove global include of samr.hGünther Deschner1-1/+0
Guenther
2010-08-06s3-build: remove global include of krb5pac.h.Günther Deschner1-1/+2
Put in samr and netlogon, as they were pulled in via krb5pac.h. Guenther
2010-08-05s3-popt: Only include popt-common.h when needed.Andreas Schneider1-2/+0
2010-07-31s3-build: avoid to globally include printing and spoolss headers.Günther Deschner1-1/+0
This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther
2010-07-27s3-printing: Handled case when smbd spools a file on behalf of spoolss.Simo Sorce1-2/+17
2010-07-27s3-smbd: Added code to print via spoolss.Simo Sorce1-0/+5
2010-07-05s3: Keep the connections.tdb data format fixedVolker Lendecke1-0/+6
At Simo's request, we can not change internal databases anymore. Sorry for not respecting this policy.
2010-07-04s3: Remove unused msg_flags from connections.tdbVolker Lendecke1-1/+0
This breaks rolling code upgrade!
2010-07-01s3-libads: move keytab macros out of ads.h.Günther Deschner1-0/+12
Guenther
2010-06-25Move UCS2 macros to common codeJelmer Vernooij1-21/+0
2010-06-12s3: Add "smbd_server_connection" to smb_requestVolker Lendecke1-0/+1