Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Net LDAP help...

by perlknight (Pilgrim)
on Jan 29, 2007 at 21:05 UTC ( #597179=perlquestion: print w/replies, xml ) Need Help??

perlknight has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I am trying to search and store attributes form a search using the DN as the base parameter. I am having problem with it, it returns with a count of 0 according to $result->count method. Any idea? Thanks.

Replies are listed 'Best First'.
Re: Net LDAP help...
by shmem (Chancellor) on Jan 29, 2007 at 23:22 UTC
    Well, some...
    • bad base dn
    • bad filter
    • bad scope definition
    • bad ldap hostname
    • bad port
    • bad program
    Oh. The last item - got some? :-)

    Post your code.


    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
Re: Net LDAP help...
by chargrill (Parson) on Jan 29, 2007 at 23:18 UTC

    No, sorry - I'm fresh out of ideas.

    What have you tried? Maybe seeing what you've already worked through and where you're having trouble with it might spark an idea or two.

    s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://597179]
Approved by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (1)
As of 2023-03-24 18:14 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (61 votes). Check out past polls.