summaryrefslogtreecommitdiff
path: root/server/nss/nsssrv.h
AgeCommit message (Collapse)AuthorFilesLines
2009-02-24Add PAM responderSumit Bose1-122/+0
Also move responders under server/responder with shared code in server/responder/common Signed-off-by: Simo Sorce <ssorce@redhat.com>
2009-02-20Completely rework the nss interface to be able to use 2Simo Sorce1-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).
2009-01-12Add checks to make sure we are getting a user from the correct domain.Simo Sorce1-0/+1
2009-01-12Regroup database rleated functions under db andSimo Sorce1-2/+2
rename everything with the sysdb suffix.
2009-01-12Adding parsing code to separate names from domains.Stephen Gallagher1-0/+6
Currently, if an invalid domain was specified, it will result in EINVAL being returned.
2009-01-11Add caching behavior to nsssrv_cmd.c check cache first andSimo Sorce1-0/+2
dispatch to backends only if we have a cache miss.
2009-01-09Lots of little nasty bugs fixed.Simo Sorce1-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!
2009-01-08The code now successfully sends a getpwnam request to a remote LDAP server,Simo Sorce1-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.
2009-01-07Check size of incoming packets.Simo Sorce1-0/+2
This should fix a buffer overflow waiting to be exploited :/
2009-01-06Add initial support to connect nss to the data provider as a frontendSimo Sorce1-0/+1
2009-01-06Change cli_ctx to include nss_ctx, not just select members of it.Simo Sorce1-1/+2
2008-12-22libevents renamed upstream to libteventSimo Sorce1-1/+1
events.h -> tevent.h
2008-11-20Created a helper function sssd_service_sbus_init() to simplify creating the ↵Stephen Gallagher1-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.
2008-11-20Start conversion from a fork() and live to a fork()/exec() model.Simo Sorce1-2/+1
To start the dameon now you need to pass the option -s monitor Still have some problems communicating with children.
2008-11-07Store all domains served by the SSSD to a binary-tree map for fast NSS lookup.Stephen Gallagher1-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.
2008-11-04Add the ping funtion to the nss service Make the monitor task ping ↵Simo Sorce1-1/+1
connecting services Make it possible to configure timeouts and service ping times.
2008-11-03Add support for dbus comunication in the nss serviceSimo Sorce1-0/+13
Add utility function in confdb Make all component fetch the dbus socket from the confdb
2008-10-20Add configuration database functions.Simo Sorce1-2/+2
Convert nss responder to use the confdb
2008-10-09Implement getpwent() supportSimo Sorce1-2/+5
2008-10-08First retrieval of a user (getpwnam only) from an actual ldb fileSimo Sorce1-1/+7
2008-10-06First working daemon that responds only to a getpwnam() request with fake dataSimo Sorce1-3/+23
2008-10-04Add initial nss responder skeletonSimo Sorce1-0/+48