summaryrefslogtreecommitdiffstats
path: root/server/util/util.h
Commit message (Collapse)AuthorAgeFilesLines
* Make child processes exit when parent diesJakub Hrozek2009-08-111-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.
* Fix broken ifndefsSimo Sorce2009-08-051-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.
* Move parsing of names and domains into util/Jakub Hrozek2009-08-051-0/+16
|
* Consolidate tevent helpersJakub Hrozek2009-08-051-0/+25
|
* Add option to add timestamps to debug outputSimo Sorce2009-07-201-3/+12
| | | | | use '--debug-timestamps' at the command line or set 'debug-timestamps = TRUE' in the configuration file.
* add a short explanation about the used debug levelsSumit Bose2009-07-101-0/+14
|
* PRINT and ERROR macrosJakub Hrozek2009-07-021-0/+3
|
* Turn sssd_mem_takeover into sssd_mem_attachSimo Sorce2009-06-101-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
* add utility function talloc_zfreeSimo Sorce2009-06-021-0/+4
|
* Suppress "rootdse" error messages.Stephen Gallagher2009-05-281-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.
* Enhance server_setupSimo Sorce2009-03-201-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.
* Rebase the code to use talloc, tdb, tevent, ldb as externalSimo Sorce2009-02-261-2/+8
| | | | | | dependencies based on the latest samba code. Convert all references to the old events library to use the renamed tevent library.
* Adding support for CheckPermissions to InfoPipe.Stephen Gallagher2009-02-241-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.
* Make a binary out of each major sssd component instead ofSimo Sorce2008-11-251-3/+20
| | | | using the same binary to fork off all services.
* Replacing hard-coded paths with configure script substitutions.Stephen Gallagher2008-11-241-2/+0
| | | | Changing the default SBUS locations to be configure script parameters
* Start conversion from a fork() and live to a fork()/exec() model.Simo Sorce2008-11-201-2/+4
| | | | | To start the dameon now you need to pass the option -s monitor Still have some problems communicating with children.
* Rename function, do not use other libraries namespaceSimo Sorce2008-11-041-2/+4
|
* Initial memory cleanup workStephen Gallagher2008-11-031-0/+4
|
* Use classic errno instead of inventing our own, it's broad enough fro atm.Simo Sorce2008-10-091-5/+1
|
* We need replace.h here or __location__ cannot be foundSimo Sorce2008-10-071-0/+1
|
* Add primitive debugging capabilities.Simo Sorce2008-10-071-1/+10
| | | | | So far debug goes to stderr so sssd need to be run int interactive mode (-i option)
* Add initial nss responder skeletonSimo Sorce2008-10-041-0/+1
|
* Initital server code.Simo Sorce2008-10-041-0/+38
Includes test monitor task.