Get Computer DN via the Command line Home › Forums › OS X Server and Client Discussion › Active Directory › Get Computer DN via the Command line This topic has 1 reply, 2 voices, and was last updated 21 years, 4 months ago by andrina. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts June 23, 2005 at 10:39 pm #362094 cheizerParticipant Hello, My System is in Active directory and I wanted to know, if there is a simple way to get my Computer account DN via the command line? Thanks, – Charles June 24, 2005 at 1:19 am #362095 andrinaParticipant I think you should be able to do the following: ldapsearch -h server.example.com uid=user dn Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In