summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorSimon Rettberg2015-09-22 18:30:36 +0200
committerSimon Rettberg2015-09-22 18:30:36 +0200
commit242a55c2fe6182f756d8bc637717777faf58d075 (patch)
treef5aa0a6cf5f18f4d82649796d1e9069891b1756f /data
parent[mountscript] Fix passing password to ldapsearch (remove trailing newline) (diff)
downloadtmlite-bwlp-242a55c2fe6182f756d8bc637717777faf58d075.tar.gz
tmlite-bwlp-242a55c2fe6182f756d8bc637717777faf58d075.tar.xz
tmlite-bwlp-242a55c2fe6182f756d8bc637717777faf58d075.zip
[mountscript] Send more debug info on slxlog
Diffstat (limited to 'data')
-rw-r--r--data/ad/mountscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/ad/mountscript b/data/ad/mountscript
index 7a15224..31011ff 100644
--- a/data/ad/mountscript
+++ b/data/ad/mountscript
@@ -23,7 +23,7 @@ if ! grep -q "^${PAM_USER}:" "/etc/passwd"; then
|| slxlog "pam-ad-ldapquery" "Could not query LDAP-AD-Proxy for parameters of user '${PAM_USER}'." "${RESULT}"
rm -f -- "${PW}"
VOLUME=$(cat "${RESULT}" | grep '^homeMount:' | head -n 1 | cut -d ' ' -f 2)
- [ -z "${VOLUME}" ] && slxlog "pam-ad-ldapvolume" "AD/Proxy did not provide 'homeMount'. Aborting mount for ${PAM_USER}."
+ [ -z "${VOLUME}" ] && slxlog "pam-ad-ldapvolume" "AD/Proxy did not provide 'homeMount'. Aborting mount for ${PAM_USER}." "${RESULT}"
[ -z "$REAL_ACCOUNT" ] && REAL_ACCOUNT=$(cat "${RESULT}" | grep '^realAccount:' | head -n 1 | cut -d ' ' -f 2)
[ -z "$REAL_ACCOUNT" ] && REAL_ACCOUNT="${PAM_USER}"
fi