summaryrefslogtreecommitdiffstats
path: root/server/nss/nsssrv_cmd.c
Commit message (Collapse)AuthorAgeFilesLines
* Add PAM responderSumit Bose2009-02-241-2237/+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-369/+1301
| | | | | | | | | | | | | | | | | | | | | | | | | 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).
* Adding sysdb_store_group_posix with unit testStephen Gallagher2009-02-121-1/+1
|
* Now that we have the domain name passed in, dispatch to the rightSimo Sorce2009-01-131-3/+9
| | | | domain when possible.
* Add checks to make sure we are getting a user from the correct domain.Simo Sorce2009-01-121-0/+59
|
* Regroup database rleated functions under db andSimo Sorce2009-01-121-43/+41
| | | | rename everything with the sysdb suffix.
* Adding parsing code to separate names from domains.Stephen Gallagher2009-01-121-7/+45
| | | | | Currently, if an invalid domain was specified, it will result in EINVAL being returned.
* Use a unified base (temp. dc=sssd), for all domain including LOCAL.Simo Sorce2009-01-111-57/+74
| | | | | | | It makes no sense to have internal attribute names user configurable, remove that option and use macros internally. Also now always pass the domain name to all nss_ldb_* calls.
* Add support for getpwuid in proxy backendSimo Sorce2009-01-111-21/+70
|
* Add caching behavior to nsssrv_cmd.c check cache first andSimo Sorce2009-01-111-16/+72
| | | | dispatch to backends only if we have a cache miss.
* Lots of little nasty bugs fixed.Simo Sorce2009-01-091-10/+10
| | | | | | | 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-90/+114
| | | | | | 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.
* Add initial support to connect nss to the data provider as a frontendSimo Sorce2009-01-061-0/+57
|
* Change cli_ctx to include nss_ctx, not just select members of it.Simo Sorce2009-01-061-14/+14
|
* Add configuration database functions.Simo Sorce2008-10-201-23/+28
| | | | Convert nss responder to use the confdb
* add code for initgroups callsSimo Sorce2008-10-141-0/+82
|
* Fix error in parsing multiple groupsSimo Sorce2008-10-141-2/+219
| | | | | Revert to use 'cn' for group names Implement getgrent()
* Implement getgrgid()Simo Sorce2008-10-131-1/+31
|
* Implement getgrnam()Simo Sorce2008-10-121-4/+176
|
* Implement getpwent() supportSimo Sorce2008-10-091-30/+264
|
* Use classic errno instead of inventing our own, it's broad enough fro atm.Simo Sorce2008-10-091-11/+11
|
* Add getpwuid supportSimo Sorce2008-10-081-5/+35
|
* Use a utility function (to be shared with getpwent)Simo Sorce2008-10-081-60/+75
|
* First retrieval of a user (getpwnam only) from an actual ldb fileSimo Sorce2008-10-081-24/+122
|
* First working daemon that responds only to a getpwnam() request with fake dataSimo Sorce2008-10-061-0/+118