Author: szoerner
Date: Sat Jun 23 08:32:48 2007
New Revision: 550057
URL: http://svn.apache.org/viewvc?view=rev&rev=550057
Log:
syntax error in call removed
Modified:
directory/sandbox/szoerner/groovyldap/src/main/groovy/demoSearch.groovy
Modified: directory/sandbox/szoerner/groovyldap/src/main/groovy/demoSearch.groovy
URL: http://svn.apache.org/viewvc/directory/sandbox/szoerner/groovyldap/src/main/groovy/demoSearch.groovy?view=diff&rev=550057&r1=550056&r2=550057
==============================================================================
--- directory/sandbox/szoerner/groovyldap/src/main/groovy/demoSearch.groovy (original)
+++ directory/sandbox/szoerner/groovyldap/src/main/groovy/demoSearch.groovy Sat Jun 23 08:32:48
2007
@@ -3,7 +3,7 @@
ldap = LDAP.newInstance('ldap://zanzibar:10389/')
// search op
-results = ldap.search('(objectClass=*)', 'dc=example,dc=com', SearchScope.ONE, )
+results = ldap.search('(objectClass=*)', 'dc=example,dc=com', SearchScope.ONE)
println "${results.size} entries found:"
for (entry in results) {
println entry.dn
|