summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix getgrent and getpwent callsSimo Sorce2009-03-181-2/+6
| | | | | | When I converted from using just the domain name to passing down the info structure I goofed how to test if we were willing to attach the local domain to the user/group names or not.
* Fix segfault error caused by a double freeSimo Sorce2009-03-181-178/+118
| | | | | | | | In delete_callback we were freeing rep after having called return_done() This caused a double free becuse rep is already freed as child of the request when return_done calles the callback. To avoid future errors like this convert return_error and return_done into functions and make them always be the last call of the function and call them as part of the function return.
* Enable MPGs and user/group enumeration on the LOCAL domain by defaultStephen Gallagher2009-03-181-3/+5
|
* append CFLAGS environment variable to Makefiles CFLAGSSumit Bose2009-03-132-4/+4
|
* Better error reporting for pidfile()Simo Sorce2009-03-131-7/+11
| | | | | This should help understanding what's going on if the server fails to create a pid file.
* Implement Negative cache for NSSSimo Sorce2009-03-137-5/+574
| | | | | | | As for positive caches, negative caches are implement for all queries except enumerations. Also set the correct requires in sssd.spec as we now depend directly on tdb as well.
* Fix makefilesSimo Sorce2009-03-133-27/+30
| | | | Make so that definitions in the code and install paths actually match
* Fix calling setsid and resolve the sssd signal bugSimo Sorce2009-03-111-11/+1
| | | | | | | | | For some reason we were not testing for HAVE_SETSID in configure therefore the setsid() function was never called. This failed to set the process group after the first fork. Remove ifdef because we depend on setsid() anyway, so if it is not available on some platform it is better to fail rather then silently succeed but not have the right process group set up.
* remove an unnecessary call to confdbSumit Bose2009-03-111-8/+4
|
* Fix copy-paste error in InfoPipe CreateUserStephen Gallagher2009-03-111-2/+11
| | | | Also add accidentally-omitted loginShell parameter.
* Remove unexisting left over headersssd-0_2_1Simo Sorce2009-03-104-6/+5
| | | | Also bump up the version as this error prevented a successful build of 0.2.0
* Bump up to version 0.2.0sssd-0_2_0Simo Sorce2009-03-103-4/+7
| | | | Change version after changes in protocol and MPG behavior.
* Fix returning user with missing optional attributes.Simo Sorce2009-03-104-15/+24
| | | | | | | | | Gecos, homedir and shell are optional, fix the responder not to refuse to return the user completely if they are missing, replace an empty homedir with "/". Also fix fullname vs gecos, and always return gecos for NSS data. On user creation set gecos to the same value as the user Full Name, to help populate the gecos field with data that makes sense.
* Hide uid and gid options in usermod and groupmodJakub Hrozek2009-03-102-3/+3
|
* Correct use of chkconfig in initscript and specfileJakub Hrozek2009-03-102-6/+7
| | | | Review issues in specfile
* added generic PAM return messages and a false login delaySumit Bose2009-03-108-80/+215
|
* Treat uids and gids as 32 bit numbers not 64Simo Sorce2009-03-104-51/+49
| | | | | | In the nss communication protocol we were treating uids and gids as 64 bit values, but uids and gids are really u32 values, change the protocol to reflect the real size.
* If a domain is MPG enabled return users a groupsSimo Sorce2009-03-102-15/+73
| | | | Turn user entries to Magic Private Groups when groups are quesried.
* Fix bugs in functions dealing with groupsSimo Sorce2009-03-102-1/+7
| | | | | | Fix infinite loop within initgr functions. Fix min length check copy&paste error, was filtering valid groups if the name was short enough and the group had no members.
* Always pass sss_domain_info to sysdb functions.Simo Sorce2009-03-096-95/+60
|
* Move MPG checks within sysdb.Simo Sorce2009-03-096-138/+199
| | | | | This allows to perform checks and modifications in one transaction. Uses configuration stored in confdb to determins if a domain uses MPGs.
* Do not duplicate attribute names macros.Simo Sorce2009-03-094-34/+31
| | | | Also shorten names oh other user attributes.
* make openldap the only used LDAP librarySumit Bose2009-03-093-43/+28
|
* typo, changed initrd to initSumit Bose2009-03-094-13/+13
|
* sss_groupmodJakub Hrozek2009-03-093-1/+288
|
* use fixed paths to sockets to make sure clients and server are using the sameSumit Bose2009-03-097-59/+80
|
* Make MPG a configurable option for the domain.Simo Sorce2009-03-092-0/+12
|
* NSS libs do not use versioned shared objectsSimo Sorce2009-03-091-1/+1
| | | | | Afaik glibc uses just .so/.so.2, and all other nss libs I can see in the system are the same.