Skip to content
Snippets Groups Projects
Commit c32e88a7 authored by Andreas Kempe's avatar Andreas Kempe
Browse files

Revert "ldap: temporarily remove /var/mail from automount"

This reverts commit 20a1c52b. The mount
should now work correctly.
parent 20a1c52b
Branches
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ VALUE_ATTRIBUTE="automountInformation" ...@@ -12,7 +12,7 @@ VALUE_ATTRIBUTE="automountInformation"
# fstype=nfs4 fungerar inte på FreeBSD då det inte finns något # fstype=nfs4 fungerar inte på FreeBSD då det inte finns något
# NFS-filsystem. Använd sed för att byta det till något vettigare. # NFS-filsystem. Använd sed för att byta det till något vettigare.
/usr/local/bin/ldapsearch -LLL -x -o ldif-wrap=no -b "$SEARCHBASE" "$ENTRY_ATTRIBUTE" "$VALUE_ATTRIBUTE" | sed 's/fstype=nfs4/nfsv4,minorversion=1/' | grep -v mail | awk ' /usr/local/bin/ldapsearch -LLL -x -o ldif-wrap=no -b "$SEARCHBASE" "$ENTRY_ATTRIBUTE" "$VALUE_ATTRIBUTE" | sed 's/fstype=nfs4/nfsv4,minorversion=1/' | awk '
$1 == "'$ENTRY_ATTRIBUTE':" { $1 == "'$ENTRY_ATTRIBUTE':" {
key = $2 key = $2
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment