• 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
RE: retrieving the DN from Open Directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: retrieving the DN from Open Directory


  • Subject: RE: retrieving the DN from Open Directory
  • From: "David Litwin" <email@hidden>
  • Date: Mon, 14 Aug 2006 11:11:26 -0700
  • Thread-topic: retrieving the DN from Open Directory

(Sorry, Ctrl-<some key near V> decided to send my incomplete message
instead of paste the info I wanted)

Try this:

dscl localhost -read /Search/Computers/`hostname -s` distinguishedName

David Litwin
BigFix, Inc.

-----Original Message-----
From: Joubert Berger

No, DN = distinguished name.

For example:
dn: cn=John Doe,dc=example,dc=com

--joubert

On 8/13/06, Markus Hitter <email@hidden> wrote:
>
> Am 13.08.2006 um 22:00 schrieb Joubert Berger:
>
> > First, I must admit, I am not that well versed in Open Directory or
> > LDAP and have only recently started working with Darwin.  So
> > sometimes, I get the terminology wrong ;-)  Anyway, here goes...
>
> So let me guess: "DN" = Domain Name; you're talking about moveable
> computers (laptops).
>
> > I have been tasked with recording the DN when a user logs in.
>
> In a bash shell script, like
>
>         host $HOSTNAME
> or
>         host $(hostname)
> ?
>
> Whatever the reason of your doing is, don't forget those people
> changing the network without logging out. It's as easy as pulling the
> plug here, pop it in there, today.
>
>
> Markus
>
> - - - - - - - - - - - - - - - - - - -
> Dipl. Ing. Markus Hitter
> http://www.jump-ing.de/
>
>
>
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
com

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: retrieving the DN from Open Directory
      • From: Chris Ridd <email@hidden>
References: 
 >Re: retrieving the DN from Open Directory (From: "Joubert Berger" <email@hidden>)

  • Prev by Date: RE: retrieving the DN from Open Directory
  • Next by Date: Re: retrieving the DN from Open Directory
  • Previous by thread: RE: retrieving the DN from Open Directory
  • Next by thread: Re: retrieving the DN from Open Directory
  • Index(es):
    • Date
    • Thread