Displaying 1 result from an estimated 1 matches for "homedrive_er".
2004 Aug 25
1
PDF printing with printing = CUPS
...;$OUTPUTFILENAME"
if [ "$2" != "" ]; then
#EMR Change owner and group also
chown $USERID_ER.$GROUPID_ER "$OUTPUTFILENAME"
#EMR
# chown $2 "$OUTPUTFILENAME"
fi
#EMR Borrow idea from samba's print-pdf to notify user
# Lookup home drive letter
HOMEDRIVE_ER=`ldapsearch -x -LLL -b
"ou=Users,ou=Samba,dc=spel-parques,dc=pt" "(uid=emruivo)" sambaHomeDrive |
grep sambaHomeDrive: | cut -f2 -d ' '`
# Check if we found our home drive in LDAP
if [ $HOMEDRIVE_ER = ""]; then
# Yes, give Windows style location of output fi...