4
0
Fork 0
ldap-admin/lib/adminrc

18 lines
440 B
Plaintext
Raw Normal View History

2012-08-26 19:33:59 +00:00
. ~/.bashrc # for convenience
export LDAP_SHELL=1
export TAG_PREFIX="#%"
export TAG_DEPTH=0
export LDIF_BASE=~/.ldap-admin.ldif
PS1="(ldap)$PS1"
export BASE_DIR="${BIN_DIR%/bin}"
export LIB_DIR="$BASE_DIR/lib"
export ME="uid=$USER,ou=People,dc=hackerspace,dc=pl"
PATH="$PATH:$BIN_DIR"
touch $LDIF_BASE
chmod 600 $LDIF_BASE
alias help="$BIN_DIR/help"
alias import_common=". $LIB_DIR/common.sh"
echo "Type \"help\" for available commands."