summaryrefslogtreecommitdiff
path: root/server/nss
AgeCommit message (Collapse)AuthorFilesLines
2009-01-11Use a unified base (temp. dc=sssd), for all domain including LOCAL.Simo Sorce4-255/+228
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.
2009-01-11Add support for getpwuid in proxy backendSimo Sorce1-21/+70
2009-01-11Add caching behavior to nsssrv_cmd.c check cache first andSimo Sorce4-20/+82
dispatch to backends only if we have a cache miss.
2009-01-09Lots of little nasty bugs fixed.Simo Sorce5-28/+112
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 Sorce7-120/+404
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 Sorce3-6/+15
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 Sorce3-0/+65
2009-01-06fix typoSimo Sorce1-1/+1
2009-01-06Change cli_ctx to include nss_ctx, not just select members of it.Simo Sorce3-16/+17
2008-12-22libevents renamed upstream to libteventSimo Sorce1-1/+1
events.h -> tevent.h
2008-12-15Adding a parameter to the sbus_service_sbus_init function to allow passing ↵Stephen Gallagher1-1/+1
in an sbus_conn_destructor_fn to the sbus_new_connection() function. Fixing minor warning about the usage of talloc_reference.
2008-12-08Change data provider into a hub, where backends (ldap, nis, ipa providers)Simo Sorce1-8/+7
and frontends (pam, nss, ... modules) can connect to.
2008-11-25Make a binary out of each major sssd component instead ofSimo Sorce1-0/+43
using the same binary to fork off all services.
2008-11-25Remove the service stuff that we stopped using when we moved toSimo Sorce1-1/+0
the forl/exec model
2008-11-24point PIPE_PATH at /var/lib/sss/pipes, not just the private path so that theSimo Sorce1-1/+11
same config option can be used for the nss service
2008-11-24Replacing hard-coded paths with configure script substitutions.Stephen Gallagher2-2/+10
Changing the default SBUS locations to be configure script parameters
2008-11-24Fix indentationSimo Sorce1-9/+9
2008-11-20Created a helper function sssd_service_sbus_init() to simplify creating the ↵Stephen Gallagher2-51/+14
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-20Remove unused code and fix message handlers in dpSimo Sorce1-25/+10
2008-11-20Start conversion from a fork() and live to a fork()/exec() model.Simo Sorce2-25/+20
To start the dameon now you need to pass the option -s monitor Still have some problems communicating with children.
2008-11-19Move definition into the header fileSimo Sorce3-2/+3
2008-11-17The default message handler will now pass both the method_ctx and theStephen Gallagher1-0/+1
sbus_conn_ctx to all message handling functions. This will allow connection-specific data to be passed in by taking advantage of the sbus_conn_set_private_data() function on the sbus_conn_ctx struct. Presently this private data is global to all methods of the connection context.
2008-11-07Store all domains served by the SSSD to a binary-tree map for fast NSS lookup.Stephen Gallagher3-3/+58
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 Sorce2-1/+18
connecting services Make it possible to configure timeouts and service ping times.
2008-11-03Add support for dbus comunication in the nss serviceSimo Sorce2-31/+143
Add utility function in confdb Make all component fetch the dbus socket from the confdb
2008-10-21Make return the pid when new process are started.Simo Sorce1-6/+32
Monitor each service and restart it conditionally if it fails. These monitoring is extremely simple at this moment and just uses waitpid() to check if the client is alive, there is no active probing, that will require dbus. Make nsssrv.c read the sss pipe config option for the config db.
2008-10-20Add configuration database functions.Simo Sorce6-131/+355
Convert nss responder to use the confdb
2008-10-14 add code for initgroups callsSimo Sorce4-0/+206
2008-10-14Fix error in parsing multiple groupsSimo Sorce4-29/+346
Revert to use 'cn' for group names Implement getgrent()
2008-10-13Implement getgrgid()Simo Sorce4-2/+62
2008-10-12Implement getgrnam()Simo Sorce4-14/+354
2008-10-09Implement getpwent() supportSimo Sorce5-77/+335
2008-10-09Fix memory handling problem, stuff was allocated on the wrong memory context,Simo Sorce1-7/+7
causing it to be freed ahead of time
2008-10-09Use classic errno instead of inventing our own, it's broad enough fro atm.Simo Sorce4-48/+54
2008-10-08Add getpwuid supportSimo Sorce3-8/+93
2008-10-08Use a utility function (to be shared with getpwent)Simo Sorce1-60/+75
2008-10-08First retrieval of a user (getpwnam only) from an actual ldb fileSimo Sorce6-28/+348
2008-10-07Add primitive debugging capabilities.Simo Sorce1-2/+5
So far debug goes to stderr so sssd need to be run int interactive mode (-i option)
2008-10-06First working daemon that responds only to a getpwnam() request with fake dataSimo Sorce4-61/+214
2008-10-04Add initial nss responder skeletonSimo Sorce3-0/+485