?
Solved

Need help determining LDAP path

Posted on 2009-05-12
6
Medium Priority
?
730 Views
Last Modified: 2013-12-05
How do I find out my LDAP path? I am trying to connect an active directory password changer in Sharepoint.
0
Comment
Question by:K A
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 6

Accepted Solution

by:
dvast8n earned 75 total points
ID: 24369138
If your domain name is domain.com, your LDAP path is LDAP://dc=domain,dc=com

If your domain name is acer.domain.com, your LDAP path is LDAP://dc=acer,dc=domain,dc=com

etc etc...

I hope this helps.
0
 
LVL 71

Assisted Solution

by:Chris Dent
Chris Dent earned 75 total points
ID: 24369315

Probably needs to extend a bit more than that.

That shows how the Domain Component of the path is constructed, it would be good to extend down to users as well.

If a name appeared as "Bob Hope" in AD Users and Computers and that account was in the default Users container the path would be:

CN=Bob Hope,CN=Users,DC=yourdomain,DC=com

If the account was in a new "folder", an Organisational Unit, called London the path would be:

CN=Bob Hope,OU=London,DC=yourdomain,DC=com

Nesting OUs will make the path longer. This, for example, might appear in AD Users and Computers.

yourdomain.com
    | - London
             | - Users
                     | - Bob Hope

You would have this LDAP Path to get to Bob:

CN=Bob Hope,OU=Users,OU=London,DC=yourdomain,DC=com

HTH

Chris
0
 
LVL 1

Assisted Solution

by:drgonzo1967
drgonzo1967 earned 75 total points
ID: 24369348
Hey golferski.

dvast8n is correct.  You can also use the following commands to get results you can copy / paste without thinkingtoo hard.  Just replace the USERNAME or COMPUTERNAME depending on what object you are looking up.  Hope this helps!

dsquery user -name USERNAME
dsquery computer -name COMPUTERNAME

-gonzo
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Assisted Solution

by:AlJames
AlJames earned 75 total points
ID: 24372365
Yes Drgonzo1967 is correct.

You could also use VBScript if you know how to manipulate the ADSysInfo object..


Dim objADInf
 
Set objADInf = createobject("ADSystemInfo")
 
wscript.echo objADInf.Username
wscript.echo objADInf.Computername

Open in new window

0
 
LVL 7

Assisted Solution

by:mchkorg
mchkorg earned 75 total points
ID: 24372593
A really useful tooll to know everything's full LDAP path is this tool: http://technet.microsoft.com/en-us/sysinternals/bb963907.aspx

Here is a snapshot if needed: http://michauko.org/blog/wp-content/uploads/2009/04/20090429_081259-300x221.png
0
 
LVL 7

Expert Comment

by:mchkorg
ID: 24372599
You just have to know one of your domain controlelr server name and have an account on it with necessary privilegies
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question