Jump to content

Doing an AD LDAP Query


Recommended Posts

@ptrex

on line 109 there is the definition of OCTET_STRING

@Sundance

I see that you haven't declared any Constant for Octet in your script ?

Const $ADSTYPE_OCTET_STRING = 8

Maybe this is bringing any light in the Octet problem :

Octet String

It's in German too. (Meine Deutsche Sprache is noch nicht so gut !!)

I hope this can help.

regards

ptrex

Link to comment
Share on other sites

Link to comment
Share on other sites

@ptrex

you can bet on it, that i'am doing testing :-) but also no luck till now

greetz Sundance

@Sundance

OK.

I am still trying to get something running. but no success yet.

Maybe you can do some tests as well based upon the link I gave.

Continuing tomorrow ....

regards

ptrex

Link to comment
Share on other sites

Link to comment
Share on other sites

mmmhhh okay. i've seen the post also short time ago.

but if i could try to read some memory values there could be a chance.

@Sundance

You can stop testing, because what AU3 is not support this type of Byte Array Returns.

We have opened a simular bug report for an other LDAP issues

Byte Array Returns not recognized.

I hope someone will fix it. <_<

Regards

ptrex

Link to comment
Share on other sites

  • 1 month later...

Hi All,

how can i use the _ADRecursiveGetMemberOf function from adfunctions.au3?

here's the code that i use:

#include <array.au3>
#include <adfunctions.au3>

$loggedonusergroups = ""

MsgBox (0, "error",_ADRecursiveGetMemberOf ($loggedonusergroups, _ADSamAccountNameToFQDN (@UserName)))

Can anyone help?

greetings

gmmg

Edited by gmmg
Link to comment
Share on other sites

Hi All,

how can i use the _ADRecursiveGetMemberOf function from adfunctions.au3?

here's the code that i use:

#include <array.au3>
#include <adfunctions.au3>

$loggedonusergroups = ""

MsgBox (0, "error",_ADRecursiveGetMemberOf ($loggedonusergroups, _ADSamAccountNameToFQDN (@UserName)))

Can anyone help?

greetings

gmmg

First, you can start a new topic and not clutter this one. You make it hard for people to search for previous questions and answers when you hijack a topic like that. Just start a new topic with a useful subject line like "Using the _ADRecursiveGetMemberOf() function".

Don't be afraid to start new topics, there's no economy in cluttering old ones!

Cheers!

:P

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

First, you can start a new topic and not clutter this one. You make it hard for people to search for previous questions and answers when you hijack a topic like that. Just start a new topic with a useful subject line like "Using the _ADRecursiveGetMemberOf() function".

Don't be afraid to start new topics, there's no economy in cluttering old ones!

Cheers!

:P

ok, i start a new topic :-)

thx for info

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...