summaryrefslogtreecommitdiffstats
path: root/src/responder/nss
Commit message (Collapse)AuthorAgeFilesLines
* Move setup of filter_users and filter_groups to negcache.cStephen Gallagher2010-06-171-187/+5
| | | | | Creates a new function - sss_ncache_prepopulate() - that can be shared with other responders, such as PAM.
* Refactor the negative cacheStephen Gallagher2010-06-175-395/+23
| | | | | Rename functions from nss_ncache_* to sss_ncache_* Move negative cache to responder/common and rename as negcache.c/h
* Ensure that all domains are checked for users/groupsStephen Gallagher2010-06-171-3/+15
| | | | | | | There was a bug in the negative cache checks (probably a leftover from when filter_users was global-only) that meant that if a user was filtered out of a domain, the remaining domains would not be checked for that user. (Same for groups/initgroups)
* sysdb: convert sysdb_initgroupsSimo Sorce2010-04-121-222/+117
|
* Adjust fill_pwent and fill_grentSimo Sorce2010-04-121-13/+13
| | | | | | | | | fill_pwent should return the number of users actually processed. Otherwise in case of a recoverable error we may end up skipping a large chunk of users. fill_grent doesn't need to distinguish between number of entries and number of groups to process since we started adding memberuid. Remove remnants that are not useful anymore.
* sysdb: convert sysdb_enumgrentSimo Sorce2010-04-121-161/+106
|
* sysdb: convert sysdb_enumpwentSimo Sorce2010-04-121-172/+116
|
* sysdb: convert sysdb_getgrgidSimo Sorce2010-04-121-193/+109
|
* sysdb: convert sysdb_getgrnamSimo Sorce2010-04-121-223/+134
|
* sysdb: convert sysdb_getpwuidSimo Sorce2010-04-121-198/+107
|
* sysdb: convert sysdb_getpwnamSimo Sorce2010-04-121-229/+190
|
* Fix warnings from -Wmissing-field-initializersSumit Bose2010-03-251-1/+1
| | | | This patch removes some tab-indentations from pamsrv.c, too.
* Make filter_users and filter_groups also per-domainJakub Hrozek2010-03-081-13/+109
| | | | Fixes: #290
* Reopen logs when SIGHUP is caughtJakub Hrozek2010-03-081-0/+1
| | | | | | | | Upon receiving SIGHUP, the monitor signals all services to reopen their debug logs. It is also possible to signal individual services to reopen their particular files. Fixes: #332
* Fixed alignment problems in nss client/serverGeorge McCollister2010-03-081-6/+5
| | | | | | | | I fixed a handful of alignment problems in sss_client and nss responder. Enumerating group and passwd with getgrent and getpwent now works correctly on ARM. Signed-off-by: George McCollister <georgem@novatech-llc.com>
* Add forgotten \n in DEBUG statementsMartin Nagy2010-03-042-3/+3
| | | | | | Logs from confdb with missing '\n' in the DEBUG statements annoyed me so I decided to fix them. I also made a quick grep through the code and found other places so I fixed them too.
* Eliminate monitor reconfigStephen Gallagher2010-03-041-14/+0
| | | | | | | | | | | | We disabled live reconfiguration a long time ago with the intent of fixing it so that it wasn't completely broken, but we've decided that live updates are too delicate to handle all cases gracefully. For the forseeable future, we will rely on process restart for updating the configuration. Furthermore, we had not completely disabled live updates. It would still attempt to run if we sent a SIGHUP. This has also been eliminated.
* Remove unnecessary "domain" parameter from DP registrationStephen Gallagher2010-02-221-1/+1
| | | | | | This was a holdover from when the DP and the providers were unique processes. The NSS and PAM registrations do not need to send the domain, as it is not ambiguous which one they are talking to.
* Rename server/ directory to src/Stephen Gallagher2010-02-185-0/+3991
Also update BUILD.txt