baghenamoth Posted March 13, 2007 Share Posted March 13, 2007 (edited) Hi, I'm actually trying to retrieve some informations about a LDAP accounts. I'm not working on Active directory but on openLDAP I found here a script wich allows me to look for members and works well Const $LDAPBaseDN = "ou=people" & ",dc=mycie,dc=com" Const $LDAPPort = "myport" Const $LDAPServer = "myserver" Const $LDAPAddress = $LDAPServer & ":" & $LDAPPort & "/" & $LDAPBaseDN $LookFor = "baghenamoth" $ObjLDAP = ObjGet ("LDAP://" & $LDAPAddress) If @error Then MsgBox (4096, "LDAP Connection", $LDAPServer & " connection error") Exit EndIf For $ObjMembers In $ObjLDAP ConsoleWrite($ObjMembers.uid & @CR) Next Does anyone knows how to check member info without browsing all members and more : how to check user authentification (BIND?) Edited March 13, 2007 by baghenamoth Link to comment Share on other sites More sharing options...
ptrex Posted March 14, 2007 Share Posted March 14, 2007 @baghenamothMAybe this can get you started :LDAP Command Examplesregardsptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
baghenamoth Posted March 15, 2007 Author Share Posted March 15, 2007 @baghenamothMAybe this can get you started :LDAP Command Examplesregardsptrexthx for your link but it doesn't help me with wmi. I have already thought use LDAPSearch but I would have preferred using WMI... Link to comment Share on other sites More sharing options...
gcriaco Posted March 29, 2007 Share Posted March 29, 2007 Hi, I'm actually trying to retrieve some informations about a LDAP accounts. I'm not working on Active directory but on openLDAP I found here a script wich allows me to look for members and works well Const $LDAPBaseDN = "ou=people" & ",dc=mycie,dc=com" Const $LDAPPort = "myport" Const $LDAPServer = "myserver" Const $LDAPAddress = $LDAPServer & ":" & $LDAPPort & "/" & $LDAPBaseDN $LookFor = "baghenamoth" $ObjLDAP = ObjGet ("LDAP://" & $LDAPAddress) If @error Then MsgBox (4096, "LDAP Connection", $LDAPServer & " connection error") Exit EndIf For $ObjMembers In $ObjLDAP ConsoleWrite($ObjMembers.uid & @CR) Next Does anyone knows how to check member info without browsing all members and more : how to check user authentification (BIND?) Your code works for me. I'm working on SunOne Directory Server v. 5.2 Link to comment Share on other sites More sharing options...
malkolmmgdn Posted October 24, 2012 Share Posted October 24, 2012 The script in autoit. Automation Connection LDAP address book to outlookDownload here:http://depositfiles.com/files/rdyz6sby3 Link to comment Share on other sites More sharing options...
water Posted October 24, 2012 Share Posted October 24, 2012 (edited) Can you please tell us what the download contains? And what is it all for? The script has 541 bytes. It runs Outlook and sends a few keystrokes. No documentation but a lot of unreadable (russian) characters. The second file is the AutoIt package. So we need to download 7 megabyte for 500 bytes of code? Doesn't look useful Edited October 24, 2012 by water My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now