| Last change
                  on this file since 2367 was
                  2307,
                  checked in by quentin, 13 years ago | 
        
          | Only dump real user accounts, and not LDAP-only users. | 
        
          | 
              
                  Property svn:executable set to
                  * | 
        | File size:
            297 bytes | 
      
      
        
  | Rev | Line |  | 
|---|
| [722] | 1 | #!/bin/sh | 
|---|
|  | 2 |  | 
|---|
|  | 3 | # Run this as root on scripts. | 
|---|
|  | 4 |  | 
|---|
| [2307] | 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 'objectClass=posixAccount' cn homeDirectory | \ | 
|---|
| [722] | 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.