diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-08 00:59:32 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:53:03 +0100 |
commit | 681742138b2afbbefa7f14de937beb438409208e (patch) | |
tree | 8261b14012f0d994cfdd91005a237581ae8a400a /src/responder/nss | |
parent | 740870643f337ce70d85f25f9ed057cd1f91028c (diff) | |
download | sssd-681742138b2afbbefa7f14de937beb438409208e.tar.gz sssd-681742138b2afbbefa7f14de937beb438409208e.tar.bz2 sssd-681742138b2afbbefa7f14de937beb438409208e.zip |
Add domain arguments to sysdb services functions
also fix sysdb_svc_add declarations
Diffstat (limited to 'src/responder/nss')
-rw-r--r-- | src/responder/nss/nsssrv_services.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/responder/nss/nsssrv_services.c b/src/responder/nss/nsssrv_services.c index e56ad93a..dd12fa41 100644 --- a/src/responder/nss/nsssrv_services.c +++ b/src/responder/nss/nsssrv_services.c @@ -211,7 +211,7 @@ getserv_send(TALLOC_CTX *mem_ctx, SVC_PROTO_CASED ? SVC_PROTO_CASED : "<ANY>", dom->name)); - ret = sysdb_getservbyname(state, sysdb, + ret = sysdb_getservbyname(state, sysdb, dom, SVC_NAME_CASED, SVC_PROTO_CASED, &state->res); @@ -252,7 +252,7 @@ getserv_send(TALLOC_CTX *mem_ctx, SVC_PROTO_CASED ? SVC_PROTO_CASED : "<ANY>", dom->name)); - ret = sysdb_getservbyport(state, sysdb, port, + ret = sysdb_getservbyport(state, sysdb, dom, port, SVC_PROTO_CASED, &state->res); } @@ -495,7 +495,7 @@ static void lookup_service_done(struct tevent_req *subreq) SVC_PROTO_CASED ? SVC_PROTO_CASED : "<ANY>", dom->name)); - ret = sysdb_getservbyname(state, sysdb, + ret = sysdb_getservbyname(state, sysdb, dom, SVC_NAME_CASED, SVC_PROTO_CASED, &state->res); @@ -506,7 +506,7 @@ static void lookup_service_done(struct tevent_req *subreq) SVC_PROTO_CASED ? SVC_PROTO_CASED : "<ANY>", dom->name)); - ret = sysdb_getservbyport(state, sysdb, + ret = sysdb_getservbyport(state, sysdb, dom, state->port, SVC_PROTO_CASED, &state->res); @@ -1384,7 +1384,7 @@ lookup_servent_send(TALLOC_CTX *mem_ctx, goto immediate; } - ret = sysdb_enumservent(state, sysdb, &state->res); + ret = sysdb_enumservent(state, sysdb, dom, &state->res); /* Whatever the result, we're done, so report it */ goto immediate; } @@ -1446,7 +1446,7 @@ lookup_servent_done(struct tevent_req *subreq) goto done; } - ret = sysdb_enumservent(state, sysdb, &state->res); + ret = sysdb_enumservent(state, sysdb, state->dom, &state->res); /* Whatever the result, we're done, so report it */ done: |