From: Nicolas Boisselier Date: Fri, 8 Dec 2017 05:28:15 +0000 (+0000) Subject: etc/profile.d/ldap.sh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=e06238e6291a5234a7ff77c619a71d687444bd91;p=nb.git etc/profile.d/ldap.sh --- diff --git a/etc/profile.d/ldap.sh b/etc/profile.d/ldap.sh index 661a9a30..f74cf534 100644 --- a/etc/profile.d/ldap.sh +++ b/etc/profile.d/ldap.sh @@ -113,7 +113,7 @@ ldap_gup() { -h|-help) echo $usage; return;; esac local filer=$1; shift; [ -n "$filter" ] && filter="($filter)" - local attrs=${*:-"cn"}; shift + local attrs=${*:-"uid"}; shift eval ' local args