Re: How to search in Active directory with no basedn
From: Al Mulnick (amulnick_No_SPAM_at_ncDOTrr.com)
Date: 02/22/05
- Next message: Herb Martin: "Re: ADPREP /Forestprep causes DrWatson Exception"
- Previous message: Fred: "XP clients get no logon server error - machine accounts lose password on 2003 AD domain"
- In reply to: Michael L. D'Angelo: "Re: How to search in Active directory with no basedn"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 21 Feb 2005 22:25:48 -0500
If you need more data than the GC provides as suggested below you may need
to fix that.
What platform are you using LDAPSearch from and is this in code or command
line?
Al
"Michael L. D'Angelo" <nmdange-nospam@phoenixworx.org> wrote in message
news:OrqFutIGFHA.1264@TK2MSFTNGP12.phx.gbl...
> "Raj" <Raj@discussions.microsoft.com> wrote in message
> news:A7CFD11D-A43F-4E43-BBF7-2E8459526514@microsoft.com...
>> Hi,
>> I need to search active directory , but that point of time i donot know
>> the
>> basedn. When I try to search
>> ldapsearch -h hostname -p portnbr -b "" "objectclass=*"
>> i get following error :
>> # search result
>> # search: 2
>> # result: 32 No such object
>> # text0000208D: NameErr: DSID-031001A1, problem 2001 (NO_OBJECT), data
>> t match of:
>>
>> To me looks like there might be some setting where i can say allow empty
>> searchbasedn. I know i can do same search in OID with no search basedn
>> I will apprecaiate if any one can reply for this.
>>
>> Thanks
>> Raj
>
> If you connect to the Global Catalog port (3268) you can search AD without
> a base DN.
>
- Next message: Herb Martin: "Re: ADPREP /Forestprep causes DrWatson Exception"
- Previous message: Fred: "XP clients get no logon server error - machine accounts lose password on 2003 AD domain"
- In reply to: Michael L. D'Angelo: "Re: How to search in Active directory with no basedn"
- Messages sorted by: [ date ] [ thread ]