diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2012-08-22 14:43:05 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2012-08-22 15:37:45 -0400 |
commit | b7a3eb501f8eef61b7767445b2e09b4dca813c82 (patch) | |
tree | a8b620bf3014a4c28a7cbb8a6f7acffd16e29a69 /utils/gssd/gssd.h | |
parent | 1c787f1471d733f8a90b46924945c59de7478bac (diff) | |
download | nfs-utils-b7a3eb501f8eef61b7767445b2e09b4dca813c82.tar.gz nfs-utils-b7a3eb501f8eef61b7767445b2e09b4dca813c82.tar.xz nfs-utils-b7a3eb501f8eef61b7767445b2e09b4dca813c82.zip |
gssd: Use /run/user/${UID} instead of /run/user/${USER}
Newer versions of systemd create a /run/user/${UID} directory
instead of the /run/user/${USER} directory, so switch to
scanning for that. To make the per-user directory bit a little
less magical, change the default to incorporate a "%U", which
gets dynamically expanded to the user's UID when needed.
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/gssd.h')
-rw-r--r-- | utils/gssd/gssd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/gssd/gssd.h b/utils/gssd/gssd.h index 1d923d7..86472a1 100644 --- a/utils/gssd/gssd.h +++ b/utils/gssd/gssd.h @@ -45,7 +45,7 @@ #define DNOTIFY_SIGNAL (SIGRTMIN + 3) #define GSSD_DEFAULT_CRED_DIR "/tmp" -#define GSSD_USER_CRED_DIR "/run/user" +#define GSSD_USER_CRED_DIR "/run/user/%U" #define GSSD_DEFAULT_CRED_PREFIX "krb5cc" #define GSSD_DEFAULT_MACHINE_CRED_SUFFIX "machine" #define GSSD_DEFAULT_KEYTAB_FILE "/etc/krb5.keytab" |