summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
AgeCommit message (Collapse)AuthorFilesLines
2011-02-15s3: no need to globally include intl.h.Günther Deschner1-1/+0
Guenther
2011-02-14s3: move some defines to a better place.Günther Deschner1-17/+4
Guenther
2010-11-17developer: only do the C++ reserved name checking on LinuxAndrew Tridgell1-1/+1
this prevents us breaking the solaris build, but will still mean we prevent C++ vars in our code
2010-10-03s3: Move #define VALGRIND to config.hVolker Lendecke1-10/+0
This fixes the valgrind overrun in the tdb jenkins hash
2010-09-20s3-nmbd: move SYNC_DNS to nmbd.hGünther Deschner1-4/+0
Guenther
2010-09-20s3-build: only include smbldap.h where needed.Günther Deschner1-4/+0
Guenther
2010-09-20s3-build: only include ctdbd_conn.h where needed.Günther Deschner1-1/+0
Guenther
2010-09-20s3-build: only include async headers where needed.Günther Deschner1-2/+0
Guenther
2010-09-11s3-privs Move source3/ privileges implmentation into commonAndrew Bartlett1-1/+1
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-08-26s3-build: only include rpc_misc.h where needed.Günther Deschner1-1/+0
Guenther
2010-08-26s3-build: use talloc_dict.h only where needed.Günther Deschner1-1/+0
Guenther
2010-08-26s3-build: use dbwrap.h only where needed.Günther Deschner1-1/+0
Guenther
2010-08-26s3-build: only include krb5 environment variables where required.Günther Deschner1-1/+0
Guenther
2010-08-26s3-build: only include libnscd.h where needed.Günther Deschner1-4/+0
Guenther
2010-08-26s3-build: include mangle.h only where needed.Günther Deschner1-1/+0
Guenther
2010-08-26s3-dcerpc: only include rpc_dce.h where needed.Günther Deschner1-1/+0
Guenther
2010-08-26s3-build: remove unrequired ntlmssp forward declaration.Günther Deschner1-2/+0
Guenther
2010-08-26s3-idmap: only include idmap headers where needed.Günther Deschner1-1/+0
Guenther
2010-08-26s3-build: only include nsswitch header where needed.Günther Deschner1-3/+0
Guenther
2010-08-26s3-build: remove unrequired forward declaration for struct printjob.Günther Deschner1-5/+0
Guenther
2010-08-26s3-build: only include memcache.h where needed.Günther Deschner1-1/+0
Guenther
2010-08-18s3-build: only include smb_signing.h where needed.Günther Deschner1-1/+0
Guenther
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