summaryrefslogtreecommitdiffstats
path: root/server/nss/nsssrv.h
Commit message (Collapse)AuthorAgeFilesLines
* Add PAM responderSumit Bose2009-02-241-122/+0
| | | | | | | Also move responders under server/responder with shared code in server/responder/common Signed-off-by: Simo Sorce <ssorce@redhat.com>
* Completely rework the nss interface to be able to use 2Simo Sorce2009-02-201-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | types of domains: modern and legacy modern uses member/meberof, legacy uses memberUid for group memberships. Rework the proxy backend to use the legacy style as that's the format the data comes in (trying to convert would require too many transformations and increased the number of queries). Add support for fetching groups in nss. Add support for enumerating users and groups (requires to enable enumeration in config) both in nss and in the proxy provider. Remove confdb_get_domain_basedn() and substitute with generic calls in the nss init function. Store a domain structure in the btree not the basedn so that we can add enumeration flags. Also make sure NSS understand how to make multiple calls on enumerations, also make passing the domian parameter always mandatory, passing in domain=* is not valid anymore. This work fixes also a few memory, degfault, and logic bugs found while testing all nss functions (there are still some to fix that are less critical and much harder to find yet).
* Add checks to make sure we are getting a user from the correct domain.Simo Sorce2009-01-121-0/+1
|
* Regroup database rleated functions under db andSimo Sorce2009-01-121-2/+2
| | | | rename everything with the sysdb suffix.
* Adding parsing code to separate names from domains.Stephen Gallagher2009-01-121-0/+6
| | | | | Currently, if an invalid domain was specified, it will result in EINVAL being returned.
* Add caching behavior to nsssrv_cmd.c check cache first andSimo Sorce2009-01-111-0/+2
| | | | dispatch to backends only if we have a cache miss.
* Lots of little nasty bugs fixed.Simo Sorce2009-01-091-7/+5
| | | | | | | I was finally able to get a getpwnam() request go through sssd, hit the remote ldap server and get the answer back with 'getent passwd foo' Yupiee!
* The code now successfully sends a getpwnam request to a remote LDAP server,Simo Sorce2009-01-081-1/+16
| | | | | | and caches the result in LDAP. Still chasing a bug that does not let NSS known that the BE was successful. This makes NSS timeout the client and not return any results yet.
* Check size of incoming packets.Simo Sorce2009-01-071-0/+2
| | | | This should fix a buffer overflow waiting to be exploited :/
* Add initial support to connect nss to the data provider as a frontendSimo Sorce2009-01-061-0/+1
|
* Change cli_ctx to include nss_ctx, not just select members of it.Simo Sorce2009-01-061-1/+2
|
* libevents renamed upstream to libteventSimo Sorce2008-12-221-1/+1
| | | | events.h -> tevent.h
* Created a helper function sssd_service_sbus_init() to simplify creating the ↵Stephen Gallagher2008-11-201-7/+1
| | | | initial connection to the monitor service within the child services. It will create the D-BUS connection to the monitor and configure the service to handle the mandatory getIdentity and ping methods.
* Start conversion from a fork() and live to a fork()/exec() model.Simo Sorce2008-11-201-2/+1
| | | | | To start the dameon now you need to pass the option -s monitor Still have some problems communicating with children.
* Store all domains served by the SSSD to a binary-tree map for fast NSS lookup.Stephen Gallagher2008-11-071-0/+1
| | | | | | Changed the "section" feature of confdb.c to use '/' as a delimiter instead of '.', because this conflicted with the ability to use dots in domain names.
* Add the ping funtion to the nss service Make the monitor task ping ↵Simo Sorce2008-11-041-1/+1
| | | | connecting services Make it possible to configure timeouts and service ping times.
* Add support for dbus comunication in the nss serviceSimo Sorce2008-11-031-0/+13
| | | | | Add utility function in confdb Make all component fetch the dbus socket from the confdb
* Add configuration database functions.Simo Sorce2008-10-201-2/+2
| | | | Convert nss responder to use the confdb
* Implement getpwent() supportSimo Sorce2008-10-091-2/+5
|
* First retrieval of a user (getpwnam only) from an actual ldb fileSimo Sorce2008-10-081-1/+7
|
* First working daemon that responds only to a getpwnam() request with fake dataSimo Sorce2008-10-061-3/+23
|
* Add initial nss responder skeletonSimo Sorce2008-10-041-0/+48