summaryrefslogtreecommitdiffstats
path: root/source3/include/includes.h
Commit message (Collapse)AuthorAgeFilesLines
* Second attempt at fix for bug 6529 - Offline files conflict with Vista and ↵Jeremy Allison2009-08-241-0/+6
| | | | | | | | Office 2003. Confirmation from reporter that this fixes the issue in master on ext3/ext4. Back-ports to follow. Jeremy.
* s3: Add talloc_dict.[ch]Volker Lendecke2009-08-161-0/+1
|
* Fix bug #5714 - NetBSD, ENODATA undefined, at least some releases.Jeremy Allison2009-08-061-0/+4
| | | | Jeremy.
* define uwrap_enabled() on Samba3Andrew Tridgell2009-08-061-0/+3
| | | | | s3 doesn't use uwrap yet, but it uses some common coe in lib/, and so needs a dummy version of the uwrap_enabled() macro
* The migration to struct stat_ex broke the calculation ofJeremy Allison2009-07-081-0/+2
| | | | | | | | | | | | | | | | create time from the existing timestamps (for systems that need to do this). Once the write time is changed via a sticky write, the create time might need to be recalculated. To do this I needed to add a bool into struct stat_ex to remember if the st_ex_btime field was calculated, or read from the OS. Also fixed the returning of modified write timestamps in the return from NTCreateX, SMBattr and SMBattrE (which weren't taking into account the modified timestamp stored in the open file table). Attempting to fix an issue with Excel 2003 and offline files. Volker and Metze, please review. Jeremy
* do not redefine _INT32Matt Kraai2009-07-031-2/+4
|
* Add tstream_read_packetVolker Lendecke2009-06-271-0/+1
|
* Set SIGRTMIN to NSIGTimur I. Bakeyev2009-06-081-1/+1
| | | | | | | | | | | | | | In the includes we define SIGRTMIN to 32 if it's not defined already. This value could be fairly low and it's better to use NSIG(number of defined signals) as the lower mark for the available signals. We have similar defenition in the source3/smbd/aio.c, which can be safely removed, as it comes from includes.h then. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Add some samba-style tldap utility functionsVolker Lendecke2009-06-061-0/+1
|
* Add the early start of an async ldap libraryVolker Lendecke2009-06-061-0/+1
| | | | | | | There's a lot of things this does not do yet: For example it does not parse the reply blob in the sasl bind, it does not do anything with controls yet, a lot of the ldap requests are not covered yet. But it provides a basis for me to play with a pdb_ads passdb module.
* Gna, how long do I program in C now??? :-)Volker Lendecke2009-05-271-2/+2
|
* Attempt to fix the build on HP/UXVolker Lendecke2009-05-261-0/+10
|
* Attempt to fix the build on NetBSDVolker Lendecke2009-05-261-0/+3
|
* Revert "s3: fix build on systems with struct stat member st_flags"Björn Jacke2009-05-261-3/+0
| | | | for a cleaner and more complete patch that Volker has in the queue :-)
* s3: fix build on systems with struct stat member st_flagsBjörn Jacke2009-05-261-0/+3
|
* Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STATVolker Lendecke2009-05-261-7/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces struct stat_ex { dev_t st_ex_dev; ino_t st_ex_ino; mode_t st_ex_mode; nlink_t st_ex_nlink; uid_t st_ex_uid; gid_t st_ex_gid; dev_t st_ex_rdev; off_t st_ex_size; struct timespec st_ex_atime; struct timespec st_ex_mtime; struct timespec st_ex_ctime; struct timespec st_ex_btime; /* birthtime */ blksize_t st_ex_blksize; blkcnt_t st_ex_blocks; }; typedef struct stat_ex SMB_STRUCT_STAT; It is really large because due to the friendly libc headers playing macro tricks with fields like st_ino, so I renamed them to st_ex_xxx. Why this change? To support birthtime, we already have quite a few #ifdef's at places where it does not really belong. With a stat struct that we control, we can consolidate the nanosecond timestamps and the birthtime deep in the VFS stat calls. At this moment it is triggered by a request to support the birthtime field for GPFS. GPFS does not extend the system level struct stat, but instead has a separate call that gets us the additional information beyond posix. Without being able to do that within the VFS stat calls, that support would have to be scattered around the main smbd code. It will very likely break all the onefs modules, but I think the changes will be reasonably easy to do.
* Move the security_descriptor utility code to the top-level.Jelmer Vernooij2009-04-211-0/+1
|
* Move some libgpo files to root.Jelmer Vernooij2009-04-201-1/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Link in the threads functions, not yet used.Jeremy Allison2009-04-101-0/+2
| | | | Jeremy.
* Remove async_reqVolker Lendecke2009-04-081-1/+0
|
* s3:kerberos Rework smb_krb5_unparse_name() to take a talloc contextAndrew Bartlett2009-04-071-3/+4
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3:libsmb: add a much simplified smb_siging infrastructureStefan Metzmacher2009-03-231-0/+1
| | | | | | | | It's the job of the caller to maintain the seqnum/mid mapping. Hopefully we can use this code in s4 later too. metze
* s3-spoolss: remove include/rpc_spoolss.h.Günther Deschner2009-03-181-1/+0
| | | | Guenther
* lib/util: remove samba specific talloc_get_type_abort()Stefan Metzmacher2009-03-031-4/+0
| | | | metze
* Use shared header file for character sets, remove old definitions from ↵Jelmer Vernooij2009-03-011-1/+1
| | | | samba3 smb.h.
* Add header files for secace and secacl.Jelmer Vernooij2009-03-011-0/+2
|
* Keep using Samba3's charset.h for now.Jelmer Vernooij2009-03-011-1/+1
|
* Sync smb_iconv_t type, convert_string return type with Samba 3 equivalents.Jelmer Vernooij2009-03-011-1/+1
|
* Add tevent_req helpers to includes.hVolker Lendecke2009-02-261-0/+2
|
* s3: remove unused smb_ldap.hStefan Metzmacher2009-02-241-2/+0
| | | | metze
* prefer gssapi header files from subdirectoryBjörn Jacke2009-02-231-3/+3
| | | | this fixes some compile time noise on FreeBSD 7
* S3: Allow SMBD processes to survive in low memory condidtionstodd stecher2009-02-181-0/+4
| | | | | | This commit adds a configure argument which allows for setting MADV_PROTECT in the madvise() API. With this enabled the kernel won't kill SMBD when it's running low on memory.
* Fix the build. When you do "make distclean; ./autogen; ./configure; make" ↵Jeremy Allison2009-02-131-0/+2
| | | | | | and it still doesn't build you know it's messed up. Jeremy.
* [Bug 6069] Add a fstatvfs function for libsmbclientDerrell Lipman2009-02-121-0/+1
| | | | | | - port functionality from v3_3_test to master Derrell
* today valgrind is available on 64bit Linux, tooBjörn Jacke2009-02-121-4/+1
|
* S3: New module interface for SMB message statistics gatheringtodd stecher2009-02-091-0/+1
| | | | | | | This changelist allows for the addition of custom performance monitoring modules through smb.conf. Entrypoints in the main message processing code have been added to capture the command, subop, ioctl, identity and message size statistics.
* Revert "s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 ↵Jelmer Vernooij2009-02-091-0/+2
| | | | | | | | and s4" lib/util already has discard_const_p. This reverts commit 0cb430c22e9c0af2248fbc15ce97a4d760df189d.
* s3-lsa: move remaining lsa policy access_mask defines to idl.Günther Deschner2009-02-051-1/+0
| | | | Guenther
* s3-eventlog: w00t! remove last traces of old eventlog rpc marshalling.Günther Deschner2009-02-041-1/+0
| | | | | | spoolss, I'm coming! Guenther
* Add two new parameters to control how we verify kerberos tickets. Removes ↵Dan Sledz2009-02-011-1/+18
| | | | | | | | | | | | | | | | | | | | | | | lp_use_kerberos_keytab parameter. The first is "kerberos method" and replaces the "use kerberos keytab" with an enum. Valid options are: secrets only - use only the secrets for ticket verification (default) system keytab - use only the system keytab for ticket verification dedicated keytab - use a dedicated keytab for ticket verification. secrets and keytab - use the secrets.tdb first, then the system keytab For existing installs: "use kerberos keytab = yes" corresponds to secrets and keytab "use kerberos keytab = no" corresponds to secrets only The major difference between "system keytab" and "dedicated keytab" is that the latter method relies on kerberos to find the correct keytab entry instead of filtering based on expected principals. The second parameter is "dedicated keytab file", which is the keytab to use when in "dedicated keytab" mode. This keytab is only used in ads_verify_ticket.
* Split up async_req into a generic and a NTSTATUS specific partVolker Lendecke2009-02-011-1/+1
|
* async_sock: Move to top levelKai Blin2009-01-281-1/+1
|
* s3:smbd: make mdns registration event driven.Stefan Metzmacher2009-01-271-14/+0
| | | | metze
* async_req: Fix the S4 buildKai Blin2009-01-271-1/+1
|
* s3:libsmbconf: remove the init headers from smbconf.hMichael Adam2009-01-211-0/+3
| | | | | | | | | | give the smbconf_init() dispatcher and the backends (smbconf_reg and smbconf_txt) a header of their own each. This allows to use the basic infrastructure and single backends individually. Michael
* s3: make better use of ccache by not including version.h in every C-file.Michael Adam2009-01-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | version.h changes rather frequently. Since it is included via includes.h, this means each C file will be a cache miss. This applies to the following situations: * When building a new package with a new Samba version * building in a git branch after calling mkversion.sh after a new commit (i.e. virtually always) This patch improves the situation in the following way: * remove inlude "version.h" from includes.h * Use samba_version_string() instead of SAMBA_VERSION_STRING in files that use no other macro from version.h instead of SAMBA_VERSION_STRING. * explicitly include "version.h" in those files that use more macros from "version.h" than just SAMBA_VERSION_STRING. Michael
* s3-svcctl: remove last traces of hand-marshalled svcctl code.Günther Deschner2009-01-091-1/+0
| | | | Guenther
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2009-01-051-1/+2
|\
| * s3:events: move prototypes to event.hStefan Metzmacher2009-01-051-1/+2
| | | | | | | | metze
* | Add iconv_convenience argument to size functions.Jelmer Vernooij2009-01-011-1/+0
|/