summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove InfoPipe from the RPM buildStephen Gallagher2009-04-131-4/+5
|
* Update RPM build for configuration changesStephen Gallagher2009-04-133-43/+44
|
* Allow configuration of the SSSD through /etc/sssd/sssd.confStephen Gallagher2009-04-1311-274/+686
| | | | | | | | | | | | | | | | | | | The SSSD now links with the ini_config and collection libraries in the common directory. The monitor will track changes to the /etc/sssd/sssd.conf file using inotify on platforms that support it, or polled every 5 seconds on platforms that do not. At startup or modification of the conf file, the monitor will purge the existing confdb and reread it completely from the conf file, to ensure that there are no lingering entries. It does this in a transaction, so there should be no race condition with the client services. A new option has been added to the startup options for the SSSD. It is now possible to specify an alternate config file with the -c <file> at the command line.
* Build system improvements for common toolsStephen Gallagher2009-04-138-16/+52
| | | | | | | | | Allows building shared or static libraries using autotools and provides a pkg-config file to simplify inclusion into other parts of the project (or other projects in the future) For now, we will statically link the collection library and INI parser.
* The lower level function now returns NOENT if file is not found.Dmitri Pal2009-04-102-3/+11
|
* Added functions to create list of sections and attributes.Dmitri Pal2009-04-105-0/+245
|
* Redesign the the monitor's configuration to enable live reloadsStephen Gallagher2009-04-102-150/+618
| | | | Fixes requested during code review
* Make the monitor address a compile-time optionStephen Gallagher2009-04-091-20/+10
| | | | | | Previously it was runtime-selectable in the confdb, but this is not a sensible approach, as if it were to change during runtime, it would cause problems communicating with the child services.
* INI component: Fixed issues introduced by cleanup.Dmitri Pal2009-04-096-82/+228
| | | | | | | Added a few new functions. Cleaned code that was subject to conditional build. Fixed the floating point conversion. Keep const values as const.
* Serialize requests vs backends.Simo Sorce2009-04-091-544/+702
| | | | | | | This way we do not waste resources starting searching for users/groups in multiple backends when the first one has the answer. Also prevents possible race conditions where a user named the same way is found in multiple backends and the wrong one is returned.
* Remove obsolete optionSimo Sorce2009-04-081-1/+0
|
* Fix missing entry from first-start configStephen Gallagher2009-04-081-0/+1
| | | | | | Since we switched to allowing domains to be configured but inactive, we need to include the default set (just LOCAL) into the first-start config.
* Fix SBUS handling of unknown messagesStephen Gallagher2009-04-081-0/+2
| | | | | This was missed when we moved away from using the message_handler for sending replies (in order to support async processing).
* Change the way we retrieve domainsSimo Sorce2009-04-0822-391/+273
| | | | | | | | | | | | | To be able to correctly filter out duplicate names when multiple non-fully qualified domains are in use we need to be able to specify the domains order. This is now accomplished by the configuration paramets 'domains' in the config/domains entry. 'domains' is a comma separated list of domain names. This paramter allows also to have disbaled domains in the configuration without requiring to completely delete them. The domains list is now kept in a linked list of sss_domain_info objects. The first domain is also the "default" domain.
* Clean up warnings in SSSDStephen Gallagher2009-04-076-25/+23
|
* Unify name parsing and reposnder headersSimo Sorce2009-04-0712-243/+328
| | | | | | Use common sss_parse_name function in all responders Simplify responder headers by combining common,cmd,dp in one header and add name parse structure as part of the common responder context.
* Use info in the domain entry to determine action.Simo Sorce2009-04-071-1/+12
| | | | | This way LOCAL domains backed by files works as expected too. Tested with nss_files + pam_unix
* Split modules types in Identity and AuthenticatorSimo Sorce2009-04-078-81/+275
| | | | | | | | | | | | | | The same module may implement both types, but initializatrion will be nonetheless performed separately, once for the identity module and once for the authenticator module. Also change the proxy module to retireve the pam target name from the domain configuration so that it is possibile to create per-domain pam stacks. With this modification it is actually possibile to use normal nss and pam modules to perform a successful authentication (tested only with sudo so far) Update exmples.
* Fix const warningsSimo Sorce2009-04-075-145/+169
|
* Style fixes for /commonSimo Sorce2009-04-076-1618/+1977
|
* Clean up a lot of warnings in Collection and INI parserStephen Gallagher2009-04-068-30/+22
|
* Fix build system for Collection and INI parser.Stephen Gallagher2009-04-065-6/+12
| | | | | | Adds ini subdirectory so it will be built, adds some clarification to the README, makes the configure --help more clear about the trace level and enables -Wall reporting.
* First attempt to produce INI interface.Dmitri Pal2009-04-067-0/+2312
|
* First commit of basic collection API.Dmitri Pal2009-04-0613-0/+5349
|
* Remove useless fileSimo Sorce2009-04-031-35/+0
| | | | This became obsolete when we moved all functions to sysdb.
* Do not use the ldap libraries ldap_ prefixSimo Sorce2009-04-021-76/+76
| | | | | | | The ldap_ prefix should be considered reserved namespace for ldap librraies Renaming all ldap_* internal stuff to sdap_, in some cases also move from ldap_be_ to sdap_ as the reason for _be_ was just clearly a name space conflict (ldap_be_init, etc..)
* Add way to use files as a proxy backend fro LOCALSimo Sorce2009-04-015-50/+160
| | | | | | | | | | | | Makes LOCAL a normal backend removing some special handling. Fix/Add id range filtering and name filtering Filters uid=0 and gid=0 in the proxy backend as 0 is invalid within sysdb and was causing getxxent calls to fail completely. Fix nss_ncache_check_xxx calls to avoid dirtying the 'ret' variable and causing some unwanted failures. Change sysdb to always return the uid number when searching member entries so that id range filtering can be perfomed also in group searhes (does not work with legacy backends)
* Add a more flexible way to parse and filter names.Simo Sorce2009-04-018-283/+899
| | | | | | | | | | A new nss_parse_name function uses pcre to parse names, this makes it possible, in future, to make the filter user configurable. Add a new filter mechanism to filter out users that uses the negative cache by setting a permanet negative entry. Rework the entry points where the negative cache is checked for.
* allow compilation with older version of dbusSumit Bose2009-04-013-0/+14
|
* Do not file a sure segfault.Simo Sorce2009-04-011-0/+2
|
* fixed two issues in the initial configurationSumit Bose2009-03-302-2/+1
| | | | | - value array is not terminated properly - infopipe service is added dynamically
* Fix copy&paste errorSimo Sorce2009-03-271-1/+1
|
* Fix potential segfault if dp_ctx is still NULL.Simo Sorce2009-03-272-2/+18
| | | | | | | May happen at startup if, for some reason dp is very slow to start and we receive a request before a reconnection is rescheduled in the responder dp reconnection code. This shouldn't happen normally so make it clear with a debug statement.
* Make nsssrv use the common responder functionsSimo Sorce2009-03-2710-734/+221
| | | | | Make nss_ctx a private pointer of the common resp_ctx Use sss_process_init and remove all duplicate functions from nsssrv.c
* Fix uninitailized pointer and cut&paste errorSimo Sorce2009-03-271-1/+5
| | | | | | | The structure we copy the domain pointerr on is not zero when allocated. We need to zero it ourselves or we get segfaults later on. A cut&paste error caused us to call the wrong getpw function.
* Fix bug where services restarted by the monitor would be pinged more than ↵Stephen Gallagher2009-03-271-0/+8
| | | | once per cycle
* Enable autoreconnection to the Data Provider in PAMStephen Gallagher2009-03-263-4/+67
|
* Refactor nss_ctx to resp_ctx in respondersStephen Gallagher2009-03-267-109/+109
|
* Fix compilation error due to implicit castStephen Gallagher2009-03-251-2/+2
|
* Fix buildSimo Sorce2009-03-242-1/+4
| | | | forgot to commit a few changes
* Retrieve some options from confdbSimo Sorce2009-03-203-11/+46
| | | | This fixes some old 'Fixme's :)
* Enhance server_setupSimo Sorce2009-03-2010-10/+36
| | | | | | | 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.
* Simplify default configurationSimo Sorce2009-03-204-122/+157
| | | | | | | | | | Make confdb load a base ldif like sysdb to initialize the db, makes it simpler to understand at first sight what is the default configuration. Make the parameter "command" optional. Derive the default command from available information. Make the debug level a global by default so that enabling debug for all components is as easy as passing just -d X to the sssd binary.
* Add better error reporting to confdb functionsSimo Sorce2009-03-201-29/+63
|
* Avoid nested events in confdbSimo Sorce2009-03-201-1/+15
|
* added response type PAM_ENV_ITEM and integrated response data into dbus messagesSumit Bose2009-03-204-19/+133
|
* Add reconnection logic to the SBUSStephen Gallagher2009-03-202-1/+206
| | | | | | | | Any client of the SBUS that wants to implement automatic reconnection may now call sbus_reconnect_init to set it up. The clients will need to set up a callback to handle the result of the reconnection and (in the case of a successful reconnection) readd the method handlers to the connection context.
* Enable autoreconnection of Data Provider Backends to the Data ProviderStephen Gallagher2009-03-204-7/+124
|
* Remove references to FreeIPA from D-BUS interfacesStephen Gallagher2009-03-199-39/+39
| | | | | | Per discussion with the desktop team, using the org.freedesktop interface name will simplify adoption, as potential users won't feel like they're pulling in a FreeIPA dependency.
* use pam_data as main data structure for dbus communicationSumit Bose2009-03-198-135/+116
|