diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-05-23 17:50:21 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-06-14 15:52:28 -0400 |
commit | 248a24eda712d738127897264290ad1b751faf12 (patch) | |
tree | 2788e51d516f4fd4fc9142a903b5704906e541e4 /src | |
parent | 3ca7450bc821ac37851e92a256d0a2b89f4f2032 (diff) | |
download | sssd-248a24eda712d738127897264290ad1b751faf12.tar.gz sssd-248a24eda712d738127897264290ad1b751faf12.tar.bz2 sssd-248a24eda712d738127897264290ad1b751faf12.zip |
Allow redefining the KRB5_CHILD path
The krb5-child-test will want to run the child from the current
directory.
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/krb5/krb5_child_handler.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/providers/krb5/krb5_child_handler.c b/src/providers/krb5/krb5_child_handler.c index 990a9ecc..87f9d3ca 100644 --- a/src/providers/krb5/krb5_child_handler.c +++ b/src/providers/krb5/krb5_child_handler.c @@ -28,11 +28,15 @@ #include "providers/krb5/krb5_auth.h" #include "src/providers/krb5/krb5_utils.h" +#ifndef KRB5_CHILD_DIR #ifndef SSSD_LIBEXEC_PATH #error "SSSD_LIBEXEC_PATH not defined" -#else -#define KRB5_CHILD SSSD_LIBEXEC_PATH"/krb5_child" -#endif +#endif /* SSSD_LIBEXEC_PATH */ + +#define KRB5_CHILD_DIR SSSD_LIBEXEC_PATH +#endif /* KRB5_CHILD_DIR */ + +#define KRB5_CHILD KRB5_CHILD_DIR"/krb5_child" struct io { int read_from_child_fd; |