ldap binding

ldap binding

Post by Brant Giga » Sat, 20 Jul 2002 00:58:48



I have a quick question about ldap binding.  I am trying to bind to a domain
(with no OU's) using LDAP to create and modify user accounts.  If the domain
if "test.com", what would the ldap bind look like?  I tried:

Set myDomain = GetObject("LDAP://DC=test.com")

thanks
-brant gigas

 
 
 

ldap binding

Post by Brad McLeo » Sat, 20 Jul 2002 02:52:00


Brant -

Did you try LDAP://DC=test, DC=com ?

Brad McLeod


Quote:> I have a quick question about ldap binding.  I am trying to bind to a
domain
> (with no OU's) using LDAP to create and modify user accounts.  If the
domain
> if "test.com", what would the ldap bind look like?  I tried:

> Set myDomain = GetObject("LDAP://DC=test.com")

> thanks
> -brant gigas


 
 
 

ldap binding

Post by Joe Richards [MVP » Sat, 20 Jul 2002 08:38:21


If you aren't using OU's then the bind to get the default user location
would look like

set usercontainer=GetObject("LDAP://cn=users,dc=test,dc=com")

--
Joe Richards
www.joeware.net
---


Quote:> I have a quick question about ldap binding.  I am trying to bind to a
domain
> (with no OU's) using LDAP to create and modify user accounts.  If the
domain
> if "test.com", what would the ldap bind look like?  I tried:

> Set myDomain = GetObject("LDAP://DC=test.com")

> thanks
> -brant gigas

 
 
 

1. LDAP Bind using ASP - Please help

Hi, I am trying to Bind LDAP with ASP... I  got this
error "8007054B". Any ideas?
Thanks


<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>

<body>
<%
dim objRootDSE

Set objRootDSE = GetObject("LDAP://RootDSE")

response.Write("TESTING")

%>
</body>
</html>

.

2. simplifying string discrimination

3. IADsUser/LDAP Bind Authentication Problem

4. Icons Missing in "My Computer"

5. LDAP bind with DN to Exchange 5.5

6. lookin' for a MIDI interface

7. Lotus VBScript/LDAP Bind syntax - Help!

8. org.apache.xalan.xslt.extensions.Redirect and namespaces

9. Binding to an LDAP Server

10. Unable to bind to LDAP with multivalued RDNs using ADSI

11. LDAP SID Binding

12. Cannot bind to LDAP Active Directory server

13. ADSI - LDAP - NDS - How to bind?