Page 1 of 1 1
Topic Options
#87410 - 2002-08-22 10:08 PM Question Needs Answer
Richie19Rich77 Offline
Seasoned Scripter
*****

Registered: 2002-08-16
Posts: 624
Loc: London, England
Can someone please tell me what the difference is between the following.

GetObject("LDAP://
and
GetObject("WinNT://

I have read that the top one is for connecting into AD, and the bottom one if for connecting into Win NT 4 Users and Doamins.

Is this correct, and how comes that the winnt one can also connect into AD.

Help me out here

Getting very confused.

Richie

Top
#87411 - 2002-08-22 10:16 PM Re: Question Needs Answer
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
quote:
Objects that reside within a given namespace, are identified by a unique name. For example, files stored on a PC disk drive reside in the file system namespace. The unique name of a file is based on where it is stored in the file system namespace. For example:

C:\public\documents\adsi\adsi_spec.doc
Directory service namespaces also identify the objects they contain by unique names, which are usually based on the location in the directory where the object can be found. For example, in an X.500 directory, a given object might have a name like this:

CN=John,OU=Marketing,O=ArcadiaBay
Different directory services use different forms for naming the objects they contain. This makes dealing with different namespaces challenging, especially for developers, considering all of the different environments on which the code might be running.

A goal of Active Directory Service Interfaces (ADSI) is to provide a naming framework that allows access to namespaces of different directory service providers.

ADSI defines a naming convention that can uniquely identify an object in a heterogeneous environment. These names are called ADsPath strings. ADsPath strings take one of four forms:

"ADs://"

"LDAP://"

"WinNT://"

"NDS://"

Each namespace supports different objects/properties. You can use WinNT:// to access Active Directory account info the same as on NT4. However you can not use the distinguished name or access all the AD specific object properties. The properties names are also different between namespaces.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#87412 - 2002-08-22 10:16 PM Re: Question Needs Answer
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
The WinNT provider can also connect to an AD but AFAIK cannot take advantage of a lot of AD features. However, the recommended connection to AD would be the LDAP provider.
_________________________
There are two types of vessels, submarines and targets.

Top
#87413 - 2002-08-23 12:12 AM Re: Question Needs Answer
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Actually, there are some things you can do with the WinNT provider that isn't supported with the LDAP provider. So, really, it depends on what you are trying to accomplish. The best bet, naturally, is to read the SDK.
Top
#87414 - 2002-08-23 12:30 AM Re: Question Needs Answer
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
and then again, back to theory.

M$ claimed that everything would be available with ldap when w2k was in rc state.

seems that they just failed on their mission...
_________________________
!

download KiXnet

Top
#87415 - 2002-08-23 12:35 AM Re: Question Needs Answer
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Are you surprised about this?
_________________________
There are two types of vessels, submarines and targets.

Top
#87416 - 2002-08-23 12:39 AM Re: Question Needs Answer
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
jens, my feelings are best descriped by the statement I've heard on so many AMERICAN movies (not on delta force that I just watched):

Trust no one!

 
-

[ 23. August 2002, 00:40: Message edited by: Lonkero ]
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 1198 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.193 seconds in which 0.16 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org