]> andersk Git - moira.git/commitdiff
Include MIT IDs as well.
authorzacheiss <zacheiss>
Sat, 17 Apr 2004 19:17:21 +0000 (19:17 +0000)
committerzacheiss <zacheiss>
Sat, 17 Apr 2004 19:17:21 +0000 (19:17 +0000)
gen/ldap.gen

index 37e6f485e13580b91745d8e94e5e8e96d2ecb55c..1da68704de91364dc78d177841e4ff6e2460730c 100755 (executable)
@@ -25,7 +25,7 @@ $sth->execute;
 
 open(OUT, ">$outdir/users") || exit $MR_OCONFIG;
 
-while(($login, $first, $middle, $last) = $sth->fetchrow_array) {
+while(($login, $first, $middle, $last, $clearid) = $sth->fetchrow_array) {
     $row = "dn: uid=$login,ou=users,dc=mit,dc=edu\n";
     $row .= "objectclass: top\n";
     $row .= "objectclass: person\n";
@@ -35,6 +35,7 @@ while(($login, $first, $middle, $last) = $sth->fetchrow_array) {
     $row .= "uid: $login\n";
     $row .= "krb5PrincipalName: $login\@ATHENA.MIT.EDU\n";
     $row .= "userPassword: {KERBEROS}$login\@ATHENA.MIT.EDU\n";
+    $row .= "employeeNumber: $clearid\n";
 
     if($last) {
        $sn = "sn: $last\n";
This page took 0.5002 seconds and 5 git commands to generate.