source: branches/locker-dev/locker/sbin/vhostedit @ 1748

Last change on this file since 1748 was 1748, checked in by mitchb, 12 years ago
Pristing vhostadd and vhostedit, missing from locker-dev
  • Property svn:executable set to *
File size: 322 bytes
RevLine 
[1748]1#!/bin/sh
2
3if [ ! "$1" ]; then
4    echo "Usage: $0 <vhost>"
5    exit 2
6fi
7
8exec ldapvi --bind sasl -Y GSSAPI -h scripts4.mit.edu -b dc=scripts,dc=mit,dc=edu \
9       "(|(&(objectClass=apacheConfig)(|(apacheServerName=$1)(apacheServerAlias=$1)))(&(objectClass=scriptsVhost)(|(scriptsVhostName=$1)(scriptsVhostAlias=$1))))"
Note: See TracBrowser for help on using the repository browser.