Changeset 833 for server/common


Ignore:
Timestamp:
Sep 7, 2008, 1:24:39 PM (16 years ago)
Author:
andersk
Message:
Not all users are andersk.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/common/oursrc/accountadm/vhostadd

    r827 r833  
    2727IFS=: read user x uid gid x home x <<< "$pw"
    2828
    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: //')
     29user_dn=$(ldapsearch -LLL -x -b ou=People,dc=scripts,dc=mit,dc=edu "(uid=$user)" dn | perl -0pe 's/\n //g; s/^dn: //')
    3030
    3131printf "Docroot: $home/web_scripts" >&2
Note: See TracChangeset for help on using the changeset viewer.