# HG changeset patch # User Steve Huston # Date 1494011182 14400 # Node ID 5dfc68e013099233f365add046023d7e8689a54c # Parent 5ab127dd2d8989b50a01d07ec53b250c0f1d4ece New ldm/lds, and a quick way to know when is now diff -r 5ab127dd2d89 -r 5dfc68e01309 .bash_aliases --- a/.bash_aliases Mon Apr 10 15:51:01 2017 -0400 +++ b/.bash_aliases Fri May 05 15:06:22 2017 -0400 @@ -113,7 +113,7 @@ alias vw="sshfs -oreconnect${DARWIN:+,volname=VW} vw.math.princeton.edu: $HOME/vw" # LDAP/host tools -alias ldm="ldapmodify -Z -x -W -c -D 'cn=DrAdmin,dc=astro,dc=princeton,dc=edu'" +alias ldm="ldapmodify -Q -Y GSSAPI -c" alias ldsloop='while true; do read; clear; lds "$REPLY"; done' alias hostmaster='ssh -x -a huston@arizona.princeton.edu /usr/oit/bin/hostinfo' @@ -125,7 +125,7 @@ OPTS="$1" shift } - ldapsearch -LLL $OPTS -x "($QUERY)" $@ + ldapsearch -Q -Y GSSAPI -LLL $OPTS "($QUERY)" $@ } ldsauth () { @@ -157,6 +157,7 @@ # Other alias condor_check="ls -lat /u/condor/hosts/*/log/MasterLog" alias slurp="wget -r -l1 -np -nd -A.mp3" +alias zulu="date -u +%Y%m%d%H%M%SZ" # Other Functions