summaryrefslogtreecommitdiffstats
path: root/src/responder/nss/nsssrv_services.c
Commit message (Collapse)AuthorAgeFilesLines
* NSS: Fix service enumerationJakub Hrozek2013-10-291-1/+5
| | | | | | | The code wrote into the middle of the packet to a space that was already reserved and allocated but then still advanced the pointer to the buffer. https://fedorahosted.org/sssd/ticket/2124
* Fix formating of variables with type defined in stdint.hLukas Slebodnik2013-09-111-6/+7
|
* remove unused variablePavel Březina2013-07-161-4/+0
|
* Remove unused function parameterLukas Slebodnik2013-07-161-3/+1
|
* Fixing critical format string issues.Lukas Slebodnik2013-05-201-1/+1
| | | | | | --missing arguments. --format '%s', but argument is integer. --wrong format string, examle: '%\n'
* Remove unused TALLOC_CTX from responder_get_domain()Sumit Bose2013-05-021-1/+1
| | | | | | Recent refactoring removed the need to copy the domain info data of sub-domains because the related objects will not be removed from memory anymore.
* DB: Switch to new libini_config APIOndrej Kos2013-04-261-1/+0
| | | | | | | https://fedorahosted.org/sssd/ticket/1786 Since we need to support the old interface as well, the configure scritp is modified and correct ini interface is chosen.
* Add function get_next_domain()Simo Sorce2013-02-101-12/+14
| | | | | | | Use this function instead of explicitly calling domain->next This function allows to get the next primary domain or to descend into the subdomains and replaces also get_next_dom_or_subdom()
* Add domain arguments to sysdb services functionsSimo Sorce2013-01-151-6/+6
| | | | also fix sysdb_svc_add declarations
* NSS: Fix netgroup midpoint cache refreshJakub Hrozek2012-12-041-1/+1
| | | | | | | | https://fedorahosted.org/sssd/ticket/1683 The result of the percent calculation was always 0 as it used plain ints. The patch switches to using explicit floats to avoid reintroducing the bug again even with brackets.
* Fix typosYuri Chornoivan2012-10-091-1/+1
|
* Add new option default_domain_suffixSumit Bose2012-10-011-1/+4
|
* NSS: Fix off-by-one error in parse_getservbynameJakub Hrozek2012-09-131-1/+1
| | | | https://fedorahosted.org/sssd/ticket/1438
* Fix uninitialized valuesNick Guay2012-07-181-3/+3
| | | | https://fedorahosted.org/sssd/ticket/1379
* Make re_expression and full_name_format per domain optionsStef Walter2012-06-121-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
* NSS: Restore original protocol for getservbyportStephen Gallagher2012-05-251-1/+1
| | | | When fixing an endianness bug, we changed the protocol unnecessarily.
* Send 16bit protocol numbers from the sss_clientJakub Hrozek2012-05-251-1/+1
| | | | https://fedorahosted.org/sssd/ticket/1348
* Modified responder_get_domain()Jan Zeleny2012-04-241-1/+1
| | | | Now it checks for subdomains as well as for the domain itself
* NSS: Look for services with correct case when cache is updatedJakub Hrozek2012-03-211-7/+7
| | | | https://fedorahosted.org/sssd/ticket/1259
* Save alias of the primary name, tooJakub Hrozek2012-03-211-8/+14
|
* Remove sysdb_get_ctx_from_list()Sumit Bose2012-02-291-9/+10
|
* Fix case insensitive service lookupsJakub Hrozek2012-02-171-6/+6
|
* NSS: Always return the same protocol that was requestedStephen Gallagher2012-02-171-9/+23
| | | | https://fedorahosted.org/sssd/ticket/1160
* Check for failure in sss_packet_grow()Stephen Gallagher2012-02-131-5/+5
| | | | Coverity #12489
* Allocate setent structure on state, not on the client contextJakub Hrozek2012-02-131-1/+1
| | | | https://fedorahosted.org/sssd/ticket/1189
* RESPONDERS: Refactor setent_req_listJakub Hrozek2012-02-051-21/+6
| | | | | Makes the setent_add_ref() and setent_notify_*() functions more generic to be reusable by the autofs responder.
* Refactor nss_cmd_send_emptyJakub Hrozek2012-01-311-2/+2
|
* NSS: Add service enumeration support to NSS providerStephen Gallagher2012-01-271-1/+658
|
* DP: Refactor responder_dp_req so it's reusable by other respondersJakub Hrozek2012-01-271-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
* NSS: Add getservbyname and getservbyport support to the NSS ResponderStephen Gallagher2012-01-271-0/+1170