summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/ad/mountscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/ad/mountscript b/data/ad/mountscript
index d7ae209..25f04ea 100644
--- a/data/ad/mountscript
+++ b/data/ad/mountscript
@@ -39,6 +39,8 @@ if ! grep -q "^${PAM_USER}:" "/etc/passwd"; then
fi
if [ -n "${VOLUME}" ]; then
+ # Remember for hooks in pam_script_auth.d
+ export PERSISTENT_NETPATH=$(echo "$VOLUME" | tr '/' '\')
export USER="${REAL_ACCOUNT}"
export PASSWD="${PAM_AUTHTOK}"