Changeset 833 for server/common
- Timestamp:
- Sep 7, 2008, 1:24:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/common/oursrc/accountadm/vhostadd
r827 r833 27 27 IFS=: read user x uid gid x home x <<< "$pw" 28 28 29 user_dn=$(ldapsearch -LLL -x -b ou=People,dc=scripts,dc=mit,dc=edu '(uid=andersk)'dn | perl -0pe 's/\n //g; s/^dn: //')29 user_dn=$(ldapsearch -LLL -x -b ou=People,dc=scripts,dc=mit,dc=edu "(uid=$user)" dn | perl -0pe 's/\n //g; s/^dn: //') 30 30 31 31 printf "Docroot: $home/web_scripts" >&2
Note: See TracChangeset
for help on using the changeset viewer.