From: Nicolas Boisselier Date: Mon, 4 Dec 2017 16:52:19 +0000 (+0000) Subject: /opt/nb/etc/profile.d/ldap.sh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=903fd21ea7cd33d42905503110ac84a6c56556ea;p=nb.git /opt/nb/etc/profile.d/ldap.sh --- diff --git a/etc/mutt/header b/etc/mutt/header index 4c8fd8ce..36a4aaf3 100644 --- a/etc/mutt/header +++ b/etc/mutt/header @@ -24,10 +24,4 @@ unignore Delivered-To # mais montre ça hdr_order date from subject to cc bcc -# mon header à moi :O) -#my_hdr from: nicolas.boisselier@free.fr -#my_hdr X-URL: http://nicolas.boisselier.free.fr -my_hdr X-Operating-System: Linux/`uname -r` (`uname -m`) -#my_hdr X-Crypto: GnuPG/1.0.6 http://www.gnupg.org -#my_hdr X-GPG-Key: http:// -#my_hdr X-GPG-Fingerprint: E1B2 E471 1D76 6E4B 4FBB C593 DA47 81B0 4CF1 64F5 +my_hdr X-Operating-System: `uname`/`uname -r` (`uname -m`) diff --git a/etc/profile.d/ldap.sh b/etc/profile.d/ldap.sh index e3a5da36..c506c15c 100644 --- a/etc/profile.d/ldap.sh +++ b/etc/profile.d/ldap.sh @@ -1,6 +1,6 @@ which slapcat > /dev/null || return -ldap_maxid() { +ldap_new_id() { local attr=${1:-uidNumber} local max=${2:-65000} max=$(