summaryrefslogtreecommitdiff
path: root/src/responder/nss/nsssrv_services.c
AgeCommit message (Collapse)AuthorFilesLines
2012-09-13NSS: Fix off-by-one error in parse_getservbynameJakub Hrozek1-1/+1
https://fedorahosted.org/sssd/ticket/1438
2012-07-18Fix uninitialized valuesNick Guay1-3/+3
https://fedorahosted.org/sssd/ticket/1379
2012-06-12Make re_expression and full_name_format per domain optionsStef Walter1-7/+5
* Allows different user/domain qualified names for different domains. For example Domain\User or user@domain. * The global re_expression and full_name_format options remain as defaults for the domains. * Subdomains get the re_expression and full_name_format of their parent domain. https://bugzilla.redhat.com/show_bug.cgi?id=811663
2012-05-25NSS: Restore original protocol for getservbyportStephen Gallagher1-1/+1
When fixing an endianness bug, we changed the protocol unnecessarily.
2012-05-25Send 16bit protocol numbers from the sss_clientJakub Hrozek1-1/+1
https://fedorahosted.org/sssd/ticket/1348
2012-04-24Modified responder_get_domain()Jan Zeleny1-1/+1
Now it checks for subdomains as well as for the domain itself
2012-03-21NSS: Look for services with correct case when cache is updatedJakub Hrozek1-7/+7
https://fedorahosted.org/sssd/ticket/1259
2012-03-21Save alias of the primary name, tooJakub Hrozek1-8/+14
2012-02-29Remove sysdb_get_ctx_from_list()Sumit Bose1-9/+10
2012-02-17Fix case insensitive service lookupsJakub Hrozek1-6/+6
2012-02-17NSS: Always return the same protocol that was requestedStephen Gallagher1-9/+23
https://fedorahosted.org/sssd/ticket/1160
2012-02-13Check for failure in sss_packet_grow()Stephen Gallagher1-5/+5
Coverity #12489
2012-02-13Allocate setent structure on state, not on the client contextJakub Hrozek1-1/+1
https://fedorahosted.org/sssd/ticket/1189
2012-02-05RESPONDERS: Refactor setent_req_listJakub Hrozek1-21/+6
Makes the setent_add_ref() and setent_notify_*() functions more generic to be reusable by the autofs responder.
2012-01-31Refactor nss_cmd_send_emptyJakub Hrozek1-2/+2
2012-01-27NSS: Add service enumeration support to NSS providerStephen Gallagher1-1/+658
2012-01-27DP: Refactor responder_dp_req so it's reusable by other respondersJakub Hrozek1-1/+2
* the internal request is now more generic and is decoupled from account-specific data. There is a new sss_dp_issue_request() wrapper that issues a BE request or registers a callback * the public requests all use struct sss_dp_req_state as the tevent_req state data. This allows to report back data from the internal request even if the caller is just a callback notifier * each specific request now uses an _info structure that contains all the data necessary to construct a DBusMessage passed to provider * each specific request now defines a sss_dp_get_$data_msg callback that is called from the sss_dp_issue_request() common wraper. The purpose of the wrapper is to construct a DBusMessage and bind it to a DBus method so the message can be just sent over to back end The miscellanous changes include: * change SSS_DP_ constants to an enum. This way, a switch() would error if a value is not handled. * rename sss_dp_get_account_int_send() to sss_dp_internal_get_send() request because the internal request is going to handle more than just account data * the DBus return values were renamed from err_maj, err_min to dp_err and dp_ret respectively
2012-01-27NSS: Add getservbyname and getservbyport support to the NSS ResponderStephen Gallagher1-0/+1170