From: Dieter K. <di...@dk...> - 2008-09-18 09:37:03
|
Quanah Gibson-Mount <qu...@zi...> writes: > --On Wednesday, September 17, 2008 9:53 PM +0200 Dieter Kluenter > <di...@dk...> wrote: [...] >> >> The filter is defined in ldapwalk.pl >> >> my $filter = $ARGV[0]; >> my @attrs = (); > > Again, > > What does the LDAP SERVER log as the filter it received. I'm not > asking what the script does on its side of things. If the LDAP SERVER > is not receiving the correct filter from the script because of shell > quoting issues, your lack of results makes sense. > > As I noted in my previous email a while ago, the LDAP SERVER in my > case logs: > > > Sep 17 10:18:59 freelancer slapd[28153]: conn=11826 op=2 SRCH > base="ou=people,dc=freelancer,dc=lab,dc=zimbra,dc=com" scope=2 deref=0 > filter="(uid=testus*)" OK, now I got you. I had to dig a few thausend lines but here it is: ep 17 19:29:11 rubin slapd[3052]: conn=19 op=0 BIND dn="cn=benchmark,o=avci,c=de" mech=SIMPLE ssf=0 Sep 17 19:29:11 rubin slapd[3052]: => bdb_entry_get: found entry: "cn=benchmark,o=avci,c=de" Sep 17 19:29:11 rubin slapd[3052]: conn=19 op=0 RESULT tag=97 err=0 text= Sep 17 19:29:11 rubin slapd[3052]: conn=19 op=1 SRCH base="ou=benchmark,o=avci,c=de" scope=1 deref=0 filter="(sn=test03*)" Sep 17 19:29:11 rubin slapd[3052]: conn=19 op=1 SRCH attr=mail telephonenumber Sep 17 19:29:11 rubin slapd[3052]: => access_allowed: search access to "ou=benchmark,o=avci,c=de" "entry" requested Don't get confused by different search bases, as I do tests on different hosts, but it is the same ldapwalk.pl and the result is allways the same. By the way, I am not testing on the command line but with XEmacs and cperl mode. -Dieter -- Dieter Klünter | Systemberatung http://www.dpunkt.de/buecher/2104.html GPG Key ID:8EF7B6C6 53°08'09,95"N 10°08'02,42"E |