SpecialK Posted November 21, 2008 Share Posted November 21, 2008 Hello, can you please give me a little support for converting this script to autoit? Set ou = GetObject("LDAP://dc01.enom.corp.com/ou=Abwesend,ou=Users,ou=Berlin,ou=Locations,dc=enom,dc=corp,dc=com") For Each obj In ou WScript.Echo obj.name Next I want to learn a little bit Ldap sripting in Autoit and need the convertet script to get startet. Thank you SpecialK Link to comment Share on other sites More sharing options...
Paulchen Posted November 21, 2008 Share Posted November 21, 2008 Hi you can find a sample under#524939n.b. this forum have a search function. you can search for ldap ;-) Link to comment Share on other sites More sharing options...
SpecialK Posted November 21, 2008 Author Share Posted November 21, 2008 I did search for ldap a lot But i need exact my example translated in autoit to compare it to vbs and unterstand is. SpecialK Link to comment Share on other sites More sharing options...
weaponx Posted November 21, 2008 Share Posted November 21, 2008 This is a tough one. Wait... $ou = ObjGet("LDAP://dc01.enom.corp.com/ou=Abwesend,ou=Users,ou=Berlin,ou=Locations,dc=enom,dc=corp,dc=com") For $obj In $ou ConsoleWrite($obj.name & @CRLF) Next Link to comment Share on other sites More sharing options...
rudi Posted November 21, 2008 Share Posted November 21, 2008 This is a tough one. Wait... $ou = ObjGet("LDAP://dc01.enom.corp.com/ou=Abwesend,ou=Users,ou=Berlin,ou=Locations,dc=enom,dc=corp,dc=com") For $obj In $ou ConsoleWrite($obj.name & @CRLF) Next If you don't know where to start almost everything is tough <scnr> BTW: Thanks for your reply. I'm not very familiar with all that object stuff, and it helped me for a different task Regards, Rudi. Earth is flat, pigs can fly, and Nuclear Power is SAFE! Link to comment Share on other sites More sharing options...
SpecialK Posted November 21, 2008 Author Share Posted November 21, 2008 This is a tough one. Wait... $ou = ObjGet("LDAP://dc01.enom.corp.com/ou=Abwesend,ou=Users,ou=Berlin,ou=Locations,dc=enom,dc=corp,dc=com") For $obj In $ou ConsoleWrite($obj.name & @CRLF) Next Thank you very much! Now i can work with this sample script. SpecialK 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