• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Getting one's Active Directory Path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting one's Active Directory Path


  • Subject: Getting one's Active Directory Path
  • From: "David Litwin" <email@hidden>
  • Date: Tue, 20 Dec 2005 14:59:52 -0800

I need to write a bit of code to allow a computer to get the distinguished name of its own Active Directory (not Open Directory) path.

 

I’ve compiled the OD sample code and can get information about the top level nodes of the Open Directory.  I was hoping to inspect down the /LDAPv3 tree or perhaps the “/Active Directory/All Domains” nodes until I find my own machine name, but most computers won’t have permissions to inspect these nodes.

 

How might one go about getting this information?  Is it even available to the standard machine without an administrator granting it rights it probably shouldn’t have?


Thanks,


Dave

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: IOPrimaryInterface vs IOBuiltin
  • Next by Date: Cocoa with carbon calls
  • Previous by thread: Re: IOPrimaryInterface vs IOBuiltin
  • Next by thread: Cocoa with carbon calls
  • Index(es):
    • Date
    • Thread