source: branches/fc17-dev/server/common/oursrc/accountadm/vhostedit @ 2081

Last change on this file since 2081 was 834, checked in by andersk, 16 years ago
Rephrase the vhostedit LDAP query.
  • Property svn:executable set to *
File size: 271 bytes
Line 
1#!/bin/sh
2
3if [ ! "$1" ]; then
4    echo "Usage: $0 <vhost>"
5    exit 2
6fi
7
8exec ldapvi -b dc=scripts,dc=mit,dc=edu "(|(&(objectClass=apacheConfig)(|(apacheServerName=$1)(apacheServerAlias=$1)))(&(objectClass=scriptsVhost)(|(scriptsVhostName=$1)(scriptsVhostAlias=$1))))"
Note: See TracBrowser for help on using the repository browser.