summaryrefslogtreecommitdiff
path: root/server/util/util.h
AgeCommit message (Collapse)AuthorFilesLines
2009-08-11Make child processes exit when parent diesJakub Hrozek1-0/+1
The child processes call prctl() and when their parent process is killed, they are sent SIGTERM using prctl. This is currently Linux-specific, for non-Linuxes, a similar effect is achieved by catching a set of common termination signals and sending SIGTERM to the process group.
2009-08-05Fix broken ifndefsSimo Sorce1-9/+0
ifndef doesn't work for those functions that aren't already macro definitions in tevent.h like tevent_req_data. However if tevent_req_data is defined in tevent.h, all other functions are available as well. So just check for tevent_req_data and define all of them if it is not available. This should fix compiling on distros with the latsest tevent.
2009-08-05Move parsing of names and domains into util/Jakub Hrozek1-0/+16
2009-08-05Consolidate tevent helpersJakub Hrozek1-0/+25
2009-07-20Add option to add timestamps to debug outputSimo Sorce1-3/+12
use '--debug-timestamps' at the command line or set 'debug-timestamps = TRUE' in the configuration file.
2009-07-10add a short explanation about the used debug levelsSumit Bose1-0/+14
2009-07-02PRINT and ERROR macrosJakub Hrozek1-0/+3
2009-06-10Turn sssd_mem_takeover into sssd_mem_attachSimo Sorce1-8/+17
The old function was not used anywhere, and this function uses better semantics, including not using void ** which gives strict aliasing problems. Also add a generic password destroy function
2009-06-02add utility function talloc_zfreeSimo Sorce1-0/+4
2009-05-28Suppress "rootdse" error messages.Stephen Gallagher1-0/+5
We will trap all LDB debug messages and pipe them into our internal DEBUG() function. LDB FATAL messages will still be printed by default, WARNING and TRACE functions will be at debug level 3 and 9, respectively.
2009-03-20Enhance server_setupSimo Sorce1-0/+1
Now it can load from scratch default configuration that is valid for all daemons. First thing, make it possible for each daemon/provider to set its own debug level in its configuration entry.
2009-02-26Rebase the code to use talloc, tdb, tevent, ldb as externalSimo Sorce1-2/+8
dependencies based on the latest samba code. Convert all references to the old events library to use the renamed tevent library.
2009-02-24Adding support for CheckPermissions to InfoPipe.Stephen Gallagher1-0/+3
CheckPermissions will currently return unrestricted access to the root user, and no access to any other user. Once we decide on an ACL mechanism, this will be easy to change. I have also added very basic tests for the Introspect and CheckPermissions methods.
2008-11-25Make a binary out of each major sssd component instead ofSimo Sorce1-3/+20
using the same binary to fork off all services.
2008-11-24Replacing hard-coded paths with configure script substitutions.Stephen Gallagher1-2/+0
Changing the default SBUS locations to be configure script parameters
2008-11-20Start conversion from a fork() and live to a fork()/exec() model.Simo Sorce1-2/+4
To start the dameon now you need to pass the option -s monitor Still have some problems communicating with children.
2008-11-04Rename function, do not use other libraries namespaceSimo Sorce1-2/+4
2008-11-03Initial memory cleanup workStephen Gallagher1-0/+4
2008-10-09Use classic errno instead of inventing our own, it's broad enough fro atm.Simo Sorce1-5/+1
2008-10-07We need replace.h here or __location__ cannot be foundSimo Sorce1-0/+1
2008-10-07Add primitive debugging capabilities.Simo Sorce1-1/+10
So far debug goes to stderr so sssd need to be run int interactive mode (-i option)
2008-10-04Add initial nss responder skeletonSimo Sorce1-0/+1
2008-10-04Initital server code.Simo Sorce1-0/+38
Includes test monitor task.