summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
AgeCommit message (Collapse)AuthorFilesLines
2010-08-06s3-build: no need to include privileges.h twice.Günther Deschner1-1/+0
Guenther
2010-08-05s3-popt: Only include popt-common.h when needed.Andreas Schneider1-1/+0
2010-08-05s3-secrets: only include secrets.h when needed.Günther Deschner1-1/+0
Guenther
2010-08-05s3: avoid global include of ads.h.Günther Deschner1-5/+0
Guenther
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-01s3-nss_info: only include nss_info.h where needed.Günther Deschner1-1/+0
Guenther
2010-07-01s3-libads: move ads_dns out of main includes.Günther Deschner1-1/+0
Guenther
2010-07-01s3-libads: move ads_status to a separate header file.Günther Deschner1-0/+1
Guenther
2010-07-01s3-libads: move ads_protos.h to ads_ldap_protos.h.Günther Deschner1-1/+1
Guenther
2010-07-01s3-libads: move KRB5_ENV_CCNAME to separate header krb5_env.h.Günther Deschner1-0/+1
Guenther
2010-06-03s3: remove rpc_secdes.h completely.Günther Deschner1-1/+0
Guenther
2010-05-31s3: only use netlogon/nbt header when needed.Günther Deschner1-1/+0
Guenther
2010-05-30s3: define timespec before we use itJoachim Schmitz1-7/+8
this fixes #7464 Signed-off-by: Björn Jacke <bj@sernet.de>
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-1/+0
2010-05-18smbconf: only include smbconf headers where needed.Günther Deschner1-5/+0
Guenther
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner1-2/+0
Guenther
2010-05-18s3-tldap: only include tldap when actually needed.Günther Deschner1-2/+0
Guenther
2010-05-18s3-includes: remove completely unused util_getent.h header.Günther Deschner1-1/+0
Guenther
2010-05-18s3-crypto: only include crypto headers when crypto is done.Günther Deschner1-5/+0
Guenther
2010-05-18s3-services: move services.h to where it is actually used.Günther Deschner1-1/+0
Guenther
2010-05-17s3-libgpo: move group policy protos to where they belong.Günther Deschner1-1/+0
Guenther
2010-05-17s3-includes: remove some unused defines.Günther Deschner1-7/+0
Guenther
2010-05-08s3: move BASE_RID to main includes.h (in preparation to separate passdb).Günther Deschner1-0/+2
Guenther
2010-05-06s3-eventlog: move all eventlog headers to lib/eventlog and only include ↵Günther Deschner1-1/+0
where required. Guenther
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner1-5/+0
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther
2010-04-26s3: remove unused rap.h.Günther Deschner1-1/+0
Guenther
2010-03-10s3: Fix a long-standing problem with recycled PIDsVolker Lendecke1-0/+1
When a samba server process dies hard, it has no chance to clean up its entries in locking.tdb, brlock.tdb, connections.tdb and sessionid.tdb. For locking.tdb and brlock.tdb Samba is robust by checking every time we read an entry from the database if the corresponding process still exists. If it does not exist anymore, the entry is deleted. This is not 100% failsafe though: On systems with a limited PID space there is a non-zero chance that between the smbd's death and the fresh access, the PID is recycled by another long-running process. This renders all files that had been locked by the killed smbd potentially unusable until the new process also dies. This patch is supposed to fix the problem the following way: Every process ID in every database is augmented by a random 64-bit number that is stored in a serverid.tdb. Whenever we need to check if a process still exists we know its PID and the 64-bit number. We look up the PID in serverid.tdb and compare the 64-bit number. If it's the same, the process still is a valid smbd holding the lock. If it is different, a new smbd has taken over. I believe this is safe against an smbd that has died hard and the PID has been taken over by a non-samba process. This process would not have registered itself with a fresh 64-bit number in serverid.tdb, so the old one still exists in serverid.tdb. We protect against this case by the parent smbd taking care of deregistering PIDs from serverid.tdb and the fact that serverid.tdb is CLEAR_IF_FIRST. CLEAR_IF_FIRST does not work in a cluster, so the automatic cleanup does not work when all smbds are restarted. For this, "net serverid wipe" has to be run before smbd starts up. As a convenience, "net serverid wipedbs" also cleans up sessionid.tdb and connections.tdb. While there, this also cleans up overloading connections.tdb with all the process entries just for messaging_send_all(). Volker
2010-03-03s3: build sddl.c in samba3Michael Adam1-0/+1
2010-02-14s3-includes: enable TYPESAFE_QSORT() in s3Andrew Tridgell1-0/+1
2009-12-22s3:ntlmssp: only include ntlmssp.h where actually neededAndrew Bartlett1-1/+3
Andrew Bartlett
2009-11-27s3-kerberos: do not include authdata headers before including krb5 headers.Günther Deschner1-1/+0
Guenther
2009-11-27s3-kerberos: only use krb5 headers where required.Günther Deschner1-169/+1
This seems to be the only way to deal with mixed heimdal/MIT setups during merged build. Guenther
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-1/+0
samba. Guenther
2009-11-12s3-kerberos: add smb_krb5_principal_get_realm().Günther Deschner1-0/+2
Guenther
2009-11-06Revert "s3-kerberos: add smb_krb5_parse_name_flags()."Günther Deschner1-4/+1
This reverts commit 17ef153b68795fec681f9ce17c198236aba2b1c2.
2009-11-06s3-kerberos: modify cli_krb5_get_ticket to take a new impersonate_princ_s arg.Günther Deschner1-2/+5
Guenther
2009-11-06s3-kerberos: add smb_krb5_get_{creds,credentials} incl. support for S4U2SELF ↵Günther Deschner1-1/+11
impersonation. Guenther
2009-11-06s3-kerberos: add smb_krb5_parse_name_flags().Günther Deschner1-1/+4
Guenther
2009-10-09Fix builds with external tallocSimo Sorce1-1/+1
Make sure we do not reference our internal talloc directly. Let configure define what talloc.h file to use so that builds that use an extrenal talloc do not include 2 different versions of the talloc header.
2009-10-01s3: add perfcount idl and generated files.Günther Deschner1-2/+1
Guenther
2009-09-17spnego: share spnego_parse.Günther Deschner1-1/+0
Guenther
2009-09-15libcli:nbt put util_net.c protos in new header fileAndrew Bartlett1-0/+1
This fixed a very odd build problem due to util.h importing system/network.h being imported before the uid_wapper code. Andrew Bartlett
2009-09-11s3-schannel: use NL_AUTH_SIGNATURE for schannel sign & seal (client & server).Günther Deschner1-0/+1
Guenther
2009-08-24Second attempt at fix for bug 6529 - Offline files conflict with Vista and ↵Jeremy Allison1-0/+6
Office 2003. Confirmation from reporter that this fixes the issue in master on ext3/ext4. Back-ports to follow. Jeremy.
2009-08-16s3: Add talloc_dict.[ch]Volker Lendecke1-0/+1
2009-08-06Fix bug #5714 - NetBSD, ENODATA undefined, at least some releases.Jeremy Allison1-0/+4
Jeremy.
2009-08-06define uwrap_enabled() on Samba3Andrew Tridgell1-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
2009-07-08The migration to struct stat_ex broke the calculation ofJeremy Allison1-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
2009-07-03do not redefine _INT32Matt Kraai1-2/+4
2009-06-27Add tstream_read_packetVolker Lendecke1-0/+1