From: Graham B. <gb...@po...> - 2002-01-16 18:44:13
|
And I just noticed that inetorgperson is misspelt in the Net::LDAP filter too. Graham. On Wed, Jan 16, 2002 at 01:38:17PM -0500, CZa...@wi... wrote: > > I used the * also and I'm still not getting any DN output. > > > > > Graham Barr > <gbarr@pobox.c To: CZa...@wi... > om> cc: per...@li..., > chr...@me... > 01/16/2002 Subject: Re: Displaying Net::LDAP search results > 01:31 PM > > > > > > > On Wed, Jan 16, 2002 at 01:15:01PM -0500, CZa...@wi... wrote: > > > > This is just an example of what I am trying to get, "CN=John > > Doe,OU=IT,OU=NewYork,O=XYZ" " > > It works with the command lind 'ldapsearch': $command = qq/ldapsearch -b > > "o = wiley" -s subtree "(& (objectclass = inetorgperson) (mail > = $username*))" > > > > filter=> "(&(objectclass = interorgperson) (mail = $username))" > > Well you are using difeerent filter. The ldapseach command has a * at the > end of mail = > > Graham. > > > > > |