summaryrefslogtreecommitdiff
path: root/server/responder/common/responder.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2009-05-26 14:37:46 +0200
committerSimo Sorce <ssorce@redhat.com>2009-05-26 11:30:04 -0400
commit1eca703ca65ad74673fd20ee97bb8d6e538f0085 (patch)
treea0b8897a56296e1ecd3110351a6d27178e6581f7 /server/responder/common/responder.h
parentee2f522ebd4ded82f5ce46ff27a66a14cfce8274 (diff)
downloadsssd-1eca703ca65ad74673fd20ee97bb8d6e538f0085.tar.gz
sssd-1eca703ca65ad74673fd20ee97bb8d6e538f0085.tar.bz2
sssd-1eca703ca65ad74673fd20ee97bb8d6e538f0085.zip
Do not fire up backend search when the data provider is local
Diffstat (limited to 'server/responder/common/responder.h')
-rw-r--r--server/responder/common/responder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/responder/common/responder.h b/server/responder/common/responder.h
index 946418c8..13ebf073 100644
--- a/server/responder/common/responder.h
+++ b/server/responder/common/responder.h
@@ -33,6 +33,10 @@
#include "../sss_client/sss_cli.h"
#include "util/btreemap.h"
+/* if there is a provider other than the special local */
+#define NEED_CHECK_PROVIDER(provider) \
+ (provider != NULL && strcmp(provider, "local") != 0)
+
/* needed until nsssrv.h is updated */
struct cli_request {