[issm-svn] r11223 - issm/trunk/externalpackages/dyson
larour at issm.ess.uci.edu
larour at issm.ess.uci.edu
Thu Jan 26 12:40:03 PST 2012
Author: larour
Date: 2012-01-26 12:40:03 -0800 (Thu, 26 Jan 2012)
New Revision: 11223
Modified:
issm/trunk/externalpackages/dyson/ldap.pl
Log:
Fixing ldap.pl script
Modified: issm/trunk/externalpackages/dyson/ldap.pl
===================================================================
--- issm/trunk/externalpackages/dyson/ldap.pl 2012-01-26 20:37:52 UTC (rev 11222)
+++ issm/trunk/externalpackages/dyson/ldap.pl 2012-01-26 20:40:03 UTC (rev 11223)
@@ -6,7 +6,7 @@
$lds="ldap.jpl.nasa.gov"; $ou="ou=personnel,dc=dir,dc=jpl,dc=nasa,dc=gov"; # Define LDAP server & organization
$bn="jplbadgenumber"; $txt="$bn".".txt"; $db="jplusers.db"; # Initialize values
#
-system(`$ldb -h $lds -b $ou uid=* filter $bn > $txt`); # Execute LDAPsearch, write to file
+system(`$ldb -x -h $lds -b $ou uid=* filter $bn > $txt`); # Execute LDAPsearch, write to file
#
open(I,"<$txt"); # Open input file handle
open(O,">badges.tmp"); # Open output file handle
More information about the issm-svn
mailing list