source: tags/fc9-eol/locker/sbin/ @ 1491

Last change on this file since 1491 was 722, checked in by price, 16 years ago
import sec-tools scripts Two of these are obsolete, named with .old in /mit/scripts/sec-tools; I'm going to remove them in the next commit. But they'll be in the svn history here, which is better than lying around with .old names.
  • Property svn:executable set to *
File size: 273 bytes
3# Run this as root on scripts.
5/usr/bin/ldapsearch -LLL -z 0 -b ou=People,dc=scripts,dc=mit,dc=edu -s one -x -D 'cn=Directory Manager' -y /etc/signup-ldap-pw '' cn homeDirectory | \
6        perl -0pe 's/\n //g; s/^dn: .*\ncn: (.*)\nhomeDirectory: (.*)\n\n/$1 $2\n/gm'
Note: See TracBrowser for help on using the repository browser.