1 #!/bin/sh /usr/share/dpatch/dpatch-run
2 ## 065_fix_master_map_in_ldap.dpatch
8 diff -Naur .B/samples/rc.autofs.in .A/samples/rc.autofs.in
9 --- .B/samples/rc.autofs.in 2007-01-07 21:36:35.000000000 +0000
10 +++ .A/samples/rc.autofs.in 2007-01-07 21:36:35.000000000 +0000
12 function getldapmounts()
14 if [ -x @@autofslibdir@@/autofs-ldap-auto-master ]; then
15 + [ ! -z $LDAPURI ] && export LDAPURI="$LDAPURI"
16 + [ ! -z $LDAPBASE ] && export LDAPBASE="$LDAPBASE"
17 @@autofslibdir@@/autofs-ldap-auto-master 2> /dev/null
18 + @@autofslibdir@@/autofs-ldap-auto-master -m automountMap \
19 + -e automount -n ou -k cn -v automountInformation 2> /dev/null