Last change
on this file since 2778 was
2771,
checked in by leee, 8 years ago
|
use scripts-ldap-1 for vhostadd/edit
|
-
Property svn:executable set to
*
|
File size:
284 bytes
|
Rev | Line | |
---|
[1748] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | if [ ! "$1" ]; then |
---|
| 4 | echo "Usage: $0 <vhost>" |
---|
| 5 | exit 2 |
---|
| 6 | fi |
---|
| 7 | |
---|
[2771] | 8 | exec ldapvi --bind sasl -Y GSSAPI -h scripts-ldap-1.mit.edu -b dc=scripts,dc=mit,dc=edu \ |
---|
[2759] | 9 | "(&(objectClass=scriptsVhost)(|$(printf '(scriptsVhostName=%s)' "$@")$(printf '(scriptsVhostAlias=%s)' "$@")))" |
---|
Note: See
TracBrowser
for help on using the repository browser.