summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-03-29 23:24:12 +1000
committerDarren Tucker <dtucker@zip.com.au>2005-03-29 23:24:12 +1000
commit6e1defdc5a597902f6899b71e635e718ffa8a2b6 (patch)
treedb10f7d2ec4e19b401fdd1d85efe2a4b35246bf0
parente66519d94207187a71d274ab70a6647318ed877d (diff)
downloadopenssh-git-6e1defdc5a597902f6899b71e635e718ffa8a2b6.tar.gz
- (dtucker) [contrib/aix/buildbff.sh] Bug #1005: Look up only the user we're
interested in which is much faster in large (eg LDAP or NIS) environments. Patch from dleonard at vintela.com.
-rw-r--r--ChangeLog7
-rwxr-xr-xcontrib/aix/buildbff.sh4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index ef5602e3..5bb4788c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+20050329
+ - (dtucker) [contrib/aix/buildbff.sh] Bug #1005: Look up only the user we're
+ interested in which is much faster in large (eg LDAP or NIS) environments.
+ Patch from dleonard at vintela.com.
+
20050321
- (dtucker) [configure.ac] Prevent configure --with-zlib from adding -Iyes
and -Lyes to CFLAGS and LIBS. Pointed out by peter at slagheap.net,
@@ -2382,4 +2387,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
-$Id: ChangeLog,v 1.3727 2005/03/21 11:46:34 dtucker Exp $
+$Id: ChangeLog,v 1.3728 2005/03/29 13:24:12 dtucker Exp $
diff --git a/contrib/aix/buildbff.sh b/contrib/aix/buildbff.sh
index 4a5c32b0..09b9c118 100755
--- a/contrib/aix/buildbff.sh
+++ b/contrib/aix/buildbff.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#
# buildbff.sh: Create AIX SMIT-installable OpenSSH packages
-# $Id: buildbff.sh,v 1.7 2003/11/21 12:48:56 djm Exp $
+# $Id: buildbff.sh,v 1.8 2005/03/29 13:24:12 dtucker Exp $
#
# Author: Darren Tucker (dtucker at zip dot com dot au)
# This file is placed in the public domain and comes with absolutely
@@ -219,7 +219,7 @@ else
fi
# Create user if required
- if lsuser ALL | cut -f1 -d: | egrep '^'$SSH_PRIVSEP_USER'\$' >/dev/null
+ if lsuser "$SSH_PRIVSEP_USER" >/dev/null
then
echo "PrivSep user $SSH_PRIVSEP_USER already exists."
else