nss-pam-ldapd commit: r1566 - nss-pam-ldapd/debian
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1566 - nss-pam-ldapd/debian
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1566 - nss-pam-ldapd/debian
- Date: Sat, 10 Dec 2011 22:03:51 +0100 (CET)
Author: arthur
Date: Sat Dec 10 22:03:49 2011
New Revision: 1566
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1566&view=revision
Log:
fix a deprecated use of head without the -n option
Modified:
nss-pam-ldapd/debian/nslcd.config
Modified: nss-pam-ldapd/debian/nslcd.config
==============================================================================
--- nss-pam-ldapd/debian/nslcd.config Sat Dec 10 21:15:51 2011 (r1565)
+++ nss-pam-ldapd/debian/nslcd.config Sat Dec 10 22:03:49 2011 (r1566)
@@ -57,7 +57,7 @@
# try to lookup _ldap._tcp SRV records
if [ -n "$domain" ]
then
- server=`host -N 2 -t SRV _ldap._tcp.$domain 2> /dev/null | grep -v
NXDOMAIN | awk '{print $NF}' | head -1 | sed 's/\.$//'` || true
+ server=`host -N 2 -t SRV _ldap._tcp.$domain 2> /dev/null | grep -v
NXDOMAIN | awk '{print $NF}' | head -n 1 | sed 's/\.$//'` || true
if [ -n "$server" ]
then
echo "ldap://$server/"
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/
- nss-pam-ldapd commit: r1566 - nss-pam-ldapd/debian,
Commits of the nss-pam-ldapd project