summaryrefslogtreecommitdiff
path: root/meta-openvuplus/recipes-base/autofs/autofs-4.1.4/071_fix_ldap_mounts.patch
blob: ee0c4ef2570a535867eec5d466408dc825e29282 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh /usr/share/dpatch/dpatch-run
## 071_fix_ldap_mounts.dpatch
##
## DP: No description.

@DPATCH@

diff -Naur .B/samples/rc.autofs.in .A/samples/rc.autofs.in
--- .B/samples/rc.autofs.in	2007-01-07 21:36:36.000000000 +0000
+++ .A/samples/rc.autofs.in	2007-01-07 21:36:36.000000000 +0000
@@ -319,7 +319,7 @@
 		maptype=`echo $map | cut -f1 -d:`
 		# Handle degenerate map specifiers
 		if [ "$maptype" = "$map" ] ; then
-		    if [ "$map" = "hesiod" -o "$map" = "userhome" ] ; then
+		    if [ "$map" = "hesiod" -o "$map" = "userhome" -o "$map" = "ldap" ] ; then
 			maptype=$map
 			map=
 		    elif [ "$map" = "multi" ] ; then