Re: I need a LDAP query to find a user from other domain in a local group of my domain

Tech-Archive recommends: Fix windows errors by optimizing your registry



What domian is it - 2000 or 2003 ? You mean domain local groups ?

If it's 2003 domain you can use dsget command with LDAP path to the user
object. The path has to be changed by you to match your domain structure
e.g:

dsget user "CN=josebv,OU=Sales,DC=SALL,DC=Com" -memberof -expand

As for the 2000 you can write a VBS script or use "ready to use" tool like
this one ( just look for them on Internet) :
http://www.joeware.net/win/free/tools/memberof.htm

Regards
Dominik Zurek


"YaKs" <jose.cortijo@xxxxxxxxx> wrote in message
news:1154422173.350595.92700@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,

I have some local groups where I had to add user from other domains of
my forest.
If I have a login user, for example, SALL\josebv and I what to know in
which groups of my domain ALICANTE belongs... How can I find it asking
my LDAP?

Could somebody help me with a LDAP query to achieve this...??

thanks in advance.

jose



.



Relevant Pages

  • Re: Detect user LDAP path at logon
    ... Try this to bind to the user using LDAP, ... Dim oUser ... I am trying to write a logon script that will detect various ... the ldap path seems to use the user's full ...
    (microsoft.public.windows.server.scripting)
  • Re: Failed to Bind - Extended Error LDAP Provider
    ... LDAP in the ldap path. ... This posting is provided "AS IS" with no warranties, ... > operations error occurred.~~ Extended Error LDAP Provider: 00000000: ...
    (microsoft.public.sms.setup)
  • Getting the size of LDAP attributes
    ... LDAP attribute using the naming API, without reading it first? ... if I find out it is huge, I won't read it, but return the LDAP path. ...
    (comp.lang.java.programmer)