summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorSimon Rettberg2017-02-21 15:54:57 +0100
committerSimon Rettberg2017-02-21 15:54:57 +0100
commit980bdf9232c27304ae58412c3cd7f5f0f287e362 (patch)
tree5213eecaacdc135dcce38d817df41eb357ee9335 /data
parentAdd RemoteReboot task (diff)
downloadtmlite-bwlp-980bdf9232c27304ae58412c3cd7f5f0f287e362.tar.gz
tmlite-bwlp-980bdf9232c27304ae58412c3cd7f5f0f287e362.tar.xz
tmlite-bwlp-980bdf9232c27304ae58412c3cd7f5f0f287e362.zip
[CreateLdapConfig] Add shareDomain and credentialPassthrough
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}"