Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Net::LDAP and AD

by strat (Canon)
on Jun 28, 2006 at 09:11 UTC ( #557968=note: print w/ replies, xml ) Need Help??


in reply to Net::LDAP and AD

The first time I tried to push data into AD with Net:LDAP I found out that it

  • has a hardlimit of 1000 returned entries and needs paging, e.g. with Net::LDAP::Control::Paged (I also guess that might be your problem)
  • doesn't use utf8 for saving data (or at least the admintools can't work with utf8), and Net::LDAP v3 automatically uses utf8 with gives problems with non-ascii-chars (e.g. german umlauts). I could solve this problem with using Net::LDAP with LDAPv2.
  • I found no way to query the Global Catalog with Net::LDAP (well, I didn't search too hard)

So I turned over to ADSI with pure Win32::OLE which is also easier because there exists more documentation with good examples. Disadvantage: it only runs under Win32.

Useful links for ADSI:

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"


Comment on Re: Net::LDAP and AD

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://557968]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (17)
As of 2014-07-23 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (145 votes), past polls