From: jweiss Date: Tue, 9 Nov 1999 06:18:39 +0000 (+0000) Subject: use the trimmed prdb in all cases. X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/9dbd9d2b8f20a3da8a7d078fc038251c580fadb8 use the trimmed prdb in all cases. this is the final version of the instructions that were used 11/1999 --- diff --git a/afssync/INSTRUCTIONS b/afssync/INSTRUCTIONS index febf1272..4e037ab8 100644 --- a/afssync/INSTRUCTIONS +++ b/afssync/INSTRUCTIONS @@ -1,8 +1,3 @@ -[This is a still-under-construction rewrite of the afssync -instructions, adapted to the Ingres/Maxine -> Oracle/SPARC port, and -is also being updated and simplified.] - - The executables are in /moira/bin/ on the moira server, with sources in /mit/moiradev/src/afssync/. Most of the commands are run on the Moira server. @@ -35,7 +30,8 @@ the old prdb for being reincorporated into the new prdb. print $L unless $punt==1;}' > prdb.extra.trimmed to remove the personal groups for users who are deactivated - awk '/^[^ ][^:]*@/ {printf "KERBEROS:%s\n",$1}' prdb.extra > foreign + awk '/^[^ ][^:]*@/ {printf "KERBEROS:%s\n",$1}' prdb.extra.trimmed \ + > foreign blanche afs-foreign-users -f foreign Get a list of all the @andrew.cmu.edu type (non- athena.mit.edu cell) users, and sync the Moira list afs-foreign-users to this list. @@ -44,8 +40,9 @@ thus keeping them from being lost in the prdb resync. Sanity checking the diffs before running the blanche command is recommended. awk '/^[^ 0-9][^:@]*$/ {printf "KERBEROS:%s@ATHENA.MIT.EDU\n",$1}' \ - prdb.extra > oddities - awk '/^[^ ][0-9.]* .*$/ {printf "KERBEROS:%s\n",$1}' prdb.extra >> oddities + prdb.extra.trimmed > oddities + awk '/^[^ ][0-9.]* .*$/ {printf "KERBEROS:%s\n",$1}' prdb.extra.trimmed\ + >> oddities echo "LIST:afs-foreign-users" >> oddities blanche afs-odd-entities -f oddities Do the equivalent of afs-foreign-users for domestic users. We make